From 001d0d55db2ff018fa81fb554d88ebd661cafd35 Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Tue, 12 Apr 2022 02:57:02 -0700 Subject: [PATCH] More text.s splitting Former-commit-id: 604ef813e42eb1f174fe2522b321a8b690734ec1 --- asm/Kyoto_CWD/CCameraHint.s | 70 + asm/Kyoto_CWD/CDamageInfo.s | 150 + asm/Kyoto_CWD/CIceBeam.s | 813 + asm/Kyoto_CWD/CMemoryDrawEnum.s | 51 + asm/Kyoto_CWD/CObjectList.s | 3 - asm/Kyoto_CWD/CPlasmaBeam.s | 802 + asm/Kyoto_CWD/CPowerBeam.s | 723 + asm/Kyoto_CWD/CSamusDoll.s | 4284 +++++ asm/Kyoto_CWD/CScriptCameraHint.s | 795 + asm/Kyoto_CWD/CScriptDock.s | 1094 ++ asm/Kyoto_CWD/CScriptMailbox.s | 473 + asm/Kyoto_CWD/CScriptRelay.s | 232 + asm/Kyoto_CWD/CStateMachineFactory.s | 271 + asm/Kyoto_CWD/CWaveBeam.s | 1002 ++ asm/Kyoto_CWD/ScriptLoader.s | 23529 +++++++++++++++++++++++++ asm/Kyoto_CWD/main.s | 2 +- asm/text.s.REMOVED.git-id | 2 +- obj_files.mk | 14 + 18 files changed, 34305 insertions(+), 5 deletions(-) create mode 100644 asm/Kyoto_CWD/CCameraHint.s create mode 100644 asm/Kyoto_CWD/CDamageInfo.s create mode 100644 asm/Kyoto_CWD/CIceBeam.s create mode 100644 asm/Kyoto_CWD/CMemoryDrawEnum.s create mode 100644 asm/Kyoto_CWD/CPlasmaBeam.s create mode 100644 asm/Kyoto_CWD/CPowerBeam.s create mode 100644 asm/Kyoto_CWD/CSamusDoll.s create mode 100644 asm/Kyoto_CWD/CScriptCameraHint.s create mode 100644 asm/Kyoto_CWD/CScriptDock.s create mode 100644 asm/Kyoto_CWD/CScriptMailbox.s create mode 100644 asm/Kyoto_CWD/CScriptRelay.s create mode 100644 asm/Kyoto_CWD/CStateMachineFactory.s create mode 100644 asm/Kyoto_CWD/CWaveBeam.s create mode 100644 asm/Kyoto_CWD/ScriptLoader.s diff --git a/asm/Kyoto_CWD/CCameraHint.s b/asm/Kyoto_CWD/CCameraHint.s new file mode 100644 index 00000000..bd68284f --- /dev/null +++ b/asm/Kyoto_CWD/CCameraHint.s @@ -0,0 +1,70 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __dt__11CCameraHintFv +__dt__11CCameraHintFv: +/* 800C518C 000C20EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C5190 000C20F0 7C 08 02 A6 */ mflr r0 +/* 800C5194 000C20F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C5198 000C20F8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800C519C 000C20FC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800C51A0 000C2100 41 82 00 1C */ beq lbl_800C51BC +/* 800C51A4 000C2104 3C A0 80 3E */ lis r5, lbl_803DF6F4@ha +/* 800C51A8 000C2108 7C 80 07 35 */ extsh. r0, r4 +/* 800C51AC 000C210C 38 05 F6 F4 */ addi r0, r5, lbl_803DF6F4@l +/* 800C51B0 000C2110 90 1F 00 00 */ stw r0, 0(r31) +/* 800C51B4 000C2114 40 81 00 08 */ ble lbl_800C51BC +/* 800C51B8 000C2118 48 25 07 79 */ bl Free__7CMemoryFPCv +lbl_800C51BC: +/* 800C51BC 000C211C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C51C0 000C2120 7F E3 FB 78 */ mr r3, r31 +/* 800C51C4 000C2124 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800C51C8 000C2128 7C 08 03 A6 */ mtlr r0 +/* 800C51CC 000C212C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C51D0 000C2130 4E 80 00 20 */ blr + +.global __ct__11CCameraHintFiQ211CBallCamera20EBallCameraBehaviourfffRC9CVector3fRC9CVector3fRC9CVector3fffffffffff +__ct__11CCameraHintFiQ211CBallCamera20EBallCameraBehaviourfffRC9CVector3fRC9CVector3fRC9CVector3fffffffffff: +/* 800C51D4 000C2134 3D 20 80 3E */ lis r9, lbl_803DF6F4@ha +/* 800C51D8 000C2138 C1 A1 00 08 */ lfs f13, 8(r1) +/* 800C51DC 000C213C 38 09 F6 F4 */ addi r0, r9, lbl_803DF6F4@l +/* 800C51E0 000C2140 C1 81 00 0C */ lfs f12, 0xc(r1) +/* 800C51E4 000C2144 90 03 00 00 */ stw r0, 0(r3) +/* 800C51E8 000C2148 C1 61 00 10 */ lfs f11, 0x10(r1) +/* 800C51EC 000C214C 90 83 00 04 */ stw r4, 4(r3) +/* 800C51F0 000C2150 C1 41 00 14 */ lfs f10, 0x14(r1) +/* 800C51F4 000C2154 90 A3 00 08 */ stw r5, 8(r3) +/* 800C51F8 000C2158 C1 21 00 18 */ lfs f9, 0x18(r1) +/* 800C51FC 000C215C D0 23 00 0C */ stfs f1, 0xc(r3) +/* 800C5200 000C2160 D0 43 00 10 */ stfs f2, 0x10(r3) +/* 800C5204 000C2164 D0 63 00 14 */ stfs f3, 0x14(r3) +/* 800C5208 000C2168 C0 06 00 00 */ lfs f0, 0(r6) +/* 800C520C 000C216C D0 03 00 18 */ stfs f0, 0x18(r3) +/* 800C5210 000C2170 C0 06 00 04 */ lfs f0, 4(r6) +/* 800C5214 000C2174 D0 03 00 1C */ stfs f0, 0x1c(r3) +/* 800C5218 000C2178 C0 06 00 08 */ lfs f0, 8(r6) +/* 800C521C 000C217C D0 03 00 20 */ stfs f0, 0x20(r3) +/* 800C5220 000C2180 C0 07 00 00 */ lfs f0, 0(r7) +/* 800C5224 000C2184 D0 03 00 24 */ stfs f0, 0x24(r3) +/* 800C5228 000C2188 C0 07 00 04 */ lfs f0, 4(r7) +/* 800C522C 000C218C D0 03 00 28 */ stfs f0, 0x28(r3) +/* 800C5230 000C2190 C0 07 00 08 */ lfs f0, 8(r7) +/* 800C5234 000C2194 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 800C5238 000C2198 C0 08 00 00 */ lfs f0, 0(r8) +/* 800C523C 000C219C D0 03 00 30 */ stfs f0, 0x30(r3) +/* 800C5240 000C21A0 C0 08 00 04 */ lfs f0, 4(r8) +/* 800C5244 000C21A4 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 800C5248 000C21A8 C0 08 00 08 */ lfs f0, 8(r8) +/* 800C524C 000C21AC D0 03 00 38 */ stfs f0, 0x38(r3) +/* 800C5250 000C21B0 D0 83 00 3C */ stfs f4, 0x3c(r3) +/* 800C5254 000C21B4 D0 A3 00 40 */ stfs f5, 0x40(r3) +/* 800C5258 000C21B8 D0 C3 00 44 */ stfs f6, 0x44(r3) +/* 800C525C 000C21BC D0 E3 00 48 */ stfs f7, 0x48(r3) +/* 800C5260 000C21C0 D1 03 00 4C */ stfs f8, 0x4c(r3) +/* 800C5264 000C21C4 D1 A3 00 50 */ stfs f13, 0x50(r3) +/* 800C5268 000C21C8 D1 83 00 54 */ stfs f12, 0x54(r3) +/* 800C526C 000C21CC D1 63 00 58 */ stfs f11, 0x58(r3) +/* 800C5270 000C21D0 D1 43 00 5C */ stfs f10, 0x5c(r3) +/* 800C5274 000C21D4 D1 23 00 60 */ stfs f9, 0x60(r3) +/* 800C5278 000C21D8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CDamageInfo.s b/asm/Kyoto_CWD/CDamageInfo.s new file mode 100644 index 00000000..7e43cfef --- /dev/null +++ b/asm/Kyoto_CWD/CDamageInfo.s @@ -0,0 +1,150 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__11CDamageInfoFRC11CDamageInfof +__ct__11CDamageInfoFRC11CDamageInfof: +/* 800C3448 000C03A8 C0 02 8E 00 */ lfs f0, lbl_805AAB20@sda21(r2) +/* 800C344C 000C03AC 38 A0 00 01 */ li r5, 1 +/* 800C3450 000C03B0 C0 64 00 14 */ lfs f3, 0x14(r4) +/* 800C3454 000C03B4 C0 44 00 10 */ lfs f2, 0x10(r4) +/* 800C3458 000C03B8 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800C345C 000C03BC C0 24 00 08 */ lfs f1, 8(r4) +/* 800C3460 000C03C0 80 04 00 00 */ lwz r0, 0(r4) +/* 800C3464 000C03C4 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800C3468 000C03C8 90 03 00 00 */ stw r0, 0(r3) +/* 800C346C 000C03CC 88 04 00 04 */ lbz r0, 4(r4) +/* 800C3470 000C03D0 98 03 00 04 */ stb r0, 4(r3) +/* 800C3474 000C03D4 D0 03 00 08 */ stfs f0, 8(r3) +/* 800C3478 000C03D8 C0 03 00 08 */ lfs f0, 8(r3) +/* 800C347C 000C03DC D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800C3480 000C03E0 D0 43 00 10 */ stfs f2, 0x10(r3) +/* 800C3484 000C03E4 D0 63 00 14 */ stfs f3, 0x14(r3) +/* 800C3488 000C03E8 88 03 00 18 */ lbz r0, 0x18(r3) +/* 800C348C 000C03EC 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 800C3490 000C03F0 98 03 00 18 */ stb r0, 0x18(r3) +/* 800C3494 000C03F4 4E 80 00 20 */ blr + +.global GetRadiusDamage__11CDamageInfoCFRC20CDamageVulnerability +GetRadiusDamage__11CDamageInfoCFRC20CDamageVulnerability: +/* 800C3498 000C03F8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C349C 000C03FC 7C 08 02 A6 */ mflr r0 +/* 800C34A0 000C0400 38 A0 00 00 */ li r5, 0 +/* 800C34A4 000C0404 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C34A8 000C0408 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800C34AC 000C040C 7C 7F 1B 78 */ mr r31, r3 +/* 800C34B0 000C0410 7C 83 23 78 */ mr r3, r4 +/* 800C34B4 000C0414 7F E4 FB 78 */ mr r4, r31 +/* 800C34B8 000C0418 48 03 F0 05 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode +/* 800C34BC 000C041C 2C 03 00 02 */ cmpwi r3, 2 +/* 800C34C0 000C0420 40 82 00 0C */ bne lbl_800C34CC +/* 800C34C4 000C0424 C0 22 8E 04 */ lfs f1, lbl_805AAB24@sda21(r2) +/* 800C34C8 000C0428 48 00 00 20 */ b lbl_800C34E8 +lbl_800C34CC: +/* 800C34CC 000C042C 2C 03 00 00 */ cmpwi r3, 0 +/* 800C34D0 000C0430 40 82 00 14 */ bne lbl_800C34E4 +/* 800C34D4 000C0434 C0 22 8E 08 */ lfs f1, lbl_805AAB28@sda21(r2) +/* 800C34D8 000C0438 C0 1F 00 0C */ lfs f0, 0xc(r31) +/* 800C34DC 000C043C EC 21 00 32 */ fmuls f1, f1, f0 +/* 800C34E0 000C0440 48 00 00 08 */ b lbl_800C34E8 +lbl_800C34E4: +/* 800C34E4 000C0444 C0 3F 00 0C */ lfs f1, 0xc(r31) +lbl_800C34E8: +/* 800C34E8 000C0448 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C34EC 000C044C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800C34F0 000C0450 7C 08 03 A6 */ mtlr r0 +/* 800C34F4 000C0454 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C34F8 000C0458 4E 80 00 20 */ blr + +.global GetDamage__11CDamageInfoCFRC20CDamageVulnerability +GetDamage__11CDamageInfoCFRC20CDamageVulnerability: +/* 800C34FC 000C045C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C3500 000C0460 7C 08 02 A6 */ mflr r0 +/* 800C3504 000C0464 38 A0 00 00 */ li r5, 0 +/* 800C3508 000C0468 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C350C 000C046C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800C3510 000C0470 7C 7F 1B 78 */ mr r31, r3 +/* 800C3514 000C0474 7C 83 23 78 */ mr r3, r4 +/* 800C3518 000C0478 7F E4 FB 78 */ mr r4, r31 +/* 800C351C 000C047C 48 03 EF A1 */ bl GetVulnerability__20CDamageVulnerabilityCFRC11CWeaponMode +/* 800C3520 000C0480 2C 03 00 02 */ cmpwi r3, 2 +/* 800C3524 000C0484 40 82 00 0C */ bne lbl_800C3530 +/* 800C3528 000C0488 C0 22 8E 04 */ lfs f1, lbl_805AAB24@sda21(r2) +/* 800C352C 000C048C 48 00 00 20 */ b lbl_800C354C +lbl_800C3530: +/* 800C3530 000C0490 2C 03 00 00 */ cmpwi r3, 0 +/* 800C3534 000C0494 40 82 00 14 */ bne lbl_800C3548 +/* 800C3538 000C0498 C0 22 8E 08 */ lfs f1, lbl_805AAB28@sda21(r2) +/* 800C353C 000C049C C0 1F 00 08 */ lfs f0, 8(r31) +/* 800C3540 000C04A0 EC 21 00 32 */ fmuls f1, f1, f0 +/* 800C3544 000C04A4 48 00 00 08 */ b lbl_800C354C +lbl_800C3548: +/* 800C3548 000C04A8 C0 3F 00 08 */ lfs f1, 8(r31) +lbl_800C354C: +/* 800C354C 000C04AC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C3550 000C04B0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800C3554 000C04B4 7C 08 03 A6 */ mtlr r0 +/* 800C3558 000C04B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C355C 000C04BC 4E 80 00 20 */ blr + +.global __ct__11CDamageInfoFR12CInputStream +__ct__11CDamageInfoFR12CInputStream: +/* 800C3560 000C04C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800C3564 000C04C4 7C 08 02 A6 */ mflr r0 +/* 800C3568 000C04C8 38 E0 FF FF */ li r7, -1 +/* 800C356C 000C04CC 38 C0 00 00 */ li r6, 0 +/* 800C3570 000C04D0 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C3574 000C04D4 88 A1 00 14 */ lbz r5, 0x14(r1) +/* 800C3578 000C04D8 50 C5 3E 30 */ rlwimi r5, r6, 7, 0x18, 0x18 +/* 800C357C 000C04DC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800C3580 000C04E0 7C 9F 23 78 */ mr r31, r4 +/* 800C3584 000C04E4 54 A0 06 3E */ clrlwi r0, r5, 0x18 +/* 800C3588 000C04E8 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800C358C 000C04EC 50 C0 36 72 */ rlwimi r0, r6, 6, 0x19, 0x19 +/* 800C3590 000C04F0 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 800C3594 000C04F4 7C 7E 1B 78 */ mr r30, r3 +/* 800C3598 000C04F8 90 E3 00 00 */ stw r7, 0(r3) +/* 800C359C 000C04FC 50 C4 2E B4 */ rlwimi r4, r6, 5, 0x1a, 0x1a +/* 800C35A0 000C0500 7F E3 FB 78 */ mr r3, r31 +/* 800C35A4 000C0504 98 A1 00 14 */ stb r5, 0x14(r1) +/* 800C35A8 000C0508 98 01 00 14 */ stb r0, 0x14(r1) +/* 800C35AC 000C050C 98 9E 00 04 */ stb r4, 4(r30) +/* 800C35B0 000C0510 88 1E 00 18 */ lbz r0, 0x18(r30) +/* 800C35B4 000C0514 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 800C35B8 000C0518 90 E1 00 10 */ stw r7, 0x10(r1) +/* 800C35BC 000C051C 98 81 00 14 */ stb r4, 0x14(r1) +/* 800C35C0 000C0520 98 1E 00 18 */ stb r0, 0x18(r30) +/* 800C35C4 000C0524 48 27 B6 C1 */ bl ReadLong__12CInputStreamFv +/* 800C35C8 000C0528 7F E3 FB 78 */ mr r3, r31 +/* 800C35CC 000C052C 48 27 B6 B9 */ bl ReadLong__12CInputStreamFv +/* 800C35D0 000C0530 88 01 00 0C */ lbz r0, 0xc(r1) +/* 800C35D4 000C0534 38 A0 00 00 */ li r5, 0 +/* 800C35D8 000C0538 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 800C35DC 000C053C 90 7E 00 00 */ stw r3, 0(r30) +/* 800C35E0 000C0540 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 800C35E4 000C0544 98 01 00 0C */ stb r0, 0xc(r1) +/* 800C35E8 000C0548 50 A4 36 72 */ rlwimi r4, r5, 6, 0x19, 0x19 +/* 800C35EC 000C054C 54 80 06 3E */ clrlwi r0, r4, 0x18 +/* 800C35F0 000C0550 50 A0 2E B4 */ rlwimi r0, r5, 5, 0x1a, 0x1a +/* 800C35F4 000C0554 98 81 00 0C */ stb r4, 0xc(r1) +/* 800C35F8 000C0558 90 61 00 08 */ stw r3, 8(r1) +/* 800C35FC 000C055C 7F E3 FB 78 */ mr r3, r31 +/* 800C3600 000C0560 98 01 00 0C */ stb r0, 0xc(r1) +/* 800C3604 000C0564 98 1E 00 04 */ stb r0, 4(r30) +/* 800C3608 000C0568 48 27 B6 21 */ bl ReadFloat__12CInputStreamFv +/* 800C360C 000C056C D0 3E 00 08 */ stfs f1, 8(r30) +/* 800C3610 000C0570 7F E3 FB 78 */ mr r3, r31 +/* 800C3614 000C0574 C0 1E 00 08 */ lfs f0, 8(r30) +/* 800C3618 000C0578 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 800C361C 000C057C 48 27 B6 0D */ bl ReadFloat__12CInputStreamFv +/* 800C3620 000C0580 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 800C3624 000C0584 7F E3 FB 78 */ mr r3, r31 +/* 800C3628 000C0588 48 27 B6 01 */ bl ReadFloat__12CInputStreamFv +/* 800C362C 000C058C D0 3E 00 14 */ stfs f1, 0x14(r30) +/* 800C3630 000C0590 7F C3 F3 78 */ mr r3, r30 +/* 800C3634 000C0594 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C3638 000C0598 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800C363C 000C059C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800C3640 000C05A0 7C 08 03 A6 */ mtlr r0 +/* 800C3644 000C05A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 800C3648 000C05A8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CIceBeam.s b/asm/Kyoto_CWD/CIceBeam.s new file mode 100644 index 00000000..e1e80ee4 --- /dev/null +++ b/asm/Kyoto_CWD/CIceBeam.s @@ -0,0 +1,813 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global EnableFx__8CIceBeamFb +EnableFx__8CIceBeamFb: +/* 800E0EE0 000DDE40 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E0EE4 000DDE44 7C 08 02 A6 */ mflr r0 +/* 800E0EE8 000DDE48 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E0EEC 000DDE4C 80 63 02 40 */ lwz r3, 0x240(r3) +/* 800E0EF0 000DDE50 28 03 00 00 */ cmplwi r3, 0 +/* 800E0EF4 000DDE54 41 82 00 14 */ beq lbl_800E0F08 +/* 800E0EF8 000DDE58 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0EFC 000DDE5C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800E0F00 000DDE60 7D 89 03 A6 */ mtctr r12 +/* 800E0F04 000DDE64 4E 80 04 21 */ bctrl +lbl_800E0F08: +/* 800E0F08 000DDE68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E0F0C 000DDE6C 7C 08 03 A6 */ mtlr r0 +/* 800E0F10 000DDE70 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E0F14 000DDE74 4E 80 00 20 */ blr + +.global EnableSecondaryFx__8CIceBeamFQ210CGunWeapon16ESecondaryFxType +EnableSecondaryFx__8CIceBeamFQ210CGunWeapon16ESecondaryFxType: +/* 800E0F18 000DDE78 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800E0F1C 000DDE7C 7C 08 02 A6 */ mflr r0 +/* 800E0F20 000DDE80 90 01 00 34 */ stw r0, 0x34(r1) +/* 800E0F24 000DDE84 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800E0F28 000DDE88 7C 7F 1B 78 */ mr r31, r3 +/* 800E0F2C 000DDE8C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800E0F30 000DDE90 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800E0F34 000DDE94 7C 9D 23 78 */ mr r29, r4 +/* 800E0F38 000DDE98 2C 1D 00 03 */ cmpwi r29, 3 +/* 800E0F3C 000DDE9C 93 81 00 20 */ stw r28, 0x20(r1) +/* 800E0F40 000DDEA0 41 82 00 14 */ beq lbl_800E0F54 +/* 800E0F44 000DDEA4 40 80 00 1C */ bge lbl_800E0F60 +/* 800E0F48 000DDEA8 2C 1D 00 00 */ cmpwi r29, 0 +/* 800E0F4C 000DDEAC 41 82 00 08 */ beq lbl_800E0F54 +/* 800E0F50 000DDEB0 48 00 00 10 */ b lbl_800E0F60 +lbl_800E0F54: +/* 800E0F54 000DDEB4 80 1F 01 CC */ lwz r0, 0x1cc(r31) +/* 800E0F58 000DDEB8 2C 00 00 00 */ cmpwi r0, 0 +/* 800E0F5C 000DDEBC 41 82 01 90 */ beq lbl_800E10EC +lbl_800E0F60: +/* 800E0F60 000DDEC0 2C 1D 00 01 */ cmpwi r29, 1 +/* 800E0F64 000DDEC4 41 82 00 DC */ beq lbl_800E1040 +/* 800E0F68 000DDEC8 40 80 00 10 */ bge lbl_800E0F78 +/* 800E0F6C 000DDECC 2C 1D 00 00 */ cmpwi r29, 0 +/* 800E0F70 000DDED0 40 80 00 10 */ bge lbl_800E0F80 +/* 800E0F74 000DDED4 48 00 01 78 */ b lbl_800E10EC +lbl_800E0F78: +/* 800E0F78 000DDED8 2C 1D 00 04 */ cmpwi r29, 4 +/* 800E0F7C 000DDEDC 40 80 01 70 */ bge lbl_800E10EC +lbl_800E0F80: +/* 800E0F80 000DDEE0 88 1F 02 48 */ lbz r0, 0x248(r31) +/* 800E0F84 000DDEE4 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800E0F88 000DDEE8 40 82 01 64 */ bne lbl_800E10EC +/* 800E0F8C 000DDEEC 3C 60 80 3D */ lis r3, lbl_803CE598@ha +/* 800E0F90 000DDEF0 3B A0 00 00 */ li r29, 0 +/* 800E0F94 000DDEF4 38 83 E5 98 */ addi r4, r3, lbl_803CE598@l +/* 800E0F98 000DDEF8 38 A0 00 00 */ li r5, 0 +/* 800E0F9C 000DDEFC 38 60 03 40 */ li r3, 0x340 +/* 800E0FA0 000DDF00 48 23 48 CD */ bl __nw__FUlPCcPCc +/* 800E0FA4 000DDF04 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800E0FA8 000DDF08 41 82 00 2C */ beq lbl_800E0FD4 +/* 800E0FAC 000DDF0C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800E0FB0 000DDF10 38 9F 02 34 */ addi r4, r31, 0x234 +/* 800E0FB4 000DDF14 48 25 FE F5 */ bl __ct__6CTokenFRC6CToken +/* 800E0FB8 000DDF18 7F C3 F3 78 */ mr r3, r30 +/* 800E0FBC 000DDF1C 38 81 00 10 */ addi r4, r1, 0x10 +/* 800E0FC0 000DDF20 3B A0 00 01 */ li r29, 1 +/* 800E0FC4 000DDF24 38 A0 00 00 */ li r5, 0 +/* 800E0FC8 000DDF28 38 C0 00 01 */ li r6, 1 +/* 800E0FCC 000DDF2C 48 23 E4 15 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800E0FD0 000DDF30 7C 7E 1B 78 */ mr r30, r3 +lbl_800E0FD4: +/* 800E0FD4 000DDF34 80 7F 02 44 */ lwz r3, 0x244(r31) +/* 800E0FD8 000DDF38 28 03 00 00 */ cmplwi r3, 0 +/* 800E0FDC 000DDF3C 41 82 00 18 */ beq lbl_800E0FF4 +/* 800E0FE0 000DDF40 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0FE4 000DDF44 38 80 00 01 */ li r4, 1 +/* 800E0FE8 000DDF48 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E0FEC 000DDF4C 7D 89 03 A6 */ mtctr r12 +/* 800E0FF0 000DDF50 4E 80 04 21 */ bctrl +lbl_800E0FF4: +/* 800E0FF4 000DDF54 7F A0 07 75 */ extsb. r0, r29 +/* 800E0FF8 000DDF58 93 DF 02 44 */ stw r30, 0x244(r31) +/* 800E0FFC 000DDF5C 41 82 00 10 */ beq lbl_800E100C +/* 800E1000 000DDF60 38 61 00 10 */ addi r3, r1, 0x10 +/* 800E1004 000DDF64 38 80 00 00 */ li r4, 0 +/* 800E1008 000DDF68 48 25 FE 39 */ bl __dt__6CTokenFv +lbl_800E100C: +/* 800E100C 000DDF6C 80 7F 02 44 */ lwz r3, 0x244(r31) +/* 800E1010 000DDF70 38 9F 00 04 */ addi r4, r31, 4 +/* 800E1014 000DDF74 81 83 00 00 */ lwz r12, 0(r3) +/* 800E1018 000DDF78 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800E101C 000DDF7C 7D 89 03 A6 */ mtctr r12 +/* 800E1020 000DDF80 4E 80 04 21 */ bctrl +/* 800E1024 000DDF84 88 7F 02 48 */ lbz r3, 0x248(r31) +/* 800E1028 000DDF88 38 00 00 01 */ li r0, 1 +/* 800E102C 000DDF8C 50 03 36 72 */ rlwimi r3, r0, 6, 0x19, 0x19 +/* 800E1030 000DDF90 38 00 00 03 */ li r0, 3 +/* 800E1034 000DDF94 98 7F 02 48 */ stb r3, 0x248(r31) +/* 800E1038 000DDF98 90 1F 01 CC */ stw r0, 0x1cc(r31) +/* 800E103C 000DDF9C 48 00 00 B0 */ b lbl_800E10EC +lbl_800E1040: +/* 800E1040 000DDFA0 3C 60 80 3D */ lis r3, lbl_803CE598@ha +/* 800E1044 000DDFA4 3B 80 00 00 */ li r28, 0 +/* 800E1048 000DDFA8 38 83 E5 98 */ addi r4, r3, lbl_803CE598@l +/* 800E104C 000DDFAC 38 A0 00 00 */ li r5, 0 +/* 800E1050 000DDFB0 38 60 03 40 */ li r3, 0x340 +/* 800E1054 000DDFB4 48 23 48 19 */ bl __nw__FUlPCcPCc +/* 800E1058 000DDFB8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800E105C 000DDFBC 41 82 00 2C */ beq lbl_800E1088 +/* 800E1060 000DDFC0 38 61 00 08 */ addi r3, r1, 8 +/* 800E1064 000DDFC4 38 9F 02 28 */ addi r4, r31, 0x228 +/* 800E1068 000DDFC8 48 25 FE 41 */ bl __ct__6CTokenFRC6CToken +/* 800E106C 000DDFCC 7F C3 F3 78 */ mr r3, r30 +/* 800E1070 000DDFD0 38 81 00 08 */ addi r4, r1, 8 +/* 800E1074 000DDFD4 3B 80 00 01 */ li r28, 1 +/* 800E1078 000DDFD8 38 A0 00 00 */ li r5, 0 +/* 800E107C 000DDFDC 38 C0 00 01 */ li r6, 1 +/* 800E1080 000DDFE0 48 23 E3 61 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800E1084 000DDFE4 7C 7E 1B 78 */ mr r30, r3 +lbl_800E1088: +/* 800E1088 000DDFE8 80 7F 02 44 */ lwz r3, 0x244(r31) +/* 800E108C 000DDFEC 28 03 00 00 */ cmplwi r3, 0 +/* 800E1090 000DDFF0 41 82 00 18 */ beq lbl_800E10A8 +/* 800E1094 000DDFF4 81 83 00 00 */ lwz r12, 0(r3) +/* 800E1098 000DDFF8 38 80 00 01 */ li r4, 1 +/* 800E109C 000DDFFC 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E10A0 000DE000 7D 89 03 A6 */ mtctr r12 +/* 800E10A4 000DE004 4E 80 04 21 */ bctrl +lbl_800E10A8: +/* 800E10A8 000DE008 7F 80 07 75 */ extsb. r0, r28 +/* 800E10AC 000DE00C 93 DF 02 44 */ stw r30, 0x244(r31) +/* 800E10B0 000DE010 41 82 00 10 */ beq lbl_800E10C0 +/* 800E10B4 000DE014 38 61 00 08 */ addi r3, r1, 8 +/* 800E10B8 000DE018 38 80 00 00 */ li r4, 0 +/* 800E10BC 000DE01C 48 25 FD 85 */ bl __dt__6CTokenFv +lbl_800E10C0: +/* 800E10C0 000DE020 80 7F 02 44 */ lwz r3, 0x244(r31) +/* 800E10C4 000DE024 38 9F 00 04 */ addi r4, r31, 4 +/* 800E10C8 000DE028 81 83 00 00 */ lwz r12, 0(r3) +/* 800E10CC 000DE02C 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800E10D0 000DE030 7D 89 03 A6 */ mtctr r12 +/* 800E10D4 000DE034 4E 80 04 21 */ bctrl +/* 800E10D8 000DE038 93 BF 01 CC */ stw r29, 0x1cc(r31) +/* 800E10DC 000DE03C 38 60 00 00 */ li r3, 0 +/* 800E10E0 000DE040 88 1F 02 48 */ lbz r0, 0x248(r31) +/* 800E10E4 000DE044 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800E10E8 000DE048 98 1F 02 48 */ stb r0, 0x248(r31) +lbl_800E10EC: +/* 800E10EC 000DE04C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800E10F0 000DE050 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800E10F4 000DE054 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800E10F8 000DE058 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800E10FC 000DE05C 83 81 00 20 */ lwz r28, 0x20(r1) +/* 800E1100 000DE060 7C 08 03 A6 */ mtlr r0 +/* 800E1104 000DE064 38 21 00 30 */ addi r1, r1, 0x30 +/* 800E1108 000DE068 4E 80 00 20 */ blr + +.global IsLoaded__8CIceBeamCFv +IsLoaded__8CIceBeamCFv: +/* 800E110C 000DE06C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E1110 000DE070 7C 08 02 A6 */ mflr r0 +/* 800E1114 000DE074 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E1118 000DE078 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E111C 000DE07C 3B E0 00 00 */ li r31, 0 +/* 800E1120 000DE080 93 C1 00 08 */ stw r30, 8(r1) +/* 800E1124 000DE084 7C 7E 1B 78 */ mr r30, r3 +/* 800E1128 000DE088 48 0D A2 7D */ bl IsLoaded__10CGunWeaponCFv +/* 800E112C 000DE08C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E1130 000DE090 41 82 00 14 */ beq lbl_800E1144 +/* 800E1134 000DE094 88 1E 02 48 */ lbz r0, 0x248(r30) +/* 800E1138 000DE098 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800E113C 000DE09C 41 82 00 08 */ beq lbl_800E1144 +/* 800E1140 000DE0A0 3B E0 00 01 */ li r31, 1 +lbl_800E1144: +/* 800E1144 000DE0A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E1148 000DE0A8 7F E3 FB 78 */ mr r3, r31 +/* 800E114C 000DE0AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E1150 000DE0B0 83 C1 00 08 */ lwz r30, 8(r1) +/* 800E1154 000DE0B4 7C 08 03 A6 */ mtlr r0 +/* 800E1158 000DE0B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E115C 000DE0BC 4E 80 00 20 */ blr + +.global Unload__8CIceBeamFR13CStateManager +Unload__8CIceBeamFR13CStateManager: +/* 800E1160 000DE0C0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E1164 000DE0C4 7C 08 02 A6 */ mflr r0 +/* 800E1168 000DE0C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E116C 000DE0CC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E1170 000DE0D0 7C 7F 1B 78 */ mr r31, r3 +/* 800E1174 000DE0D4 48 0D A2 3D */ bl Unload__10CGunWeaponFR13CStateManager +/* 800E1178 000DE0D8 38 00 00 00 */ li r0, 0 +/* 800E117C 000DE0DC 38 7F 02 34 */ addi r3, r31, 0x234 +/* 800E1180 000DE0E0 90 1F 02 3C */ stw r0, 0x23c(r31) +/* 800E1184 000DE0E4 48 25 FB BD */ bl Unlock__6CTokenFv +/* 800E1188 000DE0E8 38 00 00 00 */ li r0, 0 +/* 800E118C 000DE0EC 38 7F 02 28 */ addi r3, r31, 0x228 +/* 800E1190 000DE0F0 90 1F 02 30 */ stw r0, 0x230(r31) +/* 800E1194 000DE0F4 48 25 FB AD */ bl Unlock__6CTokenFv +/* 800E1198 000DE0F8 38 00 00 00 */ li r0, 0 +/* 800E119C 000DE0FC 38 7F 02 1C */ addi r3, r31, 0x21c +/* 800E11A0 000DE100 90 1F 02 24 */ stw r0, 0x224(r31) +/* 800E11A4 000DE104 48 25 FB 9D */ bl Unlock__6CTokenFv +/* 800E11A8 000DE108 7F E3 FB 78 */ mr r3, r31 +/* 800E11AC 000DE10C 48 00 05 A5 */ bl ReInitVariables__8CIceBeamFv +/* 800E11B0 000DE110 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E11B4 000DE114 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E11B8 000DE118 7C 08 03 A6 */ mtlr r0 +/* 800E11BC 000DE11C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E11C0 000DE120 4E 80 00 20 */ blr + +.global Load__8CIceBeamFb +Load__8CIceBeamFb: +/* 800E11C4 000DE124 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E11C8 000DE128 7C 08 02 A6 */ mflr r0 +/* 800E11CC 000DE12C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E11D0 000DE130 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E11D4 000DE134 7C 7F 1B 78 */ mr r31, r3 +/* 800E11D8 000DE138 48 0D A2 FD */ bl Load__10CGunWeaponFR13CStateManagerb +/* 800E11DC 000DE13C 38 7F 02 1C */ addi r3, r31, 0x21c +/* 800E11E0 000DE140 48 25 FB A5 */ bl Lock__6CTokenFv +/* 800E11E4 000DE144 38 7F 02 28 */ addi r3, r31, 0x228 +/* 800E11E8 000DE148 48 25 FB 9D */ bl Lock__6CTokenFv +/* 800E11EC 000DE14C 38 7F 02 34 */ addi r3, r31, 0x234 +/* 800E11F0 000DE150 48 25 FB 95 */ bl Lock__6CTokenFv +/* 800E11F4 000DE154 88 1F 02 48 */ lbz r0, 0x248(r31) +/* 800E11F8 000DE158 38 60 00 00 */ li r3, 0 +/* 800E11FC 000DE15C 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800E1200 000DE160 98 1F 02 48 */ stb r0, 0x248(r31) +/* 800E1204 000DE164 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E1208 000DE168 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E120C 000DE16C 7C 08 03 A6 */ mtlr r0 +/* 800E1210 000DE170 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E1214 000DE174 4E 80 00 20 */ blr + +.global Fire__8CIceBeamFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId +Fire__8CIceBeamFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId: +/* 800E1218 000DE178 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800E121C 000DE17C 7C 08 02 A6 */ mflr r0 +/* 800E1220 000DE180 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E1224 000DE184 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800E1228 000DE188 7C BF 2B 78 */ mr r31, r5 +/* 800E122C 000DE18C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800E1230 000DE190 7C 9E 23 78 */ mr r30, r4 +/* 800E1234 000DE194 A0 08 00 00 */ lhz r0, 0(r8) +/* 800E1238 000DE198 39 01 00 08 */ addi r8, r1, 8 +/* 800E123C 000DE19C B0 01 00 08 */ sth r0, 8(r1) +/* 800E1240 000DE1A0 48 0D A6 49 */ bl Fire__10CGunWeaponFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId +/* 800E1244 000DE1A4 57 E0 08 3C */ slwi r0, r31, 1 +/* 800E1248 000DE1A8 38 62 8F A0 */ addi r3, r2, lbl_805AACC0@sda21 +/* 800E124C 000DE1AC 7C 83 02 2E */ lhzx r4, r3, r0 +/* 800E1250 000DE1B0 7F C5 F3 78 */ mr r5, r30 +/* 800E1254 000DE1B4 38 61 00 0C */ addi r3, r1, 0xc +/* 800E1258 000DE1B8 38 C0 00 00 */ li r6, 0 +/* 800E125C 000DE1BC 38 E0 00 4A */ li r7, 0x4a +/* 800E1260 000DE1C0 48 1A 98 99 */ bl play_sfx__12NWeaponTypesFUsbbs +/* 800E1264 000DE1C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800E1268 000DE1C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800E126C 000DE1CC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800E1270 000DE1D0 7C 08 03 A6 */ mtlr r0 +/* 800E1274 000DE1D4 38 21 00 20 */ addi r1, r1, 0x20 +/* 800E1278 000DE1D8 4E 80 00 20 */ blr + +.global Update__8CIceBeamFfR13CStateManager +Update__8CIceBeamFfR13CStateManager: +/* 800E127C 000DE1DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800E1280 000DE1E0 7C 08 02 A6 */ mflr r0 +/* 800E1284 000DE1E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E1288 000DE1E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800E128C 000DE1EC 7C 7F 1B 78 */ mr r31, r3 +/* 800E1290 000DE1F0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800E1294 000DE1F4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800E1298 000DE1F8 48 0D B1 E1 */ bl Update__10CGunWeaponFfR13CStateManager +/* 800E129C 000DE1FC 88 1F 02 48 */ lbz r0, 0x248(r31) +/* 800E12A0 000DE200 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800E12A4 000DE204 40 82 01 C0 */ bne lbl_800E1464 +/* 800E12A8 000DE208 80 1F 02 24 */ lwz r0, 0x224(r31) +/* 800E12AC 000DE20C 28 00 00 00 */ cmplwi r0, 0 +/* 800E12B0 000DE210 41 82 00 0C */ beq lbl_800E12BC +/* 800E12B4 000DE214 38 60 00 01 */ li r3, 1 +/* 800E12B8 000DE218 48 00 00 3C */ b lbl_800E12F4 +lbl_800E12BC: +/* 800E12BC 000DE21C 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 800E12C0 000DE220 28 00 00 00 */ cmplwi r0, 0 +/* 800E12C4 000DE224 41 82 00 2C */ beq lbl_800E12F0 +/* 800E12C8 000DE228 80 7F 02 1C */ lwz r3, 0x21c(r31) +/* 800E12CC 000DE22C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800E12D0 000DE230 28 00 00 00 */ cmplwi r0, 0 +/* 800E12D4 000DE234 41 82 00 1C */ beq lbl_800E12F0 +/* 800E12D8 000DE238 38 7F 02 1C */ addi r3, r31, 0x21c +/* 800E12DC 000DE23C 48 25 FB 31 */ bl GetObj__6CTokenFv +/* 800E12E0 000DE240 80 03 00 04 */ lwz r0, 4(r3) +/* 800E12E4 000DE244 38 60 00 01 */ li r3, 1 +/* 800E12E8 000DE248 90 1F 02 24 */ stw r0, 0x224(r31) +/* 800E12EC 000DE24C 48 00 00 08 */ b lbl_800E12F4 +lbl_800E12F0: +/* 800E12F0 000DE250 38 60 00 00 */ li r3, 0 +lbl_800E12F4: +/* 800E12F4 000DE254 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E12F8 000DE258 41 82 00 50 */ beq lbl_800E1348 +/* 800E12FC 000DE25C 80 1F 02 30 */ lwz r0, 0x230(r31) +/* 800E1300 000DE260 28 00 00 00 */ cmplwi r0, 0 +/* 800E1304 000DE264 41 82 00 0C */ beq lbl_800E1310 +/* 800E1308 000DE268 38 60 00 01 */ li r3, 1 +/* 800E130C 000DE26C 48 00 00 3C */ b lbl_800E1348 +lbl_800E1310: +/* 800E1310 000DE270 88 1F 02 2C */ lbz r0, 0x22c(r31) +/* 800E1314 000DE274 28 00 00 00 */ cmplwi r0, 0 +/* 800E1318 000DE278 41 82 00 2C */ beq lbl_800E1344 +/* 800E131C 000DE27C 80 7F 02 28 */ lwz r3, 0x228(r31) +/* 800E1320 000DE280 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800E1324 000DE284 28 00 00 00 */ cmplwi r0, 0 +/* 800E1328 000DE288 41 82 00 1C */ beq lbl_800E1344 +/* 800E132C 000DE28C 38 7F 02 28 */ addi r3, r31, 0x228 +/* 800E1330 000DE290 48 25 FA DD */ bl GetObj__6CTokenFv +/* 800E1334 000DE294 80 03 00 04 */ lwz r0, 4(r3) +/* 800E1338 000DE298 38 60 00 01 */ li r3, 1 +/* 800E133C 000DE29C 90 1F 02 30 */ stw r0, 0x230(r31) +/* 800E1340 000DE2A0 48 00 00 08 */ b lbl_800E1348 +lbl_800E1344: +/* 800E1344 000DE2A4 38 60 00 00 */ li r3, 0 +lbl_800E1348: +/* 800E1348 000DE2A8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E134C 000DE2AC 41 82 00 50 */ beq lbl_800E139C +/* 800E1350 000DE2B0 80 1F 02 3C */ lwz r0, 0x23c(r31) +/* 800E1354 000DE2B4 28 00 00 00 */ cmplwi r0, 0 +/* 800E1358 000DE2B8 41 82 00 0C */ beq lbl_800E1364 +/* 800E135C 000DE2BC 38 60 00 01 */ li r3, 1 +/* 800E1360 000DE2C0 48 00 00 3C */ b lbl_800E139C +lbl_800E1364: +/* 800E1364 000DE2C4 88 1F 02 38 */ lbz r0, 0x238(r31) +/* 800E1368 000DE2C8 28 00 00 00 */ cmplwi r0, 0 +/* 800E136C 000DE2CC 41 82 00 2C */ beq lbl_800E1398 +/* 800E1370 000DE2D0 80 7F 02 34 */ lwz r3, 0x234(r31) +/* 800E1374 000DE2D4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800E1378 000DE2D8 28 00 00 00 */ cmplwi r0, 0 +/* 800E137C 000DE2DC 41 82 00 1C */ beq lbl_800E1398 +/* 800E1380 000DE2E0 38 7F 02 34 */ addi r3, r31, 0x234 +/* 800E1384 000DE2E4 48 25 FA 89 */ bl GetObj__6CTokenFv +/* 800E1388 000DE2E8 80 03 00 04 */ lwz r0, 4(r3) +/* 800E138C 000DE2EC 38 60 00 01 */ li r3, 1 +/* 800E1390 000DE2F0 90 1F 02 3C */ stw r0, 0x23c(r31) +/* 800E1394 000DE2F4 48 00 00 08 */ b lbl_800E139C +lbl_800E1398: +/* 800E1398 000DE2F8 38 60 00 00 */ li r3, 0 +lbl_800E139C: +/* 800E139C 000DE2FC 88 1F 02 48 */ lbz r0, 0x248(r31) +/* 800E13A0 000DE300 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800E13A4 000DE304 98 1F 02 48 */ stb r0, 0x248(r31) +/* 800E13A8 000DE308 88 1F 02 48 */ lbz r0, 0x248(r31) +/* 800E13AC 000DE30C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800E13B0 000DE310 41 82 00 B4 */ beq lbl_800E1464 +/* 800E13B4 000DE314 3C 60 80 3D */ lis r3, lbl_803CE598@ha +/* 800E13B8 000DE318 3B A0 00 00 */ li r29, 0 +/* 800E13BC 000DE31C 38 83 E5 98 */ addi r4, r3, lbl_803CE598@l +/* 800E13C0 000DE320 38 A0 00 00 */ li r5, 0 +/* 800E13C4 000DE324 38 60 03 40 */ li r3, 0x340 +/* 800E13C8 000DE328 48 23 44 A5 */ bl __nw__FUlPCcPCc +/* 800E13CC 000DE32C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800E13D0 000DE330 41 82 00 2C */ beq lbl_800E13FC +/* 800E13D4 000DE334 38 61 00 08 */ addi r3, r1, 8 +/* 800E13D8 000DE338 38 9F 02 1C */ addi r4, r31, 0x21c +/* 800E13DC 000DE33C 48 25 FA CD */ bl __ct__6CTokenFRC6CToken +/* 800E13E0 000DE340 7F C3 F3 78 */ mr r3, r30 +/* 800E13E4 000DE344 38 81 00 08 */ addi r4, r1, 8 +/* 800E13E8 000DE348 3B A0 00 01 */ li r29, 1 +/* 800E13EC 000DE34C 38 A0 00 00 */ li r5, 0 +/* 800E13F0 000DE350 38 C0 00 01 */ li r6, 1 +/* 800E13F4 000DE354 48 23 DF ED */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800E13F8 000DE358 7C 7E 1B 78 */ mr r30, r3 +lbl_800E13FC: +/* 800E13FC 000DE35C 80 7F 02 40 */ lwz r3, 0x240(r31) +/* 800E1400 000DE360 28 03 00 00 */ cmplwi r3, 0 +/* 800E1404 000DE364 41 82 00 18 */ beq lbl_800E141C +/* 800E1408 000DE368 81 83 00 00 */ lwz r12, 0(r3) +/* 800E140C 000DE36C 38 80 00 01 */ li r4, 1 +/* 800E1410 000DE370 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E1414 000DE374 7D 89 03 A6 */ mtctr r12 +/* 800E1418 000DE378 4E 80 04 21 */ bctrl +lbl_800E141C: +/* 800E141C 000DE37C 7F A0 07 75 */ extsb. r0, r29 +/* 800E1420 000DE380 93 DF 02 40 */ stw r30, 0x240(r31) +/* 800E1424 000DE384 41 82 00 10 */ beq lbl_800E1434 +/* 800E1428 000DE388 38 61 00 08 */ addi r3, r1, 8 +/* 800E142C 000DE38C 38 80 00 00 */ li r4, 0 +/* 800E1430 000DE390 48 25 FA 11 */ bl __dt__6CTokenFv +lbl_800E1434: +/* 800E1434 000DE394 80 7F 02 40 */ lwz r3, 0x240(r31) +/* 800E1438 000DE398 38 9F 00 04 */ addi r4, r31, 4 +/* 800E143C 000DE39C 81 83 00 00 */ lwz r12, 0(r3) +/* 800E1440 000DE3A0 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800E1444 000DE3A4 7D 89 03 A6 */ mtctr r12 +/* 800E1448 000DE3A8 4E 80 04 21 */ bctrl +/* 800E144C 000DE3AC 80 7F 02 40 */ lwz r3, 0x240(r31) +/* 800E1450 000DE3B0 38 80 00 00 */ li r4, 0 +/* 800E1454 000DE3B4 81 83 00 00 */ lwz r12, 0(r3) +/* 800E1458 000DE3B8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800E145C 000DE3BC 7D 89 03 A6 */ mtctr r12 +/* 800E1460 000DE3C0 4E 80 04 21 */ bctrl +lbl_800E1464: +/* 800E1464 000DE3C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800E1468 000DE3C8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800E146C 000DE3CC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800E1470 000DE3D0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800E1474 000DE3D4 7C 08 03 A6 */ mtlr r0 +/* 800E1478 000DE3D8 38 21 00 20 */ addi r1, r1, 0x20 +/* 800E147C 000DE3DC 4E 80 00 20 */ blr + +.global UpdateGunFx__8CIceBeamFbfRC13CStateManagerRC12CTransform4f +UpdateGunFx__8CIceBeamFbfRC13CStateManagerRC12CTransform4f: +/* 800E1480 000DE3E0 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 800E1484 000DE3E4 7C 08 02 A6 */ mflr r0 +/* 800E1488 000DE3E8 90 01 01 24 */ stw r0, 0x124(r1) +/* 800E148C 000DE3EC DB E1 01 10 */ stfd f31, 0x110(r1) +/* 800E1490 000DE3F0 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 800E1494 000DE3F4 BF 61 00 FC */ stmw r27, 0xfc(r1) +/* 800E1498 000DE3F8 7C 7B 1B 78 */ mr r27, r3 +/* 800E149C 000DE3FC FF E0 08 90 */ fmr f31, f1 +/* 800E14A0 000DE400 80 03 02 40 */ lwz r0, 0x240(r3) +/* 800E14A4 000DE404 7C 9C 23 78 */ mr r28, r4 +/* 800E14A8 000DE408 7C BD 2B 78 */ mr r29, r5 +/* 800E14AC 000DE40C 7C DE 33 78 */ mr r30, r6 +/* 800E14B0 000DE410 28 00 00 00 */ cmplwi r0, 0 +/* 800E14B4 000DE414 41 82 00 A4 */ beq lbl_800E1558 +/* 800E14B8 000DE418 80 82 A9 C8 */ lwz r4, lbl_805AC6E8@sda21(r2) +/* 800E14BC 000DE41C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800E14C0 000DE420 4B F2 37 F9 */ bl string_l__4rstlFPCc +/* 800E14C4 000DE424 38 61 00 90 */ addi r3, r1, 0x90 +/* 800E14C8 000DE428 38 9B 00 10 */ addi r4, r27, 0x10 +/* 800E14CC 000DE42C 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800E14D0 000DE430 48 03 44 D1 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800E14D4 000DE434 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800E14D8 000DE438 38 81 00 90 */ addi r4, r1, 0x90 +/* 800E14DC 000DE43C 48 23 16 99 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800E14E0 000DE440 38 61 00 20 */ addi r3, r1, 0x20 +/* 800E14E4 000DE444 48 25 C5 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800E14E8 000DE448 C0 41 00 CC */ lfs f2, 0xcc(r1) +/* 800E14EC 000DE44C 38 81 00 14 */ addi r4, r1, 0x14 +/* 800E14F0 000DE450 C0 21 00 DC */ lfs f1, 0xdc(r1) +/* 800E14F4 000DE454 C0 01 00 EC */ lfs f0, 0xec(r1) +/* 800E14F8 000DE458 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 800E14FC 000DE45C D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800E1500 000DE460 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800E1504 000DE464 80 7B 02 40 */ lwz r3, 0x240(r27) +/* 800E1508 000DE468 81 83 00 00 */ lwz r12, 0(r3) +/* 800E150C 000DE46C 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800E1510 000DE470 7D 89 03 A6 */ mtctr r12 +/* 800E1514 000DE474 4E 80 04 21 */ bctrl +/* 800E1518 000DE478 83 FB 02 40 */ lwz r31, 0x240(r27) +/* 800E151C 000DE47C 38 61 00 60 */ addi r3, r1, 0x60 +/* 800E1520 000DE480 38 81 00 C0 */ addi r4, r1, 0xc0 +/* 800E1524 000DE484 48 23 17 1D */ bl GetRotation__12CTransform4fCFv +/* 800E1528 000DE488 7F E3 FB 78 */ mr r3, r31 +/* 800E152C 000DE48C 38 81 00 60 */ addi r4, r1, 0x60 +/* 800E1530 000DE490 81 9F 00 00 */ lwz r12, 0(r31) +/* 800E1534 000DE494 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800E1538 000DE498 7D 89 03 A6 */ mtctr r12 +/* 800E153C 000DE49C 4E 80 04 21 */ bctrl +/* 800E1540 000DE4A0 80 7B 02 40 */ lwz r3, 0x240(r27) +/* 800E1544 000DE4A4 FC 20 F8 90 */ fmr f1, f31 +/* 800E1548 000DE4A8 81 83 00 00 */ lwz r12, 0(r3) +/* 800E154C 000DE4AC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800E1550 000DE4B0 7D 89 03 A6 */ mtctr r12 +/* 800E1554 000DE4B4 4E 80 04 21 */ bctrl +lbl_800E1558: +/* 800E1558 000DE4B8 80 7B 02 44 */ lwz r3, 0x244(r27) +/* 800E155C 000DE4BC 28 03 00 00 */ cmplwi r3, 0 +/* 800E1560 000DE4C0 41 82 00 F0 */ beq lbl_800E1650 +/* 800E1564 000DE4C4 88 1B 02 48 */ lbz r0, 0x248(r27) +/* 800E1568 000DE4C8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800E156C 000DE4CC 41 82 00 4C */ beq lbl_800E15B8 +/* 800E1570 000DE4D0 81 83 00 00 */ lwz r12, 0(r3) +/* 800E1574 000DE4D4 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 800E1578 000DE4D8 7D 89 03 A6 */ mtctr r12 +/* 800E157C 000DE4DC 4E 80 04 21 */ bctrl +/* 800E1580 000DE4E0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E1584 000DE4E4 41 82 00 34 */ beq lbl_800E15B8 +/* 800E1588 000DE4E8 38 00 00 00 */ li r0, 0 +/* 800E158C 000DE4EC 90 1B 01 CC */ stw r0, 0x1cc(r27) +/* 800E1590 000DE4F0 80 7B 02 44 */ lwz r3, 0x244(r27) +/* 800E1594 000DE4F4 28 03 00 00 */ cmplwi r3, 0 +/* 800E1598 000DE4F8 41 82 00 18 */ beq lbl_800E15B0 +/* 800E159C 000DE4FC 81 83 00 00 */ lwz r12, 0(r3) +/* 800E15A0 000DE500 38 80 00 01 */ li r4, 1 +/* 800E15A4 000DE504 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E15A8 000DE508 7D 89 03 A6 */ mtctr r12 +/* 800E15AC 000DE50C 4E 80 04 21 */ bctrl +lbl_800E15B0: +/* 800E15B0 000DE510 38 00 00 00 */ li r0, 0 +/* 800E15B4 000DE514 90 1B 02 44 */ stw r0, 0x244(r27) +lbl_800E15B8: +/* 800E15B8 000DE518 80 1B 01 CC */ lwz r0, 0x1cc(r27) +/* 800E15BC 000DE51C 2C 00 00 00 */ cmpwi r0, 0 +/* 800E15C0 000DE520 41 82 00 90 */ beq lbl_800E1650 +/* 800E15C4 000DE524 88 1B 02 48 */ lbz r0, 0x248(r27) +/* 800E15C8 000DE528 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800E15CC 000DE52C 41 82 00 60 */ beq lbl_800E162C +/* 800E15D0 000DE530 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 800E15D4 000DE534 38 81 00 08 */ addi r4, r1, 8 +/* 800E15D8 000DE538 C0 3E 00 1C */ lfs f1, 0x1c(r30) +/* 800E15DC 000DE53C C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 800E15E0 000DE540 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800E15E4 000DE544 D0 01 00 08 */ stfs f0, 8(r1) +/* 800E15E8 000DE548 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 800E15EC 000DE54C 80 7B 02 44 */ lwz r3, 0x244(r27) +/* 800E15F0 000DE550 81 83 00 00 */ lwz r12, 0(r3) +/* 800E15F4 000DE554 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800E15F8 000DE558 7D 89 03 A6 */ mtctr r12 +/* 800E15FC 000DE55C 4E 80 04 21 */ bctrl +/* 800E1600 000DE560 83 FB 02 44 */ lwz r31, 0x244(r27) +/* 800E1604 000DE564 7F C4 F3 78 */ mr r4, r30 +/* 800E1608 000DE568 38 61 00 30 */ addi r3, r1, 0x30 +/* 800E160C 000DE56C 48 23 16 35 */ bl GetRotation__12CTransform4fCFv +/* 800E1610 000DE570 7F E3 FB 78 */ mr r3, r31 +/* 800E1614 000DE574 38 81 00 30 */ addi r4, r1, 0x30 +/* 800E1618 000DE578 81 9F 00 00 */ lwz r12, 0(r31) +/* 800E161C 000DE57C 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800E1620 000DE580 7D 89 03 A6 */ mtctr r12 +/* 800E1624 000DE584 4E 80 04 21 */ bctrl +/* 800E1628 000DE588 48 00 00 10 */ b lbl_800E1638 +lbl_800E162C: +/* 800E162C 000DE58C 80 7B 02 44 */ lwz r3, 0x244(r27) +/* 800E1630 000DE590 7F C4 F3 78 */ mr r4, r30 +/* 800E1634 000DE594 48 23 D5 51 */ bl SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f +lbl_800E1638: +/* 800E1638 000DE598 80 7B 02 44 */ lwz r3, 0x244(r27) +/* 800E163C 000DE59C FC 20 F8 90 */ fmr f1, f31 +/* 800E1640 000DE5A0 81 83 00 00 */ lwz r12, 0(r3) +/* 800E1644 000DE5A4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800E1648 000DE5A8 7D 89 03 A6 */ mtctr r12 +/* 800E164C 000DE5AC 4E 80 04 21 */ bctrl +lbl_800E1650: +/* 800E1650 000DE5B0 FC 20 F8 90 */ fmr f1, f31 +/* 800E1654 000DE5B4 7F 63 DB 78 */ mr r3, r27 +/* 800E1658 000DE5B8 7F 84 E3 78 */ mr r4, r28 +/* 800E165C 000DE5BC 7F A5 EB 78 */ mr r5, r29 +/* 800E1660 000DE5C0 7F C6 F3 78 */ mr r6, r30 +/* 800E1664 000DE5C4 48 0D AC 79 */ bl UpdateGunFx__10CGunWeaponFbfRC13CStateManagerRC12CTransform4f +/* 800E1668 000DE5C8 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 800E166C 000DE5CC CB E1 01 10 */ lfd f31, 0x110(r1) +/* 800E1670 000DE5D0 BB 61 00 FC */ lmw r27, 0xfc(r1) +/* 800E1674 000DE5D4 80 01 01 24 */ lwz r0, 0x124(r1) +/* 800E1678 000DE5D8 7C 08 03 A6 */ mtlr r0 +/* 800E167C 000DE5DC 38 21 01 20 */ addi r1, r1, 0x120 +/* 800E1680 000DE5E0 4E 80 00 20 */ blr + +.global PostRenderGunFx__8CIceBeamFRC13CStateManagerRC12CTransform4f +PostRenderGunFx__8CIceBeamFRC13CStateManagerRC12CTransform4f: +/* 800E1684 000DE5E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800E1688 000DE5E8 7C 08 02 A6 */ mflr r0 +/* 800E168C 000DE5EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E1690 000DE5F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800E1694 000DE5F4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800E1698 000DE5F8 7C BE 2B 78 */ mr r30, r5 +/* 800E169C 000DE5FC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800E16A0 000DE600 7C 9D 23 78 */ mr r29, r4 +/* 800E16A4 000DE604 93 81 00 10 */ stw r28, 0x10(r1) +/* 800E16A8 000DE608 7C 7C 1B 78 */ mr r28, r3 +/* 800E16AC 000DE60C 80 04 0F 34 */ lwz r0, 0xf34(r4) +/* 800E16B0 000DE610 7C 03 00 34 */ cntlzw r3, r0 +/* 800E16B4 000DE614 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 800E16B8 000DE618 54 7F D9 7E */ srwi r31, r3, 5 +/* 800E16BC 000DE61C 41 82 00 0C */ beq lbl_800E16C8 +/* 800E16C0 000DE620 38 00 00 01 */ li r0, 1 +/* 800E16C4 000DE624 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) +lbl_800E16C8: +/* 800E16C8 000DE628 80 7C 02 40 */ lwz r3, 0x240(r28) +/* 800E16CC 000DE62C 28 03 00 00 */ cmplwi r3, 0 +/* 800E16D0 000DE630 41 82 00 14 */ beq lbl_800E16E4 +/* 800E16D4 000DE634 81 83 00 00 */ lwz r12, 0(r3) +/* 800E16D8 000DE638 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800E16DC 000DE63C 7D 89 03 A6 */ mtctr r12 +/* 800E16E0 000DE640 4E 80 04 21 */ bctrl +lbl_800E16E4: +/* 800E16E4 000DE644 80 1C 01 CC */ lwz r0, 0x1cc(r28) +/* 800E16E8 000DE648 2C 00 00 00 */ cmpwi r0, 0 +/* 800E16EC 000DE64C 41 82 00 20 */ beq lbl_800E170C +/* 800E16F0 000DE650 80 7C 02 44 */ lwz r3, 0x244(r28) +/* 800E16F4 000DE654 28 03 00 00 */ cmplwi r3, 0 +/* 800E16F8 000DE658 41 82 00 14 */ beq lbl_800E170C +/* 800E16FC 000DE65C 81 83 00 00 */ lwz r12, 0(r3) +/* 800E1700 000DE660 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800E1704 000DE664 7D 89 03 A6 */ mtctr r12 +/* 800E1708 000DE668 4E 80 04 21 */ bctrl +lbl_800E170C: +/* 800E170C 000DE66C 7F 83 E3 78 */ mr r3, r28 +/* 800E1710 000DE670 7F A4 EB 78 */ mr r4, r29 +/* 800E1714 000DE674 7F C5 F3 78 */ mr r5, r30 +/* 800E1718 000DE678 48 0D AD 0D */ bl PostRenderGunFx__10CGunWeaponFRC13CStateManagerRC12CTransform4f +/* 800E171C 000DE67C 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800E1720 000DE680 41 82 00 0C */ beq lbl_800E172C +/* 800E1724 000DE684 38 00 00 00 */ li r0, 0 +/* 800E1728 000DE688 98 0D A8 B9 */ stb r0, lbl_805A9479@sda21(r13) +lbl_800E172C: +/* 800E172C 000DE68C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800E1730 000DE690 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800E1734 000DE694 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800E1738 000DE698 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800E173C 000DE69C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800E1740 000DE6A0 7C 08 03 A6 */ mtlr r0 +/* 800E1744 000DE6A4 38 21 00 20 */ addi r1, r1, 0x20 +/* 800E1748 000DE6A8 4E 80 00 20 */ blr + +.global PreRenderGunFx__8CIceBeamFRC13CStateManagerRC12CTransform4f +PreRenderGunFx__8CIceBeamFRC13CStateManagerRC12CTransform4f: +/* 800E174C 000DE6AC 4E 80 00 20 */ blr + +.global ReInitVariables__8CIceBeamFv +ReInitVariables__8CIceBeamFv: +/* 800E1750 000DE6B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E1754 000DE6B4 7C 08 02 A6 */ mflr r0 +/* 800E1758 000DE6B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E175C 000DE6BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E1760 000DE6C0 7C 7F 1B 78 */ mr r31, r3 +/* 800E1764 000DE6C4 80 63 02 40 */ lwz r3, 0x240(r3) +/* 800E1768 000DE6C8 28 03 00 00 */ cmplwi r3, 0 +/* 800E176C 000DE6CC 41 82 00 18 */ beq lbl_800E1784 +/* 800E1770 000DE6D0 81 83 00 00 */ lwz r12, 0(r3) +/* 800E1774 000DE6D4 38 80 00 01 */ li r4, 1 +/* 800E1778 000DE6D8 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E177C 000DE6DC 7D 89 03 A6 */ mtctr r12 +/* 800E1780 000DE6E0 4E 80 04 21 */ bctrl +lbl_800E1784: +/* 800E1784 000DE6E4 38 00 00 00 */ li r0, 0 +/* 800E1788 000DE6E8 90 1F 02 40 */ stw r0, 0x240(r31) +/* 800E178C 000DE6EC 80 7F 02 44 */ lwz r3, 0x244(r31) +/* 800E1790 000DE6F0 28 03 00 00 */ cmplwi r3, 0 +/* 800E1794 000DE6F4 41 82 00 18 */ beq lbl_800E17AC +/* 800E1798 000DE6F8 81 83 00 00 */ lwz r12, 0(r3) +/* 800E179C 000DE6FC 38 80 00 01 */ li r4, 1 +/* 800E17A0 000DE700 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E17A4 000DE704 7D 89 03 A6 */ mtctr r12 +/* 800E17A8 000DE708 4E 80 04 21 */ bctrl +lbl_800E17AC: +/* 800E17AC 000DE70C 38 60 00 00 */ li r3, 0 +/* 800E17B0 000DE710 90 7F 02 44 */ stw r3, 0x244(r31) +/* 800E17B4 000DE714 88 1F 02 48 */ lbz r0, 0x248(r31) +/* 800E17B8 000DE718 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800E17BC 000DE71C 98 1F 02 48 */ stb r0, 0x248(r31) +/* 800E17C0 000DE720 88 1F 02 48 */ lbz r0, 0x248(r31) +/* 800E17C4 000DE724 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800E17C8 000DE728 98 1F 02 48 */ stb r0, 0x248(r31) +/* 800E17CC 000DE72C 90 7F 01 CC */ stw r3, 0x1cc(r31) +/* 800E17D0 000DE730 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E17D4 000DE734 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E17D8 000DE738 7C 08 03 A6 */ mtlr r0 +/* 800E17DC 000DE73C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E17E0 000DE740 4E 80 00 20 */ blr + +.global __dt__8CIceBeamFv +__dt__8CIceBeamFv: +/* 800E17E4 000DE744 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E17E8 000DE748 7C 08 02 A6 */ mflr r0 +/* 800E17EC 000DE74C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E17F0 000DE750 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E17F4 000DE754 7C 9F 23 78 */ mr r31, r4 +/* 800E17F8 000DE758 93 C1 00 08 */ stw r30, 8(r1) +/* 800E17FC 000DE75C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800E1800 000DE760 41 82 00 D0 */ beq lbl_800E18D0 +/* 800E1804 000DE764 3C 60 80 3E */ lis r3, lbl_803DF7E8@ha +/* 800E1808 000DE768 34 1E 02 44 */ addic. r0, r30, 0x244 +/* 800E180C 000DE76C 38 03 F7 E8 */ addi r0, r3, lbl_803DF7E8@l +/* 800E1810 000DE770 90 1E 00 00 */ stw r0, 0(r30) +/* 800E1814 000DE774 41 82 00 24 */ beq lbl_800E1838 +/* 800E1818 000DE778 80 7E 02 44 */ lwz r3, 0x244(r30) +/* 800E181C 000DE77C 28 03 00 00 */ cmplwi r3, 0 +/* 800E1820 000DE780 41 82 00 18 */ beq lbl_800E1838 +/* 800E1824 000DE784 81 83 00 00 */ lwz r12, 0(r3) +/* 800E1828 000DE788 38 80 00 01 */ li r4, 1 +/* 800E182C 000DE78C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E1830 000DE790 7D 89 03 A6 */ mtctr r12 +/* 800E1834 000DE794 4E 80 04 21 */ bctrl +lbl_800E1838: +/* 800E1838 000DE798 34 1E 02 40 */ addic. r0, r30, 0x240 +/* 800E183C 000DE79C 41 82 00 24 */ beq lbl_800E1860 +/* 800E1840 000DE7A0 80 7E 02 40 */ lwz r3, 0x240(r30) +/* 800E1844 000DE7A4 28 03 00 00 */ cmplwi r3, 0 +/* 800E1848 000DE7A8 41 82 00 18 */ beq lbl_800E1860 +/* 800E184C 000DE7AC 81 83 00 00 */ lwz r12, 0(r3) +/* 800E1850 000DE7B0 38 80 00 01 */ li r4, 1 +/* 800E1854 000DE7B4 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E1858 000DE7B8 7D 89 03 A6 */ mtctr r12 +/* 800E185C 000DE7BC 4E 80 04 21 */ bctrl +lbl_800E1860: +/* 800E1860 000DE7C0 34 1E 02 34 */ addic. r0, r30, 0x234 +/* 800E1864 000DE7C4 41 82 00 18 */ beq lbl_800E187C +/* 800E1868 000DE7C8 34 1E 02 34 */ addic. r0, r30, 0x234 +/* 800E186C 000DE7CC 41 82 00 10 */ beq lbl_800E187C +/* 800E1870 000DE7D0 38 7E 02 34 */ addi r3, r30, 0x234 +/* 800E1874 000DE7D4 38 80 00 00 */ li r4, 0 +/* 800E1878 000DE7D8 48 25 F5 C9 */ bl __dt__6CTokenFv +lbl_800E187C: +/* 800E187C 000DE7DC 34 1E 02 28 */ addic. r0, r30, 0x228 +/* 800E1880 000DE7E0 41 82 00 18 */ beq lbl_800E1898 +/* 800E1884 000DE7E4 34 1E 02 28 */ addic. r0, r30, 0x228 +/* 800E1888 000DE7E8 41 82 00 10 */ beq lbl_800E1898 +/* 800E188C 000DE7EC 38 7E 02 28 */ addi r3, r30, 0x228 +/* 800E1890 000DE7F0 38 80 00 00 */ li r4, 0 +/* 800E1894 000DE7F4 48 25 F5 AD */ bl __dt__6CTokenFv +lbl_800E1898: +/* 800E1898 000DE7F8 34 1E 02 1C */ addic. r0, r30, 0x21c +/* 800E189C 000DE7FC 41 82 00 18 */ beq lbl_800E18B4 +/* 800E18A0 000DE800 34 1E 02 1C */ addic. r0, r30, 0x21c +/* 800E18A4 000DE804 41 82 00 10 */ beq lbl_800E18B4 +/* 800E18A8 000DE808 38 7E 02 1C */ addi r3, r30, 0x21c +/* 800E18AC 000DE80C 38 80 00 00 */ li r4, 0 +/* 800E18B0 000DE810 48 25 F5 91 */ bl __dt__6CTokenFv +lbl_800E18B4: +/* 800E18B4 000DE814 7F C3 F3 78 */ mr r3, r30 +/* 800E18B8 000DE818 38 80 00 00 */ li r4, 0 +/* 800E18BC 000DE81C 48 0D B4 05 */ bl __dt__10CGunWeaponFv +/* 800E18C0 000DE820 7F E0 07 35 */ extsh. r0, r31 +/* 800E18C4 000DE824 40 81 00 0C */ ble lbl_800E18D0 +/* 800E18C8 000DE828 7F C3 F3 78 */ mr r3, r30 +/* 800E18CC 000DE82C 48 23 40 65 */ bl Free__7CMemoryFPCv +lbl_800E18D0: +/* 800E18D0 000DE830 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E18D4 000DE834 7F C3 F3 78 */ mr r3, r30 +/* 800E18D8 000DE838 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E18DC 000DE83C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800E18E0 000DE840 7C 08 03 A6 */ mtlr r0 +/* 800E18E4 000DE844 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E18E8 000DE848 4E 80 00 20 */ blr + +.global __ct__8CIceBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +__ct__8CIceBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f: +/* 800E18EC 000DE84C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800E18F0 000DE850 7C 08 02 A6 */ mflr r0 +/* 800E18F4 000DE854 90 01 00 34 */ stw r0, 0x34(r1) +/* 800E18F8 000DE858 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800E18FC 000DE85C 7C 7F 1B 78 */ mr r31, r3 +/* 800E1900 000DE860 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800E1904 000DE864 A0 06 00 00 */ lhz r0, 0(r6) +/* 800E1908 000DE868 38 C1 00 08 */ addi r6, r1, 8 +/* 800E190C 000DE86C B0 01 00 08 */ sth r0, 8(r1) +/* 800E1910 000DE870 48 0D B8 A1 */ bl __ct__10CGunWeaponFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +/* 800E1914 000DE874 3C 60 80 3E */ lis r3, lbl_803DF7E8@ha +/* 800E1918 000DE878 3C 80 80 3D */ lis r4, lbl_803CE598@ha +/* 800E191C 000DE87C 38 03 F7 E8 */ addi r0, r3, lbl_803DF7E8@l +/* 800E1920 000DE880 38 61 00 1C */ addi r3, r1, 0x1c +/* 800E1924 000DE884 90 1F 00 00 */ stw r0, 0(r31) +/* 800E1928 000DE888 38 84 E5 98 */ addi r4, r4, lbl_803CE598@l +/* 800E192C 000DE88C 38 A4 00 07 */ addi r5, r4, 7 +/* 800E1930 000DE890 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800E1934 000DE894 81 84 00 00 */ lwz r12, 0(r4) +/* 800E1938 000DE898 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800E193C 000DE89C 7D 89 03 A6 */ mtctr r12 +/* 800E1940 000DE8A0 4E 80 04 21 */ bctrl +/* 800E1944 000DE8A4 3B DF 02 1C */ addi r30, r31, 0x21c +/* 800E1948 000DE8A8 38 81 00 1C */ addi r4, r1, 0x1c +/* 800E194C 000DE8AC 7F C3 F3 78 */ mr r3, r30 +/* 800E1950 000DE8B0 48 25 F5 59 */ bl __ct__6CTokenFRC6CToken +/* 800E1954 000DE8B4 38 00 00 00 */ li r0, 0 +/* 800E1958 000DE8B8 38 61 00 1C */ addi r3, r1, 0x1c +/* 800E195C 000DE8BC 90 1E 00 08 */ stw r0, 8(r30) +/* 800E1960 000DE8C0 38 80 FF FF */ li r4, -1 +/* 800E1964 000DE8C4 48 25 F4 DD */ bl __dt__6CTokenFv +/* 800E1968 000DE8C8 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800E196C 000DE8CC 3C 60 80 3D */ lis r3, lbl_803CE598@ha +/* 800E1970 000DE8D0 38 A3 E5 98 */ addi r5, r3, lbl_803CE598@l +/* 800E1974 000DE8D4 38 61 00 14 */ addi r3, r1, 0x14 +/* 800E1978 000DE8D8 81 84 00 00 */ lwz r12, 0(r4) +/* 800E197C 000DE8DC 38 A5 00 10 */ addi r5, r5, 0x10 +/* 800E1980 000DE8E0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800E1984 000DE8E4 7D 89 03 A6 */ mtctr r12 +/* 800E1988 000DE8E8 4E 80 04 21 */ bctrl +/* 800E198C 000DE8EC 3B DF 02 28 */ addi r30, r31, 0x228 +/* 800E1990 000DE8F0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800E1994 000DE8F4 7F C3 F3 78 */ mr r3, r30 +/* 800E1998 000DE8F8 48 25 F5 11 */ bl __ct__6CTokenFRC6CToken +/* 800E199C 000DE8FC 38 00 00 00 */ li r0, 0 +/* 800E19A0 000DE900 38 61 00 14 */ addi r3, r1, 0x14 +/* 800E19A4 000DE904 90 1E 00 08 */ stw r0, 8(r30) +/* 800E19A8 000DE908 38 80 FF FF */ li r4, -1 +/* 800E19AC 000DE90C 48 25 F4 95 */ bl __dt__6CTokenFv +/* 800E19B0 000DE910 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800E19B4 000DE914 3C 60 80 3D */ lis r3, lbl_803CE598@ha +/* 800E19B8 000DE918 38 A3 E5 98 */ addi r5, r3, lbl_803CE598@l +/* 800E19BC 000DE91C 38 61 00 0C */ addi r3, r1, 0xc +/* 800E19C0 000DE920 81 84 00 00 */ lwz r12, 0(r4) +/* 800E19C4 000DE924 38 A5 00 19 */ addi r5, r5, 0x19 +/* 800E19C8 000DE928 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800E19CC 000DE92C 7D 89 03 A6 */ mtctr r12 +/* 800E19D0 000DE930 4E 80 04 21 */ bctrl +/* 800E19D4 000DE934 3B DF 02 34 */ addi r30, r31, 0x234 +/* 800E19D8 000DE938 38 81 00 0C */ addi r4, r1, 0xc +/* 800E19DC 000DE93C 7F C3 F3 78 */ mr r3, r30 +/* 800E19E0 000DE940 48 25 F4 C9 */ bl __ct__6CTokenFRC6CToken +/* 800E19E4 000DE944 38 00 00 00 */ li r0, 0 +/* 800E19E8 000DE948 38 61 00 0C */ addi r3, r1, 0xc +/* 800E19EC 000DE94C 90 1E 00 08 */ stw r0, 8(r30) +/* 800E19F0 000DE950 38 80 FF FF */ li r4, -1 +/* 800E19F4 000DE954 48 25 F4 4D */ bl __dt__6CTokenFv +/* 800E19F8 000DE958 38 80 00 00 */ li r4, 0 +/* 800E19FC 000DE95C 7F E3 FB 78 */ mr r3, r31 +/* 800E1A00 000DE960 90 9F 02 40 */ stw r4, 0x240(r31) +/* 800E1A04 000DE964 90 9F 02 44 */ stw r4, 0x244(r31) +/* 800E1A08 000DE968 88 1F 02 48 */ lbz r0, 0x248(r31) +/* 800E1A0C 000DE96C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800E1A10 000DE970 98 1F 02 48 */ stb r0, 0x248(r31) +/* 800E1A14 000DE974 88 1F 02 48 */ lbz r0, 0x248(r31) +/* 800E1A18 000DE978 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 800E1A1C 000DE97C 98 1F 02 48 */ stb r0, 0x248(r31) +/* 800E1A20 000DE980 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800E1A24 000DE984 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800E1A28 000DE988 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800E1A2C 000DE98C 7C 08 03 A6 */ mtlr r0 +/* 800E1A30 000DE990 38 21 00 30 */ addi r1, r1, 0x30 +/* 800E1A34 000DE994 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CMemoryDrawEnum.s b/asm/Kyoto_CWD/CMemoryDrawEnum.s new file mode 100644 index 00000000..008e442b --- /dev/null +++ b/asm/Kyoto_CWD/CMemoryDrawEnum.s @@ -0,0 +1,51 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global __ct__Q210IAllocator8SMetricsFRCQ210IAllocator8SMetrics +__ct__Q210IAllocator8SMetricsFRCQ210IAllocator8SMetrics: +/* 800C364C 000C05AC 80 04 00 00 */ lwz r0, 0(r4) +/* 800C3650 000C05B0 90 03 00 00 */ stw r0, 0(r3) +/* 800C3654 000C05B4 80 04 00 04 */ lwz r0, 4(r4) +/* 800C3658 000C05B8 90 03 00 04 */ stw r0, 4(r3) +/* 800C365C 000C05BC 80 04 00 08 */ lwz r0, 8(r4) +/* 800C3660 000C05C0 90 03 00 08 */ stw r0, 8(r3) +/* 800C3664 000C05C4 80 04 00 0C */ lwz r0, 0xc(r4) +/* 800C3668 000C05C8 90 03 00 0C */ stw r0, 0xc(r3) +/* 800C366C 000C05CC 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800C3670 000C05D0 90 03 00 10 */ stw r0, 0x10(r3) +/* 800C3674 000C05D4 80 04 00 14 */ lwz r0, 0x14(r4) +/* 800C3678 000C05D8 90 03 00 14 */ stw r0, 0x14(r3) +/* 800C367C 000C05DC 80 04 00 18 */ lwz r0, 0x18(r4) +/* 800C3680 000C05E0 90 03 00 18 */ stw r0, 0x18(r3) +/* 800C3684 000C05E4 80 04 00 1C */ lwz r0, 0x1c(r4) +/* 800C3688 000C05E8 90 03 00 1C */ stw r0, 0x1c(r3) +/* 800C368C 000C05EC 80 04 00 20 */ lwz r0, 0x20(r4) +/* 800C3690 000C05F0 90 03 00 20 */ stw r0, 0x20(r3) +/* 800C3694 000C05F4 80 04 00 24 */ lwz r0, 0x24(r4) +/* 800C3698 000C05F8 90 03 00 24 */ stw r0, 0x24(r3) +/* 800C369C 000C05FC 80 04 00 28 */ lwz r0, 0x28(r4) +/* 800C36A0 000C0600 90 03 00 28 */ stw r0, 0x28(r3) +/* 800C36A4 000C0604 80 04 00 2C */ lwz r0, 0x2c(r4) +/* 800C36A8 000C0608 90 03 00 2C */ stw r0, 0x2c(r3) +/* 800C36AC 000C060C 80 04 00 30 */ lwz r0, 0x30(r4) +/* 800C36B0 000C0610 90 03 00 30 */ stw r0, 0x30(r3) +/* 800C36B4 000C0614 80 04 00 34 */ lwz r0, 0x34(r4) +/* 800C36B8 000C0618 90 03 00 34 */ stw r0, 0x34(r3) +/* 800C36BC 000C061C 80 04 00 38 */ lwz r0, 0x38(r4) +/* 800C36C0 000C0620 90 03 00 38 */ stw r0, 0x38(r3) +/* 800C36C4 000C0624 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 800C36C8 000C0628 90 03 00 3C */ stw r0, 0x3c(r3) +/* 800C36CC 000C062C 80 04 00 40 */ lwz r0, 0x40(r4) +/* 800C36D0 000C0630 90 03 00 40 */ stw r0, 0x40(r3) +/* 800C36D4 000C0634 80 04 00 44 */ lwz r0, 0x44(r4) +/* 800C36D8 000C0638 90 03 00 44 */ stw r0, 0x44(r3) +/* 800C36DC 000C063C 80 04 00 48 */ lwz r0, 0x48(r4) +/* 800C36E0 000C0640 90 03 00 48 */ stw r0, 0x48(r3) +/* 800C36E4 000C0644 80 04 00 4C */ lwz r0, 0x4c(r4) +/* 800C36E8 000C0648 90 03 00 4C */ stw r0, 0x4c(r3) +/* 800C36EC 000C064C 80 04 00 50 */ lwz r0, 0x50(r4) +/* 800C36F0 000C0650 90 03 00 50 */ stw r0, 0x50(r3) +/* 800C36F4 000C0654 80 04 00 54 */ lwz r0, 0x54(r4) +/* 800C36F8 000C0658 90 03 00 54 */ stw r0, 0x54(r3) +/* 800C36FC 000C065C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CObjectList.s b/asm/Kyoto_CWD/CObjectList.s index 834fa7ab..f817d5b4 100644 --- a/asm/Kyoto_CWD/CObjectList.s +++ b/asm/Kyoto_CWD/CObjectList.s @@ -330,9 +330,6 @@ lbl_800100A0: /* 8001011C 0000D07C 83 C1 00 08 */ lwz r30, 8(r1) /* 80010120 0000D080 7C 08 03 A6 */ mtlr r0 /* 80010124 0000D084 38 21 00 10 */ addi r1, r1, 0x10 - -.global sub_80010128 -sub_80010128: /* 80010128 0000D088 4E 80 00 20 */ blr .global __ct__Q211CObjectList16SObjectListEntryFv diff --git a/asm/Kyoto_CWD/CPlasmaBeam.s b/asm/Kyoto_CWD/CPlasmaBeam.s new file mode 100644 index 00000000..fc7a0408 --- /dev/null +++ b/asm/Kyoto_CWD/CPlasmaBeam.s @@ -0,0 +1,802 @@ +.include "macros.inc" + +.section .text, "ax" + +.global SetWorldLighting__11CPlasmaBeamFR13CStateManager7TAreaIdff +SetWorldLighting__11CPlasmaBeamFR13CStateManager7TAreaIdff: +/* 800DEB9C 000DBAFC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800DEBA0 000DBB00 7C 08 02 A6 */ mflr r0 +/* 800DEBA4 000DBB04 90 01 00 44 */ stw r0, 0x44(r1) +/* 800DEBA8 000DBB08 DB E1 00 30 */ stfd f31, 0x30(r1) +/* 800DEBAC 000DBB0C F3 E1 00 38 */ psq_st f31, 56(r1), 0, qr0 +/* 800DEBB0 000DBB10 DB C1 00 20 */ stfd f30, 0x20(r1) +/* 800DEBB4 000DBB14 F3 C1 00 28 */ psq_st f30, 40(r1), 0, qr0 +/* 800DEBB8 000DBB18 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DEBBC 000DBB1C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DEBC0 000DBB20 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800DEBC4 000DBB24 88 03 02 2C */ lbz r0, 0x22c(r3) +/* 800DEBC8 000DBB28 FF C0 08 90 */ fmr f30, f1 +/* 800DEBCC 000DBB2C FF E0 10 90 */ fmr f31, f2 +/* 800DEBD0 000DBB30 7C 7E 1B 78 */ mr r30, r3 +/* 800DEBD4 000DBB34 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800DEBD8 000DBB38 7C 9F 23 78 */ mr r31, r4 +/* 800DEBDC 000DBB3C 7C BD 2B 78 */ mr r29, r5 +/* 800DEBE0 000DBB40 41 82 00 54 */ beq lbl_800DEC34 +/* 800DEBE4 000DBB44 80 7E 02 3C */ lwz r3, 0x23c(r30) +/* 800DEBE8 000DBB48 80 1D 00 00 */ lwz r0, 0(r29) +/* 800DEBEC 000DBB4C 7C 03 00 00 */ cmpw r3, r0 +/* 800DEBF0 000DBB50 41 82 00 44 */ beq lbl_800DEC34 +/* 800DEBF4 000DBB54 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800DEBF8 000DBB58 7C 03 00 00 */ cmpw r3, r0 +/* 800DEBFC 000DBB5C 41 82 00 38 */ beq lbl_800DEC34 +/* 800DEC00 000DBB60 80 1E 02 3C */ lwz r0, 0x23c(r30) +/* 800DEC04 000DBB64 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 800DEC08 000DBB68 54 03 18 38 */ slwi r3, r0, 3 +/* 800DEC0C 000DBB6C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800DEC10 000DBB70 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800DEC14 000DBB74 38 03 00 04 */ addi r0, r3, 4 +/* 800DEC18 000DBB78 7C 64 00 2E */ lwzx r3, r4, r0 +/* 800DEC1C 000DBB7C 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800DEC20 000DBB80 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800DEC24 000DBB84 41 82 00 10 */ beq lbl_800DEC34 +/* 800DEC28 000DBB88 C0 22 8F 34 */ lfs f1, lbl_805AAC54@sda21(r2) +/* 800DEC2C 000DBB8C C0 42 8F 38 */ lfs f2, lbl_805AAC58@sda21(r2) +/* 800DEC30 000DBB90 4B F7 F5 A5 */ bl SetWeaponWorldLighting__9CGameAreaFff +lbl_800DEC34: +/* 800DEC34 000DBB94 C0 02 8F 38 */ lfs f0, lbl_805AAC58@sda21(r2) +/* 800DEC38 000DBB98 80 1D 00 00 */ lwz r0, 0(r29) +/* 800DEC3C 000DBB9C FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 800DEC40 000DBBA0 90 1E 02 3C */ stw r0, 0x23c(r30) +/* 800DEC44 000DBBA4 7C 60 00 26 */ mfcr r3 +/* 800DEC48 000DBBA8 88 1E 02 2C */ lbz r0, 0x22c(r30) +/* 800DEC4C 000DBBAC 54 63 1F FE */ rlwinm r3, r3, 3, 0x1f, 0x1f +/* 800DEC50 000DBBB0 68 63 00 01 */ xori r3, r3, 1 +/* 800DEC54 000DBBB4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800DEC58 000DBBB8 98 1E 02 2C */ stb r0, 0x22c(r30) +/* 800DEC5C 000DBBBC 80 7E 02 3C */ lwz r3, 0x23c(r30) +/* 800DEC60 000DBBC0 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800DEC64 000DBBC4 7C 03 00 00 */ cmpw r3, r0 +/* 800DEC68 000DBBC8 41 82 00 38 */ beq lbl_800DECA0 +/* 800DEC6C 000DBBCC 80 1E 02 3C */ lwz r0, 0x23c(r30) +/* 800DEC70 000DBBD0 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 800DEC74 000DBBD4 54 03 18 38 */ slwi r3, r0, 3 +/* 800DEC78 000DBBD8 90 01 00 08 */ stw r0, 8(r1) +/* 800DEC7C 000DBBDC 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800DEC80 000DBBE0 38 03 00 04 */ addi r0, r3, 4 +/* 800DEC84 000DBBE4 7C 64 00 2E */ lwzx r3, r4, r0 +/* 800DEC88 000DBBE8 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800DEC8C 000DBBEC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800DEC90 000DBBF0 41 82 00 10 */ beq lbl_800DECA0 +/* 800DEC94 000DBBF4 FC 20 F0 90 */ fmr f1, f30 +/* 800DEC98 000DBBF8 FC 40 F8 90 */ fmr f2, f31 +/* 800DEC9C 000DBBFC 4B F7 F5 39 */ bl SetWeaponWorldLighting__9CGameAreaFff +lbl_800DECA0: +/* 800DECA0 000DBC00 E3 E1 00 38 */ psq_l f31, 56(r1), 0, qr0 +/* 800DECA4 000DBC04 CB E1 00 30 */ lfd f31, 0x30(r1) +/* 800DECA8 000DBC08 E3 C1 00 28 */ psq_l f30, 40(r1), 0, qr0 +/* 800DECAC 000DBC0C CB C1 00 20 */ lfd f30, 0x20(r1) +/* 800DECB0 000DBC10 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DECB4 000DBC14 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DECB8 000DBC18 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800DECBC 000DBC1C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800DECC0 000DBC20 7C 08 03 A6 */ mtlr r0 +/* 800DECC4 000DBC24 38 21 00 40 */ addi r1, r1, 0x40 +/* 800DECC8 000DBC28 4E 80 00 20 */ blr + +.global EnableSecondaryFx__11CPlasmaBeamFQ210CGunWeapon16ESecondaryFxType +EnableSecondaryFx__11CPlasmaBeamFQ210CGunWeapon16ESecondaryFxType: +/* 800DECCC 000DBC2C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DECD0 000DBC30 7C 08 02 A6 */ mflr r0 +/* 800DECD4 000DBC34 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DECD8 000DBC38 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DECDC 000DBC3C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DECE0 000DBC40 7C 9E 23 78 */ mr r30, r4 +/* 800DECE4 000DBC44 2C 1E 00 02 */ cmpwi r30, 2 +/* 800DECE8 000DBC48 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800DECEC 000DBC4C 7C 7D 1B 78 */ mr r29, r3 +/* 800DECF0 000DBC50 93 81 00 10 */ stw r28, 0x10(r1) +/* 800DECF4 000DBC54 41 82 00 E8 */ beq lbl_800DEDDC +/* 800DECF8 000DBC58 40 80 00 10 */ bge lbl_800DED08 +/* 800DECFC 000DBC5C 2C 1E 00 01 */ cmpwi r30, 1 +/* 800DED00 000DBC60 40 80 00 44 */ bge lbl_800DED44 +/* 800DED04 000DBC64 48 00 00 D8 */ b lbl_800DEDDC +lbl_800DED08: +/* 800DED08 000DBC68 2C 1E 00 04 */ cmpwi r30, 4 +/* 800DED0C 000DBC6C 40 80 00 D0 */ bge lbl_800DEDDC +/* 800DED10 000DBC70 80 1D 01 CC */ lwz r0, 0x1cc(r29) +/* 800DED14 000DBC74 2C 00 00 00 */ cmpwi r0, 0 +/* 800DED18 000DBC78 41 82 00 C8 */ beq lbl_800DEDE0 +/* 800DED1C 000DBC7C 80 7D 02 28 */ lwz r3, 0x228(r29) +/* 800DED20 000DBC80 28 03 00 00 */ cmplwi r3, 0 +/* 800DED24 000DBC84 41 82 00 BC */ beq lbl_800DEDE0 +/* 800DED28 000DBC88 81 83 00 00 */ lwz r12, 0(r3) +/* 800DED2C 000DBC8C 38 80 00 00 */ li r4, 0 +/* 800DED30 000DBC90 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800DED34 000DBC94 7D 89 03 A6 */ mtctr r12 +/* 800DED38 000DBC98 4E 80 04 21 */ bctrl +/* 800DED3C 000DBC9C 48 00 00 A0 */ b lbl_800DEDDC +/* 800DED40 000DBCA0 48 00 00 A0 */ b lbl_800DEDE0 +lbl_800DED44: +/* 800DED44 000DBCA4 3C 60 80 3D */ lis r3, lbl_803CE530@ha +/* 800DED48 000DBCA8 3B 80 00 00 */ li r28, 0 +/* 800DED4C 000DBCAC 38 83 E5 30 */ addi r4, r3, lbl_803CE530@l +/* 800DED50 000DBCB0 38 A0 00 00 */ li r5, 0 +/* 800DED54 000DBCB4 38 60 03 40 */ li r3, 0x340 +/* 800DED58 000DBCB8 48 23 6B 15 */ bl __nw__FUlPCcPCc +/* 800DED5C 000DBCBC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800DED60 000DBCC0 41 82 00 2C */ beq lbl_800DED8C +/* 800DED64 000DBCC4 38 61 00 08 */ addi r3, r1, 8 +/* 800DED68 000DBCC8 38 9D 02 1C */ addi r4, r29, 0x21c +/* 800DED6C 000DBCCC 48 26 21 3D */ bl __ct__6CTokenFRC6CToken +/* 800DED70 000DBCD0 7F E3 FB 78 */ mr r3, r31 +/* 800DED74 000DBCD4 38 81 00 08 */ addi r4, r1, 8 +/* 800DED78 000DBCD8 3B 80 00 01 */ li r28, 1 +/* 800DED7C 000DBCDC 38 A0 00 00 */ li r5, 0 +/* 800DED80 000DBCE0 38 C0 00 01 */ li r6, 1 +/* 800DED84 000DBCE4 48 24 06 5D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800DED88 000DBCE8 7C 7F 1B 78 */ mr r31, r3 +lbl_800DED8C: +/* 800DED8C 000DBCEC 80 7D 02 28 */ lwz r3, 0x228(r29) +/* 800DED90 000DBCF0 28 03 00 00 */ cmplwi r3, 0 +/* 800DED94 000DBCF4 41 82 00 18 */ beq lbl_800DEDAC +/* 800DED98 000DBCF8 81 83 00 00 */ lwz r12, 0(r3) +/* 800DED9C 000DBCFC 38 80 00 01 */ li r4, 1 +/* 800DEDA0 000DBD00 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DEDA4 000DBD04 7D 89 03 A6 */ mtctr r12 +/* 800DEDA8 000DBD08 4E 80 04 21 */ bctrl +lbl_800DEDAC: +/* 800DEDAC 000DBD0C 7F 80 07 75 */ extsb. r0, r28 +/* 800DEDB0 000DBD10 93 FD 02 28 */ stw r31, 0x228(r29) +/* 800DEDB4 000DBD14 41 82 00 10 */ beq lbl_800DEDC4 +/* 800DEDB8 000DBD18 38 61 00 08 */ addi r3, r1, 8 +/* 800DEDBC 000DBD1C 38 80 00 00 */ li r4, 0 +/* 800DEDC0 000DBD20 48 26 20 81 */ bl __dt__6CTokenFv +lbl_800DEDC4: +/* 800DEDC4 000DBD24 80 7D 02 28 */ lwz r3, 0x228(r29) +/* 800DEDC8 000DBD28 38 9D 00 04 */ addi r4, r29, 4 +/* 800DEDCC 000DBD2C 81 83 00 00 */ lwz r12, 0(r3) +/* 800DEDD0 000DBD30 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800DEDD4 000DBD34 7D 89 03 A6 */ mtctr r12 +/* 800DEDD8 000DBD38 4E 80 04 21 */ bctrl +lbl_800DEDDC: +/* 800DEDDC 000DBD3C 93 DD 01 CC */ stw r30, 0x1cc(r29) +lbl_800DEDE0: +/* 800DEDE0 000DBD40 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DEDE4 000DBD44 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DEDE8 000DBD48 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DEDEC 000DBD4C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800DEDF0 000DBD50 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800DEDF4 000DBD54 7C 08 03 A6 */ mtlr r0 +/* 800DEDF8 000DBD58 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DEDFC 000DBD5C 4E 80 00 20 */ blr + +.global IsLoaded__11CPlasmaBeamCFv +IsLoaded__11CPlasmaBeamCFv: +/* 800DEE00 000DBD60 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DEE04 000DBD64 7C 08 02 A6 */ mflr r0 +/* 800DEE08 000DBD68 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DEE0C 000DBD6C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DEE10 000DBD70 3B E0 00 00 */ li r31, 0 +/* 800DEE14 000DBD74 93 C1 00 08 */ stw r30, 8(r1) +/* 800DEE18 000DBD78 7C 7E 1B 78 */ mr r30, r3 +/* 800DEE1C 000DBD7C 48 0D C5 89 */ bl IsLoaded__10CGunWeaponCFv +/* 800DEE20 000DBD80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DEE24 000DBD84 41 82 00 14 */ beq lbl_800DEE38 +/* 800DEE28 000DBD88 88 1E 02 2C */ lbz r0, 0x22c(r30) +/* 800DEE2C 000DBD8C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800DEE30 000DBD90 41 82 00 08 */ beq lbl_800DEE38 +/* 800DEE34 000DBD94 3B E0 00 01 */ li r31, 1 +lbl_800DEE38: +/* 800DEE38 000DBD98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DEE3C 000DBD9C 7F E3 FB 78 */ mr r3, r31 +/* 800DEE40 000DBDA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DEE44 000DBDA4 83 C1 00 08 */ lwz r30, 8(r1) +/* 800DEE48 000DBDA8 7C 08 03 A6 */ mtlr r0 +/* 800DEE4C 000DBDAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DEE50 000DBDB0 4E 80 00 20 */ blr + +.global Unload__11CPlasmaBeamFR13CStateManager +Unload__11CPlasmaBeamFR13CStateManager: +/* 800DEE54 000DBDB4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DEE58 000DBDB8 7C 08 02 A6 */ mflr r0 +/* 800DEE5C 000DBDBC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DEE60 000DBDC0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DEE64 000DBDC4 7C 9F 23 78 */ mr r31, r4 +/* 800DEE68 000DBDC8 93 C1 00 08 */ stw r30, 8(r1) +/* 800DEE6C 000DBDCC 7C 7E 1B 78 */ mr r30, r3 +/* 800DEE70 000DBDD0 48 0D C5 41 */ bl Unload__10CGunWeaponFR13CStateManager +/* 800DEE74 000DBDD4 38 00 00 00 */ li r0, 0 +/* 800DEE78 000DBDD8 38 7E 02 1C */ addi r3, r30, 0x21c +/* 800DEE7C 000DBDDC 90 1E 02 24 */ stw r0, 0x224(r30) +/* 800DEE80 000DBDE0 48 26 1E C1 */ bl Unlock__6CTokenFv +/* 800DEE84 000DBDE4 7F C3 F3 78 */ mr r3, r30 +/* 800DEE88 000DBDE8 7F E4 FB 78 */ mr r4, r31 +/* 800DEE8C 000DBDEC 48 00 00 8D */ bl DeleteBeam__11CPlasmaBeamFR13CStateManager +/* 800DEE90 000DBDF0 7F C3 F3 78 */ mr r3, r30 +/* 800DEE94 000DBDF4 48 00 05 A1 */ bl ReInitVariables__11CPlasmaBeamFv +/* 800DEE98 000DBDF8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DEE9C 000DBDFC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DEEA0 000DBE00 83 C1 00 08 */ lwz r30, 8(r1) +/* 800DEEA4 000DBE04 7C 08 03 A6 */ mtlr r0 +/* 800DEEA8 000DBE08 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DEEAC 000DBE0C 4E 80 00 20 */ blr + +.global Load__11CPlasmaBeamFb +Load__11CPlasmaBeamFb: +/* 800DEEB0 000DBE10 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DEEB4 000DBE14 7C 08 02 A6 */ mflr r0 +/* 800DEEB8 000DBE18 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DEEBC 000DBE1C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DEEC0 000DBE20 7C 7F 1B 78 */ mr r31, r3 +/* 800DEEC4 000DBE24 48 0D C6 11 */ bl Load__10CGunWeaponFR13CStateManagerb +/* 800DEEC8 000DBE28 38 7F 02 1C */ addi r3, r31, 0x21c +/* 800DEECC 000DBE2C 48 26 1E B9 */ bl Lock__6CTokenFv +/* 800DEED0 000DBE30 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DEED4 000DBE34 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DEED8 000DBE38 7C 08 03 A6 */ mtlr r0 +/* 800DEEDC 000DBE3C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DEEE0 000DBE40 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CPlasmaBeamF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CPlasmaBeamF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800DEEE4 000DBE44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DEEE8 000DBE48 7C 08 02 A6 */ mflr r0 +/* 800DEEEC 000DBE4C 2C 04 00 22 */ cmpwi r4, 0x22 +/* 800DEEF0 000DBE50 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DEEF4 000DBE54 41 82 00 0C */ beq lbl_800DEF00 +/* 800DEEF8 000DBE58 40 80 00 10 */ bge lbl_800DEF08 +/* 800DEEFC 000DBE5C 48 00 00 0C */ b lbl_800DEF08 +lbl_800DEF00: +/* 800DEF00 000DBE60 7C C4 33 78 */ mr r4, r6 +/* 800DEF04 000DBE64 48 00 00 15 */ bl DeleteBeam__11CPlasmaBeamFR13CStateManager +lbl_800DEF08: +/* 800DEF08 000DBE68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DEF0C 000DBE6C 7C 08 03 A6 */ mtlr r0 +/* 800DEF10 000DBE70 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DEF14 000DBE74 4E 80 00 20 */ blr + +.global DeleteBeam__11CPlasmaBeamFR13CStateManager +DeleteBeam__11CPlasmaBeamFR13CStateManager: +/* 800DEF18 000DBE78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DEF1C 000DBE7C 7C 08 02 A6 */ mflr r0 +/* 800DEF20 000DBE80 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DEF24 000DBE84 88 03 02 2C */ lbz r0, 0x22c(r3) +/* 800DEF28 000DBE88 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800DEF2C 000DBE8C 41 82 00 24 */ beq lbl_800DEF50 +/* 800DEF30 000DBE90 80 C4 08 4C */ lwz r6, 0x84c(r4) +/* 800DEF34 000DBE94 38 A1 00 0C */ addi r5, r1, 0xc +/* 800DEF38 000DBE98 C0 22 8F 34 */ lfs f1, lbl_805AAC54@sda21(r2) +/* 800DEF3C 000DBE9C 80 06 00 04 */ lwz r0, 4(r6) +/* 800DEF40 000DBEA0 C0 42 8F 38 */ lfs f2, lbl_805AAC58@sda21(r2) +/* 800DEF44 000DBEA4 90 01 00 08 */ stw r0, 8(r1) +/* 800DEF48 000DBEA8 90 01 00 0C */ stw r0, 0xc(r1) +/* 800DEF4C 000DBEAC 4B FF FC 51 */ bl SetWorldLighting__11CPlasmaBeamFR13CStateManager7TAreaIdff +lbl_800DEF50: +/* 800DEF50 000DBEB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DEF54 000DBEB4 7C 08 03 A6 */ mtlr r0 +/* 800DEF58 000DBEB8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DEF5C 000DBEBC 4E 80 00 20 */ blr + +.global CreateBeam__11CPlasmaBeamFR13CStateManager +CreateBeam__11CPlasmaBeamFR13CStateManager: +/* 800DEF60 000DBEC0 4E 80 00 20 */ blr + +.global StopBeam__11CPlasmaBeamFR13CStateManagerb +StopBeam__11CPlasmaBeamFR13CStateManagerb: +/* 800DEF64 000DBEC4 4E 80 00 20 */ blr + +.global UpdateBeam__11CPlasmaBeamFfRC12CTransform4fRC9CVector3fR13CStateManager +UpdateBeam__11CPlasmaBeamFfRC12CTransform4fRC9CVector3fR13CStateManager: +/* 800DEF68 000DBEC8 4E 80 00 20 */ blr + +.global Fire__11CPlasmaBeamFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId +Fire__11CPlasmaBeamFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId: +/* 800DEF6C 000DBECC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800DEF70 000DBED0 7C 08 02 A6 */ mflr r0 +/* 800DEF74 000DBED4 90 01 00 74 */ stw r0, 0x74(r1) +/* 800DEF78 000DBED8 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 800DEF7C 000DBEDC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 800DEF80 000DBEE0 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 800DEF84 000DBEE4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 800DEF88 000DBEE8 DB A1 00 40 */ stfd f29, 0x40(r1) +/* 800DEF8C 000DBEEC F3 A1 00 48 */ psq_st f29, 72(r1), 0, qr0 +/* 800DEF90 000DBEF0 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 800DEF94 000DBEF4 7C BC 2B 79 */ or. r28, r5, r5 +/* 800DEF98 000DBEF8 FF A0 08 90 */ fmr f29, f1 +/* 800DEF9C 000DBEFC FF C0 10 90 */ fmr f30, f2 +/* 800DEFA0 000DBF00 7C 7A 1B 78 */ mr r26, r3 +/* 800DEFA4 000DBF04 FF E0 18 90 */ fmr f31, f3 +/* 800DEFA8 000DBF08 7C 9B 23 78 */ mr r27, r4 +/* 800DEFAC 000DBF0C 7C DD 33 78 */ mr r29, r6 +/* 800DEFB0 000DBF10 7C FE 3B 78 */ mr r30, r7 +/* 800DEFB4 000DBF14 7D 1F 43 78 */ mr r31, r8 +/* 800DEFB8 000DBF18 38 00 00 00 */ li r0, 0 +/* 800DEFBC 000DBF1C 40 82 00 6C */ bne lbl_800DF028 +/* 800DEFC0 000DBF20 C0 3A 02 30 */ lfs f1, 0x230(r26) +/* 800DEFC4 000DBF24 C0 02 8F 3C */ lfs f0, lbl_805AAC5C@sda21(r2) +/* 800DEFC8 000DBF28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DEFCC 000DBF2C 40 80 00 B8 */ bge lbl_800DF084 +/* 800DEFD0 000DBF30 38 80 00 00 */ li r4, 0 +/* 800DEFD4 000DBF34 38 A0 00 01 */ li r5, 1 +/* 800DEFD8 000DBF38 48 0D CF B1 */ bl ActivateCharge__10CGunWeaponFbb +/* 800DEFDC 000DBF3C A0 1F 00 00 */ lhz r0, 0(r31) +/* 800DEFE0 000DBF40 FC 20 E8 90 */ fmr f1, f29 +/* 800DEFE4 000DBF44 FC 40 F0 90 */ fmr f2, f30 +/* 800DEFE8 000DBF48 7F 43 D3 78 */ mr r3, r26 +/* 800DEFEC 000DBF4C FC 60 F8 90 */ fmr f3, f31 +/* 800DEFF0 000DBF50 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800DEFF4 000DBF54 7F 64 DB 78 */ mr r4, r27 +/* 800DEFF8 000DBF58 7F 85 E3 78 */ mr r5, r28 +/* 800DEFFC 000DBF5C 7F A6 EB 78 */ mr r6, r29 +/* 800DF000 000DBF60 7F C7 F3 78 */ mr r7, r30 +/* 800DF004 000DBF64 39 01 00 0C */ addi r8, r1, 0xc +/* 800DF008 000DBF68 48 0D C8 81 */ bl Fire__10CGunWeaponFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId +/* 800DF00C 000DBF6C C0 1A 02 30 */ lfs f0, 0x230(r26) +/* 800DF010 000DBF70 38 00 00 01 */ li r0, 1 +/* 800DF014 000DBF74 C0 22 8F 40 */ lfs f1, lbl_805AAC60@sda21(r2) +/* 800DF018 000DBF78 EC 00 08 2A */ fadds f0, f0, f1 +/* 800DF01C 000DBF7C D0 1A 02 30 */ stfs f0, 0x230(r26) +/* 800DF020 000DBF80 D0 3A 02 34 */ stfs f1, 0x234(r26) +/* 800DF024 000DBF84 48 00 00 60 */ b lbl_800DF084 +lbl_800DF028: +/* 800DF028 000DBF88 A0 1F 00 00 */ lhz r0, 0(r31) +/* 800DF02C 000DBF8C 39 01 00 08 */ addi r8, r1, 8 +/* 800DF030 000DBF90 C0 62 8F 38 */ lfs f3, lbl_805AAC58@sda21(r2) +/* 800DF034 000DBF94 B0 01 00 08 */ sth r0, 8(r1) +/* 800DF038 000DBF98 48 0D C8 51 */ bl Fire__10CGunWeaponFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId +/* 800DF03C 000DBF9C 3C 80 80 57 */ lis r4, lbl_8056D420@ha +/* 800DF040 000DBFA0 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 800DF044 000DBFA4 38 84 D4 20 */ addi r4, r4, lbl_8056D420@l +/* 800DF048 000DBFA8 38 A0 00 00 */ li r5, 0 +/* 800DF04C 000DBFAC 4B F2 B9 D5 */ bl AddCameraShaker__14CCameraManagerFRC16CCameraShakeDatab +/* 800DF050 000DBFB0 C0 02 8F 44 */ lfs f0, lbl_805AAC64@sda21(r2) +/* 800DF054 000DBFB4 7F 43 D3 78 */ mr r3, r26 +/* 800DF058 000DBFB8 C0 22 8F 48 */ lfs f1, lbl_805AAC68@sda21(r2) +/* 800DF05C 000DBFBC 7F C4 F3 78 */ mr r4, r30 +/* 800DF060 000DBFC0 D0 1A 02 38 */ stfs f0, 0x238(r26) +/* 800DF064 000DBFC4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800DF068 000DBFC8 C0 42 8F 4C */ lfs f2, lbl_805AAC6C@sda21(r2) +/* 800DF06C 000DBFCC 80 DE 08 4C */ lwz r6, 0x84c(r30) +/* 800DF070 000DBFD0 80 06 00 04 */ lwz r0, 4(r6) +/* 800DF074 000DBFD4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DF078 000DBFD8 90 01 00 18 */ stw r0, 0x18(r1) +/* 800DF07C 000DBFDC 4B FF FB 21 */ bl SetWorldLighting__11CPlasmaBeamFR13CStateManager7TAreaIdff +/* 800DF080 000DBFE0 38 00 00 01 */ li r0, 1 +lbl_800DF084: +/* 800DF084 000DBFE4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800DF088 000DBFE8 41 82 00 24 */ beq lbl_800DF0AC +/* 800DF08C 000DBFEC 57 80 08 3C */ slwi r0, r28, 1 +/* 800DF090 000DBFF0 38 62 8F 30 */ addi r3, r2, lbl_805AAC50@sda21 +/* 800DF094 000DBFF4 7C 83 02 2E */ lhzx r4, r3, r0 +/* 800DF098 000DBFF8 7F 65 DB 78 */ mr r5, r27 +/* 800DF09C 000DBFFC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800DF0A0 000DC000 38 C0 00 00 */ li r6, 0 +/* 800DF0A4 000DC004 38 E0 00 4A */ li r7, 0x4a +/* 800DF0A8 000DC008 48 1A BA 51 */ bl play_sfx__12NWeaponTypesFUsbbs +lbl_800DF0AC: +/* 800DF0AC 000DC00C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 800DF0B0 000DC010 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 800DF0B4 000DC014 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 800DF0B8 000DC018 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 800DF0BC 000DC01C E3 A1 00 48 */ psq_l f29, 72(r1), 0, qr0 +/* 800DF0C0 000DC020 CB A1 00 40 */ lfd f29, 0x40(r1) +/* 800DF0C4 000DC024 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 800DF0C8 000DC028 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800DF0CC 000DC02C 7C 08 03 A6 */ mtlr r0 +/* 800DF0D0 000DC030 38 21 00 70 */ addi r1, r1, 0x70 +/* 800DF0D4 000DC034 4E 80 00 20 */ blr + +.global Update__11CPlasmaBeamFfR13CStateManager +Update__11CPlasmaBeamFfR13CStateManager: +/* 800DF0D8 000DC038 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800DF0DC 000DC03C 7C 08 02 A6 */ mflr r0 +/* 800DF0E0 000DC040 90 01 00 34 */ stw r0, 0x34(r1) +/* 800DF0E4 000DC044 DB E1 00 20 */ stfd f31, 0x20(r1) +/* 800DF0E8 000DC048 F3 E1 00 28 */ psq_st f31, 40(r1), 0, qr0 +/* 800DF0EC 000DC04C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DF0F0 000DC050 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DF0F4 000DC054 FF E0 08 90 */ fmr f31, f1 +/* 800DF0F8 000DC058 7C 7E 1B 78 */ mr r30, r3 +/* 800DF0FC 000DC05C 7C 9F 23 78 */ mr r31, r4 +/* 800DF100 000DC060 48 0D D3 79 */ bl Update__10CGunWeaponFfR13CStateManager +/* 800DF104 000DC064 C0 1E 02 30 */ lfs f0, 0x230(r30) +/* 800DF108 000DC068 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 800DF10C 000DC06C D0 1E 02 30 */ stfs f0, 0x230(r30) +/* 800DF110 000DC070 C0 2D 87 60 */ lfs f1, lbl_805A7320@sda21(r13) +/* 800DF114 000DC074 C0 1E 02 30 */ lfs f0, 0x230(r30) +/* 800DF118 000DC078 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DF11C 000DC07C 40 80 00 0C */ bge lbl_800DF128 +/* 800DF120 000DC080 38 7E 02 30 */ addi r3, r30, 0x230 +/* 800DF124 000DC084 48 00 00 08 */ b lbl_800DF12C +lbl_800DF128: +/* 800DF128 000DC088 38 6D 87 60 */ addi r3, r13, lbl_805A7320@sda21 +lbl_800DF12C: +/* 800DF12C 000DC08C C0 03 00 00 */ lfs f0, 0(r3) +/* 800DF130 000DC090 D0 1E 02 30 */ stfs f0, 0x230(r30) +/* 800DF134 000DC094 C0 1E 02 38 */ lfs f0, 0x238(r30) +/* 800DF138 000DC098 EC 00 F8 28 */ fsubs f0, f0, f31 +/* 800DF13C 000DC09C D0 1E 02 38 */ stfs f0, 0x238(r30) +/* 800DF140 000DC0A0 80 9F 08 4C */ lwz r4, 0x84c(r31) +/* 800DF144 000DC0A4 80 64 04 90 */ lwz r3, 0x490(r4) +/* 800DF148 000DC0A8 88 03 08 34 */ lbz r0, 0x834(r3) +/* 800DF14C 000DC0AC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800DF150 000DC0B0 41 82 00 0C */ beq lbl_800DF15C +/* 800DF154 000DC0B4 C0 23 03 40 */ lfs f1, 0x340(r3) +/* 800DF158 000DC0B8 48 00 00 08 */ b lbl_800DF160 +lbl_800DF15C: +/* 800DF15C 000DC0BC C0 22 8F 50 */ lfs f1, lbl_805AAC70@sda21(r2) +lbl_800DF160: +/* 800DF160 000DC0C0 C0 02 8F 54 */ lfs f0, lbl_805AAC74@sda21(r2) +/* 800DF164 000DC0C4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DF168 000DC0C8 40 81 00 2C */ ble lbl_800DF194 +/* 800DF16C 000DC0CC 80 04 00 04 */ lwz r0, 4(r4) +/* 800DF170 000DC0D0 7F C3 F3 78 */ mr r3, r30 +/* 800DF174 000DC0D4 C0 22 8F 58 */ lfs f1, lbl_805AAC78@sda21(r2) +/* 800DF178 000DC0D8 7F E4 FB 78 */ mr r4, r31 +/* 800DF17C 000DC0DC 90 01 00 10 */ stw r0, 0x10(r1) +/* 800DF180 000DC0E0 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800DF184 000DC0E4 C0 42 8F 5C */ lfs f2, lbl_805AAC7C@sda21(r2) +/* 800DF188 000DC0E8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DF18C 000DC0EC 4B FF FA 11 */ bl SetWorldLighting__11CPlasmaBeamFR13CStateManager7TAreaIdff +/* 800DF190 000DC0F0 48 00 00 44 */ b lbl_800DF1D4 +lbl_800DF194: +/* 800DF194 000DC0F4 C0 3E 02 38 */ lfs f1, 0x238(r30) +/* 800DF198 000DC0F8 C0 02 8F 50 */ lfs f0, lbl_805AAC70@sda21(r2) +/* 800DF19C 000DC0FC FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DF1A0 000DC100 40 80 00 34 */ bge lbl_800DF1D4 +/* 800DF1A4 000DC104 88 1E 02 2C */ lbz r0, 0x22c(r30) +/* 800DF1A8 000DC108 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800DF1AC 000DC10C 41 82 00 28 */ beq lbl_800DF1D4 +/* 800DF1B0 000DC110 80 04 00 04 */ lwz r0, 4(r4) +/* 800DF1B4 000DC114 7F C3 F3 78 */ mr r3, r30 +/* 800DF1B8 000DC118 C0 22 8F 34 */ lfs f1, lbl_805AAC54@sda21(r2) +/* 800DF1BC 000DC11C 7F E4 FB 78 */ mr r4, r31 +/* 800DF1C0 000DC120 90 01 00 08 */ stw r0, 8(r1) +/* 800DF1C4 000DC124 38 A1 00 0C */ addi r5, r1, 0xc +/* 800DF1C8 000DC128 C0 42 8F 38 */ lfs f2, lbl_805AAC58@sda21(r2) +/* 800DF1CC 000DC12C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800DF1D0 000DC130 4B FF F9 CD */ bl SetWorldLighting__11CPlasmaBeamFR13CStateManager7TAreaIdff +lbl_800DF1D4: +/* 800DF1D4 000DC134 7F C3 F3 78 */ mr r3, r30 +/* 800DF1D8 000DC138 81 9E 00 00 */ lwz r12, 0(r30) +/* 800DF1DC 000DC13C 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 800DF1E0 000DC140 7D 89 03 A6 */ mtctr r12 +/* 800DF1E4 000DC144 4E 80 04 21 */ bctrl +/* 800DF1E8 000DC148 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DF1EC 000DC14C 40 82 00 90 */ bne lbl_800DF27C +/* 800DF1F0 000DC150 7F C3 F3 78 */ mr r3, r30 +/* 800DF1F4 000DC154 48 0D C1 B1 */ bl IsLoaded__10CGunWeaponCFv +/* 800DF1F8 000DC158 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DF1FC 000DC15C 41 82 00 80 */ beq lbl_800DF27C +/* 800DF200 000DC160 88 1E 02 2C */ lbz r0, 0x22c(r30) +/* 800DF204 000DC164 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800DF208 000DC168 40 82 00 74 */ bne lbl_800DF27C +/* 800DF20C 000DC16C 80 1E 02 24 */ lwz r0, 0x224(r30) +/* 800DF210 000DC170 28 00 00 00 */ cmplwi r0, 0 +/* 800DF214 000DC174 41 82 00 0C */ beq lbl_800DF220 +/* 800DF218 000DC178 38 60 00 01 */ li r3, 1 +/* 800DF21C 000DC17C 48 00 00 3C */ b lbl_800DF258 +lbl_800DF220: +/* 800DF220 000DC180 88 1E 02 20 */ lbz r0, 0x220(r30) +/* 800DF224 000DC184 28 00 00 00 */ cmplwi r0, 0 +/* 800DF228 000DC188 41 82 00 2C */ beq lbl_800DF254 +/* 800DF22C 000DC18C 80 7E 02 1C */ lwz r3, 0x21c(r30) +/* 800DF230 000DC190 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800DF234 000DC194 28 00 00 00 */ cmplwi r0, 0 +/* 800DF238 000DC198 41 82 00 1C */ beq lbl_800DF254 +/* 800DF23C 000DC19C 38 7E 02 1C */ addi r3, r30, 0x21c +/* 800DF240 000DC1A0 48 26 1B CD */ bl GetObj__6CTokenFv +/* 800DF244 000DC1A4 80 03 00 04 */ lwz r0, 4(r3) +/* 800DF248 000DC1A8 38 60 00 01 */ li r3, 1 +/* 800DF24C 000DC1AC 90 1E 02 24 */ stw r0, 0x224(r30) +/* 800DF250 000DC1B0 48 00 00 08 */ b lbl_800DF258 +lbl_800DF254: +/* 800DF254 000DC1B4 38 60 00 00 */ li r3, 0 +lbl_800DF258: +/* 800DF258 000DC1B8 88 1E 02 2C */ lbz r0, 0x22c(r30) +/* 800DF25C 000DC1BC 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800DF260 000DC1C0 98 1E 02 2C */ stb r0, 0x22c(r30) +/* 800DF264 000DC1C4 88 1E 02 2C */ lbz r0, 0x22c(r30) +/* 800DF268 000DC1C8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800DF26C 000DC1CC 41 82 00 10 */ beq lbl_800DF27C +/* 800DF270 000DC1D0 7F C3 F3 78 */ mr r3, r30 +/* 800DF274 000DC1D4 7F E4 FB 78 */ mr r4, r31 +/* 800DF278 000DC1D8 4B FF FC E9 */ bl CreateBeam__11CPlasmaBeamFR13CStateManager +lbl_800DF27C: +/* 800DF27C 000DC1DC E3 E1 00 28 */ psq_l f31, 40(r1), 0, qr0 +/* 800DF280 000DC1E0 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800DF284 000DC1E4 CB E1 00 20 */ lfd f31, 0x20(r1) +/* 800DF288 000DC1E8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DF28C 000DC1EC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DF290 000DC1F0 7C 08 03 A6 */ mtlr r0 +/* 800DF294 000DC1F4 38 21 00 30 */ addi r1, r1, 0x30 +/* 800DF298 000DC1F8 4E 80 00 20 */ blr + +.global UpdateGunFx__11CPlasmaBeamFbfRC13CStateManagerRC12CTransform4f +UpdateGunFx__11CPlasmaBeamFbfRC13CStateManagerRC12CTransform4f: +/* 800DF29C 000DC1FC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800DF2A0 000DC200 7C 08 02 A6 */ mflr r0 +/* 800DF2A4 000DC204 90 01 00 74 */ stw r0, 0x74(r1) +/* 800DF2A8 000DC208 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 800DF2AC 000DC20C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 800DF2B0 000DC210 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 800DF2B4 000DC214 7C 7B 1B 78 */ mr r27, r3 +/* 800DF2B8 000DC218 FF E0 08 90 */ fmr f31, f1 +/* 800DF2BC 000DC21C 80 63 02 28 */ lwz r3, 0x228(r3) +/* 800DF2C0 000DC220 7C 9C 23 78 */ mr r28, r4 +/* 800DF2C4 000DC224 7C BD 2B 78 */ mr r29, r5 +/* 800DF2C8 000DC228 7C DE 33 78 */ mr r30, r6 +/* 800DF2CC 000DC22C 28 03 00 00 */ cmplwi r3, 0 +/* 800DF2D0 000DC230 41 82 00 A0 */ beq lbl_800DF370 +/* 800DF2D4 000DC234 80 1B 01 CC */ lwz r0, 0x1cc(r27) +/* 800DF2D8 000DC238 2C 00 00 00 */ cmpwi r0, 0 +/* 800DF2DC 000DC23C 41 82 00 94 */ beq lbl_800DF370 +/* 800DF2E0 000DC240 81 83 00 00 */ lwz r12, 0(r3) +/* 800DF2E4 000DC244 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 800DF2E8 000DC248 7D 89 03 A6 */ mtctr r12 +/* 800DF2EC 000DC24C 4E 80 04 21 */ bctrl +/* 800DF2F0 000DC250 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DF2F4 000DC254 41 82 00 0C */ beq lbl_800DF300 +/* 800DF2F8 000DC258 38 00 00 00 */ li r0, 0 +/* 800DF2FC 000DC25C 90 1B 01 CC */ stw r0, 0x1cc(r27) +lbl_800DF300: +/* 800DF300 000DC260 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 800DF304 000DC264 38 81 00 08 */ addi r4, r1, 8 +/* 800DF308 000DC268 C0 3E 00 1C */ lfs f1, 0x1c(r30) +/* 800DF30C 000DC26C C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 800DF310 000DC270 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800DF314 000DC274 D0 01 00 08 */ stfs f0, 8(r1) +/* 800DF318 000DC278 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 800DF31C 000DC27C 80 7B 02 28 */ lwz r3, 0x228(r27) +/* 800DF320 000DC280 81 83 00 00 */ lwz r12, 0(r3) +/* 800DF324 000DC284 81 8C 00 18 */ lwz r12, 0x18(r12) +/* 800DF328 000DC288 7D 89 03 A6 */ mtctr r12 +/* 800DF32C 000DC28C 4E 80 04 21 */ bctrl +/* 800DF330 000DC290 83 FB 02 28 */ lwz r31, 0x228(r27) +/* 800DF334 000DC294 7F C4 F3 78 */ mr r4, r30 +/* 800DF338 000DC298 38 61 00 14 */ addi r3, r1, 0x14 +/* 800DF33C 000DC29C 48 23 39 05 */ bl GetRotation__12CTransform4fCFv +/* 800DF340 000DC2A0 7F E3 FB 78 */ mr r3, r31 +/* 800DF344 000DC2A4 38 81 00 14 */ addi r4, r1, 0x14 +/* 800DF348 000DC2A8 81 9F 00 00 */ lwz r12, 0(r31) +/* 800DF34C 000DC2AC 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800DF350 000DC2B0 7D 89 03 A6 */ mtctr r12 +/* 800DF354 000DC2B4 4E 80 04 21 */ bctrl +/* 800DF358 000DC2B8 80 7B 02 28 */ lwz r3, 0x228(r27) +/* 800DF35C 000DC2BC FC 20 F8 90 */ fmr f1, f31 +/* 800DF360 000DC2C0 81 83 00 00 */ lwz r12, 0(r3) +/* 800DF364 000DC2C4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800DF368 000DC2C8 7D 89 03 A6 */ mtctr r12 +/* 800DF36C 000DC2CC 4E 80 04 21 */ bctrl +lbl_800DF370: +/* 800DF370 000DC2D0 FC 20 F8 90 */ fmr f1, f31 +/* 800DF374 000DC2D4 7F 63 DB 78 */ mr r3, r27 +/* 800DF378 000DC2D8 7F 84 E3 78 */ mr r4, r28 +/* 800DF37C 000DC2DC 7F A5 EB 78 */ mr r5, r29 +/* 800DF380 000DC2E0 7F C6 F3 78 */ mr r6, r30 +/* 800DF384 000DC2E4 48 0D CF 59 */ bl UpdateGunFx__10CGunWeaponFbfRC13CStateManagerRC12CTransform4f +/* 800DF388 000DC2E8 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 800DF38C 000DC2EC CB E1 00 60 */ lfd f31, 0x60(r1) +/* 800DF390 000DC2F0 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 800DF394 000DC2F4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800DF398 000DC2F8 7C 08 03 A6 */ mtlr r0 +/* 800DF39C 000DC2FC 38 21 00 70 */ addi r1, r1, 0x70 +/* 800DF3A0 000DC300 4E 80 00 20 */ blr + +.global PostRenderGunFx__11CPlasmaBeamFRC13CStateManagerRC12CTransform4f +PostRenderGunFx__11CPlasmaBeamFRC13CStateManagerRC12CTransform4f: +/* 800DF3A4 000DC304 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DF3A8 000DC308 7C 08 02 A6 */ mflr r0 +/* 800DF3AC 000DC30C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DF3B0 000DC310 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DF3B4 000DC314 7C BF 2B 78 */ mr r31, r5 +/* 800DF3B8 000DC318 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DF3BC 000DC31C 7C 9E 23 78 */ mr r30, r4 +/* 800DF3C0 000DC320 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800DF3C4 000DC324 7C 7D 1B 78 */ mr r29, r3 +/* 800DF3C8 000DC328 80 63 02 28 */ lwz r3, 0x228(r3) +/* 800DF3CC 000DC32C 28 03 00 00 */ cmplwi r3, 0 +/* 800DF3D0 000DC330 41 82 00 20 */ beq lbl_800DF3F0 +/* 800DF3D4 000DC334 80 1D 01 CC */ lwz r0, 0x1cc(r29) +/* 800DF3D8 000DC338 2C 00 00 00 */ cmpwi r0, 0 +/* 800DF3DC 000DC33C 41 82 00 14 */ beq lbl_800DF3F0 +/* 800DF3E0 000DC340 81 83 00 00 */ lwz r12, 0(r3) +/* 800DF3E4 000DC344 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DF3E8 000DC348 7D 89 03 A6 */ mtctr r12 +/* 800DF3EC 000DC34C 4E 80 04 21 */ bctrl +lbl_800DF3F0: +/* 800DF3F0 000DC350 7F A3 EB 78 */ mr r3, r29 +/* 800DF3F4 000DC354 7F C4 F3 78 */ mr r4, r30 +/* 800DF3F8 000DC358 7F E5 FB 78 */ mr r5, r31 +/* 800DF3FC 000DC35C 48 0D D0 29 */ bl PostRenderGunFx__10CGunWeaponFRC13CStateManagerRC12CTransform4f +/* 800DF400 000DC360 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DF404 000DC364 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DF408 000DC368 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DF40C 000DC36C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800DF410 000DC370 7C 08 03 A6 */ mtlr r0 +/* 800DF414 000DC374 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DF418 000DC378 4E 80 00 20 */ blr + +.global IsFiring__11CPlasmaBeamCFRC13CStateManager +IsFiring__11CPlasmaBeamCFRC13CStateManager: +/* 800DF41C 000DC37C C0 23 02 34 */ lfs f1, 0x234(r3) +/* 800DF420 000DC380 C0 02 8F 50 */ lfs f0, lbl_805AAC70@sda21(r2) +/* 800DF424 000DC384 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DF428 000DC388 7C 00 00 26 */ mfcr r0 +/* 800DF42C 000DC38C 54 03 17 FE */ rlwinm r3, r0, 2, 0x1f, 0x1f +/* 800DF430 000DC390 4E 80 00 20 */ blr + +.global ReInitVariables__11CPlasmaBeamFv +ReInitVariables__11CPlasmaBeamFv: +/* 800DF434 000DC394 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DF438 000DC398 7C 08 02 A6 */ mflr r0 +/* 800DF43C 000DC39C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DF440 000DC3A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DF444 000DC3A4 7C 7F 1B 78 */ mr r31, r3 +/* 800DF448 000DC3A8 80 63 02 28 */ lwz r3, 0x228(r3) +/* 800DF44C 000DC3AC 28 03 00 00 */ cmplwi r3, 0 +/* 800DF450 000DC3B0 41 82 00 18 */ beq lbl_800DF468 +/* 800DF454 000DC3B4 81 83 00 00 */ lwz r12, 0(r3) +/* 800DF458 000DC3B8 38 80 00 01 */ li r4, 1 +/* 800DF45C 000DC3BC 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DF460 000DC3C0 7D 89 03 A6 */ mtctr r12 +/* 800DF464 000DC3C4 4E 80 04 21 */ bctrl +lbl_800DF468: +/* 800DF468 000DC3C8 38 60 00 00 */ li r3, 0 +/* 800DF46C 000DC3CC 90 7F 02 28 */ stw r3, 0x228(r31) +/* 800DF470 000DC3D0 88 1F 02 2C */ lbz r0, 0x22c(r31) +/* 800DF474 000DC3D4 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800DF478 000DC3D8 98 1F 02 2C */ stb r0, 0x22c(r31) +/* 800DF47C 000DC3DC 90 7F 01 CC */ stw r3, 0x1cc(r31) +/* 800DF480 000DC3E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DF484 000DC3E4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DF488 000DC3E8 7C 08 03 A6 */ mtlr r0 +/* 800DF48C 000DC3EC 38 21 00 10 */ addi r1, r1, 0x10 + +.global sub_800df490 +sub_800df490: +/* 800DF490 000DC3F0 4E 80 00 20 */ blr + +.global __dt__11CPlasmaBeamFv +__dt__11CPlasmaBeamFv: +/* 800DF494 000DC3F4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DF498 000DC3F8 7C 08 02 A6 */ mflr r0 +/* 800DF49C 000DC3FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DF4A0 000DC400 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DF4A4 000DC404 7C 9F 23 78 */ mr r31, r4 +/* 800DF4A8 000DC408 93 C1 00 08 */ stw r30, 8(r1) +/* 800DF4AC 000DC40C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800DF4B0 000DC410 41 82 00 70 */ beq lbl_800DF520 +/* 800DF4B4 000DC414 3C 60 80 3E */ lis r3, lbl_803DF710@ha +/* 800DF4B8 000DC418 34 1E 02 28 */ addic. r0, r30, 0x228 +/* 800DF4BC 000DC41C 38 03 F7 10 */ addi r0, r3, lbl_803DF710@l +/* 800DF4C0 000DC420 90 1E 00 00 */ stw r0, 0(r30) +/* 800DF4C4 000DC424 41 82 00 24 */ beq lbl_800DF4E8 +/* 800DF4C8 000DC428 80 7E 02 28 */ lwz r3, 0x228(r30) +/* 800DF4CC 000DC42C 28 03 00 00 */ cmplwi r3, 0 +/* 800DF4D0 000DC430 41 82 00 18 */ beq lbl_800DF4E8 +/* 800DF4D4 000DC434 81 83 00 00 */ lwz r12, 0(r3) +/* 800DF4D8 000DC438 38 80 00 01 */ li r4, 1 +/* 800DF4DC 000DC43C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DF4E0 000DC440 7D 89 03 A6 */ mtctr r12 +/* 800DF4E4 000DC444 4E 80 04 21 */ bctrl +lbl_800DF4E8: +/* 800DF4E8 000DC448 34 1E 02 1C */ addic. r0, r30, 0x21c +/* 800DF4EC 000DC44C 41 82 00 18 */ beq lbl_800DF504 +/* 800DF4F0 000DC450 34 1E 02 1C */ addic. r0, r30, 0x21c +/* 800DF4F4 000DC454 41 82 00 10 */ beq lbl_800DF504 +/* 800DF4F8 000DC458 38 7E 02 1C */ addi r3, r30, 0x21c +/* 800DF4FC 000DC45C 38 80 00 00 */ li r4, 0 +/* 800DF500 000DC460 48 26 19 41 */ bl __dt__6CTokenFv +lbl_800DF504: +/* 800DF504 000DC464 7F C3 F3 78 */ mr r3, r30 +/* 800DF508 000DC468 38 80 00 00 */ li r4, 0 +/* 800DF50C 000DC46C 48 0D D7 B5 */ bl __dt__10CGunWeaponFv +/* 800DF510 000DC470 7F E0 07 35 */ extsh. r0, r31 +/* 800DF514 000DC474 40 81 00 0C */ ble lbl_800DF520 +/* 800DF518 000DC478 7F C3 F3 78 */ mr r3, r30 +/* 800DF51C 000DC47C 48 23 64 15 */ bl Free__7CMemoryFPCv +lbl_800DF520: +/* 800DF520 000DC480 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DF524 000DC484 7F C3 F3 78 */ mr r3, r30 +/* 800DF528 000DC488 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DF52C 000DC48C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800DF530 000DC490 7C 08 03 A6 */ mtlr r0 +/* 800DF534 000DC494 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DF538 000DC498 4E 80 00 20 */ blr + +.global __ct__11CPlasmaBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +__ct__11CPlasmaBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f: +/* 800DF53C 000DC49C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DF540 000DC4A0 7C 08 02 A6 */ mflr r0 +/* 800DF544 000DC4A4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DF548 000DC4A8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DF54C 000DC4AC 7C 7F 1B 78 */ mr r31, r3 +/* 800DF550 000DC4B0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DF554 000DC4B4 A0 06 00 00 */ lhz r0, 0(r6) +/* 800DF558 000DC4B8 38 C1 00 08 */ addi r6, r1, 8 +/* 800DF55C 000DC4BC B0 01 00 08 */ sth r0, 8(r1) +/* 800DF560 000DC4C0 48 0D DC 51 */ bl __ct__10CGunWeaponFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +/* 800DF564 000DC4C4 3C 60 80 3E */ lis r3, lbl_803DF710@ha +/* 800DF568 000DC4C8 3C 80 80 3D */ lis r4, lbl_803CE530@ha +/* 800DF56C 000DC4CC 38 03 F7 10 */ addi r0, r3, lbl_803DF710@l +/* 800DF570 000DC4D0 38 61 00 0C */ addi r3, r1, 0xc +/* 800DF574 000DC4D4 90 1F 00 00 */ stw r0, 0(r31) +/* 800DF578 000DC4D8 38 84 E5 30 */ addi r4, r4, lbl_803CE530@l +/* 800DF57C 000DC4DC 38 A4 00 07 */ addi r5, r4, 7 +/* 800DF580 000DC4E0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DF584 000DC4E4 81 84 00 00 */ lwz r12, 0(r4) +/* 800DF588 000DC4E8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DF58C 000DC4EC 7D 89 03 A6 */ mtctr r12 +/* 800DF590 000DC4F0 4E 80 04 21 */ bctrl +/* 800DF594 000DC4F4 3B DF 02 1C */ addi r30, r31, 0x21c +/* 800DF598 000DC4F8 38 81 00 0C */ addi r4, r1, 0xc +/* 800DF59C 000DC4FC 7F C3 F3 78 */ mr r3, r30 +/* 800DF5A0 000DC500 48 26 19 09 */ bl __ct__6CTokenFRC6CToken +/* 800DF5A4 000DC504 38 00 00 00 */ li r0, 0 +/* 800DF5A8 000DC508 38 61 00 0C */ addi r3, r1, 0xc +/* 800DF5AC 000DC50C 90 1E 00 08 */ stw r0, 8(r30) +/* 800DF5B0 000DC510 38 80 FF FF */ li r4, -1 +/* 800DF5B4 000DC514 48 26 18 8D */ bl __dt__6CTokenFv +/* 800DF5B8 000DC518 38 80 00 00 */ li r4, 0 +/* 800DF5BC 000DC51C C0 02 8F 50 */ lfs f0, lbl_805AAC70@sda21(r2) +/* 800DF5C0 000DC520 90 9F 02 28 */ stw r4, 0x228(r31) +/* 800DF5C4 000DC524 7F E3 FB 78 */ mr r3, r31 +/* 800DF5C8 000DC528 88 1F 02 2C */ lbz r0, 0x22c(r31) +/* 800DF5CC 000DC52C 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800DF5D0 000DC530 98 1F 02 2C */ stb r0, 0x22c(r31) +/* 800DF5D4 000DC534 88 1F 02 2C */ lbz r0, 0x22c(r31) +/* 800DF5D8 000DC538 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 800DF5DC 000DC53C 98 1F 02 2C */ stb r0, 0x22c(r31) +/* 800DF5E0 000DC540 D0 1F 02 30 */ stfs f0, 0x230(r31) +/* 800DF5E4 000DC544 D0 1F 02 34 */ stfs f0, 0x234(r31) +/* 800DF5E8 000DC548 D0 1F 02 38 */ stfs f0, 0x238(r31) +/* 800DF5EC 000DC54C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800DF5F0 000DC550 90 1F 02 3C */ stw r0, 0x23c(r31) +/* 800DF5F4 000DC554 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DF5F8 000DC558 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DF5FC 000DC55C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DF600 000DC560 7C 08 03 A6 */ mtlr r0 +/* 800DF604 000DC564 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DF608 000DC568 4E 80 00 20 */ blr + +.global __sinit_CPlasmaBeam_cpp +__sinit_CPlasmaBeam_cpp: +/* 800DF60C 000DC56C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800DF610 000DC570 7C 08 02 A6 */ mflr r0 +/* 800DF614 000DC574 C0 22 8F 60 */ lfs f1, lbl_805AAC80@sda21(r2) +/* 800DF618 000DC578 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800DF61C 000DC57C 38 61 00 08 */ addi r3, r1, 8 +/* 800DF620 000DC580 C0 42 8F 64 */ lfs f2, lbl_805AAC84@sda21(r2) +/* 800DF624 000DC584 48 07 E2 0D */ bl __ct__16CCameraShakeDataFff +/* 800DF628 000DC588 3C 60 80 57 */ lis r3, lbl_8056D420@ha +/* 800DF62C 000DC58C 38 81 00 08 */ addi r4, r1, 8 +/* 800DF630 000DC590 38 63 D4 20 */ addi r3, r3, lbl_8056D420@l +/* 800DF634 000DC594 4B F2 B7 75 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 800DF638 000DC598 3C 80 80 01 */ lis r4, sub_8000ad2c@ha +/* 800DF63C 000DC59C 3C A0 80 47 */ lis r5, lbl_8046C488@ha +/* 800DF640 000DC5A0 38 84 AD 2C */ addi r4, r4, sub_8000ad2c@l +/* 800DF644 000DC5A4 38 A5 C4 88 */ addi r5, r5, lbl_8046C488@l +/* 800DF648 000DC5A8 48 2A A0 45 */ bl __register_global_object +/* 800DF64C 000DC5AC 34 81 00 88 */ addic. r4, r1, 0x88 +/* 800DF650 000DC5B0 41 82 00 10 */ beq lbl_800DF660 +/* 800DF654 000DC5B4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800DF658 000DC5B8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800DF65C 000DC5BC 90 04 00 00 */ stw r0, 0(r4) +lbl_800DF660: +/* 800DF660 000DC5C0 34 81 00 4C */ addic. r4, r1, 0x4c +/* 800DF664 000DC5C4 41 82 00 10 */ beq lbl_800DF674 +/* 800DF668 000DC5C8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800DF66C 000DC5CC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800DF670 000DC5D0 90 04 00 00 */ stw r0, 0(r4) +lbl_800DF674: +/* 800DF674 000DC5D4 34 81 00 10 */ addic. r4, r1, 0x10 +/* 800DF678 000DC5D8 41 82 00 10 */ beq lbl_800DF688 +/* 800DF67C 000DC5DC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800DF680 000DC5E0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800DF684 000DC5E4 90 04 00 00 */ stw r0, 0(r4) +lbl_800DF688: +/* 800DF688 000DC5E8 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800DF68C 000DC5EC 7C 08 03 A6 */ mtlr r0 +/* 800DF690 000DC5F0 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800DF694 000DC5F4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CPowerBeam.s b/asm/Kyoto_CWD/CPowerBeam.s new file mode 100644 index 00000000..b1862d82 --- /dev/null +++ b/asm/Kyoto_CWD/CPowerBeam.s @@ -0,0 +1,723 @@ +.include "macros.inc" + +.section .text, "ax" + +.global EnableSecondaryFx__10CPowerBeamFQ210CGunWeapon16ESecondaryFxType +EnableSecondaryFx__10CPowerBeamFQ210CGunWeapon16ESecondaryFxType: +/* 800DF698 000DC5F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DF69C 000DC5FC 7C 08 02 A6 */ mflr r0 +/* 800DF6A0 000DC600 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DF6A4 000DC604 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DF6A8 000DC608 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DF6AC 000DC60C 7C 9E 23 78 */ mr r30, r4 +/* 800DF6B0 000DC610 2C 1E 00 01 */ cmpwi r30, 1 +/* 800DF6B4 000DC614 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800DF6B8 000DC618 7C 7D 1B 78 */ mr r29, r3 +/* 800DF6BC 000DC61C 93 81 00 10 */ stw r28, 0x10(r1) +/* 800DF6C0 000DC620 41 82 00 54 */ beq lbl_800DF714 +/* 800DF6C4 000DC624 40 80 00 10 */ bge lbl_800DF6D4 +/* 800DF6C8 000DC628 2C 1E 00 00 */ cmpwi r30, 0 +/* 800DF6CC 000DC62C 40 80 00 10 */ bge lbl_800DF6DC +/* 800DF6D0 000DC630 48 00 00 E0 */ b lbl_800DF7B0 +lbl_800DF6D4: +/* 800DF6D4 000DC634 2C 1E 00 04 */ cmpwi r30, 4 +/* 800DF6D8 000DC638 40 80 00 D8 */ bge lbl_800DF7B0 +lbl_800DF6DC: +/* 800DF6DC 000DC63C 80 1D 01 CC */ lwz r0, 0x1cc(r29) +/* 800DF6E0 000DC640 2C 00 00 00 */ cmpwi r0, 0 +/* 800DF6E4 000DC644 41 82 00 24 */ beq lbl_800DF708 +/* 800DF6E8 000DC648 80 7D 02 38 */ lwz r3, 0x238(r29) +/* 800DF6EC 000DC64C 28 03 00 00 */ cmplwi r3, 0 +/* 800DF6F0 000DC650 41 82 00 18 */ beq lbl_800DF708 +/* 800DF6F4 000DC654 81 83 00 00 */ lwz r12, 0(r3) +/* 800DF6F8 000DC658 38 80 00 00 */ li r4, 0 +/* 800DF6FC 000DC65C 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800DF700 000DC660 7D 89 03 A6 */ mtctr r12 +/* 800DF704 000DC664 4E 80 04 21 */ bctrl +lbl_800DF708: +/* 800DF708 000DC668 38 00 00 00 */ li r0, 0 +/* 800DF70C 000DC66C 90 1D 01 CC */ stw r0, 0x1cc(r29) +/* 800DF710 000DC670 48 00 00 A0 */ b lbl_800DF7B0 +lbl_800DF714: +/* 800DF714 000DC674 3C 60 80 3D */ lis r3, lbl_803CE548@ha +/* 800DF718 000DC678 3B 80 00 00 */ li r28, 0 +/* 800DF71C 000DC67C 38 83 E5 48 */ addi r4, r3, lbl_803CE548@l +/* 800DF720 000DC680 38 A0 00 00 */ li r5, 0 +/* 800DF724 000DC684 38 60 03 40 */ li r3, 0x340 +/* 800DF728 000DC688 48 23 61 45 */ bl __nw__FUlPCcPCc +/* 800DF72C 000DC68C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800DF730 000DC690 41 82 00 2C */ beq lbl_800DF75C +/* 800DF734 000DC694 38 61 00 08 */ addi r3, r1, 8 +/* 800DF738 000DC698 38 9D 02 28 */ addi r4, r29, 0x228 +/* 800DF73C 000DC69C 48 26 17 6D */ bl __ct__6CTokenFRC6CToken +/* 800DF740 000DC6A0 7F E3 FB 78 */ mr r3, r31 +/* 800DF744 000DC6A4 38 81 00 08 */ addi r4, r1, 8 +/* 800DF748 000DC6A8 3B 80 00 01 */ li r28, 1 +/* 800DF74C 000DC6AC 38 A0 00 00 */ li r5, 0 +/* 800DF750 000DC6B0 38 C0 00 01 */ li r6, 1 +/* 800DF754 000DC6B4 48 23 FC 8D */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800DF758 000DC6B8 7C 7F 1B 78 */ mr r31, r3 +lbl_800DF75C: +/* 800DF75C 000DC6BC 80 7D 02 38 */ lwz r3, 0x238(r29) +/* 800DF760 000DC6C0 28 03 00 00 */ cmplwi r3, 0 +/* 800DF764 000DC6C4 41 82 00 18 */ beq lbl_800DF77C +/* 800DF768 000DC6C8 81 83 00 00 */ lwz r12, 0(r3) +/* 800DF76C 000DC6CC 38 80 00 01 */ li r4, 1 +/* 800DF770 000DC6D0 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DF774 000DC6D4 7D 89 03 A6 */ mtctr r12 +/* 800DF778 000DC6D8 4E 80 04 21 */ bctrl +lbl_800DF77C: +/* 800DF77C 000DC6DC 7F 80 07 75 */ extsb. r0, r28 +/* 800DF780 000DC6E0 93 FD 02 38 */ stw r31, 0x238(r29) +/* 800DF784 000DC6E4 41 82 00 10 */ beq lbl_800DF794 +/* 800DF788 000DC6E8 38 61 00 08 */ addi r3, r1, 8 +/* 800DF78C 000DC6EC 38 80 00 00 */ li r4, 0 +/* 800DF790 000DC6F0 48 26 16 B1 */ bl __dt__6CTokenFv +lbl_800DF794: +/* 800DF794 000DC6F4 80 7D 02 38 */ lwz r3, 0x238(r29) +/* 800DF798 000DC6F8 38 9D 00 04 */ addi r4, r29, 4 +/* 800DF79C 000DC6FC 81 83 00 00 */ lwz r12, 0(r3) +/* 800DF7A0 000DC700 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800DF7A4 000DC704 7D 89 03 A6 */ mtctr r12 +/* 800DF7A8 000DC708 4E 80 04 21 */ bctrl +/* 800DF7AC 000DC70C 93 DD 01 CC */ stw r30, 0x1cc(r29) +lbl_800DF7B0: +/* 800DF7B0 000DC710 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DF7B4 000DC714 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DF7B8 000DC718 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DF7BC 000DC71C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800DF7C0 000DC720 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800DF7C4 000DC724 7C 08 03 A6 */ mtlr r0 +/* 800DF7C8 000DC728 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DF7CC 000DC72C 4E 80 00 20 */ blr + +.global IsLoaded__10CPowerBeamCFv +IsLoaded__10CPowerBeamCFv: +/* 800DF7D0 000DC730 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DF7D4 000DC734 7C 08 02 A6 */ mflr r0 +/* 800DF7D8 000DC738 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DF7DC 000DC73C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DF7E0 000DC740 3B E0 00 00 */ li r31, 0 +/* 800DF7E4 000DC744 93 C1 00 08 */ stw r30, 8(r1) +/* 800DF7E8 000DC748 7C 7E 1B 78 */ mr r30, r3 +/* 800DF7EC 000DC74C 48 0D BB B9 */ bl IsLoaded__10CGunWeaponCFv +/* 800DF7F0 000DC750 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DF7F4 000DC754 41 82 00 14 */ beq lbl_800DF808 +/* 800DF7F8 000DC758 88 1E 02 44 */ lbz r0, 0x244(r30) +/* 800DF7FC 000DC75C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800DF800 000DC760 41 82 00 08 */ beq lbl_800DF808 +/* 800DF804 000DC764 3B E0 00 01 */ li r31, 1 +lbl_800DF808: +/* 800DF808 000DC768 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DF80C 000DC76C 7F E3 FB 78 */ mr r3, r31 +/* 800DF810 000DC770 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DF814 000DC774 83 C1 00 08 */ lwz r30, 8(r1) +/* 800DF818 000DC778 7C 08 03 A6 */ mtlr r0 +/* 800DF81C 000DC77C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DF820 000DC780 4E 80 00 20 */ blr + +.global Unload__10CPowerBeamFR13CStateManager +Unload__10CPowerBeamFR13CStateManager: +/* 800DF824 000DC784 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DF828 000DC788 7C 08 02 A6 */ mflr r0 +/* 800DF82C 000DC78C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DF830 000DC790 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DF834 000DC794 7C 7F 1B 78 */ mr r31, r3 +/* 800DF838 000DC798 48 0D BB 79 */ bl Unload__10CGunWeaponFR13CStateManager +/* 800DF83C 000DC79C 38 00 00 00 */ li r0, 0 +/* 800DF840 000DC7A0 38 7F 02 28 */ addi r3, r31, 0x228 +/* 800DF844 000DC7A4 90 1F 02 30 */ stw r0, 0x230(r31) +/* 800DF848 000DC7A8 48 26 14 F9 */ bl Unlock__6CTokenFv +/* 800DF84C 000DC7AC 38 00 00 00 */ li r0, 0 +/* 800DF850 000DC7B0 38 7F 02 1C */ addi r3, r31, 0x21c +/* 800DF854 000DC7B4 90 1F 02 24 */ stw r0, 0x224(r31) +/* 800DF858 000DC7B8 48 26 14 E9 */ bl Unlock__6CTokenFv +/* 800DF85C 000DC7BC 7F E3 FB 78 */ mr r3, r31 +/* 800DF860 000DC7C0 48 00 05 B5 */ bl ReInitVariables__10CPowerBeamFv +/* 800DF864 000DC7C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DF868 000DC7C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DF86C 000DC7CC 7C 08 03 A6 */ mtlr r0 +/* 800DF870 000DC7D0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DF874 000DC7D4 4E 80 00 20 */ blr + +.global Load__10CPowerBeamFR13CStateManagerb +Load__10CPowerBeamFR13CStateManagerb: +/* 800DF878 000DC7D8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DF87C 000DC7DC 7C 08 02 A6 */ mflr r0 +/* 800DF880 000DC7E0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DF884 000DC7E4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DF888 000DC7E8 7C 7F 1B 78 */ mr r31, r3 +/* 800DF88C 000DC7EC 48 0D BC 49 */ bl Load__10CGunWeaponFR13CStateManagerb +/* 800DF890 000DC7F0 38 7F 02 1C */ addi r3, r31, 0x21c +/* 800DF894 000DC7F4 48 26 14 F1 */ bl Lock__6CTokenFv +/* 800DF898 000DC7F8 38 7F 02 28 */ addi r3, r31, 0x228 +/* 800DF89C 000DC7FC 48 26 14 E9 */ bl Lock__6CTokenFv +/* 800DF8A0 000DC800 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DF8A4 000DC804 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DF8A8 000DC808 7C 08 03 A6 */ mtlr r0 +/* 800DF8AC 000DC80C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DF8B0 000DC810 4E 80 00 20 */ blr + +.global Fire__10CPowerBeamFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId +Fire__10CPowerBeamFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId: +/* 800DF8B4 000DC814 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DF8B8 000DC818 7C 08 02 A6 */ mflr r0 +/* 800DF8BC 000DC81C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DF8C0 000DC820 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DF8C4 000DC824 7C BF 2B 78 */ mr r31, r5 +/* 800DF8C8 000DC828 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DF8CC 000DC82C 7C 9E 23 78 */ mr r30, r4 +/* 800DF8D0 000DC830 A0 08 00 00 */ lhz r0, 0(r8) +/* 800DF8D4 000DC834 39 01 00 08 */ addi r8, r1, 8 +/* 800DF8D8 000DC838 B0 01 00 08 */ sth r0, 8(r1) +/* 800DF8DC 000DC83C 48 0D BF AD */ bl Fire__10CGunWeaponFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId +/* 800DF8E0 000DC840 57 E0 08 3C */ slwi r0, r31, 1 +/* 800DF8E4 000DC844 38 62 8F 68 */ addi r3, r2, lbl_805AAC88@sda21 +/* 800DF8E8 000DC848 7C 83 02 2E */ lhzx r4, r3, r0 +/* 800DF8EC 000DC84C 7F C5 F3 78 */ mr r5, r30 +/* 800DF8F0 000DC850 38 61 00 0C */ addi r3, r1, 0xc +/* 800DF8F4 000DC854 38 C0 00 00 */ li r6, 0 +/* 800DF8F8 000DC858 38 E0 00 4A */ li r7, 0x4a +/* 800DF8FC 000DC85C 48 1A B1 FD */ bl play_sfx__12NWeaponTypesFUsbbs +/* 800DF900 000DC860 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DF904 000DC864 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DF908 000DC868 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DF90C 000DC86C 7C 08 03 A6 */ mtlr r0 +/* 800DF910 000DC870 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DF914 000DC874 4E 80 00 20 */ blr + +.global Update__10CPowerBeamFfR13CStateManager +Update__10CPowerBeamFfR13CStateManager: +/* 800DF918 000DC878 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DF91C 000DC87C 7C 08 02 A6 */ mflr r0 +/* 800DF920 000DC880 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DF924 000DC884 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DF928 000DC888 7C 7F 1B 78 */ mr r31, r3 +/* 800DF92C 000DC88C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DF930 000DC890 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800DF934 000DC894 48 0D CB 45 */ bl Update__10CGunWeaponFfR13CStateManager +/* 800DF938 000DC898 7F E3 FB 78 */ mr r3, r31 +/* 800DF93C 000DC89C 81 9F 00 00 */ lwz r12, 0(r31) +/* 800DF940 000DC8A0 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 800DF944 000DC8A4 7D 89 03 A6 */ mtctr r12 +/* 800DF948 000DC8A8 4E 80 04 21 */ bctrl +/* 800DF94C 000DC8AC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DF950 000DC8B0 40 82 01 70 */ bne lbl_800DFAC0 +/* 800DF954 000DC8B4 7F E3 FB 78 */ mr r3, r31 +/* 800DF958 000DC8B8 48 0D BA 4D */ bl IsLoaded__10CGunWeaponCFv +/* 800DF95C 000DC8BC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DF960 000DC8C0 41 82 01 60 */ beq lbl_800DFAC0 +/* 800DF964 000DC8C4 88 1F 02 44 */ lbz r0, 0x244(r31) +/* 800DF968 000DC8C8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800DF96C 000DC8CC 40 82 01 54 */ bne lbl_800DFAC0 +/* 800DF970 000DC8D0 80 1F 02 24 */ lwz r0, 0x224(r31) +/* 800DF974 000DC8D4 28 00 00 00 */ cmplwi r0, 0 +/* 800DF978 000DC8D8 41 82 00 0C */ beq lbl_800DF984 +/* 800DF97C 000DC8DC 38 60 00 01 */ li r3, 1 +/* 800DF980 000DC8E0 48 00 00 3C */ b lbl_800DF9BC +lbl_800DF984: +/* 800DF984 000DC8E4 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 800DF988 000DC8E8 28 00 00 00 */ cmplwi r0, 0 +/* 800DF98C 000DC8EC 41 82 00 2C */ beq lbl_800DF9B8 +/* 800DF990 000DC8F0 80 7F 02 1C */ lwz r3, 0x21c(r31) +/* 800DF994 000DC8F4 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800DF998 000DC8F8 28 00 00 00 */ cmplwi r0, 0 +/* 800DF99C 000DC8FC 41 82 00 1C */ beq lbl_800DF9B8 +/* 800DF9A0 000DC900 38 7F 02 1C */ addi r3, r31, 0x21c +/* 800DF9A4 000DC904 48 26 14 69 */ bl GetObj__6CTokenFv +/* 800DF9A8 000DC908 80 03 00 04 */ lwz r0, 4(r3) +/* 800DF9AC 000DC90C 38 60 00 01 */ li r3, 1 +/* 800DF9B0 000DC910 90 1F 02 24 */ stw r0, 0x224(r31) +/* 800DF9B4 000DC914 48 00 00 08 */ b lbl_800DF9BC +lbl_800DF9B8: +/* 800DF9B8 000DC918 38 60 00 00 */ li r3, 0 +lbl_800DF9BC: +/* 800DF9BC 000DC91C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DF9C0 000DC920 41 82 00 50 */ beq lbl_800DFA10 +/* 800DF9C4 000DC924 80 1F 02 30 */ lwz r0, 0x230(r31) +/* 800DF9C8 000DC928 28 00 00 00 */ cmplwi r0, 0 +/* 800DF9CC 000DC92C 41 82 00 0C */ beq lbl_800DF9D8 +/* 800DF9D0 000DC930 38 60 00 01 */ li r3, 1 +/* 800DF9D4 000DC934 48 00 00 3C */ b lbl_800DFA10 +lbl_800DF9D8: +/* 800DF9D8 000DC938 88 1F 02 2C */ lbz r0, 0x22c(r31) +/* 800DF9DC 000DC93C 28 00 00 00 */ cmplwi r0, 0 +/* 800DF9E0 000DC940 41 82 00 2C */ beq lbl_800DFA0C +/* 800DF9E4 000DC944 80 7F 02 28 */ lwz r3, 0x228(r31) +/* 800DF9E8 000DC948 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800DF9EC 000DC94C 28 00 00 00 */ cmplwi r0, 0 +/* 800DF9F0 000DC950 41 82 00 1C */ beq lbl_800DFA0C +/* 800DF9F4 000DC954 38 7F 02 28 */ addi r3, r31, 0x228 +/* 800DF9F8 000DC958 48 26 14 15 */ bl GetObj__6CTokenFv +/* 800DF9FC 000DC95C 80 03 00 04 */ lwz r0, 4(r3) +/* 800DFA00 000DC960 38 60 00 01 */ li r3, 1 +/* 800DFA04 000DC964 90 1F 02 30 */ stw r0, 0x230(r31) +/* 800DFA08 000DC968 48 00 00 08 */ b lbl_800DFA10 +lbl_800DFA0C: +/* 800DFA0C 000DC96C 38 60 00 00 */ li r3, 0 +lbl_800DFA10: +/* 800DFA10 000DC970 88 1F 02 44 */ lbz r0, 0x244(r31) +/* 800DFA14 000DC974 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800DFA18 000DC978 98 1F 02 44 */ stb r0, 0x244(r31) +/* 800DFA1C 000DC97C 88 1F 02 44 */ lbz r0, 0x244(r31) +/* 800DFA20 000DC980 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800DFA24 000DC984 41 82 00 9C */ beq lbl_800DFAC0 +/* 800DFA28 000DC988 3C 60 80 3D */ lis r3, lbl_803CE548@ha +/* 800DFA2C 000DC98C 3B A0 00 00 */ li r29, 0 +/* 800DFA30 000DC990 38 83 E5 48 */ addi r4, r3, lbl_803CE548@l +/* 800DFA34 000DC994 38 A0 00 00 */ li r5, 0 +/* 800DFA38 000DC998 38 60 03 40 */ li r3, 0x340 +/* 800DFA3C 000DC99C 48 23 5E 31 */ bl __nw__FUlPCcPCc +/* 800DFA40 000DC9A0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800DFA44 000DC9A4 41 82 00 2C */ beq lbl_800DFA70 +/* 800DFA48 000DC9A8 38 61 00 08 */ addi r3, r1, 8 +/* 800DFA4C 000DC9AC 38 9F 02 1C */ addi r4, r31, 0x21c +/* 800DFA50 000DC9B0 48 26 14 59 */ bl __ct__6CTokenFRC6CToken +/* 800DFA54 000DC9B4 7F C3 F3 78 */ mr r3, r30 +/* 800DFA58 000DC9B8 38 81 00 08 */ addi r4, r1, 8 +/* 800DFA5C 000DC9BC 3B A0 00 01 */ li r29, 1 +/* 800DFA60 000DC9C0 38 A0 00 00 */ li r5, 0 +/* 800DFA64 000DC9C4 38 C0 00 01 */ li r6, 1 +/* 800DFA68 000DC9C8 48 23 F9 79 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800DFA6C 000DC9CC 7C 7E 1B 78 */ mr r30, r3 +lbl_800DFA70: +/* 800DFA70 000DC9D0 80 7F 02 34 */ lwz r3, 0x234(r31) +/* 800DFA74 000DC9D4 28 03 00 00 */ cmplwi r3, 0 +/* 800DFA78 000DC9D8 41 82 00 18 */ beq lbl_800DFA90 +/* 800DFA7C 000DC9DC 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFA80 000DC9E0 38 80 00 01 */ li r4, 1 +/* 800DFA84 000DC9E4 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DFA88 000DC9E8 7D 89 03 A6 */ mtctr r12 +/* 800DFA8C 000DC9EC 4E 80 04 21 */ bctrl +lbl_800DFA90: +/* 800DFA90 000DC9F0 7F A0 07 75 */ extsb. r0, r29 +/* 800DFA94 000DC9F4 93 DF 02 34 */ stw r30, 0x234(r31) +/* 800DFA98 000DC9F8 41 82 00 10 */ beq lbl_800DFAA8 +/* 800DFA9C 000DC9FC 38 61 00 08 */ addi r3, r1, 8 +/* 800DFAA0 000DCA00 38 80 00 00 */ li r4, 0 +/* 800DFAA4 000DCA04 48 26 13 9D */ bl __dt__6CTokenFv +lbl_800DFAA8: +/* 800DFAA8 000DCA08 80 7F 02 34 */ lwz r3, 0x234(r31) +/* 800DFAAC 000DCA0C 38 80 00 00 */ li r4, 0 +/* 800DFAB0 000DCA10 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFAB4 000DCA14 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800DFAB8 000DCA18 7D 89 03 A6 */ mtctr r12 +/* 800DFABC 000DCA1C 4E 80 04 21 */ bctrl +lbl_800DFAC0: +/* 800DFAC0 000DCA20 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DFAC4 000DCA24 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DFAC8 000DCA28 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DFACC 000DCA2C 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800DFAD0 000DCA30 7C 08 03 A6 */ mtlr r0 +/* 800DFAD4 000DCA34 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DFAD8 000DCA38 4E 80 00 20 */ blr + +.global UpdateGunFx__10CPowerBeamFbfRC13CStateManagerRC12CTransform4f +UpdateGunFx__10CPowerBeamFbfRC13CStateManagerRC12CTransform4f: +/* 800DFADC 000DCA3C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800DFAE0 000DCA40 7C 08 02 A6 */ mflr r0 +/* 800DFAE4 000DCA44 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800DFAE8 000DCA48 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 800DFAEC 000DCA4C F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 800DFAF0 000DCA50 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 800DFAF4 000DCA54 93 C1 00 98 */ stw r30, 0x98(r1) +/* 800DFAF8 000DCA58 93 A1 00 94 */ stw r29, 0x94(r1) +/* 800DFAFC 000DCA5C 93 81 00 90 */ stw r28, 0x90(r1) +/* 800DFB00 000DCA60 7C 7C 1B 78 */ mr r28, r3 +/* 800DFB04 000DCA64 FF E0 08 90 */ fmr f31, f1 +/* 800DFB08 000DCA68 80 03 02 40 */ lwz r0, 0x240(r3) +/* 800DFB0C 000DCA6C 7C 9D 23 78 */ mr r29, r4 +/* 800DFB10 000DCA70 7C BE 2B 78 */ mr r30, r5 +/* 800DFB14 000DCA74 7C DF 33 78 */ mr r31, r6 +/* 800DFB18 000DCA78 2C 00 00 01 */ cmpwi r0, 1 +/* 800DFB1C 000DCA7C 41 82 00 5C */ beq lbl_800DFB78 +/* 800DFB20 000DCA80 40 80 00 10 */ bge lbl_800DFB30 +/* 800DFB24 000DCA84 2C 00 00 00 */ cmpwi r0, 0 +/* 800DFB28 000DCA88 40 80 00 14 */ bge lbl_800DFB3C +/* 800DFB2C 000DCA8C 48 00 01 44 */ b lbl_800DFC70 +lbl_800DFB30: +/* 800DFB30 000DCA90 2C 00 00 03 */ cmpwi r0, 3 +/* 800DFB34 000DCA94 40 80 01 3C */ bge lbl_800DFC70 +/* 800DFB38 000DCA98 48 00 00 84 */ b lbl_800DFBBC +lbl_800DFB3C: +/* 800DFB3C 000DCA9C 57 A0 06 3F */ clrlwi. r0, r29, 0x18 +/* 800DFB40 000DCAA0 41 82 01 30 */ beq lbl_800DFC70 +/* 800DFB44 000DCAA4 80 7C 02 34 */ lwz r3, 0x234(r28) +/* 800DFB48 000DCAA8 28 03 00 00 */ cmplwi r3, 0 +/* 800DFB4C 000DCAAC 41 82 00 18 */ beq lbl_800DFB64 +/* 800DFB50 000DCAB0 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFB54 000DCAB4 38 80 00 01 */ li r4, 1 +/* 800DFB58 000DCAB8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800DFB5C 000DCABC 7D 89 03 A6 */ mtctr r12 +/* 800DFB60 000DCAC0 4E 80 04 21 */ bctrl +lbl_800DFB64: +/* 800DFB64 000DCAC4 C0 02 8F 6C */ lfs f0, lbl_805AAC8C@sda21(r2) +/* 800DFB68 000DCAC8 38 00 00 01 */ li r0, 1 +/* 800DFB6C 000DCACC D0 1C 02 3C */ stfs f0, 0x23c(r28) +/* 800DFB70 000DCAD0 90 1C 02 40 */ stw r0, 0x240(r28) +/* 800DFB74 000DCAD4 48 00 00 FC */ b lbl_800DFC70 +lbl_800DFB78: +/* 800DFB78 000DCAD8 C0 3C 02 3C */ lfs f1, 0x23c(r28) +/* 800DFB7C 000DCADC C0 02 8F 70 */ lfs f0, lbl_805AAC90@sda21(r2) +/* 800DFB80 000DCAE0 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DFB84 000DCAE4 40 81 00 10 */ ble lbl_800DFB94 +/* 800DFB88 000DCAE8 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 800DFB8C 000DCAEC D0 1C 02 3C */ stfs f0, 0x23c(r28) +/* 800DFB90 000DCAF0 48 00 00 2C */ b lbl_800DFBBC +lbl_800DFB94: +/* 800DFB94 000DCAF4 80 7C 02 34 */ lwz r3, 0x234(r28) +/* 800DFB98 000DCAF8 28 03 00 00 */ cmplwi r3, 0 +/* 800DFB9C 000DCAFC 41 82 00 18 */ beq lbl_800DFBB4 +/* 800DFBA0 000DCB00 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFBA4 000DCB04 38 80 00 00 */ li r4, 0 +/* 800DFBA8 000DCB08 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800DFBAC 000DCB0C 7D 89 03 A6 */ mtctr r12 +/* 800DFBB0 000DCB10 4E 80 04 21 */ bctrl +lbl_800DFBB4: +/* 800DFBB4 000DCB14 38 00 00 02 */ li r0, 2 +/* 800DFBB8 000DCB18 90 1C 02 40 */ stw r0, 0x240(r28) +lbl_800DFBBC: +/* 800DFBBC 000DCB1C 80 1C 02 34 */ lwz r0, 0x234(r28) +/* 800DFBC0 000DCB20 28 00 00 00 */ cmplwi r0, 0 +/* 800DFBC4 000DCB24 41 82 00 A4 */ beq lbl_800DFC68 +/* 800DFBC8 000DCB28 80 82 A9 C8 */ lwz r4, lbl_805AC6E8@sda21(r2) +/* 800DFBCC 000DCB2C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800DFBD0 000DCB30 4B F2 50 E9 */ bl string_l__4rstlFPCc +/* 800DFBD4 000DCB34 38 61 00 24 */ addi r3, r1, 0x24 +/* 800DFBD8 000DCB38 38 9C 00 10 */ addi r4, r28, 0x10 +/* 800DFBDC 000DCB3C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800DFBE0 000DCB40 48 03 5D C1 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800DFBE4 000DCB44 38 61 00 54 */ addi r3, r1, 0x54 +/* 800DFBE8 000DCB48 38 81 00 24 */ addi r4, r1, 0x24 +/* 800DFBEC 000DCB4C 48 23 2F 89 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800DFBF0 000DCB50 38 61 00 14 */ addi r3, r1, 0x14 +/* 800DFBF4 000DCB54 48 25 DE ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800DFBF8 000DCB58 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 800DFBFC 000DCB5C 38 81 00 08 */ addi r4, r1, 8 +/* 800DFC00 000DCB60 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 800DFC04 000DCB64 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 800DFC08 000DCB68 D0 41 00 08 */ stfs f2, 8(r1) +/* 800DFC0C 000DCB6C D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800DFC10 000DCB70 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800DFC14 000DCB74 80 7C 02 34 */ lwz r3, 0x234(r28) +/* 800DFC18 000DCB78 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFC1C 000DCB7C 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800DFC20 000DCB80 7D 89 03 A6 */ mtctr r12 +/* 800DFC24 000DCB84 4E 80 04 21 */ bctrl +/* 800DFC28 000DCB88 80 7C 02 34 */ lwz r3, 0x234(r28) +/* 800DFC2C 000DCB8C FC 20 F8 90 */ fmr f1, f31 +/* 800DFC30 000DCB90 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFC34 000DCB94 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800DFC38 000DCB98 7D 89 03 A6 */ mtctr r12 +/* 800DFC3C 000DCB9C 4E 80 04 21 */ bctrl +/* 800DFC40 000DCBA0 80 1C 02 40 */ lwz r0, 0x240(r28) +/* 800DFC44 000DCBA4 2C 00 00 02 */ cmpwi r0, 2 +/* 800DFC48 000DCBA8 40 82 00 28 */ bne lbl_800DFC70 +/* 800DFC4C 000DCBAC 80 7C 02 34 */ lwz r3, 0x234(r28) +/* 800DFC50 000DCBB0 48 23 81 49 */ bl GetSystemCount__11CElementGenFv +/* 800DFC54 000DCBB4 2C 03 00 00 */ cmpwi r3, 0 +/* 800DFC58 000DCBB8 40 82 00 18 */ bne lbl_800DFC70 +/* 800DFC5C 000DCBBC 38 00 00 00 */ li r0, 0 +/* 800DFC60 000DCBC0 90 1C 02 40 */ stw r0, 0x240(r28) +/* 800DFC64 000DCBC4 48 00 00 0C */ b lbl_800DFC70 +lbl_800DFC68: +/* 800DFC68 000DCBC8 38 00 00 00 */ li r0, 0 +/* 800DFC6C 000DCBCC 90 1C 02 40 */ stw r0, 0x240(r28) +lbl_800DFC70: +/* 800DFC70 000DCBD0 80 1C 01 CC */ lwz r0, 0x1cc(r28) +/* 800DFC74 000DCBD4 2C 00 00 00 */ cmpwi r0, 0 +/* 800DFC78 000DCBD8 41 82 00 30 */ beq lbl_800DFCA8 +/* 800DFC7C 000DCBDC 80 7C 02 38 */ lwz r3, 0x238(r28) +/* 800DFC80 000DCBE0 28 03 00 00 */ cmplwi r3, 0 +/* 800DFC84 000DCBE4 41 82 00 24 */ beq lbl_800DFCA8 +/* 800DFC88 000DCBE8 7F E4 FB 78 */ mr r4, r31 +/* 800DFC8C 000DCBEC 48 23 EE F9 */ bl SetGlobalOrientAndTrans__11CElementGenFRC12CTransform4f +/* 800DFC90 000DCBF0 80 7C 02 38 */ lwz r3, 0x238(r28) +/* 800DFC94 000DCBF4 FC 20 F8 90 */ fmr f1, f31 +/* 800DFC98 000DCBF8 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFC9C 000DCBFC 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800DFCA0 000DCC00 7D 89 03 A6 */ mtctr r12 +/* 800DFCA4 000DCC04 4E 80 04 21 */ bctrl +lbl_800DFCA8: +/* 800DFCA8 000DCC08 FC 20 F8 90 */ fmr f1, f31 +/* 800DFCAC 000DCC0C 7F 83 E3 78 */ mr r3, r28 +/* 800DFCB0 000DCC10 7F A4 EB 78 */ mr r4, r29 +/* 800DFCB4 000DCC14 7F C5 F3 78 */ mr r5, r30 +/* 800DFCB8 000DCC18 7F E6 FB 78 */ mr r6, r31 +/* 800DFCBC 000DCC1C 48 0D C6 21 */ bl UpdateGunFx__10CGunWeaponFbfRC13CStateManagerRC12CTransform4f +/* 800DFCC0 000DCC20 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 800DFCC4 000DCC24 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800DFCC8 000DCC28 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 800DFCCC 000DCC2C 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 800DFCD0 000DCC30 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 800DFCD4 000DCC34 83 A1 00 94 */ lwz r29, 0x94(r1) +/* 800DFCD8 000DCC38 83 81 00 90 */ lwz r28, 0x90(r1) +/* 800DFCDC 000DCC3C 7C 08 03 A6 */ mtlr r0 +/* 800DFCE0 000DCC40 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800DFCE4 000DCC44 4E 80 00 20 */ blr + +.global PostRenderGunFx__10CPowerBeamFRC13CStateManagerRC12CTransform4f +PostRenderGunFx__10CPowerBeamFRC13CStateManagerRC12CTransform4f: +/* 800DFCE8 000DCC48 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DFCEC 000DCC4C 7C 08 02 A6 */ mflr r0 +/* 800DFCF0 000DCC50 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DFCF4 000DCC54 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DFCF8 000DCC58 7C BF 2B 78 */ mr r31, r5 +/* 800DFCFC 000DCC5C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DFD00 000DCC60 7C 9E 23 78 */ mr r30, r4 +/* 800DFD04 000DCC64 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800DFD08 000DCC68 7C 7D 1B 78 */ mr r29, r3 +/* 800DFD0C 000DCC6C 80 03 01 CC */ lwz r0, 0x1cc(r3) +/* 800DFD10 000DCC70 2C 00 00 00 */ cmpwi r0, 0 +/* 800DFD14 000DCC74 41 82 00 20 */ beq lbl_800DFD34 +/* 800DFD18 000DCC78 80 7D 02 38 */ lwz r3, 0x238(r29) +/* 800DFD1C 000DCC7C 28 03 00 00 */ cmplwi r3, 0 +/* 800DFD20 000DCC80 41 82 00 14 */ beq lbl_800DFD34 +/* 800DFD24 000DCC84 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFD28 000DCC88 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DFD2C 000DCC8C 7D 89 03 A6 */ mtctr r12 +/* 800DFD30 000DCC90 4E 80 04 21 */ bctrl +lbl_800DFD34: +/* 800DFD34 000DCC94 7F A3 EB 78 */ mr r3, r29 +/* 800DFD38 000DCC98 7F C4 F3 78 */ mr r4, r30 +/* 800DFD3C 000DCC9C 7F E5 FB 78 */ mr r5, r31 +/* 800DFD40 000DCCA0 48 0D C6 E5 */ bl PostRenderGunFx__10CGunWeaponFRC13CStateManagerRC12CTransform4f +/* 800DFD44 000DCCA4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DFD48 000DCCA8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DFD4C 000DCCAC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DFD50 000DCCB0 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800DFD54 000DCCB4 7C 08 03 A6 */ mtlr r0 +/* 800DFD58 000DCCB8 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DFD5C 000DCCBC 4E 80 00 20 */ blr + +.global PreRenderGunFx__10CPowerBeamFRC13CStateManagerRC12CTransform4f +PreRenderGunFx__10CPowerBeamFRC13CStateManagerRC12CTransform4f: +/* 800DFD60 000DCCC0 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 800DFD64 000DCCC4 7C 08 02 A6 */ mflr r0 +/* 800DFD68 000DCCC8 3C 80 80 5A */ lis r4, lbl_805A61D4@ha +/* 800DFD6C 000DCCCC 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800DFD70 000DCCD0 38 84 61 D4 */ addi r4, r4, lbl_805A61D4@l +/* 800DFD74 000DCCD4 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 800DFD78 000DCCD8 7C BF 2B 78 */ mr r31, r5 +/* 800DFD7C 000DCCDC 93 C1 00 98 */ stw r30, 0x98(r1) +/* 800DFD80 000DCCE0 7C 7E 1B 78 */ mr r30, r3 +/* 800DFD84 000DCCE4 38 61 00 68 */ addi r3, r1, 0x68 +/* 800DFD88 000DCCE8 48 23 2D ED */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800DFD8C 000DCCEC 7F E4 FB 78 */ mr r4, r31 +/* 800DFD90 000DCCF0 38 61 00 08 */ addi r3, r1, 8 +/* 800DFD94 000DCCF4 48 23 29 4D */ bl GetInverse__12CTransform4fCFv +/* 800DFD98 000DCCF8 38 61 00 38 */ addi r3, r1, 0x38 +/* 800DFD9C 000DCCFC 38 81 00 08 */ addi r4, r1, 8 +/* 800DFDA0 000DCD00 38 A1 00 68 */ addi r5, r1, 0x68 +/* 800DFDA4 000DCD04 48 23 2B AD */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800DFDA8 000DCD08 38 61 00 38 */ addi r3, r1, 0x38 +/* 800DFDAC 000DCD0C 48 22 C9 A1 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 800DFDB0 000DCD10 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800DFDB4 000DCD14 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800DFDB8 000DCD18 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 800DFDBC 000DCD1C 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFDC0 000DCD20 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800DFDC4 000DCD24 7D 89 03 A6 */ mtctr r12 +/* 800DFDC8 000DCD28 4E 80 04 21 */ bctrl +/* 800DFDCC 000DCD2C 80 7E 02 34 */ lwz r3, 0x234(r30) +/* 800DFDD0 000DCD30 28 03 00 00 */ cmplwi r3, 0 +/* 800DFDD4 000DCD34 41 82 00 20 */ beq lbl_800DFDF4 +/* 800DFDD8 000DCD38 80 1E 02 40 */ lwz r0, 0x240(r30) +/* 800DFDDC 000DCD3C 2C 00 00 00 */ cmpwi r0, 0 +/* 800DFDE0 000DCD40 41 82 00 14 */ beq lbl_800DFDF4 +/* 800DFDE4 000DCD44 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFDE8 000DCD48 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DFDEC 000DCD4C 7D 89 03 A6 */ mtctr r12 +/* 800DFDF0 000DCD50 4E 80 04 21 */ bctrl +lbl_800DFDF4: +/* 800DFDF4 000DCD54 38 61 00 68 */ addi r3, r1, 0x68 +/* 800DFDF8 000DCD58 48 22 C9 55 */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 800DFDFC 000DCD5C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800DFE00 000DCD60 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 800DFE04 000DCD64 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 800DFE08 000DCD68 7C 08 03 A6 */ mtlr r0 +/* 800DFE0C 000DCD6C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 800DFE10 000DCD70 4E 80 00 20 */ blr + +.global ReInitVariables__10CPowerBeamFv +ReInitVariables__10CPowerBeamFv: +/* 800DFE14 000DCD74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DFE18 000DCD78 7C 08 02 A6 */ mflr r0 +/* 800DFE1C 000DCD7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DFE20 000DCD80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DFE24 000DCD84 7C 7F 1B 78 */ mr r31, r3 +/* 800DFE28 000DCD88 80 63 02 34 */ lwz r3, 0x234(r3) +/* 800DFE2C 000DCD8C 28 03 00 00 */ cmplwi r3, 0 +/* 800DFE30 000DCD90 41 82 00 18 */ beq lbl_800DFE48 +/* 800DFE34 000DCD94 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFE38 000DCD98 38 80 00 01 */ li r4, 1 +/* 800DFE3C 000DCD9C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DFE40 000DCDA0 7D 89 03 A6 */ mtctr r12 +/* 800DFE44 000DCDA4 4E 80 04 21 */ bctrl +lbl_800DFE48: +/* 800DFE48 000DCDA8 38 00 00 00 */ li r0, 0 +/* 800DFE4C 000DCDAC 90 1F 02 34 */ stw r0, 0x234(r31) +/* 800DFE50 000DCDB0 80 7F 02 38 */ lwz r3, 0x238(r31) +/* 800DFE54 000DCDB4 28 03 00 00 */ cmplwi r3, 0 +/* 800DFE58 000DCDB8 41 82 00 18 */ beq lbl_800DFE70 +/* 800DFE5C 000DCDBC 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFE60 000DCDC0 38 80 00 01 */ li r4, 1 +/* 800DFE64 000DCDC4 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DFE68 000DCDC8 7D 89 03 A6 */ mtctr r12 +/* 800DFE6C 000DCDCC 4E 80 04 21 */ bctrl +lbl_800DFE70: +/* 800DFE70 000DCDD0 38 60 00 00 */ li r3, 0 +/* 800DFE74 000DCDD4 C0 02 8F 70 */ lfs f0, lbl_805AAC90@sda21(r2) +/* 800DFE78 000DCDD8 90 7F 02 38 */ stw r3, 0x238(r31) +/* 800DFE7C 000DCDDC D0 1F 02 3C */ stfs f0, 0x23c(r31) +/* 800DFE80 000DCDE0 90 7F 02 40 */ stw r3, 0x240(r31) +/* 800DFE84 000DCDE4 88 1F 02 44 */ lbz r0, 0x244(r31) +/* 800DFE88 000DCDE8 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800DFE8C 000DCDEC 98 1F 02 44 */ stb r0, 0x244(r31) +/* 800DFE90 000DCDF0 88 1F 02 44 */ lbz r0, 0x244(r31) +/* 800DFE94 000DCDF4 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800DFE98 000DCDF8 98 1F 02 44 */ stb r0, 0x244(r31) +/* 800DFE9C 000DCDFC 90 7F 01 CC */ stw r3, 0x1cc(r31) +/* 800DFEA0 000DCE00 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DFEA4 000DCE04 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DFEA8 000DCE08 7C 08 03 A6 */ mtlr r0 +/* 800DFEAC 000DCE0C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DFEB0 000DCE10 4E 80 00 20 */ blr + +.global __dt__10CPowerBeamFv +__dt__10CPowerBeamFv: +/* 800DFEB4 000DCE14 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DFEB8 000DCE18 7C 08 02 A6 */ mflr r0 +/* 800DFEBC 000DCE1C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DFEC0 000DCE20 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DFEC4 000DCE24 7C 9F 23 78 */ mr r31, r4 +/* 800DFEC8 000DCE28 93 C1 00 08 */ stw r30, 8(r1) +/* 800DFECC 000DCE2C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800DFED0 000DCE30 41 82 00 B4 */ beq lbl_800DFF84 +/* 800DFED4 000DCE34 3C 60 80 3E */ lis r3, lbl_803DF758@ha +/* 800DFED8 000DCE38 34 1E 02 38 */ addic. r0, r30, 0x238 +/* 800DFEDC 000DCE3C 38 03 F7 58 */ addi r0, r3, lbl_803DF758@l +/* 800DFEE0 000DCE40 90 1E 00 00 */ stw r0, 0(r30) +/* 800DFEE4 000DCE44 41 82 00 24 */ beq lbl_800DFF08 +/* 800DFEE8 000DCE48 80 7E 02 38 */ lwz r3, 0x238(r30) +/* 800DFEEC 000DCE4C 28 03 00 00 */ cmplwi r3, 0 +/* 800DFEF0 000DCE50 41 82 00 18 */ beq lbl_800DFF08 +/* 800DFEF4 000DCE54 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFEF8 000DCE58 38 80 00 01 */ li r4, 1 +/* 800DFEFC 000DCE5C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DFF00 000DCE60 7D 89 03 A6 */ mtctr r12 +/* 800DFF04 000DCE64 4E 80 04 21 */ bctrl +lbl_800DFF08: +/* 800DFF08 000DCE68 34 1E 02 34 */ addic. r0, r30, 0x234 +/* 800DFF0C 000DCE6C 41 82 00 24 */ beq lbl_800DFF30 +/* 800DFF10 000DCE70 80 7E 02 34 */ lwz r3, 0x234(r30) +/* 800DFF14 000DCE74 28 03 00 00 */ cmplwi r3, 0 +/* 800DFF18 000DCE78 41 82 00 18 */ beq lbl_800DFF30 +/* 800DFF1C 000DCE7C 81 83 00 00 */ lwz r12, 0(r3) +/* 800DFF20 000DCE80 38 80 00 01 */ li r4, 1 +/* 800DFF24 000DCE84 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DFF28 000DCE88 7D 89 03 A6 */ mtctr r12 +/* 800DFF2C 000DCE8C 4E 80 04 21 */ bctrl +lbl_800DFF30: +/* 800DFF30 000DCE90 34 1E 02 28 */ addic. r0, r30, 0x228 +/* 800DFF34 000DCE94 41 82 00 18 */ beq lbl_800DFF4C +/* 800DFF38 000DCE98 34 1E 02 28 */ addic. r0, r30, 0x228 +/* 800DFF3C 000DCE9C 41 82 00 10 */ beq lbl_800DFF4C +/* 800DFF40 000DCEA0 38 7E 02 28 */ addi r3, r30, 0x228 +/* 800DFF44 000DCEA4 38 80 00 00 */ li r4, 0 +/* 800DFF48 000DCEA8 48 26 0E F9 */ bl __dt__6CTokenFv +lbl_800DFF4C: +/* 800DFF4C 000DCEAC 34 1E 02 1C */ addic. r0, r30, 0x21c +/* 800DFF50 000DCEB0 41 82 00 18 */ beq lbl_800DFF68 +/* 800DFF54 000DCEB4 34 1E 02 1C */ addic. r0, r30, 0x21c +/* 800DFF58 000DCEB8 41 82 00 10 */ beq lbl_800DFF68 +/* 800DFF5C 000DCEBC 38 7E 02 1C */ addi r3, r30, 0x21c +/* 800DFF60 000DCEC0 38 80 00 00 */ li r4, 0 +/* 800DFF64 000DCEC4 48 26 0E DD */ bl __dt__6CTokenFv +lbl_800DFF68: +/* 800DFF68 000DCEC8 7F C3 F3 78 */ mr r3, r30 +/* 800DFF6C 000DCECC 38 80 00 00 */ li r4, 0 +/* 800DFF70 000DCED0 48 0D CD 51 */ bl __dt__10CGunWeaponFv +/* 800DFF74 000DCED4 7F E0 07 35 */ extsh. r0, r31 +/* 800DFF78 000DCED8 40 81 00 0C */ ble lbl_800DFF84 +/* 800DFF7C 000DCEDC 7F C3 F3 78 */ mr r3, r30 +/* 800DFF80 000DCEE0 48 23 59 B1 */ bl Free__7CMemoryFPCv +lbl_800DFF84: +/* 800DFF84 000DCEE4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DFF88 000DCEE8 7F C3 F3 78 */ mr r3, r30 +/* 800DFF8C 000DCEEC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DFF90 000DCEF0 83 C1 00 08 */ lwz r30, 8(r1) +/* 800DFF94 000DCEF4 7C 08 03 A6 */ mtlr r0 +/* 800DFF98 000DCEF8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DFF9C 000DCEFC 4E 80 00 20 */ blr + +.global __ct__10CPowerBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +__ct__10CPowerBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f: +/* 800DFFA0 000DCF00 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800DFFA4 000DCF04 7C 08 02 A6 */ mflr r0 +/* 800DFFA8 000DCF08 90 01 00 34 */ stw r0, 0x34(r1) +/* 800DFFAC 000DCF0C 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800DFFB0 000DCF10 7C 7F 1B 78 */ mr r31, r3 +/* 800DFFB4 000DCF14 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800DFFB8 000DCF18 A0 06 00 00 */ lhz r0, 0(r6) +/* 800DFFBC 000DCF1C 38 C1 00 08 */ addi r6, r1, 8 +/* 800DFFC0 000DCF20 B0 01 00 08 */ sth r0, 8(r1) +/* 800DFFC4 000DCF24 48 0D D1 ED */ bl __ct__10CGunWeaponFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +/* 800DFFC8 000DCF28 3C 60 80 3E */ lis r3, lbl_803DF758@ha +/* 800DFFCC 000DCF2C 3C 80 80 3D */ lis r4, lbl_803CE548@ha +/* 800DFFD0 000DCF30 38 03 F7 58 */ addi r0, r3, lbl_803DF758@l +/* 800DFFD4 000DCF34 38 61 00 14 */ addi r3, r1, 0x14 +/* 800DFFD8 000DCF38 90 1F 00 00 */ stw r0, 0(r31) +/* 800DFFDC 000DCF3C 38 84 E5 48 */ addi r4, r4, lbl_803CE548@l +/* 800DFFE0 000DCF40 38 A4 00 07 */ addi r5, r4, 7 +/* 800DFFE4 000DCF44 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DFFE8 000DCF48 81 84 00 00 */ lwz r12, 0(r4) +/* 800DFFEC 000DCF4C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DFFF0 000DCF50 7D 89 03 A6 */ mtctr r12 +/* 800DFFF4 000DCF54 4E 80 04 21 */ bctrl +/* 800DFFF8 000DCF58 3B DF 02 1C */ addi r30, r31, 0x21c +/* 800DFFFC 000DCF5C 38 81 00 14 */ addi r4, r1, 0x14 +/* 800E0000 000DCF60 7F C3 F3 78 */ mr r3, r30 +/* 800E0004 000DCF64 48 26 0E A5 */ bl __ct__6CTokenFRC6CToken +/* 800E0008 000DCF68 38 00 00 00 */ li r0, 0 +/* 800E000C 000DCF6C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800E0010 000DCF70 90 1E 00 08 */ stw r0, 8(r30) +/* 800E0014 000DCF74 38 80 FF FF */ li r4, -1 +/* 800E0018 000DCF78 48 26 0E 29 */ bl __dt__6CTokenFv +/* 800E001C 000DCF7C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800E0020 000DCF80 3C 60 80 3D */ lis r3, lbl_803CE548@ha +/* 800E0024 000DCF84 38 A3 E5 48 */ addi r5, r3, lbl_803CE548@l +/* 800E0028 000DCF88 38 61 00 0C */ addi r3, r1, 0xc +/* 800E002C 000DCF8C 81 84 00 00 */ lwz r12, 0(r4) +/* 800E0030 000DCF90 38 A5 00 11 */ addi r5, r5, 0x11 +/* 800E0034 000DCF94 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800E0038 000DCF98 7D 89 03 A6 */ mtctr r12 +/* 800E003C 000DCF9C 4E 80 04 21 */ bctrl +/* 800E0040 000DCFA0 3B DF 02 28 */ addi r30, r31, 0x228 +/* 800E0044 000DCFA4 38 81 00 0C */ addi r4, r1, 0xc +/* 800E0048 000DCFA8 7F C3 F3 78 */ mr r3, r30 +/* 800E004C 000DCFAC 48 26 0E 5D */ bl __ct__6CTokenFRC6CToken +/* 800E0050 000DCFB0 38 00 00 00 */ li r0, 0 +/* 800E0054 000DCFB4 38 61 00 0C */ addi r3, r1, 0xc +/* 800E0058 000DCFB8 90 1E 00 08 */ stw r0, 8(r30) +/* 800E005C 000DCFBC 38 80 FF FF */ li r4, -1 +/* 800E0060 000DCFC0 48 26 0D E1 */ bl __dt__6CTokenFv +/* 800E0064 000DCFC4 38 80 00 00 */ li r4, 0 +/* 800E0068 000DCFC8 C0 02 8F 70 */ lfs f0, lbl_805AAC90@sda21(r2) +/* 800E006C 000DCFCC 90 9F 02 34 */ stw r4, 0x234(r31) +/* 800E0070 000DCFD0 7F E3 FB 78 */ mr r3, r31 +/* 800E0074 000DCFD4 90 9F 02 38 */ stw r4, 0x238(r31) +/* 800E0078 000DCFD8 D0 1F 02 3C */ stfs f0, 0x23c(r31) +/* 800E007C 000DCFDC 90 9F 02 40 */ stw r4, 0x240(r31) +/* 800E0080 000DCFE0 88 1F 02 44 */ lbz r0, 0x244(r31) +/* 800E0084 000DCFE4 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800E0088 000DCFE8 98 1F 02 44 */ stb r0, 0x244(r31) +/* 800E008C 000DCFEC 88 1F 02 44 */ lbz r0, 0x244(r31) +/* 800E0090 000DCFF0 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 800E0094 000DCFF4 98 1F 02 44 */ stb r0, 0x244(r31) +/* 800E0098 000DCFF8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800E009C 000DCFFC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800E00A0 000DD000 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800E00A4 000DD004 7C 08 03 A6 */ mtlr r0 +/* 800E00A8 000DD008 38 21 00 30 */ addi r1, r1, 0x30 +/* 800E00AC 000DD00C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CSamusDoll.s b/asm/Kyoto_CWD/CSamusDoll.s new file mode 100644 index 00000000..69096f9a --- /dev/null +++ b/asm/Kyoto_CWD/CSamusDoll.s @@ -0,0 +1,4284 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global SetRotationSfxPlaying__10CSamusDollFb +SetRotationSfxPlaying__10CSamusDollFb: +/* 800DAA30 000D7990 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DAA34 000D7994 7C 08 02 A6 */ mflr r0 +/* 800DAA38 000D7998 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DAA3C 000D799C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800DAA40 000D79A0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DAA44 000D79A4 7C 7F 1B 78 */ mr r31, r3 +/* 800DAA48 000D79A8 41 82 00 40 */ beq lbl_800DAA88 +/* 800DAA4C 000D79AC 80 1F 02 68 */ lwz r0, 0x268(r31) +/* 800DAA50 000D79B0 28 00 00 00 */ cmplwi r0, 0 +/* 800DAA54 000D79B4 40 82 00 4C */ bne lbl_800DAAA0 +/* 800DAA58 000D79B8 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800DAA5C 000D79BC 38 61 00 0C */ addi r3, r1, 0xc +/* 800DAA60 000D79C0 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800DAA64 000D79C4 38 80 05 5F */ li r4, 0x55f +/* 800DAA68 000D79C8 38 A0 00 7F */ li r5, 0x7f +/* 800DAA6C 000D79CC 38 C0 00 40 */ li r6, 0x40 +/* 800DAA70 000D79D0 38 E0 00 00 */ li r7, 0 +/* 800DAA74 000D79D4 39 20 00 01 */ li r9, 1 +/* 800DAA78 000D79D8 48 20 F2 FD */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 800DAA7C 000D79DC 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800DAA80 000D79E0 90 1F 02 68 */ stw r0, 0x268(r31) +/* 800DAA84 000D79E4 48 00 00 1C */ b lbl_800DAAA0 +lbl_800DAA88: +/* 800DAA88 000D79E8 80 1F 02 68 */ lwz r0, 0x268(r31) +/* 800DAA8C 000D79EC 38 61 00 08 */ addi r3, r1, 8 +/* 800DAA90 000D79F0 90 01 00 08 */ stw r0, 8(r1) +/* 800DAA94 000D79F4 48 20 F2 B5 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 800DAA98 000D79F8 38 00 00 00 */ li r0, 0 +/* 800DAA9C 000D79FC 90 1F 02 68 */ stw r0, 0x268(r31) +lbl_800DAAA0: +/* 800DAAA0 000D7A00 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DAAA4 000D7A04 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DAAA8 000D7A08 7C 08 03 A6 */ mtlr r0 +/* 800DAAAC 000D7A0C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DAAB0 000D7A10 4E 80 00 20 */ blr + +.global SetZoomSfxPlaying__10CSamusDollFb +SetZoomSfxPlaying__10CSamusDollFb: +/* 800DAAB4 000D7A14 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DAAB8 000D7A18 7C 08 02 A6 */ mflr r0 +/* 800DAABC 000D7A1C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DAAC0 000D7A20 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800DAAC4 000D7A24 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DAAC8 000D7A28 7C 7F 1B 78 */ mr r31, r3 +/* 800DAACC 000D7A2C 41 82 00 40 */ beq lbl_800DAB0C +/* 800DAAD0 000D7A30 80 1F 02 6C */ lwz r0, 0x26c(r31) +/* 800DAAD4 000D7A34 28 00 00 00 */ cmplwi r0, 0 +/* 800DAAD8 000D7A38 40 82 00 4C */ bne lbl_800DAB24 +/* 800DAADC 000D7A3C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800DAAE0 000D7A40 38 61 00 0C */ addi r3, r1, 0xc +/* 800DAAE4 000D7A44 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800DAAE8 000D7A48 38 80 05 60 */ li r4, 0x560 +/* 800DAAEC 000D7A4C 38 A0 00 7F */ li r5, 0x7f +/* 800DAAF0 000D7A50 38 C0 00 40 */ li r6, 0x40 +/* 800DAAF4 000D7A54 38 E0 00 00 */ li r7, 0 +/* 800DAAF8 000D7A58 39 20 00 01 */ li r9, 1 +/* 800DAAFC 000D7A5C 48 20 F2 79 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 800DAB00 000D7A60 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800DAB04 000D7A64 90 1F 02 6C */ stw r0, 0x26c(r31) +/* 800DAB08 000D7A68 48 00 00 1C */ b lbl_800DAB24 +lbl_800DAB0C: +/* 800DAB0C 000D7A6C 80 1F 02 6C */ lwz r0, 0x26c(r31) +/* 800DAB10 000D7A70 38 61 00 08 */ addi r3, r1, 8 +/* 800DAB14 000D7A74 90 01 00 08 */ stw r0, 8(r1) +/* 800DAB18 000D7A78 48 20 F2 31 */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 800DAB1C 000D7A7C 38 00 00 00 */ li r0, 0 +/* 800DAB20 000D7A80 90 1F 02 6C */ stw r0, 0x26c(r31) +lbl_800DAB24: +/* 800DAB24 000D7A84 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DAB28 000D7A88 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DAB2C 000D7A8C 7C 08 03 A6 */ mtlr r0 +/* 800DAB30 000D7A90 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DAB34 000D7A94 4E 80 00 20 */ blr + +.global SetOffsetSfxPlaying__10CSamusDollFb +SetOffsetSfxPlaying__10CSamusDollFb: +/* 800DAB38 000D7A98 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DAB3C 000D7A9C 7C 08 02 A6 */ mflr r0 +/* 800DAB40 000D7AA0 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DAB44 000D7AA4 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800DAB48 000D7AA8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DAB4C 000D7AAC 7C 7F 1B 78 */ mr r31, r3 +/* 800DAB50 000D7AB0 41 82 00 40 */ beq lbl_800DAB90 +/* 800DAB54 000D7AB4 80 1F 02 64 */ lwz r0, 0x264(r31) +/* 800DAB58 000D7AB8 28 00 00 00 */ cmplwi r0, 0 +/* 800DAB5C 000D7ABC 40 82 00 4C */ bne lbl_800DABA8 +/* 800DAB60 000D7AC0 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800DAB64 000D7AC4 38 61 00 0C */ addi r3, r1, 0xc +/* 800DAB68 000D7AC8 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800DAB6C 000D7ACC 38 80 05 7E */ li r4, 0x57e +/* 800DAB70 000D7AD0 38 A0 00 7F */ li r5, 0x7f +/* 800DAB74 000D7AD4 38 C0 00 40 */ li r6, 0x40 +/* 800DAB78 000D7AD8 38 E0 00 00 */ li r7, 0 +/* 800DAB7C 000D7ADC 39 20 00 01 */ li r9, 1 +/* 800DAB80 000D7AE0 48 20 F1 F5 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 800DAB84 000D7AE4 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800DAB88 000D7AE8 90 1F 02 64 */ stw r0, 0x264(r31) +/* 800DAB8C 000D7AEC 48 00 00 1C */ b lbl_800DABA8 +lbl_800DAB90: +/* 800DAB90 000D7AF0 80 1F 02 64 */ lwz r0, 0x264(r31) +/* 800DAB94 000D7AF4 38 61 00 08 */ addi r3, r1, 8 +/* 800DAB98 000D7AF8 90 01 00 08 */ stw r0, 8(r1) +/* 800DAB9C 000D7AFC 48 20 F1 AD */ bl SfxStop__11CSfxManagerFRC10CSfxHandle +/* 800DABA0 000D7B00 38 00 00 00 */ li r0, 0 +/* 800DABA4 000D7B04 90 1F 02 64 */ stw r0, 0x264(r31) +lbl_800DABA8: +/* 800DABA8 000D7B08 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DABAC 000D7B0C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DABB0 000D7B10 7C 08 03 A6 */ mtlr r0 +/* 800DABB4 000D7B14 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DABB8 000D7B18 4E 80 00 20 */ blr + +.global BeginViewInterpolate__10CSamusDollFb +BeginViewInterpolate__10CSamusDollFb: +/* 800DABBC 000D7B1C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DABC0 000D7B20 7C 08 02 A6 */ mflr r0 +/* 800DABC4 000D7B24 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DABC8 000D7B28 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DABCC 000D7B2C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DABD0 000D7B30 7C 9F 23 78 */ mr r31, r4 +/* 800DABD4 000D7B34 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DABD8 000D7B38 7C 7E 1B 78 */ mr r30, r3 +/* 800DABDC 000D7B3C C0 23 00 C4 */ lfs f1, 0xc4(r3) +/* 800DABE0 000D7B40 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800DABE4 000D7B44 40 82 00 2C */ bne lbl_800DAC10 +/* 800DABE8 000D7B48 A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800DABEC 000D7B4C 38 61 00 0C */ addi r3, r1, 0xc +/* 800DABF0 000D7B50 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800DABF4 000D7B54 38 80 05 A0 */ li r4, 0x5a0 +/* 800DABF8 000D7B58 38 A0 00 7F */ li r5, 0x7f +/* 800DABFC 000D7B5C 38 C0 00 40 */ li r6, 0x40 +/* 800DAC00 000D7B60 38 E0 00 00 */ li r7, 0 +/* 800DAC04 000D7B64 39 20 00 00 */ li r9, 0 +/* 800DAC08 000D7B68 48 20 F1 6D */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 800DAC0C 000D7B6C 48 00 00 5C */ b lbl_800DAC68 +lbl_800DAC10: +/* 800DAC10 000D7B70 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DAC14 000D7B74 FC 00 08 00 */ fcmpu cr0, f0, f1 +/* 800DAC18 000D7B78 40 82 00 C0 */ bne lbl_800DACD8 +/* 800DAC1C 000D7B7C 38 80 00 00 */ li r4, 0 +/* 800DAC20 000D7B80 4B FF FF 19 */ bl SetOffsetSfxPlaying__10CSamusDollFb +/* 800DAC24 000D7B84 7F C3 F3 78 */ mr r3, r30 +/* 800DAC28 000D7B88 38 80 00 00 */ li r4, 0 +/* 800DAC2C 000D7B8C 4B FF FE 89 */ bl SetZoomSfxPlaying__10CSamusDollFb +/* 800DAC30 000D7B90 7F C3 F3 78 */ mr r3, r30 +/* 800DAC34 000D7B94 38 80 00 00 */ li r4, 0 +/* 800DAC38 000D7B98 4B FF FD F9 */ bl SetRotationSfxPlaying__10CSamusDollFb +/* 800DAC3C 000D7B9C A9 02 C5 FA */ lha r8, lbl_805AE31A@sda21(r2) +/* 800DAC40 000D7BA0 38 61 00 08 */ addi r3, r1, 8 +/* 800DAC44 000D7BA4 81 42 C6 00 */ lwz r10, lbl_805AE320@sda21(r2) +/* 800DAC48 000D7BA8 38 80 05 A1 */ li r4, 0x5a1 +/* 800DAC4C 000D7BAC 38 A0 00 7F */ li r5, 0x7f +/* 800DAC50 000D7BB0 38 C0 00 40 */ li r6, 0x40 +/* 800DAC54 000D7BB4 38 E0 00 00 */ li r7, 0 +/* 800DAC58 000D7BB8 39 20 00 00 */ li r9, 0 +/* 800DAC5C 000D7BBC 48 20 F1 19 */ bl SfxStart__11CSfxManagerFUsssbsbi +/* 800DAC60 000D7BC0 48 00 00 08 */ b lbl_800DAC68 +/* 800DAC64 000D7BC4 48 00 00 74 */ b lbl_800DACD8 +lbl_800DAC68: +/* 800DAC68 000D7BC8 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800DAC6C 000D7BCC 41 82 00 0C */ beq lbl_800DAC78 +/* 800DAC70 000D7BD0 C0 02 8E 98 */ lfs f0, lbl_805AABB8@sda21(r2) +/* 800DAC74 000D7BD4 48 00 00 08 */ b lbl_800DAC7C +lbl_800DAC78: +/* 800DAC78 000D7BD8 C0 02 8E 9C */ lfs f0, lbl_805AABBC@sda21(r2) +lbl_800DAC7C: +/* 800DAC7C 000D7BDC D0 1E 00 C4 */ stfs f0, 0xc4(r30) +/* 800DAC80 000D7BE0 57 E0 06 3F */ clrlwi. r0, r31, 0x18 +/* 800DAC84 000D7BE4 C0 1E 00 A4 */ lfs f0, 0xa4(r30) +/* 800DAC88 000D7BE8 D0 1E 00 84 */ stfs f0, 0x84(r30) +/* 800DAC8C 000D7BEC C0 1E 00 A8 */ lfs f0, 0xa8(r30) +/* 800DAC90 000D7BF0 D0 1E 00 88 */ stfs f0, 0x88(r30) +/* 800DAC94 000D7BF4 C0 1E 00 AC */ lfs f0, 0xac(r30) +/* 800DAC98 000D7BF8 D0 1E 00 8C */ stfs f0, 0x8c(r30) +/* 800DAC9C 000D7BFC C0 1E 00 B0 */ lfs f0, 0xb0(r30) +/* 800DACA0 000D7C00 D0 1E 00 90 */ stfs f0, 0x90(r30) +/* 800DACA4 000D7C04 80 7E 00 B4 */ lwz r3, 0xb4(r30) +/* 800DACA8 000D7C08 80 1E 00 B8 */ lwz r0, 0xb8(r30) +/* 800DACAC 000D7C0C 90 7E 00 94 */ stw r3, 0x94(r30) +/* 800DACB0 000D7C10 90 1E 00 98 */ stw r0, 0x98(r30) +/* 800DACB4 000D7C14 80 1E 00 BC */ lwz r0, 0xbc(r30) +/* 800DACB8 000D7C18 90 1E 00 9C */ stw r0, 0x9c(r30) +/* 800DACBC 000D7C1C C0 1E 00 C0 */ lfs f0, 0xc0(r30) +/* 800DACC0 000D7C20 D0 1E 00 A0 */ stfs f0, 0xa0(r30) +/* 800DACC4 000D7C24 41 82 00 0C */ beq lbl_800DACD0 +/* 800DACC8 000D7C28 C0 02 8E A0 */ lfs f0, lbl_805AABC0@sda21(r2) +/* 800DACCC 000D7C2C 48 00 00 08 */ b lbl_800DACD4 +lbl_800DACD0: +/* 800DACD0 000D7C30 C0 02 8E A4 */ lfs f0, lbl_805AABC4@sda21(r2) +lbl_800DACD4: +/* 800DACD4 000D7C34 D0 1E 00 80 */ stfs f0, 0x80(r30) +lbl_800DACD8: +/* 800DACD8 000D7C38 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DACDC 000D7C3C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DACE0 000D7C40 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DACE4 000D7C44 7C 08 03 A6 */ mtlr r0 +/* 800DACE8 000D7C48 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DACEC 000D7C4C 4E 80 00 20 */ blr + +.global SetOffset__10CSamusDollFRC9CVector3ff +SetOffset__10CSamusDollFRC9CVector3ff: +/* 800DACF0 000D7C50 94 21 FE 90 */ stwu r1, -0x170(r1) +/* 800DACF4 000D7C54 7C 08 02 A6 */ mflr r0 +/* 800DACF8 000D7C58 90 01 01 74 */ stw r0, 0x174(r1) +/* 800DACFC 000D7C5C DB E1 01 60 */ stfd f31, 0x160(r1) +/* 800DAD00 000D7C60 F3 E1 01 68 */ psq_st f31, 360(r1), 0, qr0 +/* 800DAD04 000D7C64 DB C1 01 50 */ stfd f30, 0x150(r1) +/* 800DAD08 000D7C68 F3 C1 01 58 */ psq_st f30, 344(r1), 0, qr0 +/* 800DAD0C 000D7C6C DB A1 01 40 */ stfd f29, 0x140(r1) +/* 800DAD10 000D7C70 F3 A1 01 48 */ psq_st f29, 328(r1), 0, qr0 +/* 800DAD14 000D7C74 DB 81 01 30 */ stfd f28, 0x130(r1) +/* 800DAD18 000D7C78 F3 81 01 38 */ psq_st f28, 312(r1), 0, qr0 +/* 800DAD1C 000D7C7C DB 61 01 20 */ stfd f27, 0x120(r1) +/* 800DAD20 000D7C80 F3 61 01 28 */ psq_st f27, 296(r1), 0, qr0 +/* 800DAD24 000D7C84 DB 41 01 10 */ stfd f26, 0x110(r1) +/* 800DAD28 000D7C88 F3 41 01 18 */ psq_st f26, 280(r1), 0, qr0 +/* 800DAD2C 000D7C8C DB 21 01 00 */ stfd f25, 0x100(r1) +/* 800DAD30 000D7C90 F3 21 01 08 */ psq_st f25, 264(r1), 0, qr0 +/* 800DAD34 000D7C94 DB 01 00 F0 */ stfd f24, 0xf0(r1) +/* 800DAD38 000D7C98 F3 01 00 F8 */ psq_st f24, 248(r1), 0, qr0 +/* 800DAD3C 000D7C9C 93 E1 00 EC */ stw r31, 0xec(r1) +/* 800DAD40 000D7CA0 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 800DAD44 000D7CA4 93 A1 00 E4 */ stw r29, 0xe4(r1) +/* 800DAD48 000D7CA8 7C 7F 1B 78 */ mr r31, r3 +/* 800DAD4C 000D7CAC C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DAD50 000D7CB0 C0 43 00 C4 */ lfs f2, 0xc4(r3) +/* 800DAD54 000D7CB4 FF 00 08 90 */ fmr f24, f1 +/* 800DAD58 000D7CB8 7C 9D 23 78 */ mr r29, r4 +/* 800DAD5C 000D7CBC 38 00 00 00 */ li r0, 0 +/* 800DAD60 000D7CC0 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 800DAD64 000D7CC4 41 82 00 14 */ beq lbl_800DAD78 +/* 800DAD68 000D7CC8 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DAD6C 000D7CCC FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 800DAD70 000D7CD0 41 82 00 08 */ beq lbl_800DAD78 +/* 800DAD74 000D7CD4 38 00 00 01 */ li r0, 1 +lbl_800DAD78: +/* 800DAD78 000D7CD8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800DAD7C 000D7CDC 40 82 03 7C */ bne lbl_800DB0F8 +/* 800DAD80 000D7CE0 C3 3F 00 A4 */ lfs f25, 0xa4(r31) +/* 800DAD84 000D7CE4 38 61 00 98 */ addi r3, r1, 0x98 +/* 800DAD88 000D7CE8 C3 5F 00 A8 */ lfs f26, 0xa8(r31) +/* 800DAD8C 000D7CEC 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 800DAD90 000D7CF0 C3 7F 00 AC */ lfs f27, 0xac(r31) +/* 800DAD94 000D7CF4 C0 5D 00 08 */ lfs f2, 8(r29) +/* 800DAD98 000D7CF8 C0 3D 00 00 */ lfs f1, 0(r29) +/* 800DAD9C 000D7CFC C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DADA0 000D7D00 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 800DADA4 000D7D04 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800DADA8 000D7D08 D0 41 00 94 */ stfs f2, 0x94(r1) +/* 800DADAC 000D7D0C 48 23 72 E1 */ bl BuildTransform__11CQuaternionCFv +/* 800DADB0 000D7D10 38 61 00 BC */ addi r3, r1, 0xbc +/* 800DADB4 000D7D14 38 81 00 98 */ addi r4, r1, 0x98 +/* 800DADB8 000D7D18 48 23 52 6D */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800DADBC 000D7D1C 38 61 00 5C */ addi r3, r1, 0x5c +/* 800DADC0 000D7D20 38 81 00 BC */ addi r4, r1, 0xbc +/* 800DADC4 000D7D24 38 A1 00 8C */ addi r5, r1, 0x8c +/* 800DADC8 000D7D28 48 23 54 CD */ bl __ml__9CMatrix3fCFRC9CVector3f +/* 800DADCC 000D7D2C C0 3F 00 A4 */ lfs f1, 0xa4(r31) +/* 800DADD0 000D7D30 38 61 00 50 */ addi r3, r1, 0x50 +/* 800DADD4 000D7D34 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 800DADD8 000D7D38 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 800DADDC 000D7D3C EC 01 00 2A */ fadds f0, f1, f0 +/* 800DADE0 000D7D40 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 800DADE4 000D7D44 D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 800DADE8 000D7D48 C0 1F 00 A8 */ lfs f0, 0xa8(r31) +/* 800DADEC 000D7D4C EC 00 10 2A */ fadds f0, f0, f2 +/* 800DADF0 000D7D50 D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 800DADF4 000D7D54 C0 1F 00 AC */ lfs f0, 0xac(r31) +/* 800DADF8 000D7D58 EC 00 08 2A */ fadds f0, f0, f1 +/* 800DADFC 000D7D5C D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 800DAE00 000D7D60 C0 5F 00 A8 */ lfs f2, 0xa8(r31) +/* 800DAE04 000D7D64 C0 3F 00 AC */ lfs f1, 0xac(r31) +/* 800DAE08 000D7D68 C0 1F 00 A4 */ lfs f0, 0xa4(r31) +/* 800DAE0C 000D7D6C EC 5A 10 28 */ fsubs f2, f26, f2 +/* 800DAE10 000D7D70 EC 3B 08 28 */ fsubs f1, f27, f1 +/* 800DAE14 000D7D74 EC 19 00 28 */ fsubs f0, f25, f0 +/* 800DAE18 000D7D78 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800DAE1C 000D7D7C D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800DAE20 000D7D80 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800DAE24 000D7D84 48 23 9A 95 */ bl Magnitude__9CVector3fCFv +/* 800DAE28 000D7D88 FC 01 C0 40 */ fcmpo cr0, f1, f24 +/* 800DAE2C 000D7D8C 40 81 00 14 */ ble lbl_800DAE40 +/* 800DAE30 000D7D90 7F E3 FB 78 */ mr r3, r31 +/* 800DAE34 000D7D94 38 80 00 01 */ li r4, 1 +/* 800DAE38 000D7D98 4B FF FD 01 */ bl SetOffsetSfxPlaying__10CSamusDollFb +/* 800DAE3C 000D7D9C 48 00 00 10 */ b lbl_800DAE4C +lbl_800DAE40: +/* 800DAE40 000D7DA0 7F E3 FB 78 */ mr r3, r31 +/* 800DAE44 000D7DA4 38 80 00 00 */ li r4, 0 +/* 800DAE48 000D7DA8 4B FF FC F1 */ bl SetOffsetSfxPlaying__10CSamusDollFb +lbl_800DAE4C: +/* 800DAE4C 000D7DAC C3 3F 00 C0 */ lfs f25, 0xc0(r31) +/* 800DAE50 000D7DB0 38 81 00 08 */ addi r4, r1, 8 +/* 800DAE54 000D7DB4 C0 1D 00 04 */ lfs f0, 4(r29) +/* 800DAE58 000D7DB8 38 62 8E A8 */ addi r3, r2, lbl_805AABC8@sda21 +/* 800DAE5C 000D7DBC 38 A2 8E AC */ addi r5, r2, lbl_805AABCC@sda21 +/* 800DAE60 000D7DC0 EC 19 00 2A */ fadds f0, f25, f0 +/* 800DAE64 000D7DC4 D0 01 00 08 */ stfs f0, 8(r1) +/* 800DAE68 000D7DC8 4B F3 14 4D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800DAE6C 000D7DCC C0 03 00 00 */ lfs f0, 0(r3) +/* 800DAE70 000D7DD0 3B C0 00 00 */ li r30, 0 +/* 800DAE74 000D7DD4 D0 1F 00 C0 */ stfs f0, 0xc0(r31) +/* 800DAE78 000D7DD8 C0 1F 00 C0 */ lfs f0, 0xc0(r31) +/* 800DAE7C 000D7DDC EC 00 C8 28 */ fsubs f0, f0, f25 +/* 800DAE80 000D7DE0 FC 00 02 10 */ fabs f0, f0 +/* 800DAE84 000D7DE4 FC 00 00 18 */ frsp f0, f0 +/* 800DAE88 000D7DE8 FC 00 C0 40 */ fcmpo cr0, f0, f24 +/* 800DAE8C 000D7DEC 40 81 00 08 */ ble lbl_800DAE94 +/* 800DAE90 000D7DF0 3B C0 00 01 */ li r30, 1 +lbl_800DAE94: +/* 800DAE94 000D7DF4 C0 1F 00 C0 */ lfs f0, 0xc0(r31) +/* 800DAE98 000D7DF8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800DAE9C 000D7DFC C0 9D 00 04 */ lfs f4, 4(r29) +/* 800DAEA0 000D7E00 38 00 00 00 */ li r0, 0 +/* 800DAEA4 000D7E04 EC 60 C8 28 */ fsubs f3, f0, f25 +/* 800DAEA8 000D7E08 C0 41 00 C0 */ lfs f2, 0xc0(r1) +/* 800DAEAC 000D7E0C C0 21 00 CC */ lfs f1, 0xcc(r1) +/* 800DAEB0 000D7E10 C0 01 00 D8 */ lfs f0, 0xd8(r1) +/* 800DAEB4 000D7E14 EF 24 18 28 */ fsubs f25, f4, f3 +/* 800DAEB8 000D7E18 C3 9F 00 A4 */ lfs f28, 0xa4(r31) +/* 800DAEBC 000D7E1C C3 7F 00 A8 */ lfs f27, 0xa8(r31) +/* 800DAEC0 000D7E20 C3 5F 00 AC */ lfs f26, 0xac(r31) +/* 800DAEC4 000D7E24 EC 59 00 B2 */ fmuls f2, f25, f2 +/* 800DAEC8 000D7E28 C4 C3 66 A0 */ lfsu f6, skZero3f@l(r3) +/* 800DAECC 000D7E2C EC 39 00 72 */ fmuls f1, f25, f1 +/* 800DAED0 000D7E30 EC 19 00 32 */ fmuls f0, f25, f0 +/* 800DAED4 000D7E34 EF BC 10 2A */ fadds f29, f28, f2 +/* 800DAED8 000D7E38 EF DB 08 2A */ fadds f30, f27, f1 +/* 800DAEDC 000D7E3C EF FA 00 2A */ fadds f31, f26, f0 +/* 800DAEE0 000D7E40 EC 1D E0 28 */ fsubs f0, f29, f28 +/* 800DAEE4 000D7E44 EC 5E D8 28 */ fsubs f2, f30, f27 +/* 800DAEE8 000D7E48 EC 3F D0 28 */ fsubs f1, f31, f26 +/* 800DAEEC 000D7E4C FC 00 30 00 */ fcmpu cr0, f0, f6 +/* 800DAEF0 000D7E50 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 800DAEF4 000D7E54 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 800DAEF8 000D7E58 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 800DAEFC 000D7E5C 40 82 00 20 */ bne lbl_800DAF1C +/* 800DAF00 000D7E60 C0 03 00 04 */ lfs f0, 4(r3) +/* 800DAF04 000D7E64 FC 02 00 00 */ fcmpu cr0, f2, f0 +/* 800DAF08 000D7E68 40 82 00 14 */ bne lbl_800DAF1C +/* 800DAF0C 000D7E6C C0 03 00 08 */ lfs f0, 8(r3) +/* 800DAF10 000D7E70 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800DAF14 000D7E74 40 82 00 08 */ bne lbl_800DAF1C +/* 800DAF18 000D7E78 38 00 00 01 */ li r0, 1 +lbl_800DAF1C: +/* 800DAF1C 000D7E7C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800DAF20 000D7E80 40 82 00 F8 */ bne lbl_800DB018 +/* 800DAF24 000D7E84 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800DAF28 000D7E88 3C 60 80 47 */ lis r3, lbl_8046C47C@ha +/* 800DAF2C 000D7E8C 38 A3 C4 7C */ addi r5, r3, lbl_8046C47C@l +/* 800DAF30 000D7E90 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DAF34 000D7E94 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 800DAF38 000D7E98 C0 65 00 00 */ lfs f3, 0(r5) +/* 800DAF3C 000D7E9C C0 A4 00 04 */ lfs f5, 4(r4) +/* 800DAF40 000D7EA0 38 61 00 34 */ addi r3, r1, 0x34 +/* 800DAF44 000D7EA4 C0 84 00 08 */ lfs f4, 8(r4) +/* 800DAF48 000D7EA8 38 81 00 80 */ addi r4, r1, 0x80 +/* 800DAF4C 000D7EAC C0 45 00 04 */ lfs f2, 4(r5) +/* 800DAF50 000D7EB0 C0 25 00 08 */ lfs f1, 8(r5) +/* 800DAF54 000D7EB4 D0 C1 00 74 */ stfs f6, 0x74(r1) +/* 800DAF58 000D7EB8 D0 A1 00 78 */ stfs f5, 0x78(r1) +/* 800DAF5C 000D7EBC D0 81 00 7C */ stfs f4, 0x7c(r1) +/* 800DAF60 000D7EC0 D0 61 00 40 */ stfs f3, 0x40(r1) +/* 800DAF64 000D7EC4 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800DAF68 000D7EC8 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800DAF6C 000D7ECC D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800DAF70 000D7ED0 48 23 98 E1 */ bl AsNormalized__9CVector3fCFv +/* 800DAF74 000D7ED4 C0 22 8E 90 */ lfs f1, lbl_805AABB0@sda21(r2) +/* 800DAF78 000D7ED8 38 61 00 40 */ addi r3, r1, 0x40 +/* 800DAF7C 000D7EDC 38 9F 00 A4 */ addi r4, r31, 0xa4 +/* 800DAF80 000D7EE0 38 A1 00 34 */ addi r5, r1, 0x34 +/* 800DAF84 000D7EE4 38 C1 00 0C */ addi r6, r1, 0xc +/* 800DAF88 000D7EE8 38 E1 00 74 */ addi r7, r1, 0x74 +/* 800DAF8C 000D7EEC 48 1F 8B 7D */ bl RaySphereIntersection__13CollisionUtilFRC7CSphereRC9CVector3fRC9CVector3ffRfR9CVector3f +/* 800DAF90 000D7EF0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DAF94 000D7EF4 41 82 00 78 */ beq lbl_800DB00C +/* 800DAF98 000D7EF8 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 800DAF9C 000D7EFC 38 61 00 28 */ addi r3, r1, 0x28 +/* 800DAFA0 000D7F00 C0 1F 00 A8 */ lfs f0, 0xa8(r31) +/* 800DAFA4 000D7F04 C0 61 00 7C */ lfs f3, 0x7c(r1) +/* 800DAFA8 000D7F08 C0 5F 00 AC */ lfs f2, 0xac(r31) +/* 800DAFAC 000D7F0C EC 81 00 28 */ fsubs f4, f1, f0 +/* 800DAFB0 000D7F10 C0 1F 00 A4 */ lfs f0, 0xa4(r31) +/* 800DAFB4 000D7F14 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 800DAFB8 000D7F18 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800DAFBC 000D7F1C D0 81 00 2C */ stfs f4, 0x2c(r1) +/* 800DAFC0 000D7F20 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800DAFC4 000D7F24 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 800DAFC8 000D7F28 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800DAFCC 000D7F2C 48 23 98 ED */ bl Magnitude__9CVector3fCFv +/* 800DAFD0 000D7F30 FC 00 CA 10 */ fabs f0, f25 +/* 800DAFD4 000D7F34 FC 00 00 18 */ frsp f0, f0 +/* 800DAFD8 000D7F38 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DAFDC 000D7F3C 40 80 00 20 */ bge lbl_800DAFFC +/* 800DAFE0 000D7F40 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 800DAFE4 000D7F44 D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 800DAFE8 000D7F48 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 800DAFEC 000D7F4C D0 1F 00 A8 */ stfs f0, 0xa8(r31) +/* 800DAFF0 000D7F50 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 800DAFF4 000D7F54 D0 1F 00 AC */ stfs f0, 0xac(r31) +/* 800DAFF8 000D7F58 48 00 00 20 */ b lbl_800DB018 +lbl_800DAFFC: +/* 800DAFFC 000D7F5C D3 BF 00 A4 */ stfs f29, 0xa4(r31) +/* 800DB000 000D7F60 D3 DF 00 A8 */ stfs f30, 0xa8(r31) +/* 800DB004 000D7F64 D3 FF 00 AC */ stfs f31, 0xac(r31) +/* 800DB008 000D7F68 48 00 00 10 */ b lbl_800DB018 +lbl_800DB00C: +/* 800DB00C 000D7F6C D3 BF 00 A4 */ stfs f29, 0xa4(r31) +/* 800DB010 000D7F70 D3 DF 00 A8 */ stfs f30, 0xa8(r31) +/* 800DB014 000D7F74 D3 FF 00 AC */ stfs f31, 0xac(r31) +lbl_800DB018: +/* 800DB018 000D7F78 C0 5F 00 A8 */ lfs f2, 0xa8(r31) +/* 800DB01C 000D7F7C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800DB020 000D7F80 C0 3F 00 AC */ lfs f1, 0xac(r31) +/* 800DB024 000D7F84 C0 1F 00 A4 */ lfs f0, 0xa4(r31) +/* 800DB028 000D7F88 EC 5B 10 28 */ fsubs f2, f27, f2 +/* 800DB02C 000D7F8C EC 3A 08 28 */ fsubs f1, f26, f1 +/* 800DB030 000D7F90 EC 1C 00 28 */ fsubs f0, f28, f0 +/* 800DB034 000D7F94 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 800DB038 000D7F98 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800DB03C 000D7F9C D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800DB040 000D7FA0 48 23 98 79 */ bl Magnitude__9CVector3fCFv +/* 800DB044 000D7FA4 FC 01 C0 40 */ fcmpo cr0, f1, f24 +/* 800DB048 000D7FA8 40 81 00 08 */ ble lbl_800DB050 +/* 800DB04C 000D7FAC 3B C0 00 01 */ li r30, 1 +lbl_800DB050: +/* 800DB050 000D7FB0 7F E3 FB 78 */ mr r3, r31 +/* 800DB054 000D7FB4 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 800DB058 000D7FB8 4B FF FA 5D */ bl SetZoomSfxPlaying__10CSamusDollFb +/* 800DB05C 000D7FBC 3C 60 80 47 */ lis r3, lbl_8046C47C@ha +/* 800DB060 000D7FC0 C0 9F 00 A8 */ lfs f4, 0xa8(r31) +/* 800DB064 000D7FC4 3B C3 C4 7C */ addi r30, r3, lbl_8046C47C@l +/* 800DB068 000D7FC8 C0 7F 00 AC */ lfs f3, 0xac(r31) +/* 800DB06C 000D7FCC C0 1E 00 04 */ lfs f0, 4(r30) +/* 800DB070 000D7FD0 38 61 00 68 */ addi r3, r1, 0x68 +/* 800DB074 000D7FD4 C0 5E 00 08 */ lfs f2, 8(r30) +/* 800DB078 000D7FD8 C0 3F 00 A4 */ lfs f1, 0xa4(r31) +/* 800DB07C 000D7FDC EC 84 00 28 */ fsubs f4, f4, f0 +/* 800DB080 000D7FE0 C0 1E 00 00 */ lfs f0, 0(r30) +/* 800DB084 000D7FE4 EC 43 10 28 */ fsubs f2, f3, f2 +/* 800DB088 000D7FE8 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800DB08C 000D7FEC D0 81 00 6C */ stfs f4, 0x6c(r1) +/* 800DB090 000D7FF0 D0 41 00 70 */ stfs f2, 0x70(r1) +/* 800DB094 000D7FF4 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 800DB098 000D7FF8 48 23 98 21 */ bl Magnitude__9CVector3fCFv +/* 800DB09C 000D7FFC C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DB0A0 000D8000 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DB0A4 000D8004 40 81 00 54 */ ble lbl_800DB0F8 +/* 800DB0A8 000D8008 38 61 00 10 */ addi r3, r1, 0x10 +/* 800DB0AC 000D800C 38 81 00 68 */ addi r4, r1, 0x68 +/* 800DB0B0 000D8010 48 23 97 A1 */ bl AsNormalized__9CVector3fCFv +/* 800DB0B4 000D8014 C0 A2 8E 94 */ lfs f5, lbl_805AABB4@sda21(r2) +/* 800DB0B8 000D8018 3C 60 80 47 */ lis r3, lbl_8046C47C@ha +/* 800DB0BC 000D801C C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800DB0C0 000D8020 C0 61 00 14 */ lfs f3, 0x14(r1) +/* 800DB0C4 000D8024 EC 05 00 32 */ fmuls f0, f5, f0 +/* 800DB0C8 000D8028 C0 23 C4 7C */ lfs f1, lbl_8046C47C@l(r3) +/* 800DB0CC 000D802C EC 85 00 F2 */ fmuls f4, f5, f3 +/* 800DB0D0 000D8030 C0 41 00 18 */ lfs f2, 0x18(r1) +/* 800DB0D4 000D8034 C0 DE 00 04 */ lfs f6, 4(r30) +/* 800DB0D8 000D8038 EC 01 00 2A */ fadds f0, f1, f0 +/* 800DB0DC 000D803C C0 7E 00 08 */ lfs f3, 8(r30) +/* 800DB0E0 000D8040 EC 25 00 B2 */ fmuls f1, f5, f2 +/* 800DB0E4 000D8044 EC 46 20 2A */ fadds f2, f6, f4 +/* 800DB0E8 000D8048 D0 1F 00 A4 */ stfs f0, 0xa4(r31) +/* 800DB0EC 000D804C EC 03 08 2A */ fadds f0, f3, f1 +/* 800DB0F0 000D8050 D0 5F 00 A8 */ stfs f2, 0xa8(r31) +/* 800DB0F4 000D8054 D0 1F 00 AC */ stfs f0, 0xac(r31) +lbl_800DB0F8: +/* 800DB0F8 000D8058 E3 E1 01 68 */ psq_l f31, 360(r1), 0, qr0 +/* 800DB0FC 000D805C CB E1 01 60 */ lfd f31, 0x160(r1) +/* 800DB100 000D8060 E3 C1 01 58 */ psq_l f30, 344(r1), 0, qr0 +/* 800DB104 000D8064 CB C1 01 50 */ lfd f30, 0x150(r1) +/* 800DB108 000D8068 E3 A1 01 48 */ psq_l f29, 328(r1), 0, qr0 +/* 800DB10C 000D806C CB A1 01 40 */ lfd f29, 0x140(r1) +/* 800DB110 000D8070 E3 81 01 38 */ psq_l f28, 312(r1), 0, qr0 +/* 800DB114 000D8074 CB 81 01 30 */ lfd f28, 0x130(r1) +/* 800DB118 000D8078 E3 61 01 28 */ psq_l f27, 296(r1), 0, qr0 +/* 800DB11C 000D807C CB 61 01 20 */ lfd f27, 0x120(r1) +/* 800DB120 000D8080 E3 41 01 18 */ psq_l f26, 280(r1), 0, qr0 +/* 800DB124 000D8084 CB 41 01 10 */ lfd f26, 0x110(r1) +/* 800DB128 000D8088 E3 21 01 08 */ psq_l f25, 264(r1), 0, qr0 +/* 800DB12C 000D808C CB 21 01 00 */ lfd f25, 0x100(r1) +/* 800DB130 000D8090 E3 01 00 F8 */ psq_l f24, 248(r1), 0, qr0 +/* 800DB134 000D8094 CB 01 00 F0 */ lfd f24, 0xf0(r1) +/* 800DB138 000D8098 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 800DB13C 000D809C 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 800DB140 000D80A0 80 01 01 74 */ lwz r0, 0x174(r1) +/* 800DB144 000D80A4 83 A1 00 E4 */ lwz r29, 0xe4(r1) +/* 800DB148 000D80A8 7C 08 03 A6 */ mtlr r0 +/* 800DB14C 000D80AC 38 21 01 70 */ addi r1, r1, 0x170 + +.global sub_800db150 +sub_800db150: +/* 800DB150 000D80B0 4E 80 00 20 */ blr + +.global SetRotation__10CSamusDollFfff +SetRotation__10CSamusDollFfff: +/* 800DB154 000D80B4 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 800DB158 000D80B8 7C 08 02 A6 */ mflr r0 +/* 800DB15C 000D80BC 90 01 01 04 */ stw r0, 0x104(r1) +/* 800DB160 000D80C0 DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 800DB164 000D80C4 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 800DB168 000D80C8 DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 800DB16C 000D80CC F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 +/* 800DB170 000D80D0 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 800DB174 000D80D4 7C 7F 1B 78 */ mr r31, r3 +/* 800DB178 000D80D8 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DB17C 000D80DC C0 63 00 C4 */ lfs f3, 0xc4(r3) +/* 800DB180 000D80E0 FF C0 08 90 */ fmr f30, f1 +/* 800DB184 000D80E4 FF E0 10 90 */ fmr f31, f2 +/* 800DB188 000D80E8 38 00 00 00 */ li r0, 0 +/* 800DB18C 000D80EC FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 800DB190 000D80F0 41 82 00 14 */ beq lbl_800DB1A4 +/* 800DB194 000D80F4 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DB198 000D80F8 FC 00 18 00 */ fcmpu cr0, f0, f3 +/* 800DB19C 000D80FC 41 82 00 08 */ beq lbl_800DB1A4 +/* 800DB1A0 000D8100 38 00 00 01 */ li r0, 1 +lbl_800DB1A4: +/* 800DB1A4 000D8104 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800DB1A8 000D8108 40 82 02 64 */ bne lbl_800DB40C +/* 800DB1AC 000D810C C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DB1B0 000D8110 7F E3 FB 78 */ mr r3, r31 +/* 800DB1B4 000D8114 38 80 00 00 */ li r4, 0 +/* 800DB1B8 000D8118 FC 00 F0 00 */ fcmpu cr0, f0, f30 +/* 800DB1BC 000D811C 40 82 00 0C */ bne lbl_800DB1C8 +/* 800DB1C0 000D8120 FC 00 F8 00 */ fcmpu cr0, f0, f31 +/* 800DB1C4 000D8124 41 82 00 08 */ beq lbl_800DB1CC +lbl_800DB1C8: +/* 800DB1C8 000D8128 38 80 00 01 */ li r4, 1 +lbl_800DB1CC: +/* 800DB1CC 000D812C 4B FF F8 65 */ bl SetRotationSfxPlaying__10CSamusDollFb +/* 800DB1D0 000D8130 38 61 00 70 */ addi r3, r1, 0x70 +/* 800DB1D4 000D8134 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 800DB1D8 000D8138 4B F4 03 ED */ bl FromQuaternion__12CEulerAnglesFRC11CQuaternion +/* 800DB1DC 000D813C C0 81 00 70 */ lfs f4, 0x70(r1) +/* 800DB1E0 000D8140 3C 00 43 30 */ lis r0, 0x4330 +/* 800DB1E4 000D8144 C0 02 8E B0 */ lfs f0, lbl_805AABD0@sda21(r2) +/* 800DB1E8 000D8148 90 01 00 88 */ stw r0, 0x88(r1) +/* 800DB1EC 000D814C EC 44 00 32 */ fmuls f2, f4, f0 +/* 800DB1F0 000D8150 C8 62 8E C8 */ lfd f3, lbl_805AABE8@sda21(r2) +/* 800DB1F4 000D8154 C0 22 8E B4 */ lfs f1, lbl_805AABD4@sda21(r2) +/* 800DB1F8 000D8158 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DB1FC 000D815C FC 40 10 1E */ fctiwz f2, f2 +/* 800DB200 000D8160 C0 A1 00 78 */ lfs f5, 0x78(r1) +/* 800DB204 000D8164 D8 41 00 80 */ stfd f2, 0x80(r1) +/* 800DB208 000D8168 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800DB20C 000D816C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800DB210 000D8170 90 01 00 8C */ stw r0, 0x8c(r1) +/* 800DB214 000D8174 C8 41 00 88 */ lfd f2, 0x88(r1) +/* 800DB218 000D8178 EC 42 18 28 */ fsubs f2, f2, f3 +/* 800DB21C 000D817C EC 82 20 7C */ fnmsubs f4, f2, f1, f4 +/* 800DB220 000D8180 FC 04 00 40 */ fcmpo cr0, f4, f0 +/* 800DB224 000D8184 40 80 00 08 */ bge lbl_800DB22C +/* 800DB228 000D8188 EC 84 08 2A */ fadds f4, f4, f1 +lbl_800DB22C: +/* 800DB22C 000D818C C0 02 8E B0 */ lfs f0, lbl_805AABD0@sda21(r2) +/* 800DB230 000D8190 3C 00 43 30 */ lis r0, 0x4330 +/* 800DB234 000D8194 90 01 00 98 */ stw r0, 0x98(r1) +/* 800DB238 000D8198 EC 45 00 32 */ fmuls f2, f5, f0 +/* 800DB23C 000D819C C8 62 8E C8 */ lfd f3, lbl_805AABE8@sda21(r2) +/* 800DB240 000D81A0 C0 22 8E B4 */ lfs f1, lbl_805AABD4@sda21(r2) +/* 800DB244 000D81A4 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DB248 000D81A8 FC 40 10 1E */ fctiwz f2, f2 +/* 800DB24C 000D81AC D8 41 00 90 */ stfd f2, 0x90(r1) +/* 800DB250 000D81B0 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800DB254 000D81B4 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800DB258 000D81B8 90 01 00 9C */ stw r0, 0x9c(r1) +/* 800DB25C 000D81BC C8 41 00 98 */ lfd f2, 0x98(r1) +/* 800DB260 000D81C0 EC 42 18 28 */ fsubs f2, f2, f3 +/* 800DB264 000D81C4 EC A2 28 7C */ fnmsubs f5, f2, f1, f5 +/* 800DB268 000D81C8 FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 800DB26C 000D81CC 40 80 00 08 */ bge lbl_800DB274 +/* 800DB270 000D81D0 EC A5 08 2A */ fadds f5, f5, f1 +lbl_800DB274: +/* 800DB274 000D81D4 EC 84 F0 2A */ fadds f4, f4, f30 +/* 800DB278 000D81D8 C0 02 8E B0 */ lfs f0, lbl_805AABD0@sda21(r2) +/* 800DB27C 000D81DC 3C 00 43 30 */ lis r0, 0x4330 +/* 800DB280 000D81E0 C8 62 8E C8 */ lfd f3, lbl_805AABE8@sda21(r2) +/* 800DB284 000D81E4 90 01 00 A8 */ stw r0, 0xa8(r1) +/* 800DB288 000D81E8 EC 44 00 32 */ fmuls f2, f4, f0 +/* 800DB28C 000D81EC C0 22 8E B4 */ lfs f1, lbl_805AABD4@sda21(r2) +/* 800DB290 000D81F0 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DB294 000D81F4 FC 40 10 1E */ fctiwz f2, f2 +/* 800DB298 000D81F8 D8 41 00 A0 */ stfd f2, 0xa0(r1) +/* 800DB29C 000D81FC 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800DB2A0 000D8200 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800DB2A4 000D8204 90 01 00 AC */ stw r0, 0xac(r1) +/* 800DB2A8 000D8208 C8 41 00 A8 */ lfd f2, 0xa8(r1) +/* 800DB2AC 000D820C EC 42 18 28 */ fsubs f2, f2, f3 +/* 800DB2B0 000D8210 EC C2 20 7C */ fnmsubs f6, f2, f1, f4 +/* 800DB2B4 000D8214 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 800DB2B8 000D8218 40 80 00 08 */ bge lbl_800DB2C0 +/* 800DB2BC 000D821C EC C6 08 2A */ fadds f6, f6, f1 +lbl_800DB2C0: +/* 800DB2C0 000D8220 EC 85 F8 2A */ fadds f4, f5, f31 +/* 800DB2C4 000D8224 C0 02 8E B0 */ lfs f0, lbl_805AABD0@sda21(r2) +/* 800DB2C8 000D8228 3C 00 43 30 */ lis r0, 0x4330 +/* 800DB2CC 000D822C C8 62 8E C8 */ lfd f3, lbl_805AABE8@sda21(r2) +/* 800DB2D0 000D8230 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 800DB2D4 000D8234 EC 44 00 32 */ fmuls f2, f4, f0 +/* 800DB2D8 000D8238 C0 22 8E B4 */ lfs f1, lbl_805AABD4@sda21(r2) +/* 800DB2DC 000D823C C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DB2E0 000D8240 FC 40 10 1E */ fctiwz f2, f2 +/* 800DB2E4 000D8244 D8 41 00 B0 */ stfd f2, 0xb0(r1) +/* 800DB2E8 000D8248 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800DB2EC 000D824C 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800DB2F0 000D8250 90 01 00 BC */ stw r0, 0xbc(r1) +/* 800DB2F4 000D8254 C8 41 00 B8 */ lfd f2, 0xb8(r1) +/* 800DB2F8 000D8258 EC 42 18 28 */ fsubs f2, f2, f3 +/* 800DB2FC 000D825C EF E2 20 7C */ fnmsubs f31, f2, f1, f4 +/* 800DB300 000D8260 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800DB304 000D8264 40 80 00 08 */ bge lbl_800DB30C +/* 800DB308 000D8268 EF FF 08 2A */ fadds f31, f31, f1 +lbl_800DB30C: +/* 800DB30C 000D826C C0 02 8E C0 */ lfs f0, lbl_805AABE0@sda21(r2) +/* 800DB310 000D8270 C0 42 8E B8 */ lfs f2, lbl_805AABD8@sda21(r2) +/* 800DB314 000D8274 C0 22 8E BC */ lfs f1, lbl_805AABDC@sda21(r2) +/* 800DB318 000D8278 FC 06 00 40 */ fcmpo cr0, f6, f0 +/* 800DB31C 000D827C D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 800DB320 000D8280 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800DB324 000D8284 D0 C1 00 14 */ stfs f6, 0x14(r1) +/* 800DB328 000D8288 40 81 00 14 */ ble lbl_800DB33C +/* 800DB32C 000D828C FC 20 30 18 */ frsp f1, f6 +/* 800DB330 000D8290 C0 02 8E B4 */ lfs f0, lbl_805AABD4@sda21(r2) +/* 800DB334 000D8294 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800DB338 000D8298 D0 01 00 14 */ stfs f0, 0x14(r1) +lbl_800DB33C: +/* 800DB33C 000D829C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800DB340 000D82A0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800DB344 000D82A4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800DB348 000D82A8 4B F3 0F 6D */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800DB34C 000D82AC C0 83 00 00 */ lfs f4, 0(r3) +/* 800DB350 000D82B0 3C 00 43 30 */ lis r0, 0x4330 +/* 800DB354 000D82B4 C0 02 8E B0 */ lfs f0, lbl_805AABD0@sda21(r2) +/* 800DB358 000D82B8 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 800DB35C 000D82BC EC 44 00 32 */ fmuls f2, f4, f0 +/* 800DB360 000D82C0 C8 62 8E C8 */ lfd f3, lbl_805AABE8@sda21(r2) +/* 800DB364 000D82C4 C0 22 8E B4 */ lfs f1, lbl_805AABD4@sda21(r2) +/* 800DB368 000D82C8 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DB36C 000D82CC FC 40 10 1E */ fctiwz f2, f2 +/* 800DB370 000D82D0 D8 41 00 C0 */ stfd f2, 0xc0(r1) +/* 800DB374 000D82D4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800DB378 000D82D8 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800DB37C 000D82DC 90 01 00 CC */ stw r0, 0xcc(r1) +/* 800DB380 000D82E0 C8 41 00 C8 */ lfd f2, 0xc8(r1) +/* 800DB384 000D82E4 EC 42 18 28 */ fsubs f2, f2, f3 +/* 800DB388 000D82E8 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 +/* 800DB38C 000D82EC FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800DB390 000D82F0 40 80 00 08 */ bge lbl_800DB398 +/* 800DB394 000D82F4 EC 42 08 2A */ fadds f2, f2, f1 +lbl_800DB398: +/* 800DB398 000D82F8 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DB39C 000D82FC 38 61 00 50 */ addi r3, r1, 0x50 +/* 800DB3A0 000D8300 D3 E1 00 08 */ stfs f31, 8(r1) +/* 800DB3A4 000D8304 38 81 00 10 */ addi r4, r1, 0x10 +/* 800DB3A8 000D8308 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 800DB3AC 000D830C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800DB3B0 000D8310 48 23 5D 81 */ bl YRotation__11CQuaternionFRC9CRelAngle +/* 800DB3B4 000D8314 38 61 00 40 */ addi r3, r1, 0x40 +/* 800DB3B8 000D8318 38 81 00 0C */ addi r4, r1, 0xc +/* 800DB3BC 000D831C 48 23 5D AD */ bl XRotation__11CQuaternionFRC9CRelAngle +/* 800DB3C0 000D8320 38 61 00 30 */ addi r3, r1, 0x30 +/* 800DB3C4 000D8324 38 81 00 08 */ addi r4, r1, 8 +/* 800DB3C8 000D8328 48 23 5D 31 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 800DB3CC 000D832C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800DB3D0 000D8330 38 81 00 30 */ addi r4, r1, 0x30 +/* 800DB3D4 000D8334 38 A1 00 40 */ addi r5, r1, 0x40 +/* 800DB3D8 000D8338 48 23 5D C9 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 800DB3DC 000D833C 38 61 00 60 */ addi r3, r1, 0x60 +/* 800DB3E0 000D8340 38 81 00 20 */ addi r4, r1, 0x20 +/* 800DB3E4 000D8344 38 A1 00 50 */ addi r5, r1, 0x50 +/* 800DB3E8 000D8348 48 23 5D B9 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 800DB3EC 000D834C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800DB3F0 000D8350 D0 1F 00 B0 */ stfs f0, 0xb0(r31) +/* 800DB3F4 000D8354 80 61 00 64 */ lwz r3, 0x64(r1) +/* 800DB3F8 000D8358 80 01 00 68 */ lwz r0, 0x68(r1) +/* 800DB3FC 000D835C 90 7F 00 B4 */ stw r3, 0xb4(r31) +/* 800DB400 000D8360 90 1F 00 B8 */ stw r0, 0xb8(r31) +/* 800DB404 000D8364 80 01 00 6C */ lwz r0, 0x6c(r1) +/* 800DB408 000D8368 90 1F 00 BC */ stw r0, 0xbc(r31) +lbl_800DB40C: +/* 800DB40C 000D836C E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 800DB410 000D8370 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 800DB414 000D8374 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 +/* 800DB418 000D8378 CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 800DB41C 000D837C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 800DB420 000D8380 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 800DB424 000D8384 7C 08 03 A6 */ mtlr r0 +/* 800DB428 000D8388 38 21 01 00 */ addi r1, r1, 0x100 +/* 800DB42C 000D838C 4E 80 00 20 */ blr + +.global SetPulseSuit__10CSamusDollFb +SetPulseSuit__10CSamusDollFb: +/* 800DB430 000D8390 88 03 02 70 */ lbz r0, 0x270(r3) +/* 800DB434 000D8394 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 800DB438 000D8398 98 03 02 70 */ stb r0, 0x270(r3) +/* 800DB43C 000D839C 4E 80 00 20 */ blr + +.global SetPulseVisor__10CSamusDollFb +SetPulseVisor__10CSamusDollFb: +/* 800DB440 000D83A0 88 03 02 70 */ lbz r0, 0x270(r3) +/* 800DB444 000D83A4 50 80 0F BC */ rlwimi r0, r4, 1, 0x1e, 0x1e +/* 800DB448 000D83A8 98 03 02 70 */ stb r0, 0x270(r3) +/* 800DB44C 000D83AC 4E 80 00 20 */ blr + +.global SetPulseBoots__10CSamusDollFb +SetPulseBoots__10CSamusDollFb: +/* 800DB450 000D83B0 88 03 02 70 */ lbz r0, 0x270(r3) +/* 800DB454 000D83B4 50 80 17 7A */ rlwimi r0, r4, 2, 0x1d, 0x1d +/* 800DB458 000D83B8 98 03 02 70 */ stb r0, 0x270(r3) +/* 800DB45C 000D83BC 4E 80 00 20 */ blr + +.global SetPulseGrapple__10CSamusDollFb +SetPulseGrapple__10CSamusDollFb: +/* 800DB460 000D83C0 88 03 02 70 */ lbz r0, 0x270(r3) +/* 800DB464 000D83C4 50 80 1F 38 */ rlwimi r0, r4, 3, 0x1c, 0x1c +/* 800DB468 000D83C8 98 03 02 70 */ stb r0, 0x270(r3) +/* 800DB46C 000D83CC 4E 80 00 20 */ blr + +.global SetPulseBeam__10CSamusDollFb +SetPulseBeam__10CSamusDollFb: +/* 800DB470 000D83D0 88 03 02 70 */ lbz r0, 0x270(r3) +/* 800DB474 000D83D4 50 80 26 F6 */ rlwimi r0, r4, 4, 0x1b, 0x1b +/* 800DB478 000D83D8 98 03 02 70 */ stb r0, 0x270(r3) +/* 800DB47C 000D83DC 4E 80 00 20 */ blr + +.global SetTransitionAnimation__10CSamusDollFv +SetTransitionAnimation__10CSamusDollFv: +/* 800DB480 000D83E0 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800DB484 000D83E4 7C 08 02 A6 */ mflr r0 +/* 800DB488 000D83E8 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800DB48C 000D83EC 93 E1 00 AC */ stw r31, 0xac(r1) +/* 800DB490 000D83F0 7C 7F 1B 78 */ mr r31, r3 +/* 800DB494 000D83F4 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 800DB498 000D83F8 28 00 00 00 */ cmplwi r0, 0 +/* 800DB49C 000D83FC 40 82 00 AC */ bne lbl_800DB548 +/* 800DB4A0 000D8400 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DB4A4 000D8404 38 C0 00 00 */ li r6, 0 +/* 800DB4A8 000D8408 38 60 FF FF */ li r3, -1 +/* 800DB4AC 000D840C 38 00 00 01 */ li r0, 1 +/* 800DB4B0 000D8410 90 C1 00 80 */ stw r6, 0x80(r1) +/* 800DB4B4 000D8414 38 81 00 80 */ addi r4, r1, 0x80 +/* 800DB4B8 000D8418 38 A0 00 00 */ li r5, 0 +/* 800DB4BC 000D841C 90 61 00 84 */ stw r3, 0x84(r1) +/* 800DB4C0 000D8420 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800DB4C4 000D8424 98 01 00 8C */ stb r0, 0x8c(r1) +/* 800DB4C8 000D8428 90 C1 00 90 */ stw r6, 0x90(r1) +/* 800DB4CC 000D842C 90 C1 00 94 */ stw r6, 0x94(r1) +/* 800DB4D0 000D8430 98 C1 00 98 */ stb r6, 0x98(r1) +/* 800DB4D4 000D8434 90 C1 00 9C */ stw r6, 0x9c(r1) +/* 800DB4D8 000D8438 90 C1 00 A0 */ stw r6, 0xa0(r1) +/* 800DB4DC 000D843C 90 C1 00 A4 */ stw r6, 0xa4(r1) +/* 800DB4E0 000D8440 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 800DB4E4 000D8444 4B F5 18 99 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800DB4E8 000D8448 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DB4EC 000D844C 38 C0 00 00 */ li r6, 0 +/* 800DB4F0 000D8450 38 60 FF FF */ li r3, -1 +/* 800DB4F4 000D8454 38 00 00 01 */ li r0, 1 +/* 800DB4F8 000D8458 90 C1 00 58 */ stw r6, 0x58(r1) +/* 800DB4FC 000D845C 38 81 00 58 */ addi r4, r1, 0x58 +/* 800DB500 000D8460 38 A0 00 00 */ li r5, 0 +/* 800DB504 000D8464 90 61 00 5C */ stw r3, 0x5c(r1) +/* 800DB508 000D8468 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800DB50C 000D846C 98 01 00 64 */ stb r0, 0x64(r1) +/* 800DB510 000D8470 90 C1 00 68 */ stw r6, 0x68(r1) +/* 800DB514 000D8474 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 800DB518 000D8478 98 C1 00 70 */ stb r6, 0x70(r1) +/* 800DB51C 000D847C 90 C1 00 74 */ stw r6, 0x74(r1) +/* 800DB520 000D8480 90 C1 00 78 */ stw r6, 0x78(r1) +/* 800DB524 000D8484 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 800DB528 000D8488 80 7F 01 44 */ lwz r3, 0x144(r31) +/* 800DB52C 000D848C 4B F5 18 51 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800DB530 000D8490 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 800DB534 000D8494 38 80 00 00 */ li r4, 0 +/* 800DB538 000D8498 4B F5 0F 91 */ bl GetAnimationDuration__9CAnimDataCFi +/* 800DB53C 000D849C D0 3F 00 50 */ stfs f1, 0x50(r31) +/* 800DB540 000D84A0 D0 3F 00 54 */ stfs f1, 0x54(r31) +/* 800DB544 000D84A4 48 00 00 B4 */ b lbl_800DB5F8 +lbl_800DB548: +/* 800DB548 000D84A8 88 1F 00 4D */ lbz r0, 0x4d(r31) +/* 800DB54C 000D84AC 28 00 00 00 */ cmplwi r0, 0 +/* 800DB550 000D84B0 40 82 00 A8 */ bne lbl_800DB5F8 +/* 800DB554 000D84B4 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DB558 000D84B8 38 00 00 00 */ li r0, 0 +/* 800DB55C 000D84BC 38 C0 00 01 */ li r6, 1 +/* 800DB560 000D84C0 38 60 FF FF */ li r3, -1 +/* 800DB564 000D84C4 90 C1 00 30 */ stw r6, 0x30(r1) +/* 800DB568 000D84C8 38 81 00 30 */ addi r4, r1, 0x30 +/* 800DB56C 000D84CC 38 A0 00 00 */ li r5, 0 +/* 800DB570 000D84D0 90 61 00 34 */ stw r3, 0x34(r1) +/* 800DB574 000D84D4 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800DB578 000D84D8 98 C1 00 3C */ stb r6, 0x3c(r1) +/* 800DB57C 000D84DC 90 01 00 40 */ stw r0, 0x40(r1) +/* 800DB580 000D84E0 90 01 00 44 */ stw r0, 0x44(r1) +/* 800DB584 000D84E4 98 01 00 48 */ stb r0, 0x48(r1) +/* 800DB588 000D84E8 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800DB58C 000D84EC 90 01 00 50 */ stw r0, 0x50(r1) +/* 800DB590 000D84F0 90 01 00 54 */ stw r0, 0x54(r1) +/* 800DB594 000D84F4 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 800DB598 000D84F8 4B F5 17 E5 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800DB59C 000D84FC C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DB5A0 000D8500 38 00 00 00 */ li r0, 0 +/* 800DB5A4 000D8504 38 C0 00 01 */ li r6, 1 +/* 800DB5A8 000D8508 38 60 FF FF */ li r3, -1 +/* 800DB5AC 000D850C 90 C1 00 08 */ stw r6, 8(r1) +/* 800DB5B0 000D8510 38 81 00 08 */ addi r4, r1, 8 +/* 800DB5B4 000D8514 38 A0 00 00 */ li r5, 0 +/* 800DB5B8 000D8518 90 61 00 0C */ stw r3, 0xc(r1) +/* 800DB5BC 000D851C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800DB5C0 000D8520 98 C1 00 14 */ stb r6, 0x14(r1) +/* 800DB5C4 000D8524 90 01 00 18 */ stw r0, 0x18(r1) +/* 800DB5C8 000D8528 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800DB5CC 000D852C 98 01 00 20 */ stb r0, 0x20(r1) +/* 800DB5D0 000D8530 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DB5D4 000D8534 90 01 00 28 */ stw r0, 0x28(r1) +/* 800DB5D8 000D8538 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800DB5DC 000D853C 80 7F 01 44 */ lwz r3, 0x144(r31) +/* 800DB5E0 000D8540 4B F5 17 9D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800DB5E4 000D8544 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 800DB5E8 000D8548 38 80 00 01 */ li r4, 1 +/* 800DB5EC 000D854C 4B F5 0E DD */ bl GetAnimationDuration__9CAnimDataCFi +/* 800DB5F0 000D8550 D0 3F 00 50 */ stfs f1, 0x50(r31) +/* 800DB5F4 000D8554 D0 3F 00 54 */ stfs f1, 0x54(r31) +lbl_800DB5F8: +/* 800DB5F8 000D8558 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800DB5FC 000D855C 83 E1 00 AC */ lwz r31, 0xac(r1) +/* 800DB600 000D8560 7C 08 03 A6 */ mtlr r0 +/* 800DB604 000D8564 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800DB608 000D8568 4E 80 00 20 */ blr + +.global CheckTransition__10CSamusDollFb +CheckTransition__10CSamusDollFb: +/* 800DB60C 000D856C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DB610 000D8570 7C 08 02 A6 */ mflr r0 +/* 800DB614 000D8574 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DB618 000D8578 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DB61C 000D857C C0 23 00 54 */ lfs f1, 0x54(r3) +/* 800DB620 000D8580 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DB624 000D8584 41 81 00 20 */ bgt lbl_800DB644 +/* 800DB628 000D8588 88 03 00 4D */ lbz r0, 0x4d(r3) +/* 800DB62C 000D858C 54 85 06 3E */ clrlwi r5, r4, 0x18 +/* 800DB630 000D8590 7C 05 00 40 */ cmplw r5, r0 +/* 800DB634 000D8594 40 82 00 08 */ bne lbl_800DB63C +/* 800DB638 000D8598 48 00 00 0C */ b lbl_800DB644 +lbl_800DB63C: +/* 800DB63C 000D859C 98 83 00 4D */ stb r4, 0x4d(r3) +/* 800DB640 000D85A0 4B FF FE 41 */ bl SetTransitionAnimation__10CSamusDollFv +lbl_800DB644: +/* 800DB644 000D85A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DB648 000D85A8 7C 08 03 A6 */ mtlr r0 +/* 800DB64C 000D85AC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DB650 000D85B0 4E 80 00 20 */ blr + +.global Draw__10CSamusDollFRC13CStateManagerf +Draw__10CSamusDollFRC13CStateManagerf: +/* 800DB654 000D85B4 94 21 F9 D0 */ stwu r1, -0x630(r1) +/* 800DB658 000D85B8 7C 08 02 A6 */ mflr r0 +/* 800DB65C 000D85BC 90 01 06 34 */ stw r0, 0x634(r1) +/* 800DB660 000D85C0 DB E1 06 20 */ stfd f31, 0x620(r1) +/* 800DB664 000D85C4 F3 E1 06 28 */ psq_st f31, 1576(r1), 0, qr0 +/* 800DB668 000D85C8 DB C1 06 10 */ stfd f30, 0x610(r1) +/* 800DB66C 000D85CC F3 C1 06 18 */ psq_st f30, 1560(r1), 0, qr0 +/* 800DB670 000D85D0 DB A1 06 00 */ stfd f29, 0x600(r1) +/* 800DB674 000D85D4 F3 A1 06 08 */ psq_st f29, 1544(r1), 0, qr0 +/* 800DB678 000D85D8 DB 81 05 F0 */ stfd f28, 0x5f0(r1) +/* 800DB67C 000D85DC F3 81 05 F8 */ psq_st f28, 1528(r1), 0, qr0 +/* 800DB680 000D85E0 DB 61 05 E0 */ stfd f27, 0x5e0(r1) +/* 800DB684 000D85E4 F3 61 05 E8 */ psq_st f27, 1512(r1), 0, qr0 +/* 800DB688 000D85E8 DB 41 05 D0 */ stfd f26, 0x5d0(r1) +/* 800DB68C 000D85EC F3 41 05 D8 */ psq_st f26, 1496(r1), 0, qr0 +/* 800DB690 000D85F0 DB 21 05 C0 */ stfd f25, 0x5c0(r1) +/* 800DB694 000D85F4 F3 21 05 C8 */ psq_st f25, 1480(r1), 0, qr0 +/* 800DB698 000D85F8 DB 01 05 B0 */ stfd f24, 0x5b0(r1) +/* 800DB69C 000D85FC F3 01 05 B8 */ psq_st f24, 1464(r1), 0, qr0 +/* 800DB6A0 000D8600 BE 61 05 7C */ stmw r19, 0x57c(r1) +/* 800DB6A4 000D8604 FF 00 08 90 */ fmr f24, f1 +/* 800DB6A8 000D8608 7C 7F 1B 78 */ mr r31, r3 +/* 800DB6AC 000D860C 7C 9D 23 78 */ mr r29, r4 +/* 800DB6B0 000D8610 48 00 24 B5 */ bl IsLoaded__10CSamusDollCFv +/* 800DB6B4 000D8614 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DB6B8 000D8618 41 82 11 50 */ beq lbl_800DC808 +/* 800DB6BC 000D861C C0 1F 00 40 */ lfs f0, 0x40(r31) +/* 800DB6C0 000D8620 82 FF 01 FC */ lwz r23, 0x1fc(r31) +/* 800DB6C4 000D8624 EF F8 00 32 */ fmuls f31, f24, f0 +/* 800DB6C8 000D8628 83 3F 02 08 */ lwz r25, 0x208(r31) +/* 800DB6CC 000D862C 83 7F 02 14 */ lwz r27, 0x214(r31) +/* 800DB6D0 000D8630 83 DF 01 DC */ lwz r30, 0x1dc(r31) +/* 800DB6D4 000D8634 83 5F 02 20 */ lwz r26, 0x220(r31) +/* 800DB6D8 000D8638 48 22 E8 09 */ bl GetSecondsMod900__9CGraphicsFv +/* 800DB6DC 000D863C C0 02 8E D4 */ lfs f0, lbl_805AABF4@sda21(r2) +/* 800DB6E0 000D8640 EC 20 00 72 */ fmuls f1, f0, f1 +/* 800DB6E4 000D8644 48 23 97 0D */ bl FastSinR__5CMathFf +/* 800DB6E8 000D8648 C0 42 8E 94 */ lfs f2, lbl_805AABB4@sda21(r2) +/* 800DB6EC 000D864C 38 81 00 68 */ addi r4, r1, 0x68 +/* 800DB6F0 000D8650 C0 02 8E D0 */ lfs f0, lbl_805AABF0@sda21(r2) +/* 800DB6F4 000D8654 38 6D 87 48 */ addi r3, r13, lbl_805A7308@sda21 +/* 800DB6F8 000D8658 EC 22 08 2A */ fadds f1, f2, f1 +/* 800DB6FC 000D865C 38 AD 87 4C */ addi r5, r13, lbl_805A730C@sda21 +/* 800DB700 000D8660 EC 00 00 72 */ fmuls f0, f0, f1 +/* 800DB704 000D8664 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 800DB708 000D8668 4B F3 0B AD */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800DB70C 000D866C C0 1F 00 C4 */ lfs f0, 0xc4(r31) +/* 800DB710 000D8670 3C 80 43 30 */ lis r4, 0x4330 +/* 800DB714 000D8674 3C A0 80 3F */ lis r5, lbl_803ED910@ha +/* 800DB718 000D8678 C3 43 00 00 */ lfs f26, 0(r3) +/* 800DB71C 000D867C FC 00 02 10 */ fabs f0, f0 +/* 800DB720 000D8680 38 A5 D9 10 */ addi r5, r5, lbl_803ED910@l +/* 800DB724 000D8684 80 65 00 08 */ lwz r3, 8(r5) +/* 800DB728 000D8688 80 05 00 0C */ lwz r0, 0xc(r5) +/* 800DB72C 000D868C FC 00 00 18 */ frsp f0, f0 +/* 800DB730 000D8690 6C 65 80 00 */ xoris r5, r3, 0x8000 +/* 800DB734 000D8694 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800DB738 000D8698 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DB73C 000D869C 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800DB740 000D86A0 EC 01 00 28 */ fsubs f0, f1, f0 +/* 800DB744 000D86A4 81 83 00 00 */ lwz r12, 0(r3) +/* 800DB748 000D86A8 90 A1 05 64 */ stw r5, 0x564(r1) +/* 800DB74C 000D86AC C8 62 8E C8 */ lfd f3, lbl_805AABE8@sda21(r2) +/* 800DB750 000D86B0 EF 5A 00 32 */ fmuls f26, f26, f0 +/* 800DB754 000D86B4 90 81 05 60 */ stw r4, 0x560(r1) +/* 800DB758 000D86B8 81 8C 00 4C */ lwz r12, 0x4c(r12) +/* 800DB75C 000D86BC C8 01 05 60 */ lfd f0, 0x560(r1) +/* 800DB760 000D86C0 90 01 05 6C */ stw r0, 0x56c(r1) +/* 800DB764 000D86C4 EC 40 18 28 */ fsubs f2, f0, f3 +/* 800DB768 000D86C8 C0 22 8E D8 */ lfs f1, lbl_805AABF8@sda21(r2) +/* 800DB76C 000D86CC 90 81 05 68 */ stw r4, 0x568(r1) +/* 800DB770 000D86D0 C0 82 8E DC */ lfs f4, lbl_805AABFC@sda21(r2) +/* 800DB774 000D86D4 C8 01 05 68 */ lfd f0, 0x568(r1) +/* 800DB778 000D86D8 C0 A2 8E E0 */ lfs f5, lbl_805AAC00@sda21(r2) +/* 800DB77C 000D86DC EC 60 18 28 */ fsubs f3, f0, f3 +/* 800DB780 000D86E0 7D 89 03 A6 */ mtctr r12 +/* 800DB784 000D86E4 4E 80 04 21 */ bctrl +/* 800DB788 000D86E8 C0 22 8E 90 */ lfs f1, lbl_805AABB0@sda21(r2) +/* 800DB78C 000D86EC 38 61 04 10 */ addi r3, r1, 0x410 +/* 800DB790 000D86F0 C0 5F 00 C0 */ lfs f2, 0xc0(r31) +/* 800DB794 000D86F4 FC 60 08 90 */ fmr f3, f1 +/* 800DB798 000D86F8 48 23 79 F1 */ bl Translate__12CTransform4fFfff +/* 800DB79C 000D86FC 38 61 04 40 */ addi r3, r1, 0x440 +/* 800DB7A0 000D8700 38 9F 00 B0 */ addi r4, r31, 0xb0 +/* 800DB7A4 000D8704 38 BF 00 A4 */ addi r5, r31, 0xa4 +/* 800DB7A8 000D8708 48 23 67 15 */ bl BuildTransform4f__11CQuaternionCFRC9CVector3f +/* 800DB7AC 000D870C 38 61 04 70 */ addi r3, r1, 0x470 +/* 800DB7B0 000D8710 38 81 04 40 */ addi r4, r1, 0x440 +/* 800DB7B4 000D8714 38 A1 04 10 */ addi r5, r1, 0x410 +/* 800DB7B8 000D8718 48 23 71 99 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800DB7BC 000D871C 38 61 04 70 */ addi r3, r1, 0x470 +/* 800DB7C0 000D8720 48 23 0F 8D */ bl SetViewPointMatrix__9CGraphicsFRC12CTransform4f +/* 800DB7C4 000D8724 3C 80 80 47 */ lis r4, lbl_8046C470@ha +/* 800DB7C8 000D8728 38 61 03 E0 */ addi r3, r1, 0x3e0 +/* 800DB7CC 000D872C 38 84 C4 70 */ addi r4, r4, lbl_8046C470@l +/* 800DB7D0 000D8730 48 23 79 F5 */ bl Scale__12CTransform4fFRC9CVector3f +/* 800DB7D4 000D8734 38 61 05 30 */ addi r3, r1, 0x530 +/* 800DB7D8 000D8738 38 81 03 E0 */ addi r4, r1, 0x3e0 +/* 800DB7DC 000D873C 48 23 73 99 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800DB7E0 000D8740 80 82 8E 84 */ lwz r4, lbl_805AABA4@sda21(r2) +/* 800DB7E4 000D8744 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 800DB7E8 000D8748 4B F2 94 D1 */ bl string_l__4rstlFPCc +/* 800DB7EC 000D874C 38 61 03 80 */ addi r3, r1, 0x380 +/* 800DB7F0 000D8750 38 9F 00 C8 */ addi r4, r31, 0xc8 +/* 800DB7F4 000D8754 38 A1 01 C4 */ addi r5, r1, 0x1c4 +/* 800DB7F8 000D8758 48 03 A1 A9 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800DB7FC 000D875C 38 61 03 B0 */ addi r3, r1, 0x3b0 +/* 800DB800 000D8760 38 81 03 80 */ addi r4, r1, 0x380 +/* 800DB804 000D8764 38 A1 05 30 */ addi r5, r1, 0x530 +/* 800DB808 000D8768 48 23 71 49 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800DB80C 000D876C 38 61 05 00 */ addi r3, r1, 0x500 +/* 800DB810 000D8770 38 81 03 B0 */ addi r4, r1, 0x3b0 +/* 800DB814 000D8774 48 23 73 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800DB818 000D8778 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 800DB81C 000D877C 48 26 22 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800DB820 000D8780 80 82 8E 8C */ lwz r4, lbl_805AABAC@sda21(r2) +/* 800DB824 000D8784 38 61 01 B4 */ addi r3, r1, 0x1b4 +/* 800DB828 000D8788 4B F2 94 91 */ bl string_l__4rstlFPCc +/* 800DB82C 000D878C 38 61 03 20 */ addi r3, r1, 0x320 +/* 800DB830 000D8790 38 9F 00 C8 */ addi r4, r31, 0xc8 +/* 800DB834 000D8794 38 A1 01 B4 */ addi r5, r1, 0x1b4 +/* 800DB838 000D8798 48 03 A1 69 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800DB83C 000D879C 38 61 03 50 */ addi r3, r1, 0x350 +/* 800DB840 000D87A0 38 81 03 20 */ addi r4, r1, 0x320 +/* 800DB844 000D87A4 38 A1 05 30 */ addi r5, r1, 0x530 +/* 800DB848 000D87A8 48 23 71 09 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800DB84C 000D87AC 38 61 04 D0 */ addi r3, r1, 0x4d0 +/* 800DB850 000D87B0 38 81 03 50 */ addi r4, r1, 0x350 +/* 800DB854 000D87B4 48 23 73 21 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800DB858 000D87B8 38 61 01 B4 */ addi r3, r1, 0x1b4 +/* 800DB85C 000D87BC 48 26 22 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800DB860 000D87C0 80 82 8E 88 */ lwz r4, lbl_805AABA8@sda21(r2) +/* 800DB864 000D87C4 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800DB868 000D87C8 4B F2 94 51 */ bl string_l__4rstlFPCc +/* 800DB86C 000D87CC 38 61 02 C0 */ addi r3, r1, 0x2c0 +/* 800DB870 000D87D0 38 9F 00 C8 */ addi r4, r31, 0xc8 +/* 800DB874 000D87D4 38 A1 01 A4 */ addi r5, r1, 0x1a4 +/* 800DB878 000D87D8 48 03 A1 29 */ bl "GetScaledLocatorTransform__10CModelDataCFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800DB87C 000D87DC 38 61 02 F0 */ addi r3, r1, 0x2f0 +/* 800DB880 000D87E0 38 81 02 C0 */ addi r4, r1, 0x2c0 +/* 800DB884 000D87E4 38 A1 05 30 */ addi r5, r1, 0x530 +/* 800DB888 000D87E8 48 23 70 C9 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800DB88C 000D87EC 38 61 04 A0 */ addi r3, r1, 0x4a0 +/* 800DB890 000D87F0 38 81 02 F0 */ addi r4, r1, 0x2f0 +/* 800DB894 000D87F4 48 23 72 E1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800DB898 000D87F8 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800DB89C 000D87FC 48 26 22 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800DB8A0 000D8800 C0 1F 00 58 */ lfs f0, 0x58(r31) +/* 800DB8A4 000D8804 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 800DB8A8 000D8808 EC 1A 00 32 */ fmuls f0, f26, f0 +/* 800DB8AC 000D880C 28 00 00 00 */ cmplwi r0, 0 +/* 800DB8B0 000D8810 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800DB8B4 000D8814 41 82 00 10 */ beq lbl_800DB8C4 +/* 800DB8B8 000D8818 88 1F 00 4D */ lbz r0, 0x4d(r31) +/* 800DB8BC 000D881C 28 00 00 00 */ cmplwi r0, 0 +/* 800DB8C0 000D8820 40 82 0A E4 */ bne lbl_800DC3A4 +lbl_800DB8C4: +/* 800DB8C4 000D8824 C0 3F 00 64 */ lfs f1, 0x64(r31) +/* 800DB8C8 000D8828 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 800DB8CC 000D882C EC 3A 00 72 */ fmuls f1, f26, f1 +/* 800DB8D0 000D8830 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800DB8D4 000D8834 D0 21 00 64 */ stfs f1, 0x64(r1) +/* 800DB8D8 000D8838 40 80 00 0C */ bge lbl_800DB8E4 +/* 800DB8DC 000D883C 38 61 00 64 */ addi r3, r1, 0x64 +/* 800DB8E0 000D8840 48 00 00 08 */ b lbl_800DB8E8 +lbl_800DB8E4: +/* 800DB8E4 000D8844 38 61 00 70 */ addi r3, r1, 0x70 +lbl_800DB8E8: +/* 800DB8E8 000D8848 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 800DB8EC 000D884C C3 03 00 00 */ lfs f24, 0(r3) +/* 800DB8F0 000D8850 20 00 00 03 */ subfic r0, r0, 3 +/* 800DB8F4 000D8854 7C 03 00 34 */ cntlzw r3, r0 +/* 800DB8F8 000D8858 54 60 DE 3F */ rlwinm. r0, r3, 0x1b, 0x18, 0x1f +/* 800DB8FC 000D885C 54 7C D9 7E */ srwi r28, r3, 5 +/* 800DB900 000D8860 41 82 00 10 */ beq lbl_800DB910 +/* 800DB904 000D8864 38 60 00 01 */ li r3, 1 +/* 800DB908 000D8868 38 80 00 FF */ li r4, 0xff +/* 800DB90C 000D886C 48 2A 07 D5 */ bl GXSetDstAlpha +lbl_800DB910: +/* 800DB910 000D8870 C3 22 8E E4 */ lfs f25, lbl_805AAC04@sda21(r2) +/* 800DB914 000D8874 3C 60 80 5A */ lis r3, skIdentity4f@ha +/* 800DB918 000D8878 3B 1F 01 1C */ addi r24, r31, 0x11c +/* 800DB91C 000D887C 3A A1 01 F4 */ addi r21, r1, 0x1f4 +/* 800DB920 000D8880 EF 79 07 F2 */ fmuls f27, f25, f31 +/* 800DB924 000D8884 3A 83 66 70 */ addi r20, r3, skIdentity4f@l +/* 800DB928 000D8888 3A C0 00 00 */ li r22, 0 +/* 800DB92C 000D888C FF 80 D8 90 */ fmr f28, f27 +/* 800DB930 000D8890 48 00 00 BC */ b lbl_800DB9EC +lbl_800DB934: +/* 800DB934 000D8894 80 9F 00 D8 */ lwz r4, 0xd8(r31) +/* 800DB938 000D8898 7E A3 AB 78 */ mr r3, r21 +/* 800DB93C 000D889C 3A 64 00 D8 */ addi r19, r4, 0xd8 +/* 800DB940 000D88A0 7E 64 9B 78 */ mr r4, r19 +/* 800DB944 000D88A4 48 26 55 65 */ bl __ct__6CTokenFRC6CToken +/* 800DB948 000D88A8 80 13 00 08 */ lwz r0, 8(r19) +/* 800DB94C 000D88AC 7E A3 AB 78 */ mr r3, r21 +/* 800DB950 000D88B0 90 01 01 FC */ stw r0, 0x1fc(r1) +/* 800DB954 000D88B4 48 26 54 31 */ bl Lock__6CTokenFv +/* 800DB958 000D88B8 80 1F 01 18 */ lwz r0, 0x118(r31) +/* 800DB95C 000D88BC 7C 16 00 00 */ cmpw r22, r0 +/* 800DB960 000D88C0 40 80 00 10 */ bge lbl_800DB970 +/* 800DB964 000D88C4 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 800DB968 000D88C8 7F 04 C3 78 */ mr r4, r24 +/* 800DB96C 000D88CC 4B F5 27 31 */ bl "SubstituteModelData__9CAnimDataFRC29TCachedToken<13CSkinnedModel>" +lbl_800DB970: +/* 800DB970 000D88D0 82 7F 02 4C */ lwz r19, 0x24c(r31) +/* 800DB974 000D88D4 48 26 E6 39 */ bl White__6CColorFv +/* 800DB978 000D88D8 F3 81 A0 10 */ psq_st f28, 16(r1), 1, qr2 +/* 800DB97C 000D88DC 80 63 00 00 */ lwz r3, 0(r3) +/* 800DB980 000D88E0 88 01 00 10 */ lbz r0, 0x10(r1) +/* 800DB984 000D88E4 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 800DB988 000D88E8 90 01 00 60 */ stw r0, 0x60(r1) +/* 800DB98C 000D88EC 48 26 E6 21 */ bl White__6CColorFv +/* 800DB990 000D88F0 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 800DB994 000D88F4 EC 1F 00 32 */ fmuls f0, f31, f0 +/* 800DB998 000D88F8 EF D9 00 32 */ fmuls f30, f25, f0 +/* 800DB99C 000D88FC F3 C1 A0 0F */ psq_st f30, 15(r1), 1, qr2 +/* 800DB9A0 000D8900 7E 85 A3 78 */ mr r5, r20 +/* 800DB9A4 000D8904 80 83 00 00 */ lwz r4, 0(r3) +/* 800DB9A8 000D8908 7E 66 9B 78 */ mr r6, r19 +/* 800DB9AC 000D890C 88 01 00 0F */ lbz r0, 0xf(r1) +/* 800DB9B0 000D8910 38 7F 00 C8 */ addi r3, r31, 0xc8 +/* 800DB9B4 000D8914 50 80 00 2E */ rlwimi r0, r4, 0, 0, 0x17 +/* 800DB9B8 000D8918 38 E1 00 60 */ addi r7, r1, 0x60 +/* 800DB9BC 000D891C 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800DB9C0 000D8920 39 01 00 5C */ addi r8, r1, 0x5c +/* 800DB9C4 000D8924 38 80 00 00 */ li r4, 0 +/* 800DB9C8 000D8928 48 03 A4 E1 */ bl MultiLightingDraw__10CModelDataF11EWhichModelRC12CTransform4fPC12CActorLightsRC6CColorRC6CColor +/* 800DB9CC 000D892C 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 800DB9D0 000D8930 38 81 01 F4 */ addi r4, r1, 0x1f4 +/* 800DB9D4 000D8934 4B F5 26 C9 */ bl "SubstituteModelData__9CAnimDataFRC29TCachedToken<13CSkinnedModel>" +/* 800DB9D8 000D8938 38 61 01 F4 */ addi r3, r1, 0x1f4 +/* 800DB9DC 000D893C 38 80 00 00 */ li r4, 0 +/* 800DB9E0 000D8940 48 26 54 61 */ bl __dt__6CTokenFv +/* 800DB9E4 000D8944 3B 18 00 0C */ addi r24, r24, 0xc +/* 800DB9E8 000D8948 3A D6 00 01 */ addi r22, r22, 1 +lbl_800DB9EC: +/* 800DB9EC 000D894C 80 1F 01 18 */ lwz r0, 0x118(r31) +/* 800DB9F0 000D8950 7C 16 00 00 */ cmpw r22, r0 +/* 800DB9F4 000D8954 40 81 FF 40 */ ble lbl_800DB934 +/* 800DB9F8 000D8958 82 7F 02 4C */ lwz r19, 0x24c(r31) +/* 800DB9FC 000D895C 48 26 E5 B1 */ bl White__6CColorFv +/* 800DBA00 000D8960 F3 61 A0 0E */ psq_st f27, 14(r1), 1, qr2 +/* 800DBA04 000D8964 80 63 00 00 */ lwz r3, 0(r3) +/* 800DBA08 000D8968 88 01 00 0E */ lbz r0, 0xe(r1) +/* 800DBA0C 000D896C 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 800DBA10 000D8970 90 01 00 58 */ stw r0, 0x58(r1) +/* 800DBA14 000D8974 48 26 E5 99 */ bl White__6CColorFv +/* 800DBA18 000D8978 EC 1F 06 32 */ fmuls f0, f31, f24 +/* 800DBA1C 000D897C C0 22 8E E4 */ lfs f1, lbl_805AAC04@sda21(r2) +/* 800DBA20 000D8980 EF A1 00 32 */ fmuls f29, f1, f0 +/* 800DBA24 000D8984 F3 A1 A0 0D */ psq_st f29, 13(r1), 1, qr2 +/* 800DBA28 000D8988 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800DBA2C 000D898C 80 E3 00 00 */ lwz r7, 0(r3) +/* 800DBA30 000D8990 38 A4 66 70 */ addi r5, r4, skIdentity4f@l +/* 800DBA34 000D8994 88 01 00 0D */ lbz r0, 0xd(r1) +/* 800DBA38 000D8998 7E 66 9B 78 */ mr r6, r19 +/* 800DBA3C 000D899C 50 E0 00 2E */ rlwimi r0, r7, 0, 0, 0x17 +/* 800DBA40 000D89A0 38 7F 01 34 */ addi r3, r31, 0x134 +/* 800DBA44 000D89A4 90 01 00 54 */ stw r0, 0x54(r1) +/* 800DBA48 000D89A8 38 E1 00 58 */ addi r7, r1, 0x58 +/* 800DBA4C 000D89AC 39 01 00 54 */ addi r8, r1, 0x54 +/* 800DBA50 000D89B0 38 80 00 00 */ li r4, 0 +/* 800DBA54 000D89B4 48 03 A4 55 */ bl MultiLightingDraw__10CModelDataF11EWhichModelRC12CTransform4fPC12CActorLightsRC6CColorRC6CColor +/* 800DBA58 000D89B8 80 9F 02 48 */ lwz r4, 0x248(r31) +/* 800DBA5C 000D89BC 38 60 00 00 */ li r3, 0 +/* 800DBA60 000D89C0 48 23 0F 65 */ bl LoadLight__9CGraphicsF9ERglLightRC6CLight +/* 800DBA64 000D89C4 38 60 00 00 */ li r3, 0 +/* 800DBA68 000D89C8 48 23 12 C9 */ bl EnableLight__9CGraphicsF9ERglLight +/* 800DBA6C 000D89CC 38 00 00 00 */ li r0, 0 +/* 800DBA70 000D89D0 38 61 00 50 */ addi r3, r1, 0x50 +/* 800DBA74 000D89D4 90 01 00 50 */ stw r0, 0x50(r1) +/* 800DBA78 000D89D8 48 23 05 A5 */ bl SetAmbientColor__9CGraphicsFRC6CColor +/* 800DBA7C 000D89DC 38 61 05 00 */ addi r3, r1, 0x500 +/* 800DBA80 000D89E0 48 23 0B 61 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 800DBA84 000D89E4 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DBA88 000D89E8 38 60 00 05 */ li r3, 5 +/* 800DBA8C 000D89EC 38 80 00 00 */ li r4, 0 +/* 800DBA90 000D89F0 38 00 00 03 */ li r0, 3 +/* 800DBA94 000D89F4 FC 40 08 90 */ fmr f2, f1 +/* 800DBA98 000D89F8 98 61 01 9C */ stb r3, 0x19c(r1) +/* 800DBA9C 000D89FC FC 60 08 90 */ fmr f3, f1 +/* 800DBAA0 000D8A00 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 800DBAA4 000D8A04 FC 80 F8 90 */ fmr f4, f31 +/* 800DBAA8 000D8A08 98 81 01 9D */ stb r4, 0x19d(r1) +/* 800DBAAC 000D8A0C B0 01 01 9E */ sth r0, 0x19e(r1) +/* 800DBAB0 000D8A10 48 28 79 3D */ bl __ct__6CColorFffff +/* 800DBAB4 000D8A14 7E E3 BB 78 */ mr r3, r23 +/* 800DBAB8 000D8A18 38 81 01 9C */ addi r4, r1, 0x19c +/* 800DBABC 000D8A1C 48 27 A1 19 */ bl Draw__6CModelCFRC11CModelFlags +/* 800DBAC0 000D8A20 EF 9F 06 B2 */ fmuls f28, f31, f26 +/* 800DBAC4 000D8A24 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DBAC8 000D8A28 C0 1F 00 5C */ lfs f0, 0x5c(r31) +/* 800DBACC 000D8A2C 38 A0 00 07 */ li r5, 7 +/* 800DBAD0 000D8A30 38 80 00 00 */ li r4, 0 +/* 800DBAD4 000D8A34 38 00 00 03 */ li r0, 3 +/* 800DBAD8 000D8A38 EC 80 07 32 */ fmuls f4, f0, f28 +/* 800DBADC 000D8A3C 98 A1 01 8C */ stb r5, 0x18c(r1) +/* 800DBAE0 000D8A40 FC 40 08 90 */ fmr f2, f1 +/* 800DBAE4 000D8A44 38 61 01 90 */ addi r3, r1, 0x190 +/* 800DBAE8 000D8A48 FC 60 08 90 */ fmr f3, f1 +/* 800DBAEC 000D8A4C 98 81 01 8D */ stb r4, 0x18d(r1) +/* 800DBAF0 000D8A50 B0 01 01 8E */ sth r0, 0x18e(r1) +/* 800DBAF4 000D8A54 48 28 78 F9 */ bl __ct__6CColorFffff +/* 800DBAF8 000D8A58 A0 01 01 8E */ lhz r0, 0x18e(r1) +/* 800DBAFC 000D8A5C 7E E3 BB 78 */ mr r3, r23 +/* 800DBB00 000D8A60 88 E1 01 8C */ lbz r7, 0x18c(r1) +/* 800DBB04 000D8A64 38 81 01 94 */ addi r4, r1, 0x194 +/* 800DBB08 000D8A68 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 800DBB0C 000D8A6C 88 C1 01 8D */ lbz r6, 0x18d(r1) +/* 800DBB10 000D8A70 60 05 00 01 */ ori r5, r0, 1 +/* 800DBB14 000D8A74 80 01 01 90 */ lwz r0, 0x190(r1) +/* 800DBB18 000D8A78 98 E1 01 94 */ stb r7, 0x194(r1) +/* 800DBB1C 000D8A7C 98 C1 01 95 */ stb r6, 0x195(r1) +/* 800DBB20 000D8A80 B0 A1 01 96 */ sth r5, 0x196(r1) +/* 800DBB24 000D8A84 90 01 01 98 */ stw r0, 0x198(r1) +/* 800DBB28 000D8A88 48 27 A0 AD */ bl Draw__6CModelCFRC11CModelFlags +/* 800DBB2C 000D8A8C 38 61 04 D0 */ addi r3, r1, 0x4d0 +/* 800DBB30 000D8A90 48 23 0A B1 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 800DBB34 000D8A94 48 22 E3 AD */ bl GetSecondsMod900__9CGraphicsFv +/* 800DBB38 000D8A98 C8 42 8E E8 */ lfd f2, lbl_805AAC08@sda21(r2) +/* 800DBB3C 000D8A9C 48 2B 91 71 */ bl fmod +/* 800DBB40 000D8AA0 C0 1F 00 C4 */ lfs f0, 0xc4(r31) +/* 800DBB44 000D8AA4 FC 40 08 18 */ frsp f2, f1 +/* 800DBB48 000D8AA8 C3 A2 8E 94 */ lfs f29, lbl_805AABB4@sda21(r2) +/* 800DBB4C 000D8AAC FC 20 02 10 */ fabs f1, f0 +/* 800DBB50 000D8AB0 C0 02 8E F4 */ lfs f0, lbl_805AAC14@sda21(r2) +/* 800DBB54 000D8AB4 FC 20 08 18 */ frsp f1, f1 +/* 800DBB58 000D8AB8 EC 3D 08 28 */ fsubs f1, f29, f1 +/* 800DBB5C 000D8ABC EC 62 00 72 */ fmuls f3, f2, f1 +/* 800DBB60 000D8AC0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 800DBB64 000D8AC4 40 80 00 10 */ bge lbl_800DBB74 +/* 800DBB68 000D8AC8 C0 02 8E F0 */ lfs f0, lbl_805AAC10@sda21(r2) +/* 800DBB6C 000D8ACC EF A0 E8 FC */ fnmsubs f29, f0, f3, f29 +/* 800DBB70 000D8AD0 48 00 00 1C */ b lbl_800DBB8C +lbl_800DBB74: +/* 800DBB74 000D8AD4 C0 42 8E D0 */ lfs f2, lbl_805AABF0@sda21(r2) +/* 800DBB78 000D8AD8 FC 03 10 40 */ fcmpo cr0, f3, f2 +/* 800DBB7C 000D8ADC 40 80 00 10 */ bge lbl_800DBB8C +/* 800DBB80 000D8AE0 EC 03 00 28 */ fsubs f0, f3, f0 +/* 800DBB84 000D8AE4 C0 22 8E F0 */ lfs f1, lbl_805AAC10@sda21(r2) +/* 800DBB88 000D8AE8 EF A1 10 3A */ fmadds f29, f1, f0, f2 +lbl_800DBB8C: +/* 800DBB8C 000D8AEC C0 02 8E FC */ lfs f0, lbl_805AAC1C@sda21(r2) +/* 800DBB90 000D8AF0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 800DBB94 000D8AF4 40 81 00 18 */ ble lbl_800DBBAC +/* 800DBB98 000D8AF8 EC 23 00 28 */ fsubs f1, f3, f0 +/* 800DBB9C 000D8AFC C0 42 8E F8 */ lfs f2, lbl_805AAC18@sda21(r2) +/* 800DBBA0 000D8B00 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DBBA4 000D8B04 EF 22 00 7C */ fnmsubs f25, f2, f1, f0 +/* 800DBBA8 000D8B08 48 00 00 24 */ b lbl_800DBBCC +lbl_800DBBAC: +/* 800DBBAC 000D8B0C C0 02 8E D0 */ lfs f0, lbl_805AABF0@sda21(r2) +/* 800DBBB0 000D8B10 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 800DBBB4 000D8B14 40 81 00 14 */ ble lbl_800DBBC8 +/* 800DBBB8 000D8B18 EC 03 00 28 */ fsubs f0, f3, f0 +/* 800DBBBC 000D8B1C C0 22 8E F8 */ lfs f1, lbl_805AAC18@sda21(r2) +/* 800DBBC0 000D8B20 EF 21 00 32 */ fmuls f25, f1, f0 +/* 800DBBC4 000D8B24 48 00 00 08 */ b lbl_800DBBCC +lbl_800DBBC8: +/* 800DBBC8 000D8B28 C3 22 8E 90 */ lfs f25, lbl_805AABB0@sda21(r2) +lbl_800DBBCC: +/* 800DBBCC 000D8B2C 48 26 E3 E1 */ bl White__6CColorFv +/* 800DBBD0 000D8B30 F3 61 A0 08 */ psq_st f27, 8(r1), 1, qr2 +/* 800DBBD4 000D8B34 FC 20 E8 90 */ fmr f1, f29 +/* 800DBBD8 000D8B38 80 63 00 00 */ lwz r3, 0(r3) +/* 800DBBDC 000D8B3C FC 40 E8 90 */ fmr f2, f29 +/* 800DBBE0 000D8B40 88 01 00 08 */ lbz r0, 8(r1) +/* 800DBBE4 000D8B44 FC 60 E8 90 */ fmr f3, f29 +/* 800DBBE8 000D8B48 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 800DBBEC 000D8B4C FC 80 F8 90 */ fmr f4, f31 +/* 800DBBF0 000D8B50 90 01 00 48 */ stw r0, 0x48(r1) +/* 800DBBF4 000D8B54 38 61 00 44 */ addi r3, r1, 0x44 +/* 800DBBF8 000D8B58 48 28 77 F5 */ bl __ct__6CColorFffff +/* 800DBBFC 000D8B5C C0 3F 00 68 */ lfs f1, 0x68(r31) +/* 800DBC00 000D8B60 7C 65 1B 78 */ mr r5, r3 +/* 800DBC04 000D8B64 38 61 00 4C */ addi r3, r1, 0x4c +/* 800DBC08 000D8B68 38 81 00 48 */ addi r4, r1, 0x48 +/* 800DBC0C 000D8B6C 48 28 76 A1 */ bl Lerp__6CColorFRC6CColorRC6CColorf +/* 800DBC10 000D8B70 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 800DBC14 000D8B74 38 60 00 05 */ li r3, 5 +/* 800DBC18 000D8B78 38 C0 00 00 */ li r6, 0 +/* 800DBC1C 000D8B7C 38 A0 00 03 */ li r5, 3 +/* 800DBC20 000D8B80 98 61 01 84 */ stb r3, 0x184(r1) +/* 800DBC24 000D8B84 7F 23 CB 78 */ mr r3, r25 +/* 800DBC28 000D8B88 38 81 01 84 */ addi r4, r1, 0x184 +/* 800DBC2C 000D8B8C 98 C1 01 85 */ stb r6, 0x185(r1) +/* 800DBC30 000D8B90 B0 A1 01 86 */ sth r5, 0x186(r1) +/* 800DBC34 000D8B94 90 01 01 88 */ stw r0, 0x188(r1) +/* 800DBC38 000D8B98 48 27 9F 9D */ bl Draw__6CModelCFRC11CModelFlags +/* 800DBC3C 000D8B9C EC 1F 06 72 */ fmuls f0, f31, f25 +/* 800DBC40 000D8BA0 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DBC44 000D8BA4 C0 5F 00 68 */ lfs f2, 0x68(r31) +/* 800DBC48 000D8BA8 38 A0 00 07 */ li r5, 7 +/* 800DBC4C 000D8BAC 38 80 00 00 */ li r4, 0 +/* 800DBC50 000D8BB0 38 00 00 03 */ li r0, 3 +/* 800DBC54 000D8BB4 EC 82 00 32 */ fmuls f4, f2, f0 +/* 800DBC58 000D8BB8 98 A1 01 74 */ stb r5, 0x174(r1) +/* 800DBC5C 000D8BBC FC 40 08 90 */ fmr f2, f1 +/* 800DBC60 000D8BC0 38 61 01 78 */ addi r3, r1, 0x178 +/* 800DBC64 000D8BC4 FC 60 08 90 */ fmr f3, f1 +/* 800DBC68 000D8BC8 98 81 01 75 */ stb r4, 0x175(r1) +/* 800DBC6C 000D8BCC B0 01 01 76 */ sth r0, 0x176(r1) +/* 800DBC70 000D8BD0 48 28 77 7D */ bl __ct__6CColorFffff +/* 800DBC74 000D8BD4 A0 01 01 76 */ lhz r0, 0x176(r1) +/* 800DBC78 000D8BD8 7F 23 CB 78 */ mr r3, r25 +/* 800DBC7C 000D8BDC 88 E1 01 74 */ lbz r7, 0x174(r1) +/* 800DBC80 000D8BE0 38 81 01 7C */ addi r4, r1, 0x17c +/* 800DBC84 000D8BE4 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 800DBC88 000D8BE8 88 C1 01 75 */ lbz r6, 0x175(r1) +/* 800DBC8C 000D8BEC 60 05 00 01 */ ori r5, r0, 1 +/* 800DBC90 000D8BF0 80 01 01 78 */ lwz r0, 0x178(r1) +/* 800DBC94 000D8BF4 98 E1 01 7C */ stb r7, 0x17c(r1) +/* 800DBC98 000D8BF8 98 C1 01 7D */ stb r6, 0x17d(r1) +/* 800DBC9C 000D8BFC B0 A1 01 7E */ sth r5, 0x17e(r1) +/* 800DBCA0 000D8C00 90 01 01 80 */ stw r0, 0x180(r1) +/* 800DBCA4 000D8C04 48 27 9F 31 */ bl Draw__6CModelCFRC11CModelFlags +/* 800DBCA8 000D8C08 88 1F 02 70 */ lbz r0, 0x270(r31) +/* 800DBCAC 000D8C0C 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800DBCB0 000D8C10 41 82 00 B4 */ beq lbl_800DBD64 +/* 800DBCB4 000D8C14 38 61 04 A0 */ addi r3, r1, 0x4a0 +/* 800DBCB8 000D8C18 48 23 09 29 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 800DBCBC 000D8C1C C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DBCC0 000D8C20 38 60 00 05 */ li r3, 5 +/* 800DBCC4 000D8C24 38 80 00 00 */ li r4, 0 +/* 800DBCC8 000D8C28 38 00 00 03 */ li r0, 3 +/* 800DBCCC 000D8C2C FC 40 08 90 */ fmr f2, f1 +/* 800DBCD0 000D8C30 98 61 01 6C */ stb r3, 0x16c(r1) +/* 800DBCD4 000D8C34 FC 60 08 90 */ fmr f3, f1 +/* 800DBCD8 000D8C38 38 61 01 70 */ addi r3, r1, 0x170 +/* 800DBCDC 000D8C3C FC 80 F8 90 */ fmr f4, f31 +/* 800DBCE0 000D8C40 98 81 01 6D */ stb r4, 0x16d(r1) +/* 800DBCE4 000D8C44 B0 01 01 6E */ sth r0, 0x16e(r1) +/* 800DBCE8 000D8C48 48 28 77 05 */ bl __ct__6CColorFffff +/* 800DBCEC 000D8C4C 7F 63 DB 78 */ mr r3, r27 +/* 800DBCF0 000D8C50 38 81 01 6C */ addi r4, r1, 0x16c +/* 800DBCF4 000D8C54 48 27 9E E1 */ bl Draw__6CModelCFRC11CModelFlags +/* 800DBCF8 000D8C58 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DBCFC 000D8C5C 38 A0 00 07 */ li r5, 7 +/* 800DBD00 000D8C60 C0 1F 00 60 */ lfs f0, 0x60(r31) +/* 800DBD04 000D8C64 38 80 00 00 */ li r4, 0 +/* 800DBD08 000D8C68 38 00 00 03 */ li r0, 3 +/* 800DBD0C 000D8C6C FC 40 08 90 */ fmr f2, f1 +/* 800DBD10 000D8C70 EC 80 07 32 */ fmuls f4, f0, f28 +/* 800DBD14 000D8C74 98 A1 01 5C */ stb r5, 0x15c(r1) +/* 800DBD18 000D8C78 FC 60 08 90 */ fmr f3, f1 +/* 800DBD1C 000D8C7C 38 61 01 60 */ addi r3, r1, 0x160 +/* 800DBD20 000D8C80 98 81 01 5D */ stb r4, 0x15d(r1) +/* 800DBD24 000D8C84 B0 01 01 5E */ sth r0, 0x15e(r1) +/* 800DBD28 000D8C88 48 28 76 C5 */ bl __ct__6CColorFffff +/* 800DBD2C 000D8C8C A0 01 01 5E */ lhz r0, 0x15e(r1) +/* 800DBD30 000D8C90 7F 63 DB 78 */ mr r3, r27 +/* 800DBD34 000D8C94 88 E1 01 5C */ lbz r7, 0x15c(r1) +/* 800DBD38 000D8C98 38 81 01 64 */ addi r4, r1, 0x164 +/* 800DBD3C 000D8C9C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 800DBD40 000D8CA0 88 C1 01 5D */ lbz r6, 0x15d(r1) +/* 800DBD44 000D8CA4 60 05 00 01 */ ori r5, r0, 1 +/* 800DBD48 000D8CA8 80 01 01 60 */ lwz r0, 0x160(r1) +/* 800DBD4C 000D8CAC 98 E1 01 64 */ stb r7, 0x164(r1) +/* 800DBD50 000D8CB0 98 C1 01 65 */ stb r6, 0x165(r1) +/* 800DBD54 000D8CB4 B0 A1 01 66 */ sth r5, 0x166(r1) +/* 800DBD58 000D8CB8 90 01 01 68 */ stw r0, 0x168(r1) +/* 800DBD5C 000D8CBC 48 27 9E 79 */ bl Draw__6CModelCFRC11CModelFlags +/* 800DBD60 000D8CC0 48 00 00 BC */ b lbl_800DBE1C +lbl_800DBD64: +/* 800DBD64 000D8CC4 80 1F 00 44 */ lwz r0, 0x44(r31) +/* 800DBD68 000D8CC8 2C 00 00 04 */ cmpwi r0, 4 +/* 800DBD6C 000D8CCC 41 80 00 B0 */ blt lbl_800DBE1C +/* 800DBD70 000D8CD0 38 61 04 A0 */ addi r3, r1, 0x4a0 +/* 800DBD74 000D8CD4 48 23 08 6D */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 800DBD78 000D8CD8 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DBD7C 000D8CDC 38 60 00 05 */ li r3, 5 +/* 800DBD80 000D8CE0 38 80 00 00 */ li r4, 0 +/* 800DBD84 000D8CE4 38 00 00 03 */ li r0, 3 +/* 800DBD88 000D8CE8 FC 40 08 90 */ fmr f2, f1 +/* 800DBD8C 000D8CEC 98 61 01 54 */ stb r3, 0x154(r1) +/* 800DBD90 000D8CF0 FC 60 08 90 */ fmr f3, f1 +/* 800DBD94 000D8CF4 38 61 01 58 */ addi r3, r1, 0x158 +/* 800DBD98 000D8CF8 FC 80 F8 90 */ fmr f4, f31 +/* 800DBD9C 000D8CFC 98 81 01 55 */ stb r4, 0x155(r1) +/* 800DBDA0 000D8D00 B0 01 01 56 */ sth r0, 0x156(r1) +/* 800DBDA4 000D8D04 48 28 76 49 */ bl __ct__6CColorFffff +/* 800DBDA8 000D8D08 7F 43 D3 78 */ mr r3, r26 +/* 800DBDAC 000D8D0C 38 81 01 54 */ addi r4, r1, 0x154 +/* 800DBDB0 000D8D10 48 27 9E 25 */ bl Draw__6CModelCFRC11CModelFlags +/* 800DBDB4 000D8D14 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DBDB8 000D8D18 38 A0 00 07 */ li r5, 7 +/* 800DBDBC 000D8D1C C0 01 00 70 */ lfs f0, 0x70(r1) +/* 800DBDC0 000D8D20 38 80 00 00 */ li r4, 0 +/* 800DBDC4 000D8D24 38 00 00 03 */ li r0, 3 +/* 800DBDC8 000D8D28 FC 40 08 90 */ fmr f2, f1 +/* 800DBDCC 000D8D2C FC 60 08 90 */ fmr f3, f1 +/* 800DBDD0 000D8D30 98 A1 01 44 */ stb r5, 0x144(r1) +/* 800DBDD4 000D8D34 EC 9F 00 32 */ fmuls f4, f31, f0 +/* 800DBDD8 000D8D38 38 61 01 48 */ addi r3, r1, 0x148 +/* 800DBDDC 000D8D3C 98 81 01 45 */ stb r4, 0x145(r1) +/* 800DBDE0 000D8D40 B0 01 01 46 */ sth r0, 0x146(r1) +/* 800DBDE4 000D8D44 48 28 76 09 */ bl __ct__6CColorFffff +/* 800DBDE8 000D8D48 A0 01 01 46 */ lhz r0, 0x146(r1) +/* 800DBDEC 000D8D4C 7F 43 D3 78 */ mr r3, r26 +/* 800DBDF0 000D8D50 88 E1 01 44 */ lbz r7, 0x144(r1) +/* 800DBDF4 000D8D54 38 81 01 4C */ addi r4, r1, 0x14c +/* 800DBDF8 000D8D58 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 800DBDFC 000D8D5C 88 C1 01 45 */ lbz r6, 0x145(r1) +/* 800DBE00 000D8D60 60 05 00 01 */ ori r5, r0, 1 +/* 800DBE04 000D8D64 80 01 01 48 */ lwz r0, 0x148(r1) +/* 800DBE08 000D8D68 98 E1 01 4C */ stb r7, 0x14c(r1) +/* 800DBE0C 000D8D6C 98 C1 01 4D */ stb r6, 0x14d(r1) +/* 800DBE10 000D8D70 B0 A1 01 4E */ sth r5, 0x14e(r1) +/* 800DBE14 000D8D74 90 01 01 50 */ stw r0, 0x150(r1) +/* 800DBE18 000D8D78 48 27 9D BD */ bl Draw__6CModelCFRC11CModelFlags +lbl_800DBE1C: +/* 800DBE1C 000D8D7C C0 7F 00 54 */ lfs f3, 0x54(r31) +/* 800DBE20 000D8D80 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DBE24 000D8D84 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 800DBE28 000D8D88 40 81 04 B0 */ ble lbl_800DC2D8 +/* 800DBE2C 000D8D8C C0 9F 00 50 */ lfs f4, 0x50(r31) +/* 800DBE30 000D8D90 FF A0 00 90 */ fmr f29, f0 +/* 800DBE34 000D8D94 88 1F 00 4D */ lbz r0, 0x4d(r31) +/* 800DBE38 000D8D98 EC 03 20 24 */ fdivs f0, f3, f4 +/* 800DBE3C 000D8D9C C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DBE40 000D8DA0 28 00 00 00 */ cmplwi r0, 0 +/* 800DBE44 000D8DA4 EF 81 00 28 */ fsubs f28, f1, f0 +/* 800DBE48 000D8DA8 41 82 00 38 */ beq lbl_800DBE80 +/* 800DBE4C 000D8DAC C0 22 8E F4 */ lfs f1, lbl_805AAC14@sda21(r2) +/* 800DBE50 000D8DB0 C0 0D 87 50 */ lfs f0, lbl_805A7310@sda21(r13) +/* 800DBE54 000D8DB4 EC 23 08 24 */ fdivs f1, f3, f1 +/* 800DBE58 000D8DB8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DBE5C 000D8DBC D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800DBE60 000D8DC0 40 80 00 0C */ bge lbl_800DBE6C +/* 800DBE64 000D8DC4 38 61 00 40 */ addi r3, r1, 0x40 +/* 800DBE68 000D8DC8 48 00 00 08 */ b lbl_800DBE70 +lbl_800DBE6C: +/* 800DBE6C 000D8DCC 38 6D 87 50 */ addi r3, r13, lbl_805A7310@sda21 +lbl_800DBE70: +/* 800DBE70 000D8DD0 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DBE74 000D8DD4 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DBE78 000D8DD8 EF A1 00 28 */ fsubs f29, f1, f0 +/* 800DBE7C 000D8DDC 48 00 00 40 */ b lbl_800DBEBC +lbl_800DBE80: +/* 800DBE80 000D8DE0 88 1F 00 4C */ lbz r0, 0x4c(r31) +/* 800DBE84 000D8DE4 28 00 00 00 */ cmplwi r0, 0 +/* 800DBE88 000D8DE8 41 82 00 34 */ beq lbl_800DBEBC +/* 800DBE8C 000D8DEC C0 42 8E F4 */ lfs f2, lbl_805AAC14@sda21(r2) +/* 800DBE90 000D8DF0 C0 0D 87 54 */ lfs f0, lbl_805A7314@sda21(r13) +/* 800DBE94 000D8DF4 EC 24 10 28 */ fsubs f1, f4, f2 +/* 800DBE98 000D8DF8 EC 23 08 28 */ fsubs f1, f3, f1 +/* 800DBE9C 000D8DFC EC 21 10 24 */ fdivs f1, f1, f2 +/* 800DBEA0 000D8E00 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800DBEA4 000D8E04 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800DBEA8 000D8E08 40 80 00 0C */ bge lbl_800DBEB4 +/* 800DBEAC 000D8E0C 38 61 00 3C */ addi r3, r1, 0x3c +/* 800DBEB0 000D8E10 48 00 00 08 */ b lbl_800DBEB8 +lbl_800DBEB4: +/* 800DBEB4 000D8E14 38 6D 87 54 */ addi r3, r13, lbl_805A7314@sda21 +lbl_800DBEB8: +/* 800DBEB8 000D8E18 C3 A3 00 00 */ lfs f29, 0(r3) +lbl_800DBEBC: +/* 800DBEBC 000D8E1C C0 82 8E 90 */ lfs f4, lbl_805AABB0@sda21(r2) +/* 800DBEC0 000D8E20 FC 1D 20 40 */ fcmpo cr0, f29, f4 +/* 800DBEC4 000D8E24 40 81 01 4C */ ble lbl_800DC010 +/* 800DBEC8 000D8E28 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DBECC 000D8E2C 38 A0 00 05 */ li r5, 5 +/* 800DBED0 000D8E30 38 80 00 00 */ li r4, 0 +/* 800DBED4 000D8E34 38 00 00 03 */ li r0, 3 +/* 800DBED8 000D8E38 FC 40 08 90 */ fmr f2, f1 +/* 800DBEDC 000D8E3C 98 A1 01 34 */ stb r5, 0x134(r1) +/* 800DBEE0 000D8E40 FC 60 08 90 */ fmr f3, f1 +/* 800DBEE4 000D8E44 83 3F 01 E0 */ lwz r25, 0x1e0(r31) +/* 800DBEE8 000D8E48 98 81 01 35 */ stb r4, 0x135(r1) +/* 800DBEEC 000D8E4C 38 61 01 38 */ addi r3, r1, 0x138 +/* 800DBEF0 000D8E50 B0 01 01 36 */ sth r0, 0x136(r1) +/* 800DBEF4 000D8E54 48 28 74 F9 */ bl __ct__6CColorFffff +/* 800DBEF8 000D8E58 EF 3D 07 F2 */ fmuls f25, f29, f31 +/* 800DBEFC 000D8E5C A0 01 01 36 */ lhz r0, 0x136(r1) +/* 800DBF00 000D8E60 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DBF04 000D8E64 38 A0 00 05 */ li r5, 5 +/* 800DBF08 000D8E68 89 21 01 34 */ lbz r9, 0x134(r1) +/* 800DBF0C 000D8E6C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 800DBF10 000D8E70 60 07 00 03 */ ori r7, r0, 3 +/* 800DBF14 000D8E74 80 C1 01 38 */ lwz r6, 0x138(r1) +/* 800DBF18 000D8E78 89 01 01 35 */ lbz r8, 0x135(r1) +/* 800DBF1C 000D8E7C 38 80 00 00 */ li r4, 0 +/* 800DBF20 000D8E80 38 00 00 03 */ li r0, 3 +/* 800DBF24 000D8E84 FC 40 08 90 */ fmr f2, f1 +/* 800DBF28 000D8E88 FC 60 08 90 */ fmr f3, f1 +/* 800DBF2C 000D8E8C 99 21 01 3C */ stb r9, 0x13c(r1) +/* 800DBF30 000D8E90 FC 80 C8 90 */ fmr f4, f25 +/* 800DBF34 000D8E94 82 7F 01 E0 */ lwz r19, 0x1e0(r31) +/* 800DBF38 000D8E98 99 01 01 3D */ stb r8, 0x13d(r1) +/* 800DBF3C 000D8E9C 38 61 01 30 */ addi r3, r1, 0x130 +/* 800DBF40 000D8EA0 B0 E1 01 3E */ sth r7, 0x13e(r1) +/* 800DBF44 000D8EA4 90 C1 01 40 */ stw r6, 0x140(r1) +/* 800DBF48 000D8EA8 99 21 01 E4 */ stb r9, 0x1e4(r1) +/* 800DBF4C 000D8EAC 9B 21 01 E5 */ stb r25, 0x1e5(r1) +/* 800DBF50 000D8EB0 B0 E1 01 E6 */ sth r7, 0x1e6(r1) +/* 800DBF54 000D8EB4 90 C1 01 E8 */ stw r6, 0x1e8(r1) +/* 800DBF58 000D8EB8 98 A1 01 2C */ stb r5, 0x12c(r1) +/* 800DBF5C 000D8EBC 98 81 01 2D */ stb r4, 0x12d(r1) +/* 800DBF60 000D8EC0 B0 01 01 2E */ sth r0, 0x12e(r1) +/* 800DBF64 000D8EC4 48 28 74 89 */ bl __ct__6CColorFffff +/* 800DBF68 000D8EC8 88 81 01 2C */ lbz r4, 0x12c(r1) +/* 800DBF6C 000D8ECC 38 7F 01 84 */ addi r3, r31, 0x184 +/* 800DBF70 000D8ED0 A1 21 01 2E */ lhz r9, 0x12e(r1) +/* 800DBF74 000D8ED4 38 BF 00 10 */ addi r5, r31, 0x10 +/* 800DBF78 000D8ED8 80 01 01 30 */ lwz r0, 0x130(r1) +/* 800DBF7C 000D8EDC 38 E1 01 E4 */ addi r7, r1, 0x1e4 +/* 800DBF80 000D8EE0 98 81 01 EC */ stb r4, 0x1ec(r1) +/* 800DBF84 000D8EE4 38 80 00 00 */ li r4, 0 +/* 800DBF88 000D8EE8 80 DF 02 4C */ lwz r6, 0x24c(r31) +/* 800DBF8C 000D8EEC 39 00 00 02 */ li r8, 2 +/* 800DBF90 000D8EF0 9A 61 01 ED */ stb r19, 0x1ed(r1) +/* 800DBF94 000D8EF4 B1 21 01 EE */ sth r9, 0x1ee(r1) +/* 800DBF98 000D8EF8 90 01 01 F0 */ stw r0, 0x1f0(r1) +/* 800DBF9C 000D8EFC 48 03 9D C1 */ bl MultipassDraw__10CModelDataF11EWhichModelRC12CTransform4fPC12CActorLightsPC11CModelFlagsi +/* 800DBFA0 000D8F00 EC 1A 06 72 */ fmuls f0, f26, f25 +/* 800DBFA4 000D8F04 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DBFA8 000D8F08 C0 5F 00 6C */ lfs f2, 0x6c(r31) +/* 800DBFAC 000D8F0C 38 A0 00 07 */ li r5, 7 +/* 800DBFB0 000D8F10 38 80 00 00 */ li r4, 0 +/* 800DBFB4 000D8F14 38 00 00 03 */ li r0, 3 +/* 800DBFB8 000D8F18 EC 82 00 32 */ fmuls f4, f2, f0 +/* 800DBFBC 000D8F1C 98 A1 01 1C */ stb r5, 0x11c(r1) +/* 800DBFC0 000D8F20 FC 40 08 90 */ fmr f2, f1 +/* 800DBFC4 000D8F24 82 9F 01 E0 */ lwz r20, 0x1e0(r31) +/* 800DBFC8 000D8F28 FC 60 08 90 */ fmr f3, f1 +/* 800DBFCC 000D8F2C 98 81 01 1D */ stb r4, 0x11d(r1) +/* 800DBFD0 000D8F30 B0 01 01 1E */ sth r0, 0x11e(r1) +/* 800DBFD4 000D8F34 38 61 01 20 */ addi r3, r1, 0x120 +/* 800DBFD8 000D8F38 48 28 74 15 */ bl __ct__6CColorFffff +/* 800DBFDC 000D8F3C 88 A1 01 1C */ lbz r5, 0x11c(r1) +/* 800DBFE0 000D8F40 7F A4 EB 78 */ mr r4, r29 +/* 800DBFE4 000D8F44 A1 01 01 1E */ lhz r8, 0x11e(r1) +/* 800DBFE8 000D8F48 38 7F 01 84 */ addi r3, r31, 0x184 +/* 800DBFEC 000D8F4C 80 01 01 20 */ lwz r0, 0x120(r1) +/* 800DBFF0 000D8F50 38 E1 01 24 */ addi r7, r1, 0x124 +/* 800DBFF4 000D8F54 98 A1 01 24 */ stb r5, 0x124(r1) +/* 800DBFF8 000D8F58 38 BF 00 10 */ addi r5, r31, 0x10 +/* 800DBFFC 000D8F5C 38 C0 00 00 */ li r6, 0 +/* 800DC000 000D8F60 9A 81 01 25 */ stb r20, 0x125(r1) +/* 800DC004 000D8F64 B1 01 01 26 */ sth r8, 0x126(r1) +/* 800DC008 000D8F68 90 01 01 28 */ stw r0, 0x128(r1) +/* 800DC00C 000D8F6C 48 03 8D B1 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_800DC010: +/* 800DC010 000D8F70 88 1F 00 4D */ lbz r0, 0x4d(r31) +/* 800DC014 000D8F74 28 00 00 00 */ cmplwi r0, 0 +/* 800DC018 000D8F78 41 82 01 64 */ beq lbl_800DC17C +/* 800DC01C 000D8F7C C0 82 8E D0 */ lfs f4, lbl_805AABF0@sda21(r2) +/* 800DC020 000D8F80 FC 1C 20 40 */ fcmpo cr0, f28, f4 +/* 800DC024 000D8F84 40 81 01 58 */ ble lbl_800DC17C +/* 800DC028 000D8F88 EC 7C 20 28 */ fsubs f3, f28, f4 +/* 800DC02C 000D8F8C C0 42 8E 94 */ lfs f2, lbl_805AABB4@sda21(r2) +/* 800DC030 000D8F90 C0 02 8E FC */ lfs f0, lbl_805AAC1C@sda21(r2) +/* 800DC034 000D8F94 C0 22 8F 00 */ lfs f1, lbl_805AAC20@sda21(r2) +/* 800DC038 000D8F98 EC 63 20 24 */ fdivs f3, f3, f4 +/* 800DC03C 000D8F9C EC 82 18 28 */ fsubs f4, f2, f3 +/* 800DC040 000D8FA0 FC 03 08 40 */ fcmpo cr0, f3, f1 +/* 800DC044 000D8FA4 EF C0 11 3A */ fmadds f30, f0, f4, f2 +/* 800DC048 000D8FA8 40 80 00 0C */ bge lbl_800DC054 +/* 800DC04C 000D8FAC C0 A2 8E 90 */ lfs f5, lbl_805AABB0@sda21(r2) +/* 800DC050 000D8FB0 48 00 00 40 */ b lbl_800DC090 +lbl_800DC054: +/* 800DC054 000D8FB4 C0 02 8E DC */ lfs f0, lbl_805AABFC@sda21(r2) +/* 800DC058 000D8FB8 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 800DC05C 000D8FBC 40 80 00 10 */ bge lbl_800DC06C +/* 800DC060 000D8FC0 EC 03 08 28 */ fsubs f0, f3, f1 +/* 800DC064 000D8FC4 EC A0 08 24 */ fdivs f5, f0, f1 +/* 800DC068 000D8FC8 48 00 00 28 */ b lbl_800DC090 +lbl_800DC06C: +/* 800DC06C 000D8FCC C0 02 8F 04 */ lfs f0, lbl_805AAC24@sda21(r2) +/* 800DC070 000D8FD0 FC 03 00 40 */ fcmpo cr0, f3, f0 +/* 800DC074 000D8FD4 40 80 00 0C */ bge lbl_800DC080 +/* 800DC078 000D8FD8 FC A0 10 90 */ fmr f5, f2 +/* 800DC07C 000D8FDC 48 00 00 14 */ b lbl_800DC090 +lbl_800DC080: +/* 800DC080 000D8FE0 EC 3C 00 28 */ fsubs f1, f28, f0 +/* 800DC084 000D8FE4 C0 02 8F 08 */ lfs f0, lbl_805AAC28@sda21(r2) +/* 800DC088 000D8FE8 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800DC08C 000D8FEC EC A2 00 28 */ fsubs f5, f2, f0 +lbl_800DC090: +/* 800DC090 000D8FF0 C0 02 8F 10 */ lfs f0, lbl_805AAC30@sda21(r2) +/* 800DC094 000D8FF4 C0 62 8E D0 */ lfs f3, lbl_805AABF0@sda21(r2) +/* 800DC098 000D8FF8 EC 20 01 32 */ fmuls f1, f0, f4 +/* 800DC09C 000D8FFC C0 42 8F 0C */ lfs f2, lbl_805AAC2C@sda21(r2) +/* 800DC0A0 000D9000 EC A5 00 F2 */ fmuls f5, f5, f3 +/* 800DC0A4 000D9004 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DC0A8 000D9008 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800DC0AC 000D900C FC 05 00 40 */ fcmpo cr0, f5, f0 +/* 800DC0B0 000D9010 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 800DC0B4 000D9014 40 81 00 C8 */ ble lbl_800DC17C +/* 800DC0B8 000D9018 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DC0BC 000D901C 38 A0 00 07 */ li r5, 7 +/* 800DC0C0 000D9020 38 80 00 00 */ li r4, 0 +/* 800DC0C4 000D9024 38 00 00 03 */ li r0, 3 +/* 800DC0C8 000D9028 FC 40 08 90 */ fmr f2, f1 +/* 800DC0CC 000D902C 98 A1 01 04 */ stb r5, 0x104(r1) +/* 800DC0D0 000D9030 FC 60 08 90 */ fmr f3, f1 +/* 800DC0D4 000D9034 82 9F 01 E0 */ lwz r20, 0x1e0(r31) +/* 800DC0D8 000D9038 EC 85 07 F2 */ fmuls f4, f5, f31 +/* 800DC0DC 000D903C 98 81 01 05 */ stb r4, 0x105(r1) +/* 800DC0E0 000D9040 B0 01 01 06 */ sth r0, 0x106(r1) +/* 800DC0E4 000D9044 38 61 01 08 */ addi r3, r1, 0x108 +/* 800DC0E8 000D9048 48 28 73 05 */ bl __ct__6CColorFffff +/* 800DC0EC 000D904C A0 61 01 06 */ lhz r3, 0x106(r1) +/* 800DC0F0 000D9050 FC 20 F0 90 */ fmr f1, f30 +/* 800DC0F4 000D9054 88 C1 01 04 */ lbz r6, 0x104(r1) +/* 800DC0F8 000D9058 FC 40 F0 90 */ fmr f2, f30 +/* 800DC0FC 000D905C 80 01 01 08 */ lwz r0, 0x108(r1) +/* 800DC100 000D9060 54 63 00 3A */ rlwinm r3, r3, 0, 0, 0x1d +/* 800DC104 000D9064 60 64 00 01 */ ori r4, r3, 1 +/* 800DC108 000D9068 88 A1 01 05 */ lbz r5, 0x105(r1) +/* 800DC10C 000D906C FC 60 F0 90 */ fmr f3, f30 +/* 800DC110 000D9070 98 C1 01 0C */ stb r6, 0x10c(r1) +/* 800DC114 000D9074 38 61 02 00 */ addi r3, r1, 0x200 +/* 800DC118 000D9078 98 A1 01 0D */ stb r5, 0x10d(r1) +/* 800DC11C 000D907C B0 81 01 0E */ sth r4, 0x10e(r1) +/* 800DC120 000D9080 90 01 01 10 */ stw r0, 0x110(r1) +/* 800DC124 000D9084 98 C1 01 14 */ stb r6, 0x114(r1) +/* 800DC128 000D9088 9A 81 01 15 */ stb r20, 0x115(r1) +/* 800DC12C 000D908C B0 81 01 16 */ sth r4, 0x116(r1) +/* 800DC130 000D9090 90 01 01 18 */ stw r0, 0x118(r1) +/* 800DC134 000D9094 48 23 70 D5 */ bl Scale__12CTransform4fFfff +/* 800DC138 000D9098 38 61 02 30 */ addi r3, r1, 0x230 +/* 800DC13C 000D909C 38 81 00 6C */ addi r4, r1, 0x6c +/* 800DC140 000D90A0 48 23 76 D1 */ bl RotateZ__12CTransform4fFRC9CRelAngle +/* 800DC144 000D90A4 38 61 02 60 */ addi r3, r1, 0x260 +/* 800DC148 000D90A8 38 9F 00 10 */ addi r4, r31, 0x10 +/* 800DC14C 000D90AC 38 A1 02 30 */ addi r5, r1, 0x230 +/* 800DC150 000D90B0 48 23 68 01 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800DC154 000D90B4 38 61 02 90 */ addi r3, r1, 0x290 +/* 800DC158 000D90B8 38 81 02 60 */ addi r4, r1, 0x260 +/* 800DC15C 000D90BC 38 A1 02 00 */ addi r5, r1, 0x200 +/* 800DC160 000D90C0 48 23 67 F1 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800DC164 000D90C4 80 DF 02 4C */ lwz r6, 0x24c(r31) +/* 800DC168 000D90C8 7F A4 EB 78 */ mr r4, r29 +/* 800DC16C 000D90CC 38 7F 01 84 */ addi r3, r31, 0x184 +/* 800DC170 000D90D0 38 A1 02 90 */ addi r5, r1, 0x290 +/* 800DC174 000D90D4 38 E1 01 14 */ addi r7, r1, 0x114 +/* 800DC178 000D90D8 48 03 8C 45 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +lbl_800DC17C: +/* 800DC17C 000D90DC 88 1F 02 70 */ lbz r0, 0x270(r31) +/* 800DC180 000D90E0 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800DC184 000D90E4 41 82 01 54 */ beq lbl_800DC2D8 +/* 800DC188 000D90E8 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DC18C 000D90EC FC 1D 00 40 */ fcmpo cr0, f29, f0 +/* 800DC190 000D90F0 40 81 01 48 */ ble lbl_800DC2D8 +/* 800DC194 000D90F4 38 7F 00 10 */ addi r3, r31, 0x10 +/* 800DC198 000D90F8 48 23 04 49 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 800DC19C 000D90FC C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DC1A0 000D9100 38 A0 00 05 */ li r5, 5 +/* 800DC1A4 000D9104 38 80 00 00 */ li r4, 0 +/* 800DC1A8 000D9108 38 00 00 03 */ li r0, 3 +/* 800DC1AC 000D910C FC 40 08 90 */ fmr f2, f1 +/* 800DC1B0 000D9110 98 A1 00 EC */ stb r5, 0xec(r1) +/* 800DC1B4 000D9114 FC 60 08 90 */ fmr f3, f1 +/* 800DC1B8 000D9118 82 9F 01 E4 */ lwz r20, 0x1e4(r31) +/* 800DC1BC 000D911C 98 81 00 ED */ stb r4, 0xed(r1) +/* 800DC1C0 000D9120 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800DC1C4 000D9124 C0 82 8E 90 */ lfs f4, lbl_805AABB0@sda21(r2) +/* 800DC1C8 000D9128 B0 01 00 EE */ sth r0, 0xee(r1) +/* 800DC1CC 000D912C 48 28 72 21 */ bl __ct__6CColorFffff +/* 800DC1D0 000D9130 A0 81 00 EE */ lhz r4, 0xee(r1) +/* 800DC1D4 000D9134 7F C3 F3 78 */ mr r3, r30 +/* 800DC1D8 000D9138 88 E1 00 EC */ lbz r7, 0xec(r1) +/* 800DC1DC 000D913C 80 01 00 F0 */ lwz r0, 0xf0(r1) +/* 800DC1E0 000D9140 54 84 00 3A */ rlwinm r4, r4, 0, 0, 0x1d +/* 800DC1E4 000D9144 60 85 00 03 */ ori r5, r4, 3 +/* 800DC1E8 000D9148 88 C1 00 ED */ lbz r6, 0xed(r1) +/* 800DC1EC 000D914C 98 E1 00 F4 */ stb r7, 0xf4(r1) +/* 800DC1F0 000D9150 38 81 00 FC */ addi r4, r1, 0xfc +/* 800DC1F4 000D9154 98 C1 00 F5 */ stb r6, 0xf5(r1) +/* 800DC1F8 000D9158 B0 A1 00 F6 */ sth r5, 0xf6(r1) +/* 800DC1FC 000D915C 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 800DC200 000D9160 98 E1 00 FC */ stb r7, 0xfc(r1) +/* 800DC204 000D9164 9A 81 00 FD */ stb r20, 0xfd(r1) +/* 800DC208 000D9168 B0 A1 00 FE */ sth r5, 0xfe(r1) +/* 800DC20C 000D916C 90 01 01 00 */ stw r0, 0x100(r1) +/* 800DC210 000D9170 48 27 99 C5 */ bl Draw__6CModelCFRC11CModelFlags +/* 800DC214 000D9174 EF 3D 07 F2 */ fmuls f25, f29, f31 +/* 800DC218 000D9178 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DC21C 000D917C 38 A0 00 05 */ li r5, 5 +/* 800DC220 000D9180 38 80 00 00 */ li r4, 0 +/* 800DC224 000D9184 38 00 00 03 */ li r0, 3 +/* 800DC228 000D9188 FC 40 08 90 */ fmr f2, f1 +/* 800DC22C 000D918C FC 60 08 90 */ fmr f3, f1 +/* 800DC230 000D9190 98 A1 00 DC */ stb r5, 0xdc(r1) +/* 800DC234 000D9194 FC 80 C8 90 */ fmr f4, f25 +/* 800DC238 000D9198 82 9F 01 E4 */ lwz r20, 0x1e4(r31) +/* 800DC23C 000D919C 98 81 00 DD */ stb r4, 0xdd(r1) +/* 800DC240 000D91A0 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 800DC244 000D91A4 B0 01 00 DE */ sth r0, 0xde(r1) +/* 800DC248 000D91A8 48 28 71 A5 */ bl __ct__6CColorFffff +/* 800DC24C 000D91AC 88 C1 00 DC */ lbz r6, 0xdc(r1) +/* 800DC250 000D91B0 7F C3 F3 78 */ mr r3, r30 +/* 800DC254 000D91B4 A0 A1 00 DE */ lhz r5, 0xde(r1) +/* 800DC258 000D91B8 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 800DC25C 000D91BC 80 01 00 E0 */ lwz r0, 0xe0(r1) +/* 800DC260 000D91C0 98 C1 00 E4 */ stb r6, 0xe4(r1) +/* 800DC264 000D91C4 9A 81 00 E5 */ stb r20, 0xe5(r1) +/* 800DC268 000D91C8 B0 A1 00 E6 */ sth r5, 0xe6(r1) +/* 800DC26C 000D91CC 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 800DC270 000D91D0 48 27 99 65 */ bl Draw__6CModelCFRC11CModelFlags +/* 800DC274 000D91D4 EC 1A 06 72 */ fmuls f0, f26, f25 +/* 800DC278 000D91D8 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DC27C 000D91DC C0 5F 00 6C */ lfs f2, 0x6c(r31) +/* 800DC280 000D91E0 38 A0 00 07 */ li r5, 7 +/* 800DC284 000D91E4 38 80 00 00 */ li r4, 0 +/* 800DC288 000D91E8 38 00 00 03 */ li r0, 3 +/* 800DC28C 000D91EC EC 82 00 32 */ fmuls f4, f2, f0 +/* 800DC290 000D91F0 98 A1 00 CC */ stb r5, 0xcc(r1) +/* 800DC294 000D91F4 FC 40 08 90 */ fmr f2, f1 +/* 800DC298 000D91F8 82 9F 01 E4 */ lwz r20, 0x1e4(r31) +/* 800DC29C 000D91FC FC 60 08 90 */ fmr f3, f1 +/* 800DC2A0 000D9200 98 81 00 CD */ stb r4, 0xcd(r1) +/* 800DC2A4 000D9204 B0 01 00 CE */ sth r0, 0xce(r1) +/* 800DC2A8 000D9208 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800DC2AC 000D920C 48 28 71 41 */ bl __ct__6CColorFffff +/* 800DC2B0 000D9210 88 C1 00 CC */ lbz r6, 0xcc(r1) +/* 800DC2B4 000D9214 7F C3 F3 78 */ mr r3, r30 +/* 800DC2B8 000D9218 A0 A1 00 CE */ lhz r5, 0xce(r1) +/* 800DC2BC 000D921C 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 800DC2C0 000D9220 80 01 00 D0 */ lwz r0, 0xd0(r1) +/* 800DC2C4 000D9224 98 C1 00 D4 */ stb r6, 0xd4(r1) +/* 800DC2C8 000D9228 9A 81 00 D5 */ stb r20, 0xd5(r1) +/* 800DC2CC 000D922C B0 A1 00 D6 */ sth r5, 0xd6(r1) +/* 800DC2D0 000D9230 90 01 00 D8 */ stw r0, 0xd8(r1) +/* 800DC2D4 000D9234 48 27 99 01 */ bl Draw__6CModelCFRC11CModelFlags +lbl_800DC2D8: +/* 800DC2D8 000D9238 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 800DC2DC 000D923C 41 82 04 C0 */ beq lbl_800DC79C +/* 800DC2E0 000D9240 C0 02 8F 00 */ lfs f0, lbl_805AAC20@sda21(r2) +/* 800DC2E4 000D9244 FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800DC2E8 000D9248 40 81 04 B4 */ ble lbl_800DC79C +/* 800DC2EC 000D924C C0 5F 00 C0 */ lfs f2, 0xc0(r31) +/* 800DC2F0 000D9250 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DC2F4 000D9254 82 6D A0 68 */ lwz r19, gpRender@sda21(r13) +/* 800DC2F8 000D9258 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800DC2FC 000D925C 4C 41 13 82 */ cror 2, 1, 2 +/* 800DC300 000D9260 40 82 00 08 */ bne lbl_800DC308 +/* 800DC304 000D9264 48 00 00 08 */ b lbl_800DC30C +lbl_800DC308: +/* 800DC308 000D9268 FC 40 10 50 */ fneg f2, f2 +lbl_800DC30C: +/* 800DC30C 000D926C C0 22 8F 14 */ lfs f1, lbl_805AAC34@sda21(r2) +/* 800DC310 000D9270 38 81 00 38 */ addi r4, r1, 0x38 +/* 800DC314 000D9274 C0 02 8F 18 */ lfs f0, lbl_805AAC38@sda21(r2) +/* 800DC318 000D9278 38 6D 87 58 */ addi r3, r13, lbl_805A7318@sda21 +/* 800DC31C 000D927C EC 21 10 28 */ fsubs f1, f1, f2 +/* 800DC320 000D9280 38 AD 87 5C */ addi r5, r13, lbl_805A731C@sda21 +/* 800DC324 000D9284 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800DC328 000D9288 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800DC32C 000D928C 4B F2 FF 89 */ bl "Clamp__5CMathFRCfRCfRCf" +/* 800DC330 000D9290 C3 03 00 00 */ lfs f24, 0(r3) +/* 800DC334 000D9294 80 6D A1 3C */ lwz r3, gpTweakGuiColors@sda21(r13) +/* 800DC338 000D9298 F3 61 A0 0C */ psq_st f27, 12(r1), 1, qr2 +/* 800DC33C 000D929C 80 63 00 04 */ lwz r3, 4(r3) +/* 800DC340 000D92A0 88 01 00 0C */ lbz r0, 0xc(r1) +/* 800DC344 000D92A4 50 60 00 2E */ rlwimi r0, r3, 0, 0, 0x17 +/* 800DC348 000D92A8 C0 3F 02 60 */ lfs f1, 0x260(r31) +/* 800DC34C 000D92AC 90 01 00 30 */ stw r0, 0x30(r1) +/* 800DC350 000D92B0 48 23 8A A1 */ bl FastSinR__5CMathFf +/* 800DC354 000D92B4 FF 60 08 90 */ fmr f27, f1 +/* 800DC358 000D92B8 C0 3F 02 60 */ lfs f1, 0x260(r31) +/* 800DC35C 000D92BC 48 23 8A 95 */ bl FastSinR__5CMathFf +/* 800DC360 000D92C0 FF 40 08 90 */ fmr f26, f1 +/* 800DC364 000D92C4 C0 22 8F 00 */ lfs f1, lbl_805AAC20@sda21(r2) +/* 800DC368 000D92C8 FC 80 F8 90 */ fmr f4, f31 +/* 800DC36C 000D92CC 38 61 00 34 */ addi r3, r1, 0x34 +/* 800DC370 000D92D0 FC 40 08 90 */ fmr f2, f1 +/* 800DC374 000D92D4 FC 60 08 90 */ fmr f3, f1 +/* 800DC378 000D92D8 48 28 70 75 */ bl __ct__6CColorFffff +/* 800DC37C 000D92DC FC 20 C0 90 */ fmr f1, f24 +/* 800DC380 000D92E0 7C 64 1B 78 */ mr r4, r3 +/* 800DC384 000D92E4 FC 60 D0 90 */ fmr f3, f26 +/* 800DC388 000D92E8 C0 42 8F 00 */ lfs f2, lbl_805AAC20@sda21(r2) +/* 800DC38C 000D92EC FC 80 D8 90 */ fmr f4, f27 +/* 800DC390 000D92F0 7E 63 9B 78 */ mr r3, r19 +/* 800DC394 000D92F4 38 BF 02 50 */ addi r5, r31, 0x250 +/* 800DC398 000D92F8 38 C1 00 30 */ addi r6, r1, 0x30 +/* 800DC39C 000D92FC 48 1D 9C 85 */ bl "DrawPhazonSuitIndirectEffect__13CCubeRendererFRC6CColorRC23TLockedToken<8CTexture>RC6CColorffff" +/* 800DC3A0 000D9300 48 00 03 FC */ b lbl_800DC79C +lbl_800DC3A4: +/* 800DC3A4 000D9304 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DC3A8 000D9308 38 A0 00 05 */ li r5, 5 +/* 800DC3AC 000D930C 38 80 00 00 */ li r4, 0 +/* 800DC3B0 000D9310 38 00 00 03 */ li r0, 3 +/* 800DC3B4 000D9314 FC 40 08 90 */ fmr f2, f1 +/* 800DC3B8 000D9318 98 A1 00 BC */ stb r5, 0xbc(r1) +/* 800DC3BC 000D931C FC 60 08 90 */ fmr f3, f1 +/* 800DC3C0 000D9320 82 7F 01 E0 */ lwz r19, 0x1e0(r31) +/* 800DC3C4 000D9324 98 81 00 BD */ stb r4, 0xbd(r1) +/* 800DC3C8 000D9328 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800DC3CC 000D932C C0 82 8E 90 */ lfs f4, lbl_805AABB0@sda21(r2) +/* 800DC3D0 000D9330 B0 01 00 BE */ sth r0, 0xbe(r1) +/* 800DC3D4 000D9334 48 28 70 19 */ bl __ct__6CColorFffff +/* 800DC3D8 000D9338 A0 01 00 BE */ lhz r0, 0xbe(r1) +/* 800DC3DC 000D933C 38 A0 00 05 */ li r5, 5 +/* 800DC3E0 000D9340 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DC3E4 000D9344 38 80 00 00 */ li r4, 0 +/* 800DC3E8 000D9348 89 21 00 BC */ lbz r9, 0xbc(r1) +/* 800DC3EC 000D934C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 800DC3F0 000D9350 60 07 00 03 */ ori r7, r0, 3 +/* 800DC3F4 000D9354 80 C1 00 C0 */ lwz r6, 0xc0(r1) +/* 800DC3F8 000D9358 89 01 00 BD */ lbz r8, 0xbd(r1) +/* 800DC3FC 000D935C 38 00 00 03 */ li r0, 3 +/* 800DC400 000D9360 FC 40 08 90 */ fmr f2, f1 +/* 800DC404 000D9364 99 21 00 C4 */ stb r9, 0xc4(r1) +/* 800DC408 000D9368 FC 60 08 90 */ fmr f3, f1 +/* 800DC40C 000D936C 82 9F 01 E0 */ lwz r20, 0x1e0(r31) +/* 800DC410 000D9370 FC 80 F8 90 */ fmr f4, f31 +/* 800DC414 000D9374 99 01 00 C5 */ stb r8, 0xc5(r1) +/* 800DC418 000D9378 B0 E1 00 C6 */ sth r7, 0xc6(r1) +/* 800DC41C 000D937C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800DC420 000D9380 90 C1 00 C8 */ stw r6, 0xc8(r1) +/* 800DC424 000D9384 99 21 01 D4 */ stb r9, 0x1d4(r1) +/* 800DC428 000D9388 9A 61 01 D5 */ stb r19, 0x1d5(r1) +/* 800DC42C 000D938C B0 E1 01 D6 */ sth r7, 0x1d6(r1) +/* 800DC430 000D9390 90 C1 01 D8 */ stw r6, 0x1d8(r1) +/* 800DC434 000D9394 98 A1 00 B4 */ stb r5, 0xb4(r1) +/* 800DC438 000D9398 98 81 00 B5 */ stb r4, 0xb5(r1) +/* 800DC43C 000D939C B0 01 00 B6 */ sth r0, 0xb6(r1) +/* 800DC440 000D93A0 48 28 6F AD */ bl __ct__6CColorFffff +/* 800DC444 000D93A4 88 81 00 B4 */ lbz r4, 0xb4(r1) +/* 800DC448 000D93A8 38 7F 01 84 */ addi r3, r31, 0x184 +/* 800DC44C 000D93AC A1 21 00 B6 */ lhz r9, 0xb6(r1) +/* 800DC450 000D93B0 38 BF 00 10 */ addi r5, r31, 0x10 +/* 800DC454 000D93B4 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 800DC458 000D93B8 38 E1 01 D4 */ addi r7, r1, 0x1d4 +/* 800DC45C 000D93BC 98 81 01 DC */ stb r4, 0x1dc(r1) +/* 800DC460 000D93C0 38 80 00 00 */ li r4, 0 +/* 800DC464 000D93C4 80 DF 02 4C */ lwz r6, 0x24c(r31) +/* 800DC468 000D93C8 39 00 00 02 */ li r8, 2 +/* 800DC46C 000D93CC 9A 81 01 DD */ stb r20, 0x1dd(r1) +/* 800DC470 000D93D0 B1 21 01 DE */ sth r9, 0x1de(r1) +/* 800DC474 000D93D4 90 01 01 E0 */ stw r0, 0x1e0(r1) +/* 800DC478 000D93D8 48 03 98 E5 */ bl MultipassDraw__10CModelDataF11EWhichModelRC12CTransform4fPC12CActorLightsPC11CModelFlagsi +/* 800DC47C 000D93DC EF 3F 06 B2 */ fmuls f25, f31, f26 +/* 800DC480 000D93E0 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DC484 000D93E4 C0 1F 00 6C */ lfs f0, 0x6c(r31) +/* 800DC488 000D93E8 38 A0 00 07 */ li r5, 7 +/* 800DC48C 000D93EC 38 80 00 00 */ li r4, 0 +/* 800DC490 000D93F0 38 00 00 03 */ li r0, 3 +/* 800DC494 000D93F4 EC 80 06 72 */ fmuls f4, f0, f25 +/* 800DC498 000D93F8 98 A1 00 A4 */ stb r5, 0xa4(r1) +/* 800DC49C 000D93FC FC 40 08 90 */ fmr f2, f1 +/* 800DC4A0 000D9400 82 9F 01 E0 */ lwz r20, 0x1e0(r31) +/* 800DC4A4 000D9404 FC 60 08 90 */ fmr f3, f1 +/* 800DC4A8 000D9408 98 81 00 A5 */ stb r4, 0xa5(r1) +/* 800DC4AC 000D940C B0 01 00 A6 */ sth r0, 0xa6(r1) +/* 800DC4B0 000D9410 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800DC4B4 000D9414 48 28 6F 39 */ bl __ct__6CColorFffff +/* 800DC4B8 000D9418 88 A1 00 A4 */ lbz r5, 0xa4(r1) +/* 800DC4BC 000D941C 7F A4 EB 78 */ mr r4, r29 +/* 800DC4C0 000D9420 A1 01 00 A6 */ lhz r8, 0xa6(r1) +/* 800DC4C4 000D9424 38 7F 01 84 */ addi r3, r31, 0x184 +/* 800DC4C8 000D9428 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 800DC4CC 000D942C 38 E1 00 AC */ addi r7, r1, 0xac +/* 800DC4D0 000D9430 98 A1 00 AC */ stb r5, 0xac(r1) +/* 800DC4D4 000D9434 38 BF 00 10 */ addi r5, r31, 0x10 +/* 800DC4D8 000D9438 38 C0 00 00 */ li r6, 0 +/* 800DC4DC 000D943C 9A 81 00 AD */ stb r20, 0xad(r1) +/* 800DC4E0 000D9440 B1 01 00 AE */ sth r8, 0xae(r1) +/* 800DC4E4 000D9444 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 800DC4E8 000D9448 48 03 88 D5 */ bl Render__10CModelDataCFRC13CStateManagerRC12CTransform4fPC12CActorLightsRC11CModelFlags +/* 800DC4EC 000D944C 80 9F 01 E8 */ lwz r4, 0x1e8(r31) +/* 800DC4F0 000D9450 38 00 00 FF */ li r0, 0xff +/* 800DC4F4 000D9454 C0 02 8E E4 */ lfs f0, lbl_805AAC04@sda21(r2) +/* 800DC4F8 000D9458 3C 60 80 3D */ lis r3, lbl_803CEAD0@ha +/* 800DC4FC 000D945C 1C A4 00 03 */ mulli r5, r4, 3 +/* 800DC500 000D9460 98 01 00 2B */ stb r0, 0x2b(r1) +/* 800DC504 000D9464 EF 60 07 F2 */ fmuls f27, f0, f31 +/* 800DC508 000D9468 38 83 EA D0 */ addi r4, r3, lbl_803CEAD0@l +/* 800DC50C 000D946C 80 7F 02 2C */ lwz r3, 0x22c(r31) +/* 800DC510 000D9470 7C C4 2A 14 */ add r6, r4, r5 +/* 800DC514 000D9474 88 A6 00 00 */ lbz r5, 0(r6) +/* 800DC518 000D9478 FF A0 D8 90 */ fmr f29, f27 +/* 800DC51C 000D947C 88 86 00 01 */ lbz r4, 1(r6) +/* 800DC520 000D9480 88 06 00 02 */ lbz r0, 2(r6) +/* 800DC524 000D9484 98 A1 00 28 */ stb r5, 0x28(r1) +/* 800DC528 000D9488 98 81 00 29 */ stb r4, 0x29(r1) +/* 800DC52C 000D948C 98 01 00 2A */ stb r0, 0x2a(r1) +/* 800DC530 000D9490 F3 A1 A0 0B */ psq_st f29, 11(r1), 1, qr2 +/* 800DC534 000D9494 38 81 00 2C */ addi r4, r1, 0x2c +/* 800DC538 000D9498 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 800DC53C 000D949C 88 01 00 0B */ lbz r0, 0xb(r1) +/* 800DC540 000D94A0 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 800DC544 000D94A4 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800DC548 000D94A8 81 83 00 00 */ lwz r12, 0(r3) +/* 800DC54C 000D94AC 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800DC550 000D94B0 7D 89 03 A6 */ mtctr r12 +/* 800DC554 000D94B4 4E 80 04 21 */ bctrl +/* 800DC558 000D94B8 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DC55C 000D94BC FC 1F 00 40 */ fcmpo cr0, f31, f0 +/* 800DC560 000D94C0 40 81 01 08 */ ble lbl_800DC668 +/* 800DC564 000D94C4 80 7F 02 2C */ lwz r3, 0x22c(r31) +/* 800DC568 000D94C8 48 23 B1 35 */ bl GetNumActiveChildParticles__11CElementGenCFv +/* 800DC56C 000D94CC 2C 03 00 00 */ cmpwi r3, 0 +/* 800DC570 000D94D0 40 81 00 E4 */ ble lbl_800DC654 +/* 800DC574 000D94D4 80 7F 02 2C */ lwz r3, 0x22c(r31) +/* 800DC578 000D94D8 38 80 00 00 */ li r4, 0 +/* 800DC57C 000D94DC 48 23 B1 11 */ bl GetActiveChildParticle__11CElementGenCFi +/* 800DC580 000D94E0 80 BF 01 E8 */ lwz r5, 0x1e8(r31) +/* 800DC584 000D94E4 3C 80 80 3D */ lis r4, lbl_803CEAEC@ha +/* 800DC588 000D94E8 38 00 00 FF */ li r0, 0xff +/* 800DC58C 000D94EC 1C A5 00 03 */ mulli r5, r5, 3 +/* 800DC590 000D94F0 38 84 EA EC */ addi r4, r4, lbl_803CEAEC@l +/* 800DC594 000D94F4 98 01 00 23 */ stb r0, 0x23(r1) +/* 800DC598 000D94F8 7C C4 2A 14 */ add r6, r4, r5 +/* 800DC59C 000D94FC 88 A6 00 00 */ lbz r5, 0(r6) +/* 800DC5A0 000D9500 88 86 00 01 */ lbz r4, 1(r6) +/* 800DC5A4 000D9504 88 06 00 02 */ lbz r0, 2(r6) +/* 800DC5A8 000D9508 98 A1 00 20 */ stb r5, 0x20(r1) +/* 800DC5AC 000D950C 98 81 00 21 */ stb r4, 0x21(r1) +/* 800DC5B0 000D9510 98 01 00 22 */ stb r0, 0x22(r1) +/* 800DC5B4 000D9514 F3 61 A0 0A */ psq_st f27, 10(r1), 1, qr2 +/* 800DC5B8 000D9518 38 81 00 24 */ addi r4, r1, 0x24 +/* 800DC5BC 000D951C 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 800DC5C0 000D9520 88 01 00 0A */ lbz r0, 0xa(r1) +/* 800DC5C4 000D9524 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 800DC5C8 000D9528 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DC5CC 000D952C 81 83 00 00 */ lwz r12, 0(r3) +/* 800DC5D0 000D9530 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800DC5D4 000D9534 7D 89 03 A6 */ mtctr r12 +/* 800DC5D8 000D9538 4E 80 04 21 */ bctrl +/* 800DC5DC 000D953C 80 7F 02 2C */ lwz r3, 0x22c(r31) +/* 800DC5E0 000D9540 48 23 B0 BD */ bl GetNumActiveChildParticles__11CElementGenCFv +/* 800DC5E4 000D9544 2C 03 00 01 */ cmpwi r3, 1 +/* 800DC5E8 000D9548 40 81 00 6C */ ble lbl_800DC654 +/* 800DC5EC 000D954C 80 7F 02 2C */ lwz r3, 0x22c(r31) +/* 800DC5F0 000D9550 38 80 00 01 */ li r4, 1 +/* 800DC5F4 000D9554 48 23 B0 99 */ bl GetActiveChildParticle__11CElementGenCFi +/* 800DC5F8 000D9558 80 BF 01 E8 */ lwz r5, 0x1e8(r31) +/* 800DC5FC 000D955C 3C 80 80 3D */ lis r4, lbl_803CEB08@ha +/* 800DC600 000D9560 38 00 00 FF */ li r0, 0xff +/* 800DC604 000D9564 1C A5 00 03 */ mulli r5, r5, 3 +/* 800DC608 000D9568 38 84 EB 08 */ addi r4, r4, lbl_803CEB08@l +/* 800DC60C 000D956C 98 01 00 1B */ stb r0, 0x1b(r1) +/* 800DC610 000D9570 7C C4 2A 14 */ add r6, r4, r5 +/* 800DC614 000D9574 88 A6 00 00 */ lbz r5, 0(r6) +/* 800DC618 000D9578 88 86 00 01 */ lbz r4, 1(r6) +/* 800DC61C 000D957C 88 06 00 02 */ lbz r0, 2(r6) +/* 800DC620 000D9580 98 A1 00 18 */ stb r5, 0x18(r1) +/* 800DC624 000D9584 98 81 00 19 */ stb r4, 0x19(r1) +/* 800DC628 000D9588 98 01 00 1A */ stb r0, 0x1a(r1) +/* 800DC62C 000D958C F3 61 A0 09 */ psq_st f27, 9(r1), 1, qr2 +/* 800DC630 000D9590 38 81 00 1C */ addi r4, r1, 0x1c +/* 800DC634 000D9594 80 A1 00 18 */ lwz r5, 0x18(r1) +/* 800DC638 000D9598 88 01 00 09 */ lbz r0, 9(r1) +/* 800DC63C 000D959C 50 A0 00 2E */ rlwimi r0, r5, 0, 0, 0x17 +/* 800DC640 000D95A0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800DC644 000D95A4 81 83 00 00 */ lwz r12, 0(r3) +/* 800DC648 000D95A8 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800DC64C 000D95AC 7D 89 03 A6 */ mtctr r12 +/* 800DC650 000D95B0 4E 80 04 21 */ bctrl +lbl_800DC654: +/* 800DC654 000D95B4 80 7F 02 2C */ lwz r3, 0x22c(r31) +/* 800DC658 000D95B8 81 83 00 00 */ lwz r12, 0(r3) +/* 800DC65C 000D95BC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DC660 000D95C0 7D 89 03 A6 */ mtctr r12 +/* 800DC664 000D95C4 4E 80 04 21 */ bctrl +lbl_800DC668: +/* 800DC668 000D95C8 88 1F 02 70 */ lbz r0, 0x270(r31) +/* 800DC66C 000D95CC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800DC670 000D95D0 41 82 01 2C */ beq lbl_800DC79C +/* 800DC674 000D95D4 38 7F 00 10 */ addi r3, r31, 0x10 +/* 800DC678 000D95D8 48 22 FF 69 */ bl SetModelMatrix__9CGraphicsFRC12CTransform4f +/* 800DC67C 000D95DC C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DC680 000D95E0 38 A0 00 05 */ li r5, 5 +/* 800DC684 000D95E4 38 80 00 00 */ li r4, 0 +/* 800DC688 000D95E8 38 00 00 03 */ li r0, 3 +/* 800DC68C 000D95EC FC 40 08 90 */ fmr f2, f1 +/* 800DC690 000D95F0 98 A1 00 94 */ stb r5, 0x94(r1) +/* 800DC694 000D95F4 FC 60 08 90 */ fmr f3, f1 +/* 800DC698 000D95F8 C0 82 8E 90 */ lfs f4, lbl_805AABB0@sda21(r2) +/* 800DC69C 000D95FC 98 81 00 95 */ stb r4, 0x95(r1) +/* 800DC6A0 000D9600 38 61 00 98 */ addi r3, r1, 0x98 +/* 800DC6A4 000D9604 B0 01 00 96 */ sth r0, 0x96(r1) +/* 800DC6A8 000D9608 48 28 6D 45 */ bl __ct__6CColorFffff +/* 800DC6AC 000D960C A0 01 00 96 */ lhz r0, 0x96(r1) +/* 800DC6B0 000D9610 7F C3 F3 78 */ mr r3, r30 +/* 800DC6B4 000D9614 88 E1 00 94 */ lbz r7, 0x94(r1) +/* 800DC6B8 000D9618 38 81 00 9C */ addi r4, r1, 0x9c +/* 800DC6BC 000D961C 54 00 00 3A */ rlwinm r0, r0, 0, 0, 0x1d +/* 800DC6C0 000D9620 88 C1 00 95 */ lbz r6, 0x95(r1) +/* 800DC6C4 000D9624 60 05 00 03 */ ori r5, r0, 3 +/* 800DC6C8 000D9628 80 01 00 98 */ lwz r0, 0x98(r1) +/* 800DC6CC 000D962C 98 E1 00 9C */ stb r7, 0x9c(r1) +/* 800DC6D0 000D9630 98 C1 00 9D */ stb r6, 0x9d(r1) +/* 800DC6D4 000D9634 B0 A1 00 9E */ sth r5, 0x9e(r1) +/* 800DC6D8 000D9638 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 800DC6DC 000D963C 48 27 94 F9 */ bl Draw__6CModelCFRC11CModelFlags +/* 800DC6E0 000D9640 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DC6E4 000D9644 38 A0 00 05 */ li r5, 5 +/* 800DC6E8 000D9648 38 80 00 00 */ li r4, 0 +/* 800DC6EC 000D964C 38 00 00 03 */ li r0, 3 +/* 800DC6F0 000D9650 FC 40 08 90 */ fmr f2, f1 +/* 800DC6F4 000D9654 98 A1 00 84 */ stb r5, 0x84(r1) +/* 800DC6F8 000D9658 FC 60 08 90 */ fmr f3, f1 +/* 800DC6FC 000D965C 82 9F 01 E4 */ lwz r20, 0x1e4(r31) +/* 800DC700 000D9660 FC 80 F8 90 */ fmr f4, f31 +/* 800DC704 000D9664 98 81 00 85 */ stb r4, 0x85(r1) +/* 800DC708 000D9668 B0 01 00 86 */ sth r0, 0x86(r1) +/* 800DC70C 000D966C 38 61 00 88 */ addi r3, r1, 0x88 +/* 800DC710 000D9670 48 28 6C DD */ bl __ct__6CColorFffff +/* 800DC714 000D9674 88 C1 00 84 */ lbz r6, 0x84(r1) +/* 800DC718 000D9678 7F C3 F3 78 */ mr r3, r30 +/* 800DC71C 000D967C A0 A1 00 86 */ lhz r5, 0x86(r1) +/* 800DC720 000D9680 38 81 00 8C */ addi r4, r1, 0x8c +/* 800DC724 000D9684 80 01 00 88 */ lwz r0, 0x88(r1) +/* 800DC728 000D9688 98 C1 00 8C */ stb r6, 0x8c(r1) +/* 800DC72C 000D968C 9A 81 00 8D */ stb r20, 0x8d(r1) +/* 800DC730 000D9690 B0 A1 00 8E */ sth r5, 0x8e(r1) +/* 800DC734 000D9694 90 01 00 90 */ stw r0, 0x90(r1) +/* 800DC738 000D9698 48 27 94 9D */ bl Draw__6CModelCFRC11CModelFlags +/* 800DC73C 000D969C C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DC740 000D96A0 38 A0 00 07 */ li r5, 7 +/* 800DC744 000D96A4 C0 1F 00 6C */ lfs f0, 0x6c(r31) +/* 800DC748 000D96A8 38 80 00 00 */ li r4, 0 +/* 800DC74C 000D96AC 38 00 00 03 */ li r0, 3 +/* 800DC750 000D96B0 FC 40 08 90 */ fmr f2, f1 +/* 800DC754 000D96B4 EC 80 06 72 */ fmuls f4, f0, f25 +/* 800DC758 000D96B8 98 A1 00 74 */ stb r5, 0x74(r1) +/* 800DC75C 000D96BC FC 60 08 90 */ fmr f3, f1 +/* 800DC760 000D96C0 82 9F 01 E4 */ lwz r20, 0x1e4(r31) +/* 800DC764 000D96C4 98 81 00 75 */ stb r4, 0x75(r1) +/* 800DC768 000D96C8 38 61 00 78 */ addi r3, r1, 0x78 +/* 800DC76C 000D96CC B0 01 00 76 */ sth r0, 0x76(r1) +/* 800DC770 000D96D0 48 28 6C 7D */ bl __ct__6CColorFffff +/* 800DC774 000D96D4 88 C1 00 74 */ lbz r6, 0x74(r1) +/* 800DC778 000D96D8 7F C3 F3 78 */ mr r3, r30 +/* 800DC77C 000D96DC A0 A1 00 76 */ lhz r5, 0x76(r1) +/* 800DC780 000D96E0 38 81 00 7C */ addi r4, r1, 0x7c +/* 800DC784 000D96E4 80 01 00 78 */ lwz r0, 0x78(r1) +/* 800DC788 000D96E8 98 C1 00 7C */ stb r6, 0x7c(r1) +/* 800DC78C 000D96EC 9A 81 00 7D */ stb r20, 0x7d(r1) +/* 800DC790 000D96F0 B0 A1 00 7E */ sth r5, 0x7e(r1) +/* 800DC794 000D96F4 90 01 00 80 */ stw r0, 0x80(r1) +/* 800DC798 000D96F8 48 27 94 3D */ bl Draw__6CModelCFRC11CModelFlags +lbl_800DC79C: +/* 800DC79C 000D96FC 80 7F 02 38 */ lwz r3, 0x238(r31) +/* 800DC7A0 000D9700 28 03 00 00 */ cmplwi r3, 0 +/* 800DC7A4 000D9704 41 82 00 60 */ beq lbl_800DC804 +/* 800DC7A8 000D9708 80 BF 01 E8 */ lwz r5, 0x1e8(r31) +/* 800DC7AC 000D970C 38 00 00 FF */ li r0, 0xff +/* 800DC7B0 000D9710 3C 80 80 3D */ lis r4, lbl_803CEAEC@ha +/* 800DC7B4 000D9714 98 01 00 17 */ stb r0, 0x17(r1) +/* 800DC7B8 000D9718 1C C5 00 03 */ mulli r6, r5, 3 +/* 800DC7BC 000D971C 38 A4 EA EC */ addi r5, r4, lbl_803CEAEC@l +/* 800DC7C0 000D9720 38 81 00 14 */ addi r4, r1, 0x14 +/* 800DC7C4 000D9724 7C A5 32 14 */ add r5, r5, r6 +/* 800DC7C8 000D9728 88 E5 00 02 */ lbz r7, 2(r5) +/* 800DC7CC 000D972C 88 C5 00 01 */ lbz r6, 1(r5) +/* 800DC7D0 000D9730 88 05 00 00 */ lbz r0, 0(r5) +/* 800DC7D4 000D9734 98 C1 00 15 */ stb r6, 0x15(r1) +/* 800DC7D8 000D9738 98 01 00 14 */ stb r0, 0x14(r1) +/* 800DC7DC 000D973C 98 E1 00 16 */ stb r7, 0x16(r1) +/* 800DC7E0 000D9740 81 83 00 00 */ lwz r12, 0(r3) +/* 800DC7E4 000D9744 81 8C 00 30 */ lwz r12, 0x30(r12) +/* 800DC7E8 000D9748 7D 89 03 A6 */ mtctr r12 +/* 800DC7EC 000D974C 4E 80 04 21 */ bctrl +/* 800DC7F0 000D9750 80 7F 02 38 */ lwz r3, 0x238(r31) +/* 800DC7F4 000D9754 81 83 00 00 */ lwz r12, 0(r3) +/* 800DC7F8 000D9758 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DC7FC 000D975C 7D 89 03 A6 */ mtctr r12 +/* 800DC800 000D9760 4E 80 04 21 */ bctrl +lbl_800DC804: +/* 800DC804 000D9764 48 23 01 79 */ bl DisableAllLights__9CGraphicsFv +lbl_800DC808: +/* 800DC808 000D9768 E3 E1 06 28 */ psq_l f31, 1576(r1), 0, qr0 +/* 800DC80C 000D976C CB E1 06 20 */ lfd f31, 0x620(r1) +/* 800DC810 000D9770 E3 C1 06 18 */ psq_l f30, 1560(r1), 0, qr0 +/* 800DC814 000D9774 CB C1 06 10 */ lfd f30, 0x610(r1) +/* 800DC818 000D9778 E3 A1 06 08 */ psq_l f29, 1544(r1), 0, qr0 +/* 800DC81C 000D977C CB A1 06 00 */ lfd f29, 0x600(r1) +/* 800DC820 000D9780 E3 81 05 F8 */ psq_l f28, 1528(r1), 0, qr0 +/* 800DC824 000D9784 CB 81 05 F0 */ lfd f28, 0x5f0(r1) +/* 800DC828 000D9788 E3 61 05 E8 */ psq_l f27, 1512(r1), 0, qr0 +/* 800DC82C 000D978C CB 61 05 E0 */ lfd f27, 0x5e0(r1) +/* 800DC830 000D9790 E3 41 05 D8 */ psq_l f26, 1496(r1), 0, qr0 +/* 800DC834 000D9794 CB 41 05 D0 */ lfd f26, 0x5d0(r1) +/* 800DC838 000D9798 E3 21 05 C8 */ psq_l f25, 1480(r1), 0, qr0 +/* 800DC83C 000D979C CB 21 05 C0 */ lfd f25, 0x5c0(r1) +/* 800DC840 000D97A0 E3 01 05 B8 */ psq_l f24, 1464(r1), 0, qr0 +/* 800DC844 000D97A4 CB 01 05 B0 */ lfd f24, 0x5b0(r1) +/* 800DC848 000D97A8 BA 61 05 7C */ lmw r19, 0x57c(r1) +/* 800DC84C 000D97AC 80 01 06 34 */ lwz r0, 0x634(r1) +/* 800DC850 000D97B0 7C 08 03 A6 */ mtlr r0 +/* 800DC854 000D97B4 38 21 06 30 */ addi r1, r1, 0x630 +/* 800DC858 000D97B8 4E 80 00 20 */ blr + +.global Update__10CSamusDollFfR9CRandom16 +Update__10CSamusDollFfR9CRandom16: +/* 800DC85C 000D97BC 94 21 FE 50 */ stwu r1, -0x1b0(r1) +/* 800DC860 000D97C0 7C 08 02 A6 */ mflr r0 +/* 800DC864 000D97C4 90 01 01 B4 */ stw r0, 0x1b4(r1) +/* 800DC868 000D97C8 DB E1 01 A0 */ stfd f31, 0x1a0(r1) +/* 800DC86C 000D97CC F3 E1 01 A8 */ psq_st f31, 424(r1), 0, qr0 +/* 800DC870 000D97D0 DB C1 01 90 */ stfd f30, 0x190(r1) +/* 800DC874 000D97D4 F3 C1 01 98 */ psq_st f30, 408(r1), 0, qr0 +/* 800DC878 000D97D8 93 E1 01 8C */ stw r31, 0x18c(r1) +/* 800DC87C 000D97DC 93 C1 01 88 */ stw r30, 0x188(r1) +/* 800DC880 000D97E0 93 A1 01 84 */ stw r29, 0x184(r1) +/* 800DC884 000D97E4 93 81 01 80 */ stw r28, 0x180(r1) +/* 800DC888 000D97E8 7C 7E 1B 78 */ mr r30, r3 +/* 800DC88C 000D97EC FF C0 08 90 */ fmr f30, f1 +/* 800DC890 000D97F0 80 03 01 FC */ lwz r0, 0x1fc(r3) +/* 800DC894 000D97F4 7C 9F 23 78 */ mr r31, r4 +/* 800DC898 000D97F8 28 00 00 00 */ cmplwi r0, 0 +/* 800DC89C 000D97FC 41 82 00 0C */ beq lbl_800DC8A8 +/* 800DC8A0 000D9800 38 60 00 01 */ li r3, 1 +/* 800DC8A4 000D9804 48 00 00 3C */ b lbl_800DC8E0 +lbl_800DC8A8: +/* 800DC8A8 000D9808 88 1E 01 F8 */ lbz r0, 0x1f8(r30) +/* 800DC8AC 000D980C 28 00 00 00 */ cmplwi r0, 0 +/* 800DC8B0 000D9810 41 82 00 2C */ beq lbl_800DC8DC +/* 800DC8B4 000D9814 80 7E 01 F4 */ lwz r3, 0x1f4(r30) +/* 800DC8B8 000D9818 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800DC8BC 000D981C 28 00 00 00 */ cmplwi r0, 0 +/* 800DC8C0 000D9820 41 82 00 1C */ beq lbl_800DC8DC +/* 800DC8C4 000D9824 38 7E 01 F4 */ addi r3, r30, 0x1f4 +/* 800DC8C8 000D9828 48 26 45 45 */ bl GetObj__6CTokenFv +/* 800DC8CC 000D982C 80 03 00 04 */ lwz r0, 4(r3) +/* 800DC8D0 000D9830 38 60 00 01 */ li r3, 1 +/* 800DC8D4 000D9834 90 1E 01 FC */ stw r0, 0x1fc(r30) +/* 800DC8D8 000D9838 48 00 00 08 */ b lbl_800DC8E0 +lbl_800DC8DC: +/* 800DC8DC 000D983C 38 60 00 00 */ li r3, 0 +lbl_800DC8E0: +/* 800DC8E0 000D9840 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DC8E4 000D9844 41 82 00 10 */ beq lbl_800DC8F4 +/* 800DC8E8 000D9848 80 7E 01 FC */ lwz r3, 0x1fc(r30) +/* 800DC8EC 000D984C 38 80 00 00 */ li r4, 0 +/* 800DC8F0 000D9850 48 27 8D 45 */ bl Touch__6CModelCFi +lbl_800DC8F4: +/* 800DC8F4 000D9854 80 1E 02 08 */ lwz r0, 0x208(r30) +/* 800DC8F8 000D9858 28 00 00 00 */ cmplwi r0, 0 +/* 800DC8FC 000D985C 41 82 00 0C */ beq lbl_800DC908 +/* 800DC900 000D9860 38 60 00 01 */ li r3, 1 +/* 800DC904 000D9864 48 00 00 3C */ b lbl_800DC940 +lbl_800DC908: +/* 800DC908 000D9868 88 1E 02 04 */ lbz r0, 0x204(r30) +/* 800DC90C 000D986C 28 00 00 00 */ cmplwi r0, 0 +/* 800DC910 000D9870 41 82 00 2C */ beq lbl_800DC93C +/* 800DC914 000D9874 80 7E 02 00 */ lwz r3, 0x200(r30) +/* 800DC918 000D9878 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800DC91C 000D987C 28 00 00 00 */ cmplwi r0, 0 +/* 800DC920 000D9880 41 82 00 1C */ beq lbl_800DC93C +/* 800DC924 000D9884 38 7E 02 00 */ addi r3, r30, 0x200 +/* 800DC928 000D9888 48 26 44 E5 */ bl GetObj__6CTokenFv +/* 800DC92C 000D988C 80 03 00 04 */ lwz r0, 4(r3) +/* 800DC930 000D9890 38 60 00 01 */ li r3, 1 +/* 800DC934 000D9894 90 1E 02 08 */ stw r0, 0x208(r30) +/* 800DC938 000D9898 48 00 00 08 */ b lbl_800DC940 +lbl_800DC93C: +/* 800DC93C 000D989C 38 60 00 00 */ li r3, 0 +lbl_800DC940: +/* 800DC940 000D98A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DC944 000D98A4 41 82 00 10 */ beq lbl_800DC954 +/* 800DC948 000D98A8 80 7E 02 08 */ lwz r3, 0x208(r30) +/* 800DC94C 000D98AC 38 80 00 00 */ li r4, 0 +/* 800DC950 000D98B0 48 27 8C E5 */ bl Touch__6CModelCFi +lbl_800DC954: +/* 800DC954 000D98B4 80 1E 02 14 */ lwz r0, 0x214(r30) +/* 800DC958 000D98B8 28 00 00 00 */ cmplwi r0, 0 +/* 800DC95C 000D98BC 41 82 00 0C */ beq lbl_800DC968 +/* 800DC960 000D98C0 38 60 00 01 */ li r3, 1 +/* 800DC964 000D98C4 48 00 00 3C */ b lbl_800DC9A0 +lbl_800DC968: +/* 800DC968 000D98C8 88 1E 02 10 */ lbz r0, 0x210(r30) +/* 800DC96C 000D98CC 28 00 00 00 */ cmplwi r0, 0 +/* 800DC970 000D98D0 41 82 00 2C */ beq lbl_800DC99C +/* 800DC974 000D98D4 80 7E 02 0C */ lwz r3, 0x20c(r30) +/* 800DC978 000D98D8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800DC97C 000D98DC 28 00 00 00 */ cmplwi r0, 0 +/* 800DC980 000D98E0 41 82 00 1C */ beq lbl_800DC99C +/* 800DC984 000D98E4 38 7E 02 0C */ addi r3, r30, 0x20c +/* 800DC988 000D98E8 48 26 44 85 */ bl GetObj__6CTokenFv +/* 800DC98C 000D98EC 80 03 00 04 */ lwz r0, 4(r3) +/* 800DC990 000D98F0 38 60 00 01 */ li r3, 1 +/* 800DC994 000D98F4 90 1E 02 14 */ stw r0, 0x214(r30) +/* 800DC998 000D98F8 48 00 00 08 */ b lbl_800DC9A0 +lbl_800DC99C: +/* 800DC99C 000D98FC 38 60 00 00 */ li r3, 0 +lbl_800DC9A0: +/* 800DC9A0 000D9900 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DC9A4 000D9904 41 82 00 10 */ beq lbl_800DC9B4 +/* 800DC9A8 000D9908 80 7E 02 14 */ lwz r3, 0x214(r30) +/* 800DC9AC 000D990C 38 80 00 00 */ li r4, 0 +/* 800DC9B0 000D9910 48 27 8C 85 */ bl Touch__6CModelCFi +lbl_800DC9B4: +/* 800DC9B4 000D9914 80 1E 01 DC */ lwz r0, 0x1dc(r30) +/* 800DC9B8 000D9918 28 00 00 00 */ cmplwi r0, 0 +/* 800DC9BC 000D991C 41 82 00 0C */ beq lbl_800DC9C8 +/* 800DC9C0 000D9920 38 60 00 01 */ li r3, 1 +/* 800DC9C4 000D9924 48 00 00 3C */ b lbl_800DCA00 +lbl_800DC9C8: +/* 800DC9C8 000D9928 88 1E 01 D8 */ lbz r0, 0x1d8(r30) +/* 800DC9CC 000D992C 28 00 00 00 */ cmplwi r0, 0 +/* 800DC9D0 000D9930 41 82 00 2C */ beq lbl_800DC9FC +/* 800DC9D4 000D9934 80 7E 01 D4 */ lwz r3, 0x1d4(r30) +/* 800DC9D8 000D9938 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800DC9DC 000D993C 28 00 00 00 */ cmplwi r0, 0 +/* 800DC9E0 000D9940 41 82 00 1C */ beq lbl_800DC9FC +/* 800DC9E4 000D9944 38 7E 01 D4 */ addi r3, r30, 0x1d4 +/* 800DC9E8 000D9948 48 26 44 25 */ bl GetObj__6CTokenFv +/* 800DC9EC 000D994C 80 03 00 04 */ lwz r0, 4(r3) +/* 800DC9F0 000D9950 38 60 00 01 */ li r3, 1 +/* 800DC9F4 000D9954 90 1E 01 DC */ stw r0, 0x1dc(r30) +/* 800DC9F8 000D9958 48 00 00 08 */ b lbl_800DCA00 +lbl_800DC9FC: +/* 800DC9FC 000D995C 38 60 00 00 */ li r3, 0 +lbl_800DCA00: +/* 800DCA00 000D9960 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DCA04 000D9964 41 82 00 10 */ beq lbl_800DCA14 +/* 800DCA08 000D9968 80 7E 01 DC */ lwz r3, 0x1dc(r30) +/* 800DCA0C 000D996C 38 80 00 00 */ li r4, 0 +/* 800DCA10 000D9970 48 27 8C 25 */ bl Touch__6CModelCFi +lbl_800DCA14: +/* 800DCA14 000D9974 80 1E 02 20 */ lwz r0, 0x220(r30) +/* 800DCA18 000D9978 28 00 00 00 */ cmplwi r0, 0 +/* 800DCA1C 000D997C 41 82 00 0C */ beq lbl_800DCA28 +/* 800DCA20 000D9980 38 60 00 01 */ li r3, 1 +/* 800DCA24 000D9984 48 00 00 3C */ b lbl_800DCA60 +lbl_800DCA28: +/* 800DCA28 000D9988 88 1E 02 1C */ lbz r0, 0x21c(r30) +/* 800DCA2C 000D998C 28 00 00 00 */ cmplwi r0, 0 +/* 800DCA30 000D9990 41 82 00 2C */ beq lbl_800DCA5C +/* 800DCA34 000D9994 80 7E 02 18 */ lwz r3, 0x218(r30) +/* 800DCA38 000D9998 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800DCA3C 000D999C 28 00 00 00 */ cmplwi r0, 0 +/* 800DCA40 000D99A0 41 82 00 1C */ beq lbl_800DCA5C +/* 800DCA44 000D99A4 38 7E 02 18 */ addi r3, r30, 0x218 +/* 800DCA48 000D99A8 48 26 43 C5 */ bl GetObj__6CTokenFv +/* 800DCA4C 000D99AC 80 03 00 04 */ lwz r0, 4(r3) +/* 800DCA50 000D99B0 38 60 00 01 */ li r3, 1 +/* 800DCA54 000D99B4 90 1E 02 20 */ stw r0, 0x220(r30) +/* 800DCA58 000D99B8 48 00 00 08 */ b lbl_800DCA60 +lbl_800DCA5C: +/* 800DCA5C 000D99BC 38 60 00 00 */ li r3, 0 +lbl_800DCA60: +/* 800DCA60 000D99C0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DCA64 000D99C4 41 82 00 10 */ beq lbl_800DCA74 +/* 800DCA68 000D99C8 80 7E 02 20 */ lwz r3, 0x220(r30) +/* 800DCA6C 000D99CC 38 80 00 00 */ li r4, 0 +/* 800DCA70 000D99D0 48 27 8B C5 */ bl Touch__6CModelCFi +lbl_800DCA74: +/* 800DCA74 000D99D4 7F C3 F3 78 */ mr r3, r30 +/* 800DCA78 000D99D8 48 00 11 91 */ bl CheckLoadComplete__10CSamusDollFv +/* 800DCA7C 000D99DC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DCA80 000D99E0 41 82 09 C0 */ beq lbl_800DD440 +/* 800DCA84 000D99E4 C0 02 8E F0 */ lfs f0, lbl_805AAC10@sda21(r2) +/* 800DCA88 000D99E8 C0 3E 00 40 */ lfs f1, 0x40(r30) +/* 800DCA8C 000D99EC EF E0 07 B2 */ fmuls f31, f0, f30 +/* 800DCA90 000D99F0 C0 0D 87 08 */ lfs f0, lbl_805A72C8@sda21(r13) +/* 800DCA94 000D99F4 EC 21 F8 2A */ fadds f1, f1, f31 +/* 800DCA98 000D99F8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DCA9C 000D99FC D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800DCAA0 000D9A00 40 80 00 0C */ bge lbl_800DCAAC +/* 800DCAA4 000D9A04 38 61 00 44 */ addi r3, r1, 0x44 +/* 800DCAA8 000D9A08 48 00 00 08 */ b lbl_800DCAB0 +lbl_800DCAAC: +/* 800DCAAC 000D9A0C 38 6D 87 08 */ addi r3, r13, lbl_805A72C8@sda21 +lbl_800DCAB0: +/* 800DCAB0 000D9A10 C0 23 00 00 */ lfs f1, 0(r3) +/* 800DCAB4 000D9A14 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DCAB8 000D9A18 D0 3E 00 40 */ stfs f1, 0x40(r30) +/* 800DCABC 000D9A1C C0 5E 00 54 */ lfs f2, 0x54(r30) +/* 800DCAC0 000D9A20 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800DCAC4 000D9A24 40 81 01 EC */ ble lbl_800DCCB0 +/* 800DCAC8 000D9A28 EC 22 F0 28 */ fsubs f1, f2, f30 +/* 800DCACC 000D9A2C C0 0D 87 0C */ lfs f0, lbl_805A72CC@sda21(r13) +/* 800DCAD0 000D9A30 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800DCAD4 000D9A34 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800DCAD8 000D9A38 40 80 00 0C */ bge lbl_800DCAE4 +/* 800DCADC 000D9A3C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800DCAE0 000D9A40 48 00 00 08 */ b lbl_800DCAE8 +lbl_800DCAE4: +/* 800DCAE4 000D9A44 38 6D 87 0C */ addi r3, r13, lbl_805A72CC@sda21 +lbl_800DCAE8: +/* 800DCAE8 000D9A48 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCAEC 000D9A4C D0 1E 00 54 */ stfs f0, 0x54(r30) +/* 800DCAF0 000D9A50 88 1E 00 4C */ lbz r0, 0x4c(r30) +/* 800DCAF4 000D9A54 28 00 00 00 */ cmplwi r0, 0 +/* 800DCAF8 000D9A58 40 82 00 FC */ bne lbl_800DCBF4 +/* 800DCAFC 000D9A5C 88 1E 00 4D */ lbz r0, 0x4d(r30) +/* 800DCB00 000D9A60 28 00 00 00 */ cmplwi r0, 0 +/* 800DCB04 000D9A64 41 82 00 F0 */ beq lbl_800DCBF4 +/* 800DCB08 000D9A68 C0 3E 00 50 */ lfs f1, 0x50(r30) +/* 800DCB0C 000D9A6C C0 02 8E D0 */ lfs f0, lbl_805AABF0@sda21(r2) +/* 800DCB10 000D9A70 EC 21 00 28 */ fsubs f1, f1, f0 +/* 800DCB14 000D9A74 FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 800DCB18 000D9A78 4C 41 13 82 */ cror 2, 1, 2 +/* 800DCB1C 000D9A7C 40 82 00 D8 */ bne lbl_800DCBF4 +/* 800DCB20 000D9A80 C0 1E 00 54 */ lfs f0, 0x54(r30) +/* 800DCB24 000D9A84 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800DCB28 000D9A88 40 80 00 CC */ bge lbl_800DCBF4 +/* 800DCB2C 000D9A8C 3C 60 80 3D */ lis r3, lbl_803CE3AC@ha +/* 800DCB30 000D9A90 3B 80 00 00 */ li r28, 0 +/* 800DCB34 000D9A94 38 83 E3 AC */ addi r4, r3, lbl_803CE3AC@l +/* 800DCB38 000D9A98 38 60 03 40 */ li r3, 0x340 +/* 800DCB3C 000D9A9C 38 84 01 1F */ addi r4, r4, 0x11f +/* 800DCB40 000D9AA0 38 A0 00 00 */ li r5, 0 +/* 800DCB44 000D9AA4 48 23 8D 29 */ bl __nw__FUlPCcPCc +/* 800DCB48 000D9AA8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800DCB4C 000D9AAC 41 82 00 2C */ beq lbl_800DCB78 +/* 800DCB50 000D9AB0 38 61 00 50 */ addi r3, r1, 0x50 +/* 800DCB54 000D9AB4 38 9E 02 30 */ addi r4, r30, 0x230 +/* 800DCB58 000D9AB8 48 26 43 51 */ bl __ct__6CTokenFRC6CToken +/* 800DCB5C 000D9ABC 7F A3 EB 78 */ mr r3, r29 +/* 800DCB60 000D9AC0 38 81 00 50 */ addi r4, r1, 0x50 +/* 800DCB64 000D9AC4 3B 80 00 01 */ li r28, 1 +/* 800DCB68 000D9AC8 38 A0 00 00 */ li r5, 0 +/* 800DCB6C 000D9ACC 38 C0 00 01 */ li r6, 1 +/* 800DCB70 000D9AD0 48 24 28 71 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800DCB74 000D9AD4 7C 7D 1B 78 */ mr r29, r3 +lbl_800DCB78: +/* 800DCB78 000D9AD8 80 7E 02 38 */ lwz r3, 0x238(r30) +/* 800DCB7C 000D9ADC 28 03 00 00 */ cmplwi r3, 0 +/* 800DCB80 000D9AE0 41 82 00 18 */ beq lbl_800DCB98 +/* 800DCB84 000D9AE4 81 83 00 00 */ lwz r12, 0(r3) +/* 800DCB88 000D9AE8 38 80 00 01 */ li r4, 1 +/* 800DCB8C 000D9AEC 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DCB90 000D9AF0 7D 89 03 A6 */ mtctr r12 +/* 800DCB94 000D9AF4 4E 80 04 21 */ bctrl +lbl_800DCB98: +/* 800DCB98 000D9AF8 7F 80 07 75 */ extsb. r0, r28 +/* 800DCB9C 000D9AFC 93 BE 02 38 */ stw r29, 0x238(r30) +/* 800DCBA0 000D9B00 41 82 00 10 */ beq lbl_800DCBB0 +/* 800DCBA4 000D9B04 38 61 00 50 */ addi r3, r1, 0x50 +/* 800DCBA8 000D9B08 38 80 00 00 */ li r4, 0 +/* 800DCBAC 000D9B0C 48 26 42 95 */ bl __dt__6CTokenFv +lbl_800DCBB0: +/* 800DCBB0 000D9B10 3C 60 80 47 */ lis r3, lbl_8046C470@ha +/* 800DCBB4 000D9B14 C4 43 C4 70 */ lfsu f2, lbl_8046C470@l(r3) +/* 800DCBB8 000D9B18 C0 62 8F 1C */ lfs f3, lbl_805AAC3C@sda21(r2) +/* 800DCBBC 000D9B1C 38 81 00 BC */ addi r4, r1, 0xbc +/* 800DCBC0 000D9B20 C0 23 00 04 */ lfs f1, 4(r3) +/* 800DCBC4 000D9B24 C0 03 00 08 */ lfs f0, 8(r3) +/* 800DCBC8 000D9B28 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800DCBCC 000D9B2C EC 23 00 72 */ fmuls f1, f3, f1 +/* 800DCBD0 000D9B30 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800DCBD4 000D9B34 D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 800DCBD8 000D9B38 D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 800DCBDC 000D9B3C D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 800DCBE0 000D9B40 80 7E 02 38 */ lwz r3, 0x238(r30) +/* 800DCBE4 000D9B44 81 83 00 00 */ lwz r12, 0(r3) +/* 800DCBE8 000D9B48 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800DCBEC 000D9B4C 7D 89 03 A6 */ mtctr r12 +/* 800DCBF0 000D9B50 4E 80 04 21 */ bctrl +lbl_800DCBF4: +/* 800DCBF4 000D9B54 C0 22 8E 90 */ lfs f1, lbl_805AABB0@sda21(r2) +/* 800DCBF8 000D9B58 C0 1E 00 54 */ lfs f0, 0x54(r30) +/* 800DCBFC 000D9B5C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800DCC00 000D9B60 40 82 00 B0 */ bne lbl_800DCCB0 +/* 800DCC04 000D9B64 88 1E 00 4D */ lbz r0, 0x4d(r30) +/* 800DCC08 000D9B68 98 1E 00 4C */ stb r0, 0x4c(r30) +/* 800DCC0C 000D9B6C 88 1E 00 4D */ lbz r0, 0x4d(r30) +/* 800DCC10 000D9B70 28 00 00 00 */ cmplwi r0, 0 +/* 800DCC14 000D9B74 40 82 00 9C */ bne lbl_800DCCB0 +/* 800DCC18 000D9B78 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DCC1C 000D9B7C 38 00 00 00 */ li r0, 0 +/* 800DCC20 000D9B80 38 80 00 02 */ li r4, 2 +/* 800DCC24 000D9B84 38 C0 FF FF */ li r6, -1 +/* 800DCC28 000D9B88 38 60 00 01 */ li r3, 1 +/* 800DCC2C 000D9B8C 90 81 01 44 */ stw r4, 0x144(r1) +/* 800DCC30 000D9B90 38 81 01 44 */ addi r4, r1, 0x144 +/* 800DCC34 000D9B94 38 A0 00 00 */ li r5, 0 +/* 800DCC38 000D9B98 90 C1 01 48 */ stw r6, 0x148(r1) +/* 800DCC3C 000D9B9C D0 01 01 4C */ stfs f0, 0x14c(r1) +/* 800DCC40 000D9BA0 98 61 01 50 */ stb r3, 0x150(r1) +/* 800DCC44 000D9BA4 90 01 01 54 */ stw r0, 0x154(r1) +/* 800DCC48 000D9BA8 90 01 01 58 */ stw r0, 0x158(r1) +/* 800DCC4C 000D9BAC 98 01 01 5C */ stb r0, 0x15c(r1) +/* 800DCC50 000D9BB0 90 01 01 60 */ stw r0, 0x160(r1) +/* 800DCC54 000D9BB4 90 01 01 64 */ stw r0, 0x164(r1) +/* 800DCC58 000D9BB8 90 01 01 68 */ stw r0, 0x168(r1) +/* 800DCC5C 000D9BBC 80 7E 00 D8 */ lwz r3, 0xd8(r30) +/* 800DCC60 000D9BC0 4B F5 01 1D */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800DCC64 000D9BC4 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DCC68 000D9BC8 38 00 00 00 */ li r0, 0 +/* 800DCC6C 000D9BCC 38 80 00 02 */ li r4, 2 +/* 800DCC70 000D9BD0 38 C0 FF FF */ li r6, -1 +/* 800DCC74 000D9BD4 38 60 00 01 */ li r3, 1 +/* 800DCC78 000D9BD8 90 81 01 1C */ stw r4, 0x11c(r1) +/* 800DCC7C 000D9BDC 38 81 01 1C */ addi r4, r1, 0x11c +/* 800DCC80 000D9BE0 38 A0 00 00 */ li r5, 0 +/* 800DCC84 000D9BE4 90 C1 01 20 */ stw r6, 0x120(r1) +/* 800DCC88 000D9BE8 D0 01 01 24 */ stfs f0, 0x124(r1) +/* 800DCC8C 000D9BEC 98 61 01 28 */ stb r3, 0x128(r1) +/* 800DCC90 000D9BF0 90 01 01 2C */ stw r0, 0x12c(r1) +/* 800DCC94 000D9BF4 90 01 01 30 */ stw r0, 0x130(r1) +/* 800DCC98 000D9BF8 98 01 01 34 */ stb r0, 0x134(r1) +/* 800DCC9C 000D9BFC 90 01 01 38 */ stw r0, 0x138(r1) +/* 800DCCA0 000D9C00 90 01 01 3C */ stw r0, 0x13c(r1) +/* 800DCCA4 000D9C04 90 01 01 40 */ stw r0, 0x140(r1) +/* 800DCCA8 000D9C08 80 7E 01 44 */ lwz r3, 0x144(r30) +/* 800DCCAC 000D9C0C 4B F5 00 D1 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +lbl_800DCCB0: +/* 800DCCB0 000D9C10 88 1E 02 70 */ lbz r0, 0x270(r30) +/* 800DCCB4 000D9C14 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800DCCB8 000D9C18 41 82 00 34 */ beq lbl_800DCCEC +/* 800DCCBC 000D9C1C C0 3E 00 58 */ lfs f1, 0x58(r30) +/* 800DCCC0 000D9C20 C0 0D 87 10 */ lfs f0, lbl_805A72D0@sda21(r13) +/* 800DCCC4 000D9C24 EC 21 F8 2A */ fadds f1, f1, f31 +/* 800DCCC8 000D9C28 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DCCCC 000D9C2C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800DCCD0 000D9C30 40 80 00 0C */ bge lbl_800DCCDC +/* 800DCCD4 000D9C34 38 61 00 3C */ addi r3, r1, 0x3c +/* 800DCCD8 000D9C38 48 00 00 08 */ b lbl_800DCCE0 +lbl_800DCCDC: +/* 800DCCDC 000D9C3C 38 6D 87 10 */ addi r3, r13, lbl_805A72D0@sda21 +lbl_800DCCE0: +/* 800DCCE0 000D9C40 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCCE4 000D9C44 D0 1E 00 58 */ stfs f0, 0x58(r30) +/* 800DCCE8 000D9C48 48 00 00 30 */ b lbl_800DCD18 +lbl_800DCCEC: +/* 800DCCEC 000D9C4C C0 3E 00 58 */ lfs f1, 0x58(r30) +/* 800DCCF0 000D9C50 C0 0D 87 14 */ lfs f0, lbl_805A72D4@sda21(r13) +/* 800DCCF4 000D9C54 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800DCCF8 000D9C58 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800DCCFC 000D9C5C D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800DCD00 000D9C60 40 80 00 0C */ bge lbl_800DCD0C +/* 800DCD04 000D9C64 38 61 00 38 */ addi r3, r1, 0x38 +/* 800DCD08 000D9C68 48 00 00 08 */ b lbl_800DCD10 +lbl_800DCD0C: +/* 800DCD0C 000D9C6C 38 6D 87 14 */ addi r3, r13, lbl_805A72D4@sda21 +lbl_800DCD10: +/* 800DCD10 000D9C70 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCD14 000D9C74 D0 1E 00 58 */ stfs f0, 0x58(r30) +lbl_800DCD18: +/* 800DCD18 000D9C78 88 1E 02 70 */ lbz r0, 0x270(r30) +/* 800DCD1C 000D9C7C 54 00 E7 FF */ rlwinm. r0, r0, 0x1c, 0x1f, 0x1f +/* 800DCD20 000D9C80 41 82 00 34 */ beq lbl_800DCD54 +/* 800DCD24 000D9C84 C0 3E 00 5C */ lfs f1, 0x5c(r30) +/* 800DCD28 000D9C88 C0 0D 87 18 */ lfs f0, lbl_805A72D8@sda21(r13) +/* 800DCD2C 000D9C8C EC 21 F8 2A */ fadds f1, f1, f31 +/* 800DCD30 000D9C90 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DCD34 000D9C94 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 800DCD38 000D9C98 40 80 00 0C */ bge lbl_800DCD44 +/* 800DCD3C 000D9C9C 38 61 00 34 */ addi r3, r1, 0x34 +/* 800DCD40 000D9CA0 48 00 00 08 */ b lbl_800DCD48 +lbl_800DCD44: +/* 800DCD44 000D9CA4 38 6D 87 18 */ addi r3, r13, lbl_805A72D8@sda21 +lbl_800DCD48: +/* 800DCD48 000D9CA8 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCD4C 000D9CAC D0 1E 00 5C */ stfs f0, 0x5c(r30) +/* 800DCD50 000D9CB0 48 00 00 30 */ b lbl_800DCD80 +lbl_800DCD54: +/* 800DCD54 000D9CB4 C0 3E 00 5C */ lfs f1, 0x5c(r30) +/* 800DCD58 000D9CB8 C0 0D 87 1C */ lfs f0, lbl_805A72DC@sda21(r13) +/* 800DCD5C 000D9CBC EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800DCD60 000D9CC0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800DCD64 000D9CC4 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800DCD68 000D9CC8 40 80 00 0C */ bge lbl_800DCD74 +/* 800DCD6C 000D9CCC 38 61 00 30 */ addi r3, r1, 0x30 +/* 800DCD70 000D9CD0 48 00 00 08 */ b lbl_800DCD78 +lbl_800DCD74: +/* 800DCD74 000D9CD4 38 6D 87 1C */ addi r3, r13, lbl_805A72DC@sda21 +lbl_800DCD78: +/* 800DCD78 000D9CD8 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCD7C 000D9CDC D0 1E 00 5C */ stfs f0, 0x5c(r30) +lbl_800DCD80: +/* 800DCD80 000D9CE0 88 1E 02 70 */ lbz r0, 0x270(r30) +/* 800DCD84 000D9CE4 54 00 EF FF */ rlwinm. r0, r0, 0x1d, 0x1f, 0x1f +/* 800DCD88 000D9CE8 41 82 00 34 */ beq lbl_800DCDBC +/* 800DCD8C 000D9CEC C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 800DCD90 000D9CF0 C0 0D 87 20 */ lfs f0, lbl_805A72E0@sda21(r13) +/* 800DCD94 000D9CF4 EC 21 F8 2A */ fadds f1, f1, f31 +/* 800DCD98 000D9CF8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DCD9C 000D9CFC D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800DCDA0 000D9D00 40 80 00 0C */ bge lbl_800DCDAC +/* 800DCDA4 000D9D04 38 61 00 2C */ addi r3, r1, 0x2c +/* 800DCDA8 000D9D08 48 00 00 08 */ b lbl_800DCDB0 +lbl_800DCDAC: +/* 800DCDAC 000D9D0C 38 6D 87 20 */ addi r3, r13, lbl_805A72E0@sda21 +lbl_800DCDB0: +/* 800DCDB0 000D9D10 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCDB4 000D9D14 D0 1E 00 60 */ stfs f0, 0x60(r30) +/* 800DCDB8 000D9D18 48 00 00 30 */ b lbl_800DCDE8 +lbl_800DCDBC: +/* 800DCDBC 000D9D1C C0 3E 00 60 */ lfs f1, 0x60(r30) +/* 800DCDC0 000D9D20 C0 0D 87 24 */ lfs f0, lbl_805A72E4@sda21(r13) +/* 800DCDC4 000D9D24 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800DCDC8 000D9D28 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800DCDCC 000D9D2C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800DCDD0 000D9D30 40 80 00 0C */ bge lbl_800DCDDC +/* 800DCDD4 000D9D34 38 61 00 28 */ addi r3, r1, 0x28 +/* 800DCDD8 000D9D38 48 00 00 08 */ b lbl_800DCDE0 +lbl_800DCDDC: +/* 800DCDDC 000D9D3C 38 6D 87 24 */ addi r3, r13, lbl_805A72E4@sda21 +lbl_800DCDE0: +/* 800DCDE0 000D9D40 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCDE4 000D9D44 D0 1E 00 60 */ stfs f0, 0x60(r30) +lbl_800DCDE8: +/* 800DCDE8 000D9D48 88 1E 02 70 */ lbz r0, 0x270(r30) +/* 800DCDEC 000D9D4C 54 00 F7 FF */ rlwinm. r0, r0, 0x1e, 0x1f, 0x1f +/* 800DCDF0 000D9D50 41 82 00 34 */ beq lbl_800DCE24 +/* 800DCDF4 000D9D54 C0 3E 00 64 */ lfs f1, 0x64(r30) +/* 800DCDF8 000D9D58 C0 0D 87 28 */ lfs f0, lbl_805A72E8@sda21(r13) +/* 800DCDFC 000D9D5C EC 21 F8 2A */ fadds f1, f1, f31 +/* 800DCE00 000D9D60 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DCE04 000D9D64 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800DCE08 000D9D68 40 80 00 0C */ bge lbl_800DCE14 +/* 800DCE0C 000D9D6C 38 61 00 24 */ addi r3, r1, 0x24 +/* 800DCE10 000D9D70 48 00 00 08 */ b lbl_800DCE18 +lbl_800DCE14: +/* 800DCE14 000D9D74 38 6D 87 28 */ addi r3, r13, lbl_805A72E8@sda21 +lbl_800DCE18: +/* 800DCE18 000D9D78 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCE1C 000D9D7C D0 1E 00 64 */ stfs f0, 0x64(r30) +/* 800DCE20 000D9D80 48 00 00 30 */ b lbl_800DCE50 +lbl_800DCE24: +/* 800DCE24 000D9D84 C0 3E 00 64 */ lfs f1, 0x64(r30) +/* 800DCE28 000D9D88 C0 0D 87 2C */ lfs f0, lbl_805A72EC@sda21(r13) +/* 800DCE2C 000D9D8C EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800DCE30 000D9D90 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800DCE34 000D9D94 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 800DCE38 000D9D98 40 80 00 0C */ bge lbl_800DCE44 +/* 800DCE3C 000D9D9C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800DCE40 000D9DA0 48 00 00 08 */ b lbl_800DCE48 +lbl_800DCE44: +/* 800DCE44 000D9DA4 38 6D 87 2C */ addi r3, r13, lbl_805A72EC@sda21 +lbl_800DCE48: +/* 800DCE48 000D9DA8 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCE4C 000D9DAC D0 1E 00 64 */ stfs f0, 0x64(r30) +lbl_800DCE50: +/* 800DCE50 000D9DB0 88 1E 02 70 */ lbz r0, 0x270(r30) +/* 800DCE54 000D9DB4 54 00 FF FF */ rlwinm. r0, r0, 0x1f, 0x1f, 0x1f +/* 800DCE58 000D9DB8 41 82 00 34 */ beq lbl_800DCE8C +/* 800DCE5C 000D9DBC C0 3E 00 68 */ lfs f1, 0x68(r30) +/* 800DCE60 000D9DC0 C0 0D 87 30 */ lfs f0, lbl_805A72F0@sda21(r13) +/* 800DCE64 000D9DC4 EC 21 F8 2A */ fadds f1, f1, f31 +/* 800DCE68 000D9DC8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DCE6C 000D9DCC D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800DCE70 000D9DD0 40 80 00 0C */ bge lbl_800DCE7C +/* 800DCE74 000D9DD4 38 61 00 1C */ addi r3, r1, 0x1c +/* 800DCE78 000D9DD8 48 00 00 08 */ b lbl_800DCE80 +lbl_800DCE7C: +/* 800DCE7C 000D9DDC 38 6D 87 30 */ addi r3, r13, lbl_805A72F0@sda21 +lbl_800DCE80: +/* 800DCE80 000D9DE0 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCE84 000D9DE4 D0 1E 00 68 */ stfs f0, 0x68(r30) +/* 800DCE88 000D9DE8 48 00 00 30 */ b lbl_800DCEB8 +lbl_800DCE8C: +/* 800DCE8C 000D9DEC C0 3E 00 68 */ lfs f1, 0x68(r30) +/* 800DCE90 000D9DF0 C0 0D 87 34 */ lfs f0, lbl_805A72F4@sda21(r13) +/* 800DCE94 000D9DF4 EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800DCE98 000D9DF8 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800DCE9C 000D9DFC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800DCEA0 000D9E00 40 80 00 0C */ bge lbl_800DCEAC +/* 800DCEA4 000D9E04 38 61 00 18 */ addi r3, r1, 0x18 +/* 800DCEA8 000D9E08 48 00 00 08 */ b lbl_800DCEB0 +lbl_800DCEAC: +/* 800DCEAC 000D9E0C 38 6D 87 34 */ addi r3, r13, lbl_805A72F4@sda21 +lbl_800DCEB0: +/* 800DCEB0 000D9E10 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCEB4 000D9E14 D0 1E 00 68 */ stfs f0, 0x68(r30) +lbl_800DCEB8: +/* 800DCEB8 000D9E18 88 1E 00 4C */ lbz r0, 0x4c(r30) +/* 800DCEBC 000D9E1C 28 00 00 00 */ cmplwi r0, 0 +/* 800DCEC0 000D9E20 41 82 00 34 */ beq lbl_800DCEF4 +/* 800DCEC4 000D9E24 C0 3E 00 6C */ lfs f1, 0x6c(r30) +/* 800DCEC8 000D9E28 C0 0D 87 38 */ lfs f0, lbl_805A72F8@sda21(r13) +/* 800DCECC 000D9E2C EC 21 F8 2A */ fadds f1, f1, f31 +/* 800DCED0 000D9E30 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DCED4 000D9E34 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800DCED8 000D9E38 40 80 00 0C */ bge lbl_800DCEE4 +/* 800DCEDC 000D9E3C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800DCEE0 000D9E40 48 00 00 08 */ b lbl_800DCEE8 +lbl_800DCEE4: +/* 800DCEE4 000D9E44 38 6D 87 38 */ addi r3, r13, lbl_805A72F8@sda21 +lbl_800DCEE8: +/* 800DCEE8 000D9E48 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCEEC 000D9E4C D0 1E 00 6C */ stfs f0, 0x6c(r30) +/* 800DCEF0 000D9E50 48 00 00 30 */ b lbl_800DCF20 +lbl_800DCEF4: +/* 800DCEF4 000D9E54 C0 3E 00 6C */ lfs f1, 0x6c(r30) +/* 800DCEF8 000D9E58 C0 0D 87 3C */ lfs f0, lbl_805A72FC@sda21(r13) +/* 800DCEFC 000D9E5C EC 21 F8 28 */ fsubs f1, f1, f31 +/* 800DCF00 000D9E60 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800DCF04 000D9E64 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800DCF08 000D9E68 40 80 00 0C */ bge lbl_800DCF14 +/* 800DCF0C 000D9E6C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800DCF10 000D9E70 48 00 00 08 */ b lbl_800DCF18 +lbl_800DCF14: +/* 800DCF14 000D9E74 38 6D 87 3C */ addi r3, r13, lbl_805A72FC@sda21 +lbl_800DCF18: +/* 800DCF18 000D9E78 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DCF1C 000D9E7C D0 1E 00 6C */ stfs f0, 0x6c(r30) +lbl_800DCF20: +/* 800DCF20 000D9E80 80 1E 00 44 */ lwz r0, 0x44(r30) +/* 800DCF24 000D9E84 2C 00 00 03 */ cmpwi r0, 3 +/* 800DCF28 000D9E88 40 82 00 B8 */ bne lbl_800DCFE0 +/* 800DCF2C 000D9E8C 88 1E 02 5C */ lbz r0, 0x25c(r30) +/* 800DCF30 000D9E90 28 00 00 00 */ cmplwi r0, 0 +/* 800DCF34 000D9E94 40 82 01 68 */ bne lbl_800DD09C +/* 800DCF38 000D9E98 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DCF3C 000D9E9C 3C 60 80 3D */ lis r3, lbl_803CE3AC@ha +/* 800DCF40 000D9EA0 38 A3 E3 AC */ addi r5, r3, lbl_803CE3AC@l +/* 800DCF44 000D9EA4 38 61 00 48 */ addi r3, r1, 0x48 +/* 800DCF48 000D9EA8 81 84 00 00 */ lwz r12, 0(r4) +/* 800DCF4C 000D9EAC 38 A5 01 26 */ addi r5, r5, 0x126 +/* 800DCF50 000D9EB0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DCF54 000D9EB4 7D 89 03 A6 */ mtctr r12 +/* 800DCF58 000D9EB8 4E 80 04 21 */ bctrl +/* 800DCF5C 000D9EBC 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800DCF60 000D9EC0 38 81 00 48 */ addi r4, r1, 0x48 +/* 800DCF64 000D9EC4 48 26 3F 45 */ bl __ct__6CTokenFRC6CToken +/* 800DCF68 000D9EC8 38 00 00 00 */ li r0, 0 +/* 800DCF6C 000D9ECC 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 800DCF70 000D9ED0 88 1E 02 5C */ lbz r0, 0x25c(r30) +/* 800DCF74 000D9ED4 28 00 00 00 */ cmplwi r0, 0 +/* 800DCF78 000D9ED8 40 82 00 2C */ bne lbl_800DCFA4 +/* 800DCF7C 000D9EDC 37 BE 02 50 */ addic. r29, r30, 0x250 +/* 800DCF80 000D9EE0 41 82 00 18 */ beq lbl_800DCF98 +/* 800DCF84 000D9EE4 7F A3 EB 78 */ mr r3, r29 +/* 800DCF88 000D9EE8 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 800DCF8C 000D9EEC 48 26 3F 1D */ bl __ct__6CTokenFRC6CToken +/* 800DCF90 000D9EF0 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 800DCF94 000D9EF4 90 1D 00 08 */ stw r0, 8(r29) +lbl_800DCF98: +/* 800DCF98 000D9EF8 38 00 00 01 */ li r0, 1 +/* 800DCF9C 000D9EFC 98 1E 02 5C */ stb r0, 0x25c(r30) +/* 800DCFA0 000D9F00 48 00 00 1C */ b lbl_800DCFBC +lbl_800DCFA4: +/* 800DCFA4 000D9F04 3B BE 02 50 */ addi r29, r30, 0x250 +/* 800DCFA8 000D9F08 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 800DCFAC 000D9F0C 7F A3 EB 78 */ mr r3, r29 +/* 800DCFB0 000D9F10 48 26 3D 15 */ bl __as__6CTokenFRC6CToken +/* 800DCFB4 000D9F14 80 01 00 B8 */ lwz r0, 0xb8(r1) +/* 800DCFB8 000D9F18 90 1D 00 08 */ stw r0, 8(r29) +lbl_800DCFBC: +/* 800DCFBC 000D9F1C 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800DCFC0 000D9F20 38 80 00 00 */ li r4, 0 +/* 800DCFC4 000D9F24 48 26 3E 7D */ bl __dt__6CTokenFv +/* 800DCFC8 000D9F28 38 61 00 48 */ addi r3, r1, 0x48 +/* 800DCFCC 000D9F2C 38 80 FF FF */ li r4, -1 +/* 800DCFD0 000D9F30 48 26 3E 71 */ bl __dt__6CTokenFv +/* 800DCFD4 000D9F34 38 7E 02 50 */ addi r3, r30, 0x250 +/* 800DCFD8 000D9F38 48 26 3D AD */ bl Lock__6CTokenFv +/* 800DCFDC 000D9F3C 48 00 00 C0 */ b lbl_800DD09C +lbl_800DCFE0: +/* 800DCFE0 000D9F40 3B BE 02 50 */ addi r29, r30, 0x250 +/* 800DCFE4 000D9F44 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 800DCFE8 000D9F48 38 00 00 00 */ li r0, 0 +/* 800DCFEC 000D9F4C 7C 1D 20 40 */ cmplw r29, r4 +/* 800DCFF0 000D9F50 98 01 00 AC */ stb r0, 0xac(r1) +/* 800DCFF4 000D9F54 41 82 00 7C */ beq lbl_800DD070 +/* 800DCFF8 000D9F58 28 00 00 00 */ cmplwi r0, 0 +/* 800DCFFC 000D9F5C 41 82 00 48 */ beq lbl_800DD044 +/* 800DD000 000D9F60 88 1E 02 5C */ lbz r0, 0x25c(r30) +/* 800DD004 000D9F64 28 00 00 00 */ cmplwi r0, 0 +/* 800DD008 000D9F68 40 82 00 28 */ bne lbl_800DD030 +/* 800DD00C 000D9F6C 37 BE 02 50 */ addic. r29, r30, 0x250 +/* 800DD010 000D9F70 41 82 00 14 */ beq lbl_800DD024 +/* 800DD014 000D9F74 7F A3 EB 78 */ mr r3, r29 +/* 800DD018 000D9F78 48 26 3E 91 */ bl __ct__6CTokenFRC6CToken +/* 800DD01C 000D9F7C 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 800DD020 000D9F80 90 1D 00 08 */ stw r0, 8(r29) +lbl_800DD024: +/* 800DD024 000D9F84 38 00 00 01 */ li r0, 1 +/* 800DD028 000D9F88 98 1E 02 5C */ stb r0, 0x25c(r30) +/* 800DD02C 000D9F8C 48 00 00 44 */ b lbl_800DD070 +lbl_800DD030: +/* 800DD030 000D9F90 7F A3 EB 78 */ mr r3, r29 +/* 800DD034 000D9F94 48 26 3C 91 */ bl __as__6CTokenFRC6CToken +/* 800DD038 000D9F98 80 01 00 A8 */ lwz r0, 0xa8(r1) +/* 800DD03C 000D9F9C 90 1D 00 08 */ stw r0, 8(r29) +/* 800DD040 000D9FA0 48 00 00 30 */ b lbl_800DD070 +lbl_800DD044: +/* 800DD044 000D9FA4 88 1E 02 5C */ lbz r0, 0x25c(r30) +/* 800DD048 000D9FA8 28 00 00 00 */ cmplwi r0, 0 +/* 800DD04C 000D9FAC 41 82 00 1C */ beq lbl_800DD068 +/* 800DD050 000D9FB0 34 7E 02 50 */ addic. r3, r30, 0x250 +/* 800DD054 000D9FB4 41 82 00 14 */ beq lbl_800DD068 +/* 800DD058 000D9FB8 28 03 00 00 */ cmplwi r3, 0 +/* 800DD05C 000D9FBC 41 82 00 0C */ beq lbl_800DD068 +/* 800DD060 000D9FC0 38 80 00 00 */ li r4, 0 +/* 800DD064 000D9FC4 48 26 3D DD */ bl __dt__6CTokenFv +lbl_800DD068: +/* 800DD068 000D9FC8 38 00 00 00 */ li r0, 0 +/* 800DD06C 000D9FCC 98 1E 02 5C */ stb r0, 0x25c(r30) +lbl_800DD070: +/* 800DD070 000D9FD0 88 01 00 AC */ lbz r0, 0xac(r1) +/* 800DD074 000D9FD4 28 00 00 00 */ cmplwi r0, 0 +/* 800DD078 000D9FD8 41 82 00 1C */ beq lbl_800DD094 +/* 800DD07C 000D9FDC 34 61 00 A0 */ addic. r3, r1, 0xa0 +/* 800DD080 000D9FE0 41 82 00 14 */ beq lbl_800DD094 +/* 800DD084 000D9FE4 28 03 00 00 */ cmplwi r3, 0 +/* 800DD088 000D9FE8 41 82 00 0C */ beq lbl_800DD094 +/* 800DD08C 000D9FEC 38 80 00 00 */ li r4, 0 +/* 800DD090 000D9FF0 48 26 3D B1 */ bl __dt__6CTokenFv +lbl_800DD094: +/* 800DD094 000D9FF4 38 00 00 00 */ li r0, 0 +/* 800DD098 000D9FF8 98 01 00 AC */ stb r0, 0xac(r1) +lbl_800DD09C: +/* 800DD09C 000D9FFC 88 1E 02 5C */ lbz r0, 0x25c(r30) +/* 800DD0A0 000DA000 28 00 00 00 */ cmplwi r0, 0 +/* 800DD0A4 000DA004 41 82 00 A8 */ beq lbl_800DD14C +/* 800DD0A8 000DA008 3B BE 02 50 */ addi r29, r30, 0x250 +/* 800DD0AC 000DA00C 80 1E 02 58 */ lwz r0, 0x258(r30) +/* 800DD0B0 000DA010 28 00 00 00 */ cmplwi r0, 0 +/* 800DD0B4 000DA014 40 82 00 30 */ bne lbl_800DD0E4 +/* 800DD0B8 000DA018 88 1D 00 04 */ lbz r0, 4(r29) +/* 800DD0BC 000DA01C 28 00 00 00 */ cmplwi r0, 0 +/* 800DD0C0 000DA020 41 82 00 24 */ beq lbl_800DD0E4 +/* 800DD0C4 000DA024 80 7D 00 00 */ lwz r3, 0(r29) +/* 800DD0C8 000DA028 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800DD0CC 000DA02C 28 00 00 00 */ cmplwi r0, 0 +/* 800DD0D0 000DA030 41 82 00 14 */ beq lbl_800DD0E4 +/* 800DD0D4 000DA034 7F A3 EB 78 */ mr r3, r29 +/* 800DD0D8 000DA038 48 26 3D 35 */ bl GetObj__6CTokenFv +/* 800DD0DC 000DA03C 80 03 00 04 */ lwz r0, 4(r3) +/* 800DD0E0 000DA040 90 1D 00 08 */ stw r0, 8(r29) +lbl_800DD0E4: +/* 800DD0E4 000DA044 C0 3E 02 60 */ lfs f1, 0x260(r30) +/* 800DD0E8 000DA048 3C 00 43 30 */ lis r0, 0x4330 +/* 800DD0EC 000DA04C C0 02 8F 20 */ lfs f0, lbl_805AAC40@sda21(r2) +/* 800DD0F0 000DA050 C0 42 8E B0 */ lfs f2, lbl_805AABD0@sda21(r2) +/* 800DD0F4 000DA054 EC 01 00 2A */ fadds f0, f1, f0 +/* 800DD0F8 000DA058 90 01 01 78 */ stw r0, 0x178(r1) +/* 800DD0FC 000DA05C C8 62 8E C8 */ lfd f3, lbl_805AABE8@sda21(r2) +/* 800DD100 000DA060 C0 22 8E B4 */ lfs f1, lbl_805AABD4@sda21(r2) +/* 800DD104 000DA064 D0 1E 02 60 */ stfs f0, 0x260(r30) +/* 800DD108 000DA068 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DD10C 000DA06C C0 9E 02 60 */ lfs f4, 0x260(r30) +/* 800DD110 000DA070 EC 44 00 B2 */ fmuls f2, f4, f2 +/* 800DD114 000DA074 FC 40 10 1E */ fctiwz f2, f2 +/* 800DD118 000DA078 D8 41 01 70 */ stfd f2, 0x170(r1) +/* 800DD11C 000DA07C 80 01 01 74 */ lwz r0, 0x174(r1) +/* 800DD120 000DA080 6C 00 80 00 */ xoris r0, r0, 0x8000 +/* 800DD124 000DA084 90 01 01 7C */ stw r0, 0x17c(r1) +/* 800DD128 000DA088 C8 41 01 78 */ lfd f2, 0x178(r1) +/* 800DD12C 000DA08C EC 42 18 28 */ fsubs f2, f2, f3 +/* 800DD130 000DA090 EC 42 20 7C */ fnmsubs f2, f2, f1, f4 +/* 800DD134 000DA094 FC 02 00 40 */ fcmpo cr0, f2, f0 +/* 800DD138 000DA098 40 80 00 08 */ bge lbl_800DD140 +/* 800DD13C 000DA09C EC 42 08 2A */ fadds f2, f2, f1 +lbl_800DD140: +/* 800DD140 000DA0A0 D0 5E 02 60 */ stfs f2, 0x260(r30) +/* 800DD144 000DA0A4 80 6D A0 68 */ lwz r3, gpRender@sda21(r13) +/* 800DD148 000DA0A8 48 1D 8E 29 */ bl AllocatePhazonSuitMaskTexture__13CCubeRendererFv +lbl_800DD14C: +/* 800DD14C 000DA0AC FC 20 F0 90 */ fmr f1, f30 +/* 800DD150 000DA0B0 7F E5 FB 78 */ mr r5, r31 +/* 800DD154 000DA0B4 38 61 01 00 */ addi r3, r1, 0x100 +/* 800DD158 000DA0B8 38 9E 00 C8 */ addi r4, r30, 0xc8 +/* 800DD15C 000DA0BC 38 C0 00 01 */ li r6, 1 +/* 800DD160 000DA0C0 48 03 89 59 */ bl AdvanceAnimationIgnoreParticles__10CModelDataFfR9CRandom16b +/* 800DD164 000DA0C4 FC 20 F0 90 */ fmr f1, f30 +/* 800DD168 000DA0C8 7F E5 FB 78 */ mr r5, r31 +/* 800DD16C 000DA0CC 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 800DD170 000DA0D0 38 9E 01 34 */ addi r4, r30, 0x134 +/* 800DD174 000DA0D4 38 C0 00 01 */ li r6, 1 +/* 800DD178 000DA0D8 48 03 89 41 */ bl AdvanceAnimationIgnoreParticles__10CModelDataFfR9CRandom16b +/* 800DD17C 000DA0DC FC 20 F0 90 */ fmr f1, f30 +/* 800DD180 000DA0E0 7F E5 FB 78 */ mr r5, r31 +/* 800DD184 000DA0E4 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800DD188 000DA0E8 38 9E 01 84 */ addi r4, r30, 0x184 +/* 800DD18C 000DA0EC 38 C0 00 01 */ li r6, 1 +/* 800DD190 000DA0F0 48 03 89 29 */ bl AdvanceAnimationIgnoreParticles__10CModelDataFfR9CRandom16b +/* 800DD194 000DA0F4 7F C3 F3 78 */ mr r3, r30 +/* 800DD198 000DA0F8 48 00 05 65 */ bl SetupLights__10CSamusDollFv +/* 800DD19C 000DA0FC C0 5E 00 3C */ lfs f2, 0x3c(r30) +/* 800DD1A0 000DA100 38 81 00 94 */ addi r4, r1, 0x94 +/* 800DD1A4 000DA104 C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 800DD1A8 000DA108 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 800DD1AC 000DA10C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 800DD1B0 000DA110 D0 21 00 98 */ stfs f1, 0x98(r1) +/* 800DD1B4 000DA114 D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 800DD1B8 000DA118 80 7E 02 2C */ lwz r3, 0x22c(r30) +/* 800DD1BC 000DA11C 81 83 00 00 */ lwz r12, 0(r3) +/* 800DD1C0 000DA120 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800DD1C4 000DA124 7D 89 03 A6 */ mtctr r12 +/* 800DD1C8 000DA128 4E 80 04 21 */ bctrl +/* 800DD1CC 000DA12C 80 7E 02 2C */ lwz r3, 0x22c(r30) +/* 800DD1D0 000DA130 FC 20 F0 90 */ fmr f1, f30 +/* 800DD1D4 000DA134 81 83 00 00 */ lwz r12, 0(r3) +/* 800DD1D8 000DA138 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800DD1DC 000DA13C 7D 89 03 A6 */ mtctr r12 +/* 800DD1E0 000DA140 4E 80 04 21 */ bctrl +/* 800DD1E4 000DA144 80 7E 02 38 */ lwz r3, 0x238(r30) +/* 800DD1E8 000DA148 28 03 00 00 */ cmplwi r3, 0 +/* 800DD1EC 000DA14C 41 82 00 94 */ beq lbl_800DD280 +/* 800DD1F0 000DA150 81 83 00 00 */ lwz r12, 0(r3) +/* 800DD1F4 000DA154 81 8C 00 58 */ lwz r12, 0x58(r12) +/* 800DD1F8 000DA158 7D 89 03 A6 */ mtctr r12 +/* 800DD1FC 000DA15C 4E 80 04 21 */ bctrl +/* 800DD200 000DA160 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DD204 000DA164 41 82 00 2C */ beq lbl_800DD230 +/* 800DD208 000DA168 80 7E 02 38 */ lwz r3, 0x238(r30) +/* 800DD20C 000DA16C 28 03 00 00 */ cmplwi r3, 0 +/* 800DD210 000DA170 41 82 00 18 */ beq lbl_800DD228 +/* 800DD214 000DA174 81 83 00 00 */ lwz r12, 0(r3) +/* 800DD218 000DA178 38 80 00 01 */ li r4, 1 +/* 800DD21C 000DA17C 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DD220 000DA180 7D 89 03 A6 */ mtctr r12 +/* 800DD224 000DA184 4E 80 04 21 */ bctrl +lbl_800DD228: +/* 800DD228 000DA188 38 00 00 00 */ li r0, 0 +/* 800DD22C 000DA18C 90 1E 02 38 */ stw r0, 0x238(r30) +lbl_800DD230: +/* 800DD230 000DA190 80 7E 02 38 */ lwz r3, 0x238(r30) +/* 800DD234 000DA194 28 03 00 00 */ cmplwi r3, 0 +/* 800DD238 000DA198 41 82 00 48 */ beq lbl_800DD280 +/* 800DD23C 000DA19C C0 5E 00 3C */ lfs f2, 0x3c(r30) +/* 800DD240 000DA1A0 38 81 00 88 */ addi r4, r1, 0x88 +/* 800DD244 000DA1A4 C0 3E 00 2C */ lfs f1, 0x2c(r30) +/* 800DD248 000DA1A8 C0 1E 00 1C */ lfs f0, 0x1c(r30) +/* 800DD24C 000DA1AC D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800DD250 000DA1B0 D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 800DD254 000DA1B4 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 800DD258 000DA1B8 81 83 00 00 */ lwz r12, 0(r3) +/* 800DD25C 000DA1BC 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800DD260 000DA1C0 7D 89 03 A6 */ mtctr r12 +/* 800DD264 000DA1C4 4E 80 04 21 */ bctrl +/* 800DD268 000DA1C8 80 7E 02 38 */ lwz r3, 0x238(r30) +/* 800DD26C 000DA1CC FC 20 F0 90 */ fmr f1, f30 +/* 800DD270 000DA1D0 81 83 00 00 */ lwz r12, 0(r3) +/* 800DD274 000DA1D4 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800DD278 000DA1D8 7D 89 03 A6 */ mtctr r12 +/* 800DD27C 000DA1DC 4E 80 04 21 */ bctrl +lbl_800DD280: +/* 800DD280 000DA1E0 C0 22 8E 90 */ lfs f1, lbl_805AABB0@sda21(r2) +/* 800DD284 000DA1E4 C0 5E 00 C4 */ lfs f2, 0xc4(r30) +/* 800DD288 000DA1E8 FC 01 10 00 */ fcmpu cr0, f1, f2 +/* 800DD28C 000DA1EC 41 82 01 B4 */ beq lbl_800DD440 +/* 800DD290 000DA1F0 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DD294 000DA1F4 FC 00 10 00 */ fcmpu cr0, f0, f2 +/* 800DD298 000DA1F8 41 82 01 A8 */ beq lbl_800DD440 +/* 800DD29C 000DA1FC FC 02 08 40 */ fcmpo cr0, f2, f1 +/* 800DD2A0 000DA200 40 80 00 34 */ bge lbl_800DD2D4 +/* 800DD2A4 000DA204 C0 22 8F 24 */ lfs f1, lbl_805AAC44@sda21(r2) +/* 800DD2A8 000DA208 C0 0D 87 40 */ lfs f0, lbl_805A7300@sda21(r13) +/* 800DD2AC 000DA20C EC 21 17 BA */ fmadds f1, f1, f30, f2 +/* 800DD2B0 000DA210 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DD2B4 000DA214 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800DD2B8 000DA218 40 80 00 0C */ bge lbl_800DD2C4 +/* 800DD2BC 000DA21C 38 61 00 0C */ addi r3, r1, 0xc +/* 800DD2C0 000DA220 48 00 00 08 */ b lbl_800DD2C8 +lbl_800DD2C4: +/* 800DD2C4 000DA224 38 6D 87 40 */ addi r3, r13, lbl_805A7300@sda21 +lbl_800DD2C8: +/* 800DD2C8 000DA228 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DD2CC 000DA22C D0 1E 00 C4 */ stfs f0, 0xc4(r30) +/* 800DD2D0 000DA230 48 00 00 30 */ b lbl_800DD300 +lbl_800DD2D4: +/* 800DD2D4 000DA234 C0 22 8F 24 */ lfs f1, lbl_805AAC44@sda21(r2) +/* 800DD2D8 000DA238 C0 0D 87 44 */ lfs f0, lbl_805A7304@sda21(r13) +/* 800DD2DC 000DA23C EC 21 17 BA */ fmadds f1, f1, f30, f2 +/* 800DD2E0 000DA240 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DD2E4 000DA244 D0 21 00 08 */ stfs f1, 8(r1) +/* 800DD2E8 000DA248 40 80 00 0C */ bge lbl_800DD2F4 +/* 800DD2EC 000DA24C 38 61 00 08 */ addi r3, r1, 8 +/* 800DD2F0 000DA250 48 00 00 08 */ b lbl_800DD2F8 +lbl_800DD2F4: +/* 800DD2F4 000DA254 38 6D 87 44 */ addi r3, r13, lbl_805A7304@sda21 +lbl_800DD2F8: +/* 800DD2F8 000DA258 C0 03 00 00 */ lfs f0, 0(r3) +/* 800DD2FC 000DA25C D0 1E 00 C4 */ stfs f0, 0xc4(r30) +lbl_800DD300: +/* 800DD300 000DA260 C0 3E 00 C4 */ lfs f1, 0xc4(r30) +/* 800DD304 000DA264 3C 60 80 47 */ lis r3, lbl_8046C47C@ha +/* 800DD308 000DA268 C4 43 C4 7C */ lfsu f2, lbl_8046C47C@l(r3) +/* 800DD30C 000DA26C FC 60 0A 10 */ fabs f3, f1 +/* 800DD310 000DA270 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DD314 000DA274 C0 3E 00 84 */ lfs f1, 0x84(r30) +/* 800DD318 000DA278 C0 BE 00 88 */ lfs f5, 0x88(r30) +/* 800DD31C 000DA27C FF E0 18 18 */ frsp f31, f3 +/* 800DD320 000DA280 C0 7E 00 8C */ lfs f3, 0x8c(r30) +/* 800DD324 000DA284 C0 C3 00 04 */ lfs f6, 4(r3) +/* 800DD328 000DA288 C0 83 00 08 */ lfs f4, 8(r3) +/* 800DD32C 000DA28C EF C0 F8 28 */ fsubs f30, f0, f31 +/* 800DD330 000DA290 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DD334 000DA294 EC 21 07 F2 */ fmuls f1, f1, f31 +/* 800DD338 000DA298 EC A5 07 F2 */ fmuls f5, f5, f31 +/* 800DD33C 000DA29C EC 63 07 F2 */ fmuls f3, f3, f31 +/* 800DD340 000DA2A0 EC 22 0F BA */ fmadds f1, f2, f30, f1 +/* 800DD344 000DA2A4 EC A6 2F BA */ fmadds f5, f6, f30, f5 +/* 800DD348 000DA2A8 EC 44 1F BA */ fmadds f2, f4, f30, f3 +/* 800DD34C 000DA2AC D0 3E 00 A4 */ stfs f1, 0xa4(r30) +/* 800DD350 000DA2B0 D0 BE 00 A8 */ stfs f5, 0xa8(r30) +/* 800DD354 000DA2B4 D0 5E 00 AC */ stfs f2, 0xac(r30) +/* 800DD358 000DA2B8 C0 5E 00 98 */ lfs f2, 0x98(r30) +/* 800DD35C 000DA2BC C0 3E 00 78 */ lfs f1, 0x78(r30) +/* 800DD360 000DA2C0 C0 7E 00 94 */ lfs f3, 0x94(r30) +/* 800DD364 000DA2C4 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800DD368 000DA2C8 C0 5E 00 74 */ lfs f2, 0x74(r30) +/* 800DD36C 000DA2CC C0 BE 00 9C */ lfs f5, 0x9c(r30) +/* 800DD370 000DA2D0 C0 9E 00 7C */ lfs f4, 0x7c(r30) +/* 800DD374 000DA2D4 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 800DD378 000DA2D8 C0 7E 00 90 */ lfs f3, 0x90(r30) +/* 800DD37C 000DA2DC C0 5E 00 70 */ lfs f2, 0x70(r30) +/* 800DD380 000DA2E0 EC 25 09 3A */ fmadds f1, f5, f4, f1 +/* 800DD384 000DA2E4 EC 23 08 BA */ fmadds f1, f3, f2, f1 +/* 800DD388 000DA2E8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DD38C 000DA2EC 4C 41 13 82 */ cror 2, 1, 2 +/* 800DD390 000DA2F0 40 82 00 0C */ bne lbl_800DD39C +/* 800DD394 000DA2F4 38 DE 00 70 */ addi r6, r30, 0x70 +/* 800DD398 000DA2F8 48 00 00 14 */ b lbl_800DD3AC +lbl_800DD39C: +/* 800DD39C 000DA2FC 38 61 00 58 */ addi r3, r1, 0x58 +/* 800DD3A0 000DA300 38 9E 00 70 */ addi r4, r30, 0x70 +/* 800DD3A4 000DA304 48 23 40 8D */ bl BuildEquivalent__11CQuaternionCFv +/* 800DD3A8 000DA308 38 C1 00 58 */ addi r6, r1, 0x58 +lbl_800DD3AC: +/* 800DD3AC 000DA30C C0 06 00 00 */ lfs f0, 0(r6) +/* 800DD3B0 000DA310 FC 20 F8 90 */ fmr f1, f31 +/* 800DD3B4 000DA314 38 61 00 78 */ addi r3, r1, 0x78 +/* 800DD3B8 000DA318 38 81 00 68 */ addi r4, r1, 0x68 +/* 800DD3BC 000DA31C D0 01 00 68 */ stfs f0, 0x68(r1) +/* 800DD3C0 000DA320 38 BE 00 90 */ addi r5, r30, 0x90 +/* 800DD3C4 000DA324 C0 06 00 04 */ lfs f0, 4(r6) +/* 800DD3C8 000DA328 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800DD3CC 000DA32C C0 06 00 08 */ lfs f0, 8(r6) +/* 800DD3D0 000DA330 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800DD3D4 000DA334 C0 06 00 0C */ lfs f0, 0xc(r6) +/* 800DD3D8 000DA338 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800DD3DC 000DA33C 48 23 49 1D */ bl Slerp__11CQuaternionFRC11CQuaternionRC11CQuaternionf +/* 800DD3E0 000DA340 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 800DD3E4 000DA344 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DD3E8 000DA348 D0 3E 00 B0 */ stfs f1, 0xb0(r30) +/* 800DD3EC 000DA34C 80 61 00 7C */ lwz r3, 0x7c(r1) +/* 800DD3F0 000DA350 80 01 00 80 */ lwz r0, 0x80(r1) +/* 800DD3F4 000DA354 90 7E 00 B4 */ stw r3, 0xb4(r30) +/* 800DD3F8 000DA358 90 1E 00 B8 */ stw r0, 0xb8(r30) +/* 800DD3FC 000DA35C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800DD400 000DA360 90 1E 00 BC */ stw r0, 0xbc(r30) +/* 800DD404 000DA364 C0 3E 00 C4 */ lfs f1, 0xc4(r30) +/* 800DD408 000DA368 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800DD40C 000DA36C 4C 40 13 82 */ cror 2, 0, 2 +/* 800DD410 000DA370 40 82 00 1C */ bne lbl_800DD42C +/* 800DD414 000DA374 C0 1E 00 80 */ lfs f0, 0x80(r30) +/* 800DD418 000DA378 C0 3E 00 A0 */ lfs f1, 0xa0(r30) +/* 800DD41C 000DA37C EC 00 07 B2 */ fmuls f0, f0, f30 +/* 800DD420 000DA380 EC 01 07 FA */ fmadds f0, f1, f31, f0 +/* 800DD424 000DA384 D0 1E 00 C0 */ stfs f0, 0xc0(r30) +/* 800DD428 000DA388 48 00 00 18 */ b lbl_800DD440 +lbl_800DD42C: +/* 800DD42C 000DA38C C0 1E 00 80 */ lfs f0, 0x80(r30) +/* 800DD430 000DA390 C0 3E 00 A0 */ lfs f1, 0xa0(r30) +/* 800DD434 000DA394 EC 00 07 F2 */ fmuls f0, f0, f31 +/* 800DD438 000DA398 EC 01 07 BA */ fmadds f0, f1, f30, f0 +/* 800DD43C 000DA39C D0 1E 00 C0 */ stfs f0, 0xc0(r30) +lbl_800DD440: +/* 800DD440 000DA3A0 E3 E1 01 A8 */ psq_l f31, 424(r1), 0, qr0 +/* 800DD444 000DA3A4 CB E1 01 A0 */ lfd f31, 0x1a0(r1) +/* 800DD448 000DA3A8 E3 C1 01 98 */ psq_l f30, 408(r1), 0, qr0 +/* 800DD44C 000DA3AC CB C1 01 90 */ lfd f30, 0x190(r1) +/* 800DD450 000DA3B0 83 E1 01 8C */ lwz r31, 0x18c(r1) +/* 800DD454 000DA3B4 83 C1 01 88 */ lwz r30, 0x188(r1) +/* 800DD458 000DA3B8 83 A1 01 84 */ lwz r29, 0x184(r1) +/* 800DD45C 000DA3BC 80 01 01 B4 */ lwz r0, 0x1b4(r1) +/* 800DD460 000DA3C0 83 81 01 80 */ lwz r28, 0x180(r1) +/* 800DD464 000DA3C4 7C 08 03 A6 */ mtlr r0 +/* 800DD468 000DA3C8 38 21 01 B0 */ addi r1, r1, 0x1b0 +/* 800DD46C 000DA3CC 4E 80 00 20 */ blr + +.global Touch__10CSamusDollFv +Touch__10CSamusDollFv: +/* 800DD470 000DA3D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DD474 000DA3D4 7C 08 02 A6 */ mflr r0 +/* 800DD478 000DA3D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DD47C 000DA3DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DD480 000DA3E0 7C 7F 1B 78 */ mr r31, r3 +/* 800DD484 000DA3E4 48 00 07 85 */ bl CheckLoadComplete__10CSamusDollFv +/* 800DD488 000DA3E8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DD48C 000DA3EC 41 82 00 4C */ beq lbl_800DD4D8 +/* 800DD490 000DA3F0 80 7F 00 D8 */ lwz r3, 0xd8(r31) +/* 800DD494 000DA3F4 4B F4 F5 71 */ bl PreRender__9CAnimDataFv +/* 800DD498 000DA3F8 80 7F 01 44 */ lwz r3, 0x144(r31) +/* 800DD49C 000DA3FC 4B F4 F5 69 */ bl PreRender__9CAnimDataFv +/* 800DD4A0 000DA400 80 7F 01 94 */ lwz r3, 0x194(r31) +/* 800DD4A4 000DA404 4B F4 F5 61 */ bl PreRender__9CAnimDataFv +/* 800DD4A8 000DA408 38 7F 00 C8 */ addi r3, r31, 0xc8 +/* 800DD4AC 000DA40C 38 80 00 00 */ li r4, 0 +/* 800DD4B0 000DA410 38 A0 00 00 */ li r5, 0 +/* 800DD4B4 000DA414 48 03 87 F9 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli +/* 800DD4B8 000DA418 38 7F 01 34 */ addi r3, r31, 0x134 +/* 800DD4BC 000DA41C 38 80 00 00 */ li r4, 0 +/* 800DD4C0 000DA420 38 A0 00 00 */ li r5, 0 +/* 800DD4C4 000DA424 48 03 87 E9 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli +/* 800DD4C8 000DA428 38 7F 01 84 */ addi r3, r31, 0x184 +/* 800DD4CC 000DA42C 38 80 00 00 */ li r4, 0 +/* 800DD4D0 000DA430 38 A0 00 00 */ li r5, 0 +/* 800DD4D4 000DA434 48 03 87 D9 */ bl Touch__10CModelDataCFQ210CModelData11EWhichModeli +lbl_800DD4D8: +/* 800DD4D8 000DA438 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DD4DC 000DA43C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DD4E0 000DA440 7C 08 03 A6 */ mtlr r0 +/* 800DD4E4 000DA444 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DD4E8 000DA448 4E 80 00 20 */ blr + +.global BuildSuitModelDataBoots__10CSamusDollFQ212CPlayerState11EPlayerSuit +BuildSuitModelDataBoots__10CSamusDollFQ212CPlayerState11EPlayerSuit: +/* 800DD4EC 000DA44C 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 800DD4F0 000DA450 7C 08 02 A6 */ mflr r0 +/* 800DD4F4 000DA454 3C C0 80 3D */ lis r6, lbl_803CE338@ha +/* 800DD4F8 000DA458 3C A0 80 3D */ lis r5, lbl_803CE3AC@ha +/* 800DD4FC 000DA45C 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800DD500 000DA460 54 80 10 3A */ slwi r0, r4, 2 +/* 800DD504 000DA464 38 85 E3 AC */ addi r4, r5, lbl_803CE3AC@l +/* 800DD508 000DA468 38 C6 E3 38 */ addi r6, r6, lbl_803CE338@l +/* 800DD50C 000DA46C 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 800DD510 000DA470 38 84 01 3C */ addi r4, r4, 0x13c +/* 800DD514 000DA474 7F E6 00 2E */ lwzx r31, r6, r0 +/* 800DD518 000DA478 93 C1 00 98 */ stw r30, 0x98(r1) +/* 800DD51C 000DA47C 7C 7E 1B 78 */ mr r30, r3 +/* 800DD520 000DA480 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800DD524 000DA484 81 83 00 00 */ lwz r12, 0(r3) +/* 800DD528 000DA488 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800DD52C 000DA48C 7D 89 03 A6 */ mtctr r12 +/* 800DD530 000DA490 4E 80 04 21 */ bctrl +/* 800DD534 000DA494 3C 80 80 47 */ lis r4, lbl_8046C470@ha +/* 800DD538 000DA498 C4 44 C4 70 */ lfsu f2, lbl_8046C470@l(r4) +/* 800DD53C 000DA49C 80 C3 00 04 */ lwz r6, 4(r3) +/* 800DD540 000DA4A0 38 A0 00 01 */ li r5, 1 +/* 800DD544 000DA4A4 C0 24 00 04 */ lfs f1, 4(r4) +/* 800DD548 000DA4A8 38 00 00 02 */ li r0, 2 +/* 800DD54C 000DA4AC C0 04 00 08 */ lfs f0, 8(r4) +/* 800DD550 000DA4B0 38 61 00 4C */ addi r3, r1, 0x4c +/* 800DD554 000DA4B4 90 C1 00 08 */ stw r6, 8(r1) +/* 800DD558 000DA4B8 38 81 00 08 */ addi r4, r1, 8 +/* 800DD55C 000DA4BC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DD560 000DA4C0 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 800DD564 000DA4C4 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800DD568 000DA4C8 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800DD56C 000DA4CC 98 A1 00 1C */ stb r5, 0x1c(r1) +/* 800DD570 000DA4D0 90 01 00 20 */ stw r0, 0x20(r1) +/* 800DD574 000DA4D4 48 03 95 E1 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800DD578 000DA4D8 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DD57C 000DA4DC 38 00 00 00 */ li r0, 0 +/* 800DD580 000DA4E0 38 60 00 02 */ li r3, 2 +/* 800DD584 000DA4E4 38 A0 FF FF */ li r5, -1 +/* 800DD588 000DA4E8 38 C0 00 01 */ li r6, 1 +/* 800DD58C 000DA4EC 90 61 00 24 */ stw r3, 0x24(r1) +/* 800DD590 000DA4F0 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 800DD594 000DA4F4 38 81 00 24 */ addi r4, r1, 0x24 +/* 800DD598 000DA4F8 90 A1 00 28 */ stw r5, 0x28(r1) +/* 800DD59C 000DA4FC 38 A0 00 00 */ li r5, 0 +/* 800DD5A0 000DA500 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800DD5A4 000DA504 98 C1 00 30 */ stb r6, 0x30(r1) +/* 800DD5A8 000DA508 90 01 00 34 */ stw r0, 0x34(r1) +/* 800DD5AC 000DA50C 90 01 00 38 */ stw r0, 0x38(r1) +/* 800DD5B0 000DA510 98 01 00 3C */ stb r0, 0x3c(r1) +/* 800DD5B4 000DA514 90 01 00 40 */ stw r0, 0x40(r1) +/* 800DD5B8 000DA518 90 01 00 44 */ stw r0, 0x44(r1) +/* 800DD5BC 000DA51C 90 01 00 48 */ stw r0, 0x48(r1) +/* 800DD5C0 000DA520 4B F4 F7 BD */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800DD5C4 000DA524 7F C3 F3 78 */ mr r3, r30 +/* 800DD5C8 000DA528 38 81 00 4C */ addi r4, r1, 0x4c +/* 800DD5CC 000DA52C 4B F3 B7 C1 */ bl __ct__10CModelDataFRC10CModelData +/* 800DD5D0 000DA530 38 61 00 4C */ addi r3, r1, 0x4c +/* 800DD5D4 000DA534 38 80 FF FF */ li r4, -1 +/* 800DD5D8 000DA538 48 03 94 75 */ bl __dt__10CModelDataFv +/* 800DD5DC 000DA53C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800DD5E0 000DA540 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 800DD5E4 000DA544 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 800DD5E8 000DA548 7C 08 03 A6 */ mtlr r0 +/* 800DD5EC 000DA54C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 800DD5F0 000DA550 4E 80 00 20 */ blr + +.global BuildSuitModelData1__10CSamusDollFQ212CPlayerState11EPlayerSuit +BuildSuitModelData1__10CSamusDollFQ212CPlayerState11EPlayerSuit: +/* 800DD5F4 000DA554 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 800DD5F8 000DA558 7C 08 02 A6 */ mflr r0 +/* 800DD5FC 000DA55C 3C C0 80 3D */ lis r6, lbl_803CE2D8@ha +/* 800DD600 000DA560 3C A0 80 3D */ lis r5, lbl_803CE3AC@ha +/* 800DD604 000DA564 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800DD608 000DA568 54 80 10 3A */ slwi r0, r4, 2 +/* 800DD60C 000DA56C 38 85 E3 AC */ addi r4, r5, lbl_803CE3AC@l +/* 800DD610 000DA570 38 C6 E2 D8 */ addi r6, r6, lbl_803CE2D8@l +/* 800DD614 000DA574 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 800DD618 000DA578 38 84 01 3C */ addi r4, r4, 0x13c +/* 800DD61C 000DA57C 7F E6 00 2E */ lwzx r31, r6, r0 +/* 800DD620 000DA580 93 C1 00 98 */ stw r30, 0x98(r1) +/* 800DD624 000DA584 7C 7E 1B 78 */ mr r30, r3 +/* 800DD628 000DA588 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800DD62C 000DA58C 81 83 00 00 */ lwz r12, 0(r3) +/* 800DD630 000DA590 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800DD634 000DA594 7D 89 03 A6 */ mtctr r12 +/* 800DD638 000DA598 4E 80 04 21 */ bctrl +/* 800DD63C 000DA59C 3C 80 80 47 */ lis r4, lbl_8046C470@ha +/* 800DD640 000DA5A0 C4 44 C4 70 */ lfsu f2, lbl_8046C470@l(r4) +/* 800DD644 000DA5A4 80 C3 00 04 */ lwz r6, 4(r3) +/* 800DD648 000DA5A8 38 A0 00 01 */ li r5, 1 +/* 800DD64C 000DA5AC C0 24 00 04 */ lfs f1, 4(r4) +/* 800DD650 000DA5B0 38 00 00 02 */ li r0, 2 +/* 800DD654 000DA5B4 C0 04 00 08 */ lfs f0, 8(r4) +/* 800DD658 000DA5B8 38 61 00 4C */ addi r3, r1, 0x4c +/* 800DD65C 000DA5BC 90 C1 00 08 */ stw r6, 8(r1) +/* 800DD660 000DA5C0 38 81 00 08 */ addi r4, r1, 8 +/* 800DD664 000DA5C4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DD668 000DA5C8 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 800DD66C 000DA5CC D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800DD670 000DA5D0 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800DD674 000DA5D4 98 A1 00 1C */ stb r5, 0x1c(r1) +/* 800DD678 000DA5D8 90 01 00 20 */ stw r0, 0x20(r1) +/* 800DD67C 000DA5DC 48 03 94 D9 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800DD680 000DA5E0 C0 02 8E 94 */ lfs f0, lbl_805AABB4@sda21(r2) +/* 800DD684 000DA5E4 38 00 00 00 */ li r0, 0 +/* 800DD688 000DA5E8 38 60 00 02 */ li r3, 2 +/* 800DD68C 000DA5EC 38 A0 FF FF */ li r5, -1 +/* 800DD690 000DA5F0 38 C0 00 01 */ li r6, 1 +/* 800DD694 000DA5F4 90 61 00 24 */ stw r3, 0x24(r1) +/* 800DD698 000DA5F8 80 61 00 5C */ lwz r3, 0x5c(r1) +/* 800DD69C 000DA5FC 38 81 00 24 */ addi r4, r1, 0x24 +/* 800DD6A0 000DA600 90 A1 00 28 */ stw r5, 0x28(r1) +/* 800DD6A4 000DA604 38 A0 00 00 */ li r5, 0 +/* 800DD6A8 000DA608 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800DD6AC 000DA60C 98 C1 00 30 */ stb r6, 0x30(r1) +/* 800DD6B0 000DA610 90 01 00 34 */ stw r0, 0x34(r1) +/* 800DD6B4 000DA614 90 01 00 38 */ stw r0, 0x38(r1) +/* 800DD6B8 000DA618 98 01 00 3C */ stb r0, 0x3c(r1) +/* 800DD6BC 000DA61C 90 01 00 40 */ stw r0, 0x40(r1) +/* 800DD6C0 000DA620 90 01 00 44 */ stw r0, 0x44(r1) +/* 800DD6C4 000DA624 90 01 00 48 */ stw r0, 0x48(r1) +/* 800DD6C8 000DA628 4B F4 F6 B5 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800DD6CC 000DA62C 7F C3 F3 78 */ mr r3, r30 +/* 800DD6D0 000DA630 38 81 00 4C */ addi r4, r1, 0x4c +/* 800DD6D4 000DA634 4B F3 B6 B9 */ bl __ct__10CModelDataFRC10CModelData +/* 800DD6D8 000DA638 38 61 00 4C */ addi r3, r1, 0x4c +/* 800DD6DC 000DA63C 38 80 FF FF */ li r4, -1 +/* 800DD6E0 000DA640 48 03 93 6D */ bl __dt__10CModelDataFv +/* 800DD6E4 000DA644 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800DD6E8 000DA648 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 800DD6EC 000DA64C 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 800DD6F0 000DA650 7C 08 03 A6 */ mtlr r0 +/* 800DD6F4 000DA654 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 800DD6F8 000DA658 4E 80 00 20 */ blr + +.global SetupLights__10CSamusDollFv +SetupLights__10CSamusDollFv: +/* 800DD6FC 000DA65C 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 800DD700 000DA660 7C 08 02 A6 */ mflr r0 +/* 800DD704 000DA664 38 A0 00 C0 */ li r5, 0xc0 +/* 800DD708 000DA668 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800DD70C 000DA66C 38 00 00 FF */ li r0, 0xff +/* 800DD710 000DA670 93 E1 00 9C */ stw r31, 0x9c(r1) +/* 800DD714 000DA674 93 C1 00 98 */ stw r30, 0x98(r1) +/* 800DD718 000DA678 7C 7E 1B 78 */ mr r30, r3 +/* 800DD71C 000DA67C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800DD720 000DA680 98 A1 00 08 */ stb r5, 8(r1) +/* 800DD724 000DA684 38 9E 00 B0 */ addi r4, r30, 0xb0 +/* 800DD728 000DA688 98 A1 00 09 */ stb r5, 9(r1) +/* 800DD72C 000DA68C 98 A1 00 0A */ stb r5, 0xa(r1) +/* 800DD730 000DA690 98 01 00 0B */ stb r0, 0xb(r1) +/* 800DD734 000DA694 48 23 49 59 */ bl BuildTransform__11CQuaternionCFv +/* 800DD738 000DA698 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 800DD73C 000DA69C 38 61 00 3C */ addi r3, r1, 0x3c +/* 800DD740 000DA6A0 C0 21 00 28 */ lfs f1, 0x28(r1) +/* 800DD744 000DA6A4 38 81 00 0C */ addi r4, r1, 0xc +/* 800DD748 000DA6A8 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800DD74C 000DA6AC 38 A1 00 08 */ addi r5, r1, 8 +/* 800DD750 000DA6B0 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800DD754 000DA6B4 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800DD758 000DA6B8 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 800DD75C 000DA6BC 48 22 8D 11 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 800DD760 000DA6C0 80 9E 02 48 */ lwz r4, 0x248(r30) +/* 800DD764 000DA6C4 80 61 00 3C */ lwz r3, 0x3c(r1) +/* 800DD768 000DA6C8 80 01 00 40 */ lwz r0, 0x40(r1) +/* 800DD76C 000DA6CC 90 64 00 00 */ stw r3, 0(r4) +/* 800DD770 000DA6D0 90 04 00 04 */ stw r0, 4(r4) +/* 800DD774 000DA6D4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800DD778 000DA6D8 90 04 00 08 */ stw r0, 8(r4) +/* 800DD77C 000DA6DC 80 61 00 48 */ lwz r3, 0x48(r1) +/* 800DD780 000DA6E0 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 800DD784 000DA6E4 90 64 00 0C */ stw r3, 0xc(r4) +/* 800DD788 000DA6E8 90 04 00 10 */ stw r0, 0x10(r4) +/* 800DD78C 000DA6EC 80 01 00 50 */ lwz r0, 0x50(r1) +/* 800DD790 000DA6F0 90 04 00 14 */ stw r0, 0x14(r4) +/* 800DD794 000DA6F4 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800DD798 000DA6F8 90 04 00 18 */ stw r0, 0x18(r4) +/* 800DD79C 000DA6FC 80 01 00 58 */ lwz r0, 0x58(r1) +/* 800DD7A0 000DA700 90 04 00 1C */ stw r0, 0x1c(r4) +/* 800DD7A4 000DA704 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 800DD7A8 000DA708 D0 04 00 20 */ stfs f0, 0x20(r4) +/* 800DD7AC 000DA70C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800DD7B0 000DA710 D0 04 00 24 */ stfs f0, 0x24(r4) +/* 800DD7B4 000DA714 C0 01 00 64 */ lfs f0, 0x64(r1) +/* 800DD7B8 000DA718 D0 04 00 28 */ stfs f0, 0x28(r4) +/* 800DD7BC 000DA71C C0 01 00 68 */ lfs f0, 0x68(r1) +/* 800DD7C0 000DA720 D0 04 00 2C */ stfs f0, 0x2c(r4) +/* 800DD7C4 000DA724 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 800DD7C8 000DA728 D0 04 00 30 */ stfs f0, 0x30(r4) +/* 800DD7CC 000DA72C C0 01 00 70 */ lfs f0, 0x70(r1) +/* 800DD7D0 000DA730 D0 04 00 34 */ stfs f0, 0x34(r4) +/* 800DD7D4 000DA734 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 800DD7D8 000DA738 D0 04 00 38 */ stfs f0, 0x38(r4) +/* 800DD7DC 000DA73C 80 01 00 78 */ lwz r0, 0x78(r1) +/* 800DD7E0 000DA740 90 04 00 3C */ stw r0, 0x3c(r4) +/* 800DD7E4 000DA744 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 800DD7E8 000DA748 90 04 00 40 */ stw r0, 0x40(r4) +/* 800DD7EC 000DA74C C0 01 00 80 */ lfs f0, 0x80(r1) +/* 800DD7F0 000DA750 D0 04 00 44 */ stfs f0, 0x44(r4) +/* 800DD7F4 000DA754 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 800DD7F8 000DA758 D0 04 00 48 */ stfs f0, 0x48(r4) +/* 800DD7FC 000DA75C 88 01 00 88 */ lbz r0, 0x88(r1) +/* 800DD800 000DA760 98 04 00 4C */ stb r0, 0x4c(r4) +/* 800DD804 000DA764 83 FE 02 4C */ lwz r31, 0x24c(r30) +/* 800DD808 000DA768 48 26 C7 AD */ bl Black__6CColorFv +/* 800DD80C 000DA76C 7C 65 1B 78 */ mr r5, r3 +/* 800DD810 000DA770 7F E3 FB 78 */ mr r3, r31 +/* 800DD814 000DA774 38 9E 02 3C */ addi r4, r30, 0x23c +/* 800DD818 000DA778 48 02 59 15 */ bl "BuildFakeLightList__12CActorLightsFRCQ24rstl42vector<6CLight,Q24rstl17rmemory_allocator>RC6CColor" +/* 800DD81C 000DA77C 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800DD820 000DA780 83 E1 00 9C */ lwz r31, 0x9c(r1) +/* 800DD824 000DA784 83 C1 00 98 */ lwz r30, 0x98(r1) +/* 800DD828 000DA788 7C 08 03 A6 */ mtlr r0 +/* 800DD82C 000DA78C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 800DD830 000DA790 4E 80 00 20 */ blr + +.global __dt__10CSamusDollFv +__dt__10CSamusDollFv: +/* 800DD834 000DA794 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800DD838 000DA798 7C 08 02 A6 */ mflr r0 +/* 800DD83C 000DA79C 90 01 00 44 */ stw r0, 0x44(r1) +/* 800DD840 000DA7A0 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800DD844 000DA7A4 7C 9F 23 78 */ mr r31, r4 +/* 800DD848 000DA7A8 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800DD84C 000DA7AC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800DD850 000DA7B0 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800DD854 000DA7B4 93 81 00 30 */ stw r28, 0x30(r1) +/* 800DD858 000DA7B8 41 82 02 E8 */ beq lbl_800DDB40 +/* 800DD85C 000DA7BC 38 80 00 00 */ li r4, 0 +/* 800DD860 000DA7C0 4B FF D2 D9 */ bl SetOffsetSfxPlaying__10CSamusDollFb +/* 800DD864 000DA7C4 7F C3 F3 78 */ mr r3, r30 +/* 800DD868 000DA7C8 38 80 00 00 */ li r4, 0 +/* 800DD86C 000DA7CC 4B FF D2 49 */ bl SetZoomSfxPlaying__10CSamusDollFb +/* 800DD870 000DA7D0 7F C3 F3 78 */ mr r3, r30 +/* 800DD874 000DA7D4 38 80 00 00 */ li r4, 0 +/* 800DD878 000DA7D8 4B FF D1 B9 */ bl SetRotationSfxPlaying__10CSamusDollFb +/* 800DD87C 000DA7DC 34 1E 02 50 */ addic. r0, r30, 0x250 +/* 800DD880 000DA7E0 41 82 00 30 */ beq lbl_800DD8B0 +/* 800DD884 000DA7E4 88 1E 02 5C */ lbz r0, 0x25c(r30) +/* 800DD888 000DA7E8 28 00 00 00 */ cmplwi r0, 0 +/* 800DD88C 000DA7EC 41 82 00 1C */ beq lbl_800DD8A8 +/* 800DD890 000DA7F0 34 7E 02 50 */ addic. r3, r30, 0x250 +/* 800DD894 000DA7F4 41 82 00 14 */ beq lbl_800DD8A8 +/* 800DD898 000DA7F8 28 03 00 00 */ cmplwi r3, 0 +/* 800DD89C 000DA7FC 41 82 00 0C */ beq lbl_800DD8A8 +/* 800DD8A0 000DA800 38 80 00 00 */ li r4, 0 +/* 800DD8A4 000DA804 48 26 35 9D */ bl __dt__6CTokenFv +lbl_800DD8A8: +/* 800DD8A8 000DA808 38 00 00 00 */ li r0, 0 +/* 800DD8AC 000DA80C 98 1E 02 5C */ stb r0, 0x25c(r30) +lbl_800DD8B0: +/* 800DD8B0 000DA810 34 1E 02 4C */ addic. r0, r30, 0x24c +/* 800DD8B4 000DA814 41 82 00 10 */ beq lbl_800DD8C4 +/* 800DD8B8 000DA818 80 7E 02 4C */ lwz r3, 0x24c(r30) +/* 800DD8BC 000DA81C 38 80 00 01 */ li r4, 1 +/* 800DD8C0 000DA820 48 02 78 15 */ bl __dt__12CActorLightsFv +lbl_800DD8C4: +/* 800DD8C4 000DA824 34 1E 02 3C */ addic. r0, r30, 0x23c +/* 800DD8C8 000DA828 41 82 00 44 */ beq lbl_800DD90C +/* 800DD8CC 000DA82C 80 1E 02 40 */ lwz r0, 0x240(r30) +/* 800DD8D0 000DA830 80 7E 02 48 */ lwz r3, 0x248(r30) +/* 800DD8D4 000DA834 1C 00 00 50 */ mulli r0, r0, 0x50 +/* 800DD8D8 000DA838 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800DD8DC 000DA83C 7C 64 1B 78 */ mr r4, r3 +/* 800DD8E0 000DA840 7C 03 02 14 */ add r0, r3, r0 +/* 800DD8E4 000DA844 90 61 00 18 */ stw r3, 0x18(r1) +/* 800DD8E8 000DA848 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DD8EC 000DA84C 90 01 00 20 */ stw r0, 0x20(r1) +/* 800DD8F0 000DA850 48 00 00 08 */ b lbl_800DD8F8 +lbl_800DD8F4: +/* 800DD8F4 000DA854 38 84 00 50 */ addi r4, r4, 0x50 +lbl_800DD8F8: +/* 800DD8F8 000DA858 7C 04 00 40 */ cmplw r4, r0 +/* 800DD8FC 000DA85C 40 82 FF F8 */ bne lbl_800DD8F4 +/* 800DD900 000DA860 28 03 00 00 */ cmplwi r3, 0 +/* 800DD904 000DA864 41 82 00 08 */ beq lbl_800DD90C +/* 800DD908 000DA868 48 23 80 29 */ bl Free__7CMemoryFPCv +lbl_800DD90C: +/* 800DD90C 000DA86C 34 1E 02 38 */ addic. r0, r30, 0x238 +/* 800DD910 000DA870 41 82 00 24 */ beq lbl_800DD934 +/* 800DD914 000DA874 80 7E 02 38 */ lwz r3, 0x238(r30) +/* 800DD918 000DA878 28 03 00 00 */ cmplwi r3, 0 +/* 800DD91C 000DA87C 41 82 00 18 */ beq lbl_800DD934 +/* 800DD920 000DA880 81 83 00 00 */ lwz r12, 0(r3) +/* 800DD924 000DA884 38 80 00 01 */ li r4, 1 +/* 800DD928 000DA888 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DD92C 000DA88C 7D 89 03 A6 */ mtctr r12 +/* 800DD930 000DA890 4E 80 04 21 */ bctrl +lbl_800DD934: +/* 800DD934 000DA894 34 1E 02 30 */ addic. r0, r30, 0x230 +/* 800DD938 000DA898 41 82 00 10 */ beq lbl_800DD948 +/* 800DD93C 000DA89C 38 7E 02 30 */ addi r3, r30, 0x230 +/* 800DD940 000DA8A0 38 80 00 00 */ li r4, 0 +/* 800DD944 000DA8A4 48 26 34 FD */ bl __dt__6CTokenFv +lbl_800DD948: +/* 800DD948 000DA8A8 34 1E 02 2C */ addic. r0, r30, 0x22c +/* 800DD94C 000DA8AC 41 82 00 24 */ beq lbl_800DD970 +/* 800DD950 000DA8B0 80 7E 02 2C */ lwz r3, 0x22c(r30) +/* 800DD954 000DA8B4 28 03 00 00 */ cmplwi r3, 0 +/* 800DD958 000DA8B8 41 82 00 18 */ beq lbl_800DD970 +/* 800DD95C 000DA8BC 81 83 00 00 */ lwz r12, 0(r3) +/* 800DD960 000DA8C0 38 80 00 01 */ li r4, 1 +/* 800DD964 000DA8C4 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DD968 000DA8C8 7D 89 03 A6 */ mtctr r12 +/* 800DD96C 000DA8CC 4E 80 04 21 */ bctrl +lbl_800DD970: +/* 800DD970 000DA8D0 34 1E 02 24 */ addic. r0, r30, 0x224 +/* 800DD974 000DA8D4 41 82 00 10 */ beq lbl_800DD984 +/* 800DD978 000DA8D8 38 7E 02 24 */ addi r3, r30, 0x224 +/* 800DD97C 000DA8DC 38 80 00 00 */ li r4, 0 +/* 800DD980 000DA8E0 48 26 34 C1 */ bl __dt__6CTokenFv +lbl_800DD984: +/* 800DD984 000DA8E4 34 1E 02 18 */ addic. r0, r30, 0x218 +/* 800DD988 000DA8E8 41 82 00 18 */ beq lbl_800DD9A0 +/* 800DD98C 000DA8EC 34 1E 02 18 */ addic. r0, r30, 0x218 +/* 800DD990 000DA8F0 41 82 00 10 */ beq lbl_800DD9A0 +/* 800DD994 000DA8F4 38 7E 02 18 */ addi r3, r30, 0x218 +/* 800DD998 000DA8F8 38 80 00 00 */ li r4, 0 +/* 800DD99C 000DA8FC 48 26 34 A5 */ bl __dt__6CTokenFv +lbl_800DD9A0: +/* 800DD9A0 000DA900 34 1E 02 0C */ addic. r0, r30, 0x20c +/* 800DD9A4 000DA904 41 82 00 18 */ beq lbl_800DD9BC +/* 800DD9A8 000DA908 34 1E 02 0C */ addic. r0, r30, 0x20c +/* 800DD9AC 000DA90C 41 82 00 10 */ beq lbl_800DD9BC +/* 800DD9B0 000DA910 38 7E 02 0C */ addi r3, r30, 0x20c +/* 800DD9B4 000DA914 38 80 00 00 */ li r4, 0 +/* 800DD9B8 000DA918 48 26 34 89 */ bl __dt__6CTokenFv +lbl_800DD9BC: +/* 800DD9BC 000DA91C 34 1E 02 00 */ addic. r0, r30, 0x200 +/* 800DD9C0 000DA920 41 82 00 18 */ beq lbl_800DD9D8 +/* 800DD9C4 000DA924 34 1E 02 00 */ addic. r0, r30, 0x200 +/* 800DD9C8 000DA928 41 82 00 10 */ beq lbl_800DD9D8 +/* 800DD9CC 000DA92C 38 7E 02 00 */ addi r3, r30, 0x200 +/* 800DD9D0 000DA930 38 80 00 00 */ li r4, 0 +/* 800DD9D4 000DA934 48 26 34 6D */ bl __dt__6CTokenFv +lbl_800DD9D8: +/* 800DD9D8 000DA938 34 1E 01 F4 */ addic. r0, r30, 0x1f4 +/* 800DD9DC 000DA93C 41 82 00 18 */ beq lbl_800DD9F4 +/* 800DD9E0 000DA940 34 1E 01 F4 */ addic. r0, r30, 0x1f4 +/* 800DD9E4 000DA944 41 82 00 10 */ beq lbl_800DD9F4 +/* 800DD9E8 000DA948 38 7E 01 F4 */ addi r3, r30, 0x1f4 +/* 800DD9EC 000DA94C 38 80 00 00 */ li r4, 0 +/* 800DD9F0 000DA950 48 26 34 51 */ bl __dt__6CTokenFv +lbl_800DD9F4: +/* 800DD9F4 000DA954 38 7E 01 EC */ addi r3, r30, 0x1ec +/* 800DD9F8 000DA958 38 80 FF FF */ li r4, -1 +/* 800DD9FC 000DA95C 48 26 34 45 */ bl __dt__6CTokenFv +/* 800DDA00 000DA960 34 1E 01 D4 */ addic. r0, r30, 0x1d4 +/* 800DDA04 000DA964 41 82 00 18 */ beq lbl_800DDA1C +/* 800DDA08 000DA968 34 1E 01 D4 */ addic. r0, r30, 0x1d4 +/* 800DDA0C 000DA96C 41 82 00 10 */ beq lbl_800DDA1C +/* 800DDA10 000DA970 38 7E 01 D4 */ addi r3, r30, 0x1d4 +/* 800DDA14 000DA974 38 80 00 00 */ li r4, 0 +/* 800DDA18 000DA978 48 26 34 29 */ bl __dt__6CTokenFv +lbl_800DDA1C: +/* 800DDA1C 000DA97C 34 1E 01 84 */ addic. r0, r30, 0x184 +/* 800DDA20 000DA980 41 82 00 24 */ beq lbl_800DDA44 +/* 800DDA24 000DA984 88 1E 01 D0 */ lbz r0, 0x1d0(r30) +/* 800DDA28 000DA988 28 00 00 00 */ cmplwi r0, 0 +/* 800DDA2C 000DA98C 41 82 00 10 */ beq lbl_800DDA3C +/* 800DDA30 000DA990 38 7E 01 84 */ addi r3, r30, 0x184 +/* 800DDA34 000DA994 38 80 FF FF */ li r4, -1 +/* 800DDA38 000DA998 48 03 90 15 */ bl __dt__10CModelDataFv +lbl_800DDA3C: +/* 800DDA3C 000DA99C 38 00 00 00 */ li r0, 0 +/* 800DDA40 000DA9A0 98 1E 01 D0 */ stb r0, 0x1d0(r30) +lbl_800DDA44: +/* 800DDA44 000DA9A4 34 1E 01 34 */ addic. r0, r30, 0x134 +/* 800DDA48 000DA9A8 41 82 00 24 */ beq lbl_800DDA6C +/* 800DDA4C 000DA9AC 88 1E 01 80 */ lbz r0, 0x180(r30) +/* 800DDA50 000DA9B0 28 00 00 00 */ cmplwi r0, 0 +/* 800DDA54 000DA9B4 41 82 00 10 */ beq lbl_800DDA64 +/* 800DDA58 000DA9B8 38 7E 01 34 */ addi r3, r30, 0x134 +/* 800DDA5C 000DA9BC 38 80 FF FF */ li r4, -1 +/* 800DDA60 000DA9C0 48 03 8F ED */ bl __dt__10CModelDataFv +lbl_800DDA64: +/* 800DDA64 000DA9C4 38 00 00 00 */ li r0, 0 +/* 800DDA68 000DA9C8 98 1E 01 80 */ stb r0, 0x180(r30) +lbl_800DDA6C: +/* 800DDA6C 000DA9CC 34 1E 01 18 */ addic. r0, r30, 0x118 +/* 800DDA70 000DA9D0 41 82 00 44 */ beq lbl_800DDAB4 +/* 800DDA74 000DA9D4 3B 9E 01 1C */ addi r28, r30, 0x11c +/* 800DDA78 000DA9D8 3B A0 00 00 */ li r29, 0 +/* 800DDA7C 000DA9DC 48 00 00 24 */ b lbl_800DDAA0 +lbl_800DDA80: +/* 800DDA80 000DA9E0 28 1C 00 00 */ cmplwi r28, 0 +/* 800DDA84 000DA9E4 41 82 00 14 */ beq lbl_800DDA98 +/* 800DDA88 000DA9E8 41 82 00 10 */ beq lbl_800DDA98 +/* 800DDA8C 000DA9EC 7F 83 E3 78 */ mr r3, r28 +/* 800DDA90 000DA9F0 38 80 00 00 */ li r4, 0 +/* 800DDA94 000DA9F4 48 26 33 AD */ bl __dt__6CTokenFv +lbl_800DDA98: +/* 800DDA98 000DA9F8 3B 9C 00 0C */ addi r28, r28, 0xc +/* 800DDA9C 000DA9FC 3B BD 00 01 */ addi r29, r29, 1 +lbl_800DDAA0: +/* 800DDAA0 000DAA00 80 1E 01 18 */ lwz r0, 0x118(r30) +/* 800DDAA4 000DAA04 7C 1D 00 00 */ cmpw r29, r0 +/* 800DDAA8 000DAA08 41 80 FF D8 */ blt lbl_800DDA80 +/* 800DDAAC 000DAA0C 38 00 00 00 */ li r0, 0 +/* 800DDAB0 000DAA10 90 1E 01 18 */ stw r0, 0x118(r30) +lbl_800DDAB4: +/* 800DDAB4 000DAA14 34 1E 00 C8 */ addic. r0, r30, 0xc8 +/* 800DDAB8 000DAA18 41 82 00 24 */ beq lbl_800DDADC +/* 800DDABC 000DAA1C 88 1E 01 14 */ lbz r0, 0x114(r30) +/* 800DDAC0 000DAA20 28 00 00 00 */ cmplwi r0, 0 +/* 800DDAC4 000DAA24 41 82 00 10 */ beq lbl_800DDAD4 +/* 800DDAC8 000DAA28 38 7E 00 C8 */ addi r3, r30, 0xc8 +/* 800DDACC 000DAA2C 38 80 FF FF */ li r4, -1 +/* 800DDAD0 000DAA30 48 03 8F 7D */ bl __dt__10CModelDataFv +lbl_800DDAD4: +/* 800DDAD4 000DAA34 38 00 00 00 */ li r0, 0 +/* 800DDAD8 000DAA38 98 1E 01 14 */ stb r0, 0x114(r30) +lbl_800DDADC: +/* 800DDADC 000DAA3C 28 1E 00 00 */ cmplwi r30, 0 +/* 800DDAE0 000DAA40 41 82 00 50 */ beq lbl_800DDB30 +/* 800DDAE4 000DAA44 80 1E 00 04 */ lwz r0, 4(r30) +/* 800DDAE8 000DAA48 83 9E 00 0C */ lwz r28, 0xc(r30) +/* 800DDAEC 000DAA4C 54 00 18 38 */ slwi r0, r0, 3 +/* 800DDAF0 000DAA50 7F BC 02 14 */ add r29, r28, r0 +/* 800DDAF4 000DAA54 93 81 00 0C */ stw r28, 0xc(r1) +/* 800DDAF8 000DAA58 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800DDAFC 000DAA5C 93 A1 00 10 */ stw r29, 0x10(r1) +/* 800DDB00 000DAA60 93 81 00 08 */ stw r28, 8(r1) +/* 800DDB04 000DAA64 48 00 00 14 */ b lbl_800DDB18 +lbl_800DDB08: +/* 800DDB08 000DAA68 7F 83 E3 78 */ mr r3, r28 +/* 800DDB0C 000DAA6C 38 80 FF FF */ li r4, -1 +/* 800DDB10 000DAA70 48 26 33 31 */ bl __dt__6CTokenFv +/* 800DDB14 000DAA74 3B 9C 00 08 */ addi r28, r28, 8 +lbl_800DDB18: +/* 800DDB18 000DAA78 7C 1C E8 40 */ cmplw r28, r29 +/* 800DDB1C 000DAA7C 40 82 FF EC */ bne lbl_800DDB08 +/* 800DDB20 000DAA80 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800DDB24 000DAA84 28 03 00 00 */ cmplwi r3, 0 +/* 800DDB28 000DAA88 41 82 00 08 */ beq lbl_800DDB30 +/* 800DDB2C 000DAA8C 48 23 7E 05 */ bl Free__7CMemoryFPCv +lbl_800DDB30: +/* 800DDB30 000DAA90 7F E0 07 35 */ extsh. r0, r31 +/* 800DDB34 000DAA94 40 81 00 0C */ ble lbl_800DDB40 +/* 800DDB38 000DAA98 7F C3 F3 78 */ mr r3, r30 +/* 800DDB3C 000DAA9C 48 23 7D F5 */ bl Free__7CMemoryFPCv +lbl_800DDB40: +/* 800DDB40 000DAAA0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800DDB44 000DAAA4 7F C3 F3 78 */ mr r3, r30 +/* 800DDB48 000DAAA8 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800DDB4C 000DAAAC 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800DDB50 000DAAB0 83 A1 00 34 */ lwz r29, 0x34(r1) +/* 800DDB54 000DAAB4 83 81 00 30 */ lwz r28, 0x30(r1) +/* 800DDB58 000DAAB8 7C 08 03 A6 */ mtlr r0 +/* 800DDB5C 000DAABC 38 21 00 40 */ addi r1, r1, 0x40 +/* 800DDB60 000DAAC0 4E 80 00 20 */ blr + +.global IsLoaded__10CSamusDollCFv +IsLoaded__10CSamusDollCFv: +/* 800DDB64 000DAAC4 88 03 02 70 */ lbz r0, 0x270(r3) +/* 800DDB68 000DAAC8 54 00 07 FF */ clrlwi. r0, r0, 0x1f +/* 800DDB6C 000DAACC 41 82 00 0C */ beq lbl_800DDB78 +/* 800DDB70 000DAAD0 38 60 00 01 */ li r3, 1 +/* 800DDB74 000DAAD4 4E 80 00 20 */ blr +lbl_800DDB78: +/* 800DDB78 000DAAD8 80 83 01 EC */ lwz r4, 0x1ec(r3) +/* 800DDB7C 000DAADC 80 04 00 10 */ lwz r0, 0x10(r4) +/* 800DDB80 000DAAE0 28 00 00 00 */ cmplwi r0, 0 +/* 800DDB84 000DAAE4 40 82 00 0C */ bne lbl_800DDB90 +/* 800DDB88 000DAAE8 38 60 00 00 */ li r3, 0 +/* 800DDB8C 000DAAEC 4E 80 00 20 */ blr +lbl_800DDB90: +/* 800DDB90 000DAAF0 80 03 01 FC */ lwz r0, 0x1fc(r3) +/* 800DDB94 000DAAF4 28 00 00 00 */ cmplwi r0, 0 +/* 800DDB98 000DAAF8 40 82 00 0C */ bne lbl_800DDBA4 +/* 800DDB9C 000DAAFC 38 60 00 00 */ li r3, 0 +/* 800DDBA0 000DAB00 4E 80 00 20 */ blr +lbl_800DDBA4: +/* 800DDBA4 000DAB04 80 03 02 08 */ lwz r0, 0x208(r3) +/* 800DDBA8 000DAB08 28 00 00 00 */ cmplwi r0, 0 +/* 800DDBAC 000DAB0C 40 82 00 0C */ bne lbl_800DDBB8 +/* 800DDBB0 000DAB10 38 60 00 00 */ li r3, 0 +/* 800DDBB4 000DAB14 4E 80 00 20 */ blr +lbl_800DDBB8: +/* 800DDBB8 000DAB18 80 03 02 14 */ lwz r0, 0x214(r3) +/* 800DDBBC 000DAB1C 28 00 00 00 */ cmplwi r0, 0 +/* 800DDBC0 000DAB20 40 82 00 0C */ bne lbl_800DDBCC +/* 800DDBC4 000DAB24 38 60 00 00 */ li r3, 0 +/* 800DDBC8 000DAB28 4E 80 00 20 */ blr +lbl_800DDBCC: +/* 800DDBCC 000DAB2C 80 03 01 DC */ lwz r0, 0x1dc(r3) +/* 800DDBD0 000DAB30 28 00 00 00 */ cmplwi r0, 0 +/* 800DDBD4 000DAB34 40 82 00 0C */ bne lbl_800DDBE0 +/* 800DDBD8 000DAB38 38 60 00 00 */ li r3, 0 +/* 800DDBDC 000DAB3C 4E 80 00 20 */ blr +lbl_800DDBE0: +/* 800DDBE0 000DAB40 88 03 02 1C */ lbz r0, 0x21c(r3) +/* 800DDBE4 000DAB44 28 00 00 00 */ cmplwi r0, 0 +/* 800DDBE8 000DAB48 41 82 00 18 */ beq lbl_800DDC00 +/* 800DDBEC 000DAB4C 80 03 02 20 */ lwz r0, 0x220(r3) +/* 800DDBF0 000DAB50 28 00 00 00 */ cmplwi r0, 0 +/* 800DDBF4 000DAB54 40 82 00 0C */ bne lbl_800DDC00 +/* 800DDBF8 000DAB58 38 60 00 00 */ li r3, 0 +/* 800DDBFC 000DAB5C 4E 80 00 20 */ blr +lbl_800DDC00: +/* 800DDC00 000DAB60 88 63 01 14 */ lbz r3, 0x114(r3) +/* 800DDC04 000DAB64 4E 80 00 20 */ blr + +.global CheckLoadComplete__10CSamusDollFv +CheckLoadComplete__10CSamusDollFv: +/* 800DDC08 000DAB68 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 800DDC0C 000DAB6C 7C 08 02 A6 */ mflr r0 +/* 800DDC10 000DAB70 90 01 01 94 */ stw r0, 0x194(r1) +/* 800DDC14 000DAB74 BF 01 01 70 */ stmw r24, 0x170(r1) +/* 800DDC18 000DAB78 7C 7A 1B 78 */ mr r26, r3 +/* 800DDC1C 000DAB7C 4B FF FF 49 */ bl IsLoaded__10CSamusDollCFv +/* 800DDC20 000DAB80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800DDC24 000DAB84 41 82 00 0C */ beq lbl_800DDC30 +/* 800DDC28 000DAB88 38 60 00 01 */ li r3, 1 +/* 800DDC2C 000DAB8C 48 00 02 38 */ b lbl_800DDE64 +lbl_800DDC30: +/* 800DDC30 000DAB90 80 1A 00 04 */ lwz r0, 4(r26) +/* 800DDC34 000DAB94 80 BA 00 0C */ lwz r5, 0xc(r26) +/* 800DDC38 000DAB98 54 00 18 38 */ slwi r0, r0, 3 +/* 800DDC3C 000DAB9C 7C 85 02 14 */ add r4, r5, r0 +/* 800DDC40 000DABA0 48 00 00 20 */ b lbl_800DDC60 +lbl_800DDC44: +/* 800DDC44 000DABA4 80 65 00 00 */ lwz r3, 0(r5) +/* 800DDC48 000DABA8 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800DDC4C 000DABAC 28 00 00 00 */ cmplwi r0, 0 +/* 800DDC50 000DABB0 40 82 00 0C */ bne lbl_800DDC5C +/* 800DDC54 000DABB4 38 60 00 00 */ li r3, 0 +/* 800DDC58 000DABB8 48 00 02 0C */ b lbl_800DDE64 +lbl_800DDC5C: +/* 800DDC5C 000DABBC 38 A5 00 08 */ addi r5, r5, 8 +lbl_800DDC60: +/* 800DDC60 000DABC0 7C 05 20 40 */ cmplw r5, r4 +/* 800DDC64 000DABC4 40 82 FF E0 */ bne lbl_800DDC44 +/* 800DDC68 000DABC8 80 9A 00 44 */ lwz r4, 0x44(r26) +/* 800DDC6C 000DABCC 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800DDC70 000DABD0 4B FF F9 85 */ bl BuildSuitModelData1__10CSamusDollFQ212CPlayerState11EPlayerSuit +/* 800DDC74 000DABD4 38 7A 00 C8 */ addi r3, r26, 0xc8 +/* 800DDC78 000DABD8 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 800DDC7C 000DABDC 48 00 01 FD */ bl sub_800dde78 +/* 800DDC80 000DABE0 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800DDC84 000DABE4 38 80 FF FF */ li r4, -1 +/* 800DDC88 000DABE8 48 03 8D C5 */ bl __dt__10CModelDataFv +/* 800DDC8C 000DABEC 3C 80 80 47 */ lis r4, lbl_8046C470@ha +/* 800DDC90 000DABF0 3C 60 80 3D */ lis r3, lbl_803CE2F8@ha +/* 800DDC94 000DABF4 3B C4 C4 70 */ addi r30, r4, lbl_8046C470@l +/* 800DDC98 000DABF8 3B 9A 01 1C */ addi r28, r26, 0x11c +/* 800DDC9C 000DABFC 3B E3 E2 F8 */ addi r31, r3, lbl_803CE2F8@l +/* 800DDCA0 000DAC00 3B 60 00 00 */ li r27, 0 +/* 800DDCA4 000DAC04 3B A0 00 00 */ li r29, 0 +lbl_800DDCA8: +/* 800DDCA8 000DAC08 80 1A 00 44 */ lwz r0, 0x44(r26) +/* 800DDCAC 000DAC0C 54 00 18 38 */ slwi r0, r0, 3 +/* 800DDCB0 000DAC10 7C 7F 02 14 */ add r3, r31, r0 +/* 800DDCB4 000DAC14 7F 03 E8 2E */ lwzx r24, r3, r29 +/* 800DDCB8 000DAC18 2C 18 FF FF */ cmpwi r24, -1 +/* 800DDCBC 000DAC1C 41 82 00 B4 */ beq lbl_800DDD70 +/* 800DDCC0 000DAC20 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800DDCC4 000DAC24 3C 80 80 3D */ lis r4, lbl_803CE3AC@ha +/* 800DDCC8 000DAC28 38 84 E3 AC */ addi r4, r4, lbl_803CE3AC@l +/* 800DDCCC 000DAC2C 81 83 00 00 */ lwz r12, 0(r3) +/* 800DDCD0 000DAC30 38 84 01 3C */ addi r4, r4, 0x13c +/* 800DDCD4 000DAC34 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800DDCD8 000DAC38 7D 89 03 A6 */ mtctr r12 +/* 800DDCDC 000DAC3C 4E 80 04 21 */ bctrl +/* 800DDCE0 000DAC40 3C 80 80 47 */ lis r4, lbl_8046C470@ha +/* 800DDCE4 000DAC44 80 C3 00 04 */ lwz r6, 4(r3) +/* 800DDCE8 000DAC48 C0 44 C4 70 */ lfs f2, lbl_8046C470@l(r4) +/* 800DDCEC 000DAC4C 38 A0 00 01 */ li r5, 1 +/* 800DDCF0 000DAC50 C0 3E 00 04 */ lfs f1, 4(r30) +/* 800DDCF4 000DAC54 38 00 00 02 */ li r0, 2 +/* 800DDCF8 000DAC58 C0 1E 00 08 */ lfs f0, 8(r30) +/* 800DDCFC 000DAC5C 38 61 01 24 */ addi r3, r1, 0x124 +/* 800DDD00 000DAC60 90 C1 00 24 */ stw r6, 0x24(r1) +/* 800DDD04 000DAC64 38 81 00 24 */ addi r4, r1, 0x24 +/* 800DDD08 000DAC68 93 01 00 28 */ stw r24, 0x28(r1) +/* 800DDD0C 000DAC6C D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 800DDD10 000DAC70 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800DDD14 000DAC74 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800DDD18 000DAC78 98 A1 00 38 */ stb r5, 0x38(r1) +/* 800DDD1C 000DAC7C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800DDD20 000DAC80 48 03 8E 35 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800DDD24 000DAC84 80 1A 01 18 */ lwz r0, 0x118(r26) +/* 800DDD28 000DAC88 80 61 01 34 */ lwz r3, 0x134(r1) +/* 800DDD2C 000DAC8C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800DDD30 000DAC90 3B 03 00 D8 */ addi r24, r3, 0xd8 +/* 800DDD34 000DAC94 7F 3C 02 15 */ add. r25, r28, r0 +/* 800DDD38 000DAC98 41 82 00 20 */ beq lbl_800DDD58 +/* 800DDD3C 000DAC9C 7F 23 CB 78 */ mr r3, r25 +/* 800DDD40 000DACA0 7F 04 C3 78 */ mr r4, r24 +/* 800DDD44 000DACA4 48 26 31 65 */ bl __ct__6CTokenFRC6CToken +/* 800DDD48 000DACA8 80 18 00 08 */ lwz r0, 8(r24) +/* 800DDD4C 000DACAC 7F 23 CB 78 */ mr r3, r25 +/* 800DDD50 000DACB0 90 19 00 08 */ stw r0, 8(r25) +/* 800DDD54 000DACB4 48 26 30 31 */ bl Lock__6CTokenFv +lbl_800DDD58: +/* 800DDD58 000DACB8 80 BA 01 18 */ lwz r5, 0x118(r26) +/* 800DDD5C 000DACBC 38 61 01 24 */ addi r3, r1, 0x124 +/* 800DDD60 000DACC0 38 80 FF FF */ li r4, -1 +/* 800DDD64 000DACC4 38 05 00 01 */ addi r0, r5, 1 +/* 800DDD68 000DACC8 90 1A 01 18 */ stw r0, 0x118(r26) +/* 800DDD6C 000DACCC 48 03 8C E1 */ bl __dt__10CModelDataFv +lbl_800DDD70: +/* 800DDD70 000DACD0 3B 7B 00 01 */ addi r27, r27, 1 +/* 800DDD74 000DACD4 3B BD 00 04 */ addi r29, r29, 4 +/* 800DDD78 000DACD8 2C 1B 00 02 */ cmpwi r27, 2 +/* 800DDD7C 000DACDC 41 80 FF 2C */ blt lbl_800DDCA8 +/* 800DDD80 000DACE0 80 9A 00 44 */ lwz r4, 0x44(r26) +/* 800DDD84 000DACE4 38 61 00 8C */ addi r3, r1, 0x8c +/* 800DDD88 000DACE8 4B FF F7 65 */ bl BuildSuitModelDataBoots__10CSamusDollFQ212CPlayerState11EPlayerSuit +/* 800DDD8C 000DACEC 38 7A 01 34 */ addi r3, r26, 0x134 +/* 800DDD90 000DACF0 38 81 00 8C */ addi r4, r1, 0x8c +/* 800DDD94 000DACF4 48 00 00 E5 */ bl sub_800dde78 +/* 800DDD98 000DACF8 38 61 00 8C */ addi r3, r1, 0x8c +/* 800DDD9C 000DACFC 38 80 FF FF */ li r4, -1 +/* 800DDDA0 000DAD00 48 03 8C AD */ bl __dt__10CModelDataFv +/* 800DDDA4 000DAD04 88 1A 02 70 */ lbz r0, 0x270(r26) +/* 800DDDA8 000DAD08 3C 60 80 3D */ lis r3, lbl_803CE910@ha +/* 800DDDAC 000DAD0C 3B 63 E9 10 */ addi r27, r3, lbl_803CE910@l +/* 800DDDB0 000DAD10 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800DDDB4 000DAD14 41 82 00 0C */ beq lbl_800DDDC0 +/* 800DDDB8 000DAD18 3C 60 80 3D */ lis r3, lbl_803CE9D0@ha +/* 800DDDBC 000DAD1C 3B 63 E9 D0 */ addi r27, r3, lbl_803CE9D0@l +lbl_800DDDC0: +/* 800DDDC0 000DAD20 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800DDDC4 000DAD24 80 1A 00 44 */ lwz r0, 0x44(r26) +/* 800DDDC8 000DAD28 81 83 00 00 */ lwz r12, 0(r3) +/* 800DDDCC 000DAD2C 54 00 18 38 */ slwi r0, r0, 3 +/* 800DDDD0 000DAD30 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800DDDD4 000DAD34 7C 9B 00 2E */ lwzx r4, r27, r0 +/* 800DDDD8 000DAD38 7D 89 03 A6 */ mtctr r12 +/* 800DDDDC 000DAD3C 4E 80 04 21 */ bctrl +/* 800DDDE0 000DAD40 3C 80 80 47 */ lis r4, lbl_8046C470@ha +/* 800DDDE4 000DAD44 80 C3 00 04 */ lwz r6, 4(r3) +/* 800DDDE8 000DAD48 C0 44 C4 70 */ lfs f2, lbl_8046C470@l(r4) +/* 800DDDEC 000DAD4C 38 A0 00 00 */ li r5, 0 +/* 800DDDF0 000DAD50 C0 3E 00 04 */ lfs f1, 4(r30) +/* 800DDDF4 000DAD54 38 00 00 01 */ li r0, 1 +/* 800DDDF8 000DAD58 C0 1E 00 08 */ lfs f0, 8(r30) +/* 800DDDFC 000DAD5C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800DDE00 000DAD60 90 C1 00 08 */ stw r6, 8(r1) +/* 800DDE04 000DAD64 38 81 00 08 */ addi r4, r1, 8 +/* 800DDE08 000DAD68 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800DDE0C 000DAD6C D0 41 00 10 */ stfs f2, 0x10(r1) +/* 800DDE10 000DAD70 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800DDE14 000DAD74 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800DDE18 000DAD78 98 01 00 1C */ stb r0, 0x1c(r1) +/* 800DDE1C 000DAD7C 90 A1 00 20 */ stw r5, 0x20(r1) +/* 800DDE20 000DAD80 48 03 8D 35 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800DDE24 000DAD84 38 7A 01 84 */ addi r3, r26, 0x184 +/* 800DDE28 000DAD88 38 81 00 40 */ addi r4, r1, 0x40 +/* 800DDE2C 000DAD8C 48 00 00 4D */ bl sub_800dde78 +/* 800DDE30 000DAD90 38 61 00 40 */ addi r3, r1, 0x40 +/* 800DDE34 000DAD94 38 80 FF FF */ li r4, -1 +/* 800DDE38 000DAD98 48 03 8C 15 */ bl __dt__10CModelDataFv +/* 800DDE3C 000DAD9C 80 1A 00 44 */ lwz r0, 0x44(r26) +/* 800DDE40 000DADA0 38 80 00 01 */ li r4, 1 +/* 800DDE44 000DADA4 38 60 00 01 */ li r3, 1 +/* 800DDE48 000DADA8 54 00 18 38 */ slwi r0, r0, 3 +/* 800DDE4C 000DADAC 7C BB 02 14 */ add r5, r27, r0 +/* 800DDE50 000DADB0 80 05 00 04 */ lwz r0, 4(r5) +/* 800DDE54 000DADB4 90 1A 01 E0 */ stw r0, 0x1e0(r26) +/* 800DDE58 000DADB8 88 1A 02 70 */ lbz r0, 0x270(r26) +/* 800DDE5C 000DADBC 50 80 07 FE */ rlwimi r0, r4, 0, 0x1f, 0x1f +/* 800DDE60 000DADC0 98 1A 02 70 */ stb r0, 0x270(r26) +lbl_800DDE64: +/* 800DDE64 000DADC4 BB 01 01 70 */ lmw r24, 0x170(r1) +/* 800DDE68 000DADC8 80 01 01 94 */ lwz r0, 0x194(r1) +/* 800DDE6C 000DADCC 7C 08 03 A6 */ mtlr r0 +/* 800DDE70 000DADD0 38 21 01 90 */ addi r1, r1, 0x190 +/* 800DDE74 000DADD4 4E 80 00 20 */ blr + +.global sub_800dde78 +sub_800dde78: +/* 800DDE78 000DADD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DDE7C 000DADDC 7C 08 02 A6 */ mflr r0 +/* 800DDE80 000DADE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DDE84 000DADE4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DDE88 000DADE8 7C 7F 1B 78 */ mr r31, r3 +/* 800DDE8C 000DADEC 48 00 00 1D */ bl "emplace__Q24rstl29optional_object<10CModelData>FRC10CModelData" +/* 800DDE90 000DADF0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DDE94 000DADF4 7F E3 FB 78 */ mr r3, r31 +/* 800DDE98 000DADF8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DDE9C 000DADFC 7C 08 03 A6 */ mtlr r0 +/* 800DDEA0 000DAE00 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DDEA4 000DAE04 4E 80 00 20 */ blr + +.global "emplace__Q24rstl29optional_object<10CModelData>FRC10CModelData" +"emplace__Q24rstl29optional_object<10CModelData>FRC10CModelData": +/* 800DDEA8 000DAE08 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DDEAC 000DAE0C 7C 08 02 A6 */ mflr r0 +/* 800DDEB0 000DAE10 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DDEB4 000DAE14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DDEB8 000DAE18 7C 7F 1B 78 */ mr r31, r3 +/* 800DDEBC 000DAE1C 88 03 00 4C */ lbz r0, 0x4c(r3) +/* 800DDEC0 000DAE20 28 00 00 00 */ cmplwi r0, 0 +/* 800DDEC4 000DAE24 40 82 00 14 */ bne lbl_800DDED8 +/* 800DDEC8 000DAE28 48 00 00 29 */ bl sub_800ddef0 +/* 800DDECC 000DAE2C 38 00 00 01 */ li r0, 1 +/* 800DDED0 000DAE30 98 1F 00 4C */ stb r0, 0x4c(r31) +/* 800DDED4 000DAE34 48 00 00 08 */ b lbl_800DDEDC +lbl_800DDED8: +/* 800DDED8 000DAE38 4B FF 7E 3D */ bl __as__10CModelDataFRC10CModelData +lbl_800DDEDC: +/* 800DDEDC 000DAE3C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DDEE0 000DAE40 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DDEE4 000DAE44 7C 08 03 A6 */ mtlr r0 +/* 800DDEE8 000DAE48 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DDEEC 000DAE4C 4E 80 00 20 */ blr + +.global sub_800ddef0 +sub_800ddef0: +/* 800DDEF0 000DAE50 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DDEF4 000DAE54 7C 08 02 A6 */ mflr r0 +/* 800DDEF8 000DAE58 28 03 00 00 */ cmplwi r3, 0 +/* 800DDEFC 000DAE5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DDF00 000DAE60 41 82 00 08 */ beq lbl_800DDF08 +/* 800DDF04 000DAE64 4B F3 AE 89 */ bl __ct__10CModelDataFRC10CModelData +lbl_800DDF08: +/* 800DDF08 000DAE68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DDF0C 000DAE6C 7C 08 03 A6 */ mtlr r0 +/* 800DDF10 000DAE70 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DDF14 000DAE74 4E 80 00 20 */ blr + +.global __ct__10CSamusDollFRC16CDependencyGroupRC16CDependencyGroupQ212CPlayerState11EPlayerSuitQ212CPlayerState7EBeamIdbb +__ct__10CSamusDollFRC16CDependencyGroupRC16CDependencyGroupQ212CPlayerState11EPlayerSuitQ212CPlayerState7EBeamIdbb: +/* 800DDF18 000DAE78 94 21 FE B0 */ stwu r1, -0x150(r1) +/* 800DDF1C 000DAE7C 7C 08 02 A6 */ mflr r0 +/* 800DDF20 000DAE80 C0 22 8E 90 */ lfs f1, lbl_805AABB0@sda21(r2) +/* 800DDF24 000DAE84 3D 40 80 3D */ lis r10, lbl_803CE2D8@ha +/* 800DDF28 000DAE88 90 01 01 54 */ stw r0, 0x154(r1) +/* 800DDF2C 000DAE8C 38 00 00 00 */ li r0, 0 +/* 800DDF30 000DAE90 C0 62 8F 1C */ lfs f3, lbl_805AAC3C@sda21(r2) +/* 800DDF34 000DAE94 FC 40 08 90 */ fmr f2, f1 +/* 800DDF38 000DAE98 BE C1 01 28 */ stmw r22, 0x128(r1) +/* 800DDF3C 000DAE9C 7C 7F 1B 78 */ mr r31, r3 +/* 800DDF40 000DAEA0 7C 97 23 78 */ mr r23, r4 +/* 800DDF44 000DAEA4 7C B8 2B 78 */ mr r24, r5 +/* 800DDF48 000DAEA8 7C D9 33 78 */ mr r25, r6 +/* 800DDF4C 000DAEAC 7C FA 3B 78 */ mr r26, r7 +/* 800DDF50 000DAEB0 7D 1B 43 78 */ mr r27, r8 +/* 800DDF54 000DAEB4 7D 3C 4B 78 */ mr r28, r9 +/* 800DDF58 000DAEB8 3B CA E2 D8 */ addi r30, r10, lbl_803CE2D8@l +/* 800DDF5C 000DAEBC 90 03 00 04 */ stw r0, 4(r3) +/* 800DDF60 000DAEC0 90 03 00 08 */ stw r0, 8(r3) +/* 800DDF64 000DAEC4 90 03 00 0C */ stw r0, 0xc(r3) +/* 800DDF68 000DAEC8 80 6D A1 18 */ lwz r3, gpTweakPlayer@sda21(r13) +/* 800DDF6C 000DAECC C0 03 02 7C */ lfs f0, 0x27c(r3) +/* 800DDF70 000DAED0 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 800DDF74 000DAED4 EC 63 00 32 */ fmuls f3, f3, f0 +/* 800DDF78 000DAED8 48 23 52 11 */ bl Translate__12CTransform4fFfff +/* 800DDF7C 000DAEDC 38 7F 00 10 */ addi r3, r31, 0x10 +/* 800DDF80 000DAEE0 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 800DDF84 000DAEE4 48 23 4B F1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800DDF88 000DAEE8 C0 42 8E 90 */ lfs f2, lbl_805AABB0@sda21(r2) +/* 800DDF8C 000DAEEC 38 00 00 00 */ li r0, 0 +/* 800DDF90 000DAEF0 C0 22 8E 94 */ lfs f1, lbl_805AABB4@sda21(r2) +/* 800DDF94 000DAEF4 38 61 00 94 */ addi r3, r1, 0x94 +/* 800DDF98 000DAEF8 D0 5F 00 40 */ stfs f2, 0x40(r31) +/* 800DDF9C 000DAEFC 38 81 00 10 */ addi r4, r1, 0x10 +/* 800DDFA0 000DAF00 C0 02 8E C0 */ lfs f0, lbl_805AABE0@sda21(r2) +/* 800DDFA4 000DAF04 93 3F 00 44 */ stw r25, 0x44(r31) +/* 800DDFA8 000DAF08 93 5F 00 48 */ stw r26, 0x48(r31) +/* 800DDFAC 000DAF0C 98 1F 00 4C */ stb r0, 0x4c(r31) +/* 800DDFB0 000DAF10 98 1F 00 4D */ stb r0, 0x4d(r31) +/* 800DDFB4 000DAF14 D0 3F 00 50 */ stfs f1, 0x50(r31) +/* 800DDFB8 000DAF18 D0 5F 00 54 */ stfs f2, 0x54(r31) +/* 800DDFBC 000DAF1C D0 5F 00 58 */ stfs f2, 0x58(r31) +/* 800DDFC0 000DAF20 D0 5F 00 5C */ stfs f2, 0x5c(r31) +/* 800DDFC4 000DAF24 D0 5F 00 60 */ stfs f2, 0x60(r31) +/* 800DDFC8 000DAF28 D0 5F 00 64 */ stfs f2, 0x64(r31) +/* 800DDFCC 000DAF2C D0 5F 00 68 */ stfs f2, 0x68(r31) +/* 800DDFD0 000DAF30 D0 5F 00 6C */ stfs f2, 0x6c(r31) +/* 800DDFD4 000DAF34 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800DDFD8 000DAF38 48 23 31 21 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 800DDFDC 000DAF3C C0 01 00 94 */ lfs f0, 0x94(r1) +/* 800DDFE0 000DAF40 3C 80 80 47 */ lis r4, lbl_8046C47C@ha +/* 800DDFE4 000DAF44 3C 60 80 3D */ lis r3, lbl_803CEA10@ha +/* 800DDFE8 000DAF48 C0 42 8E A4 */ lfs f2, lbl_805AABC4@sda21(r2) +/* 800DDFEC 000DAF4C D0 1F 00 70 */ stfs f0, 0x70(r31) +/* 800DDFF0 000DAF50 38 C4 C4 7C */ addi r6, r4, lbl_8046C47C@l +/* 800DDFF4 000DAF54 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DDFF8 000DAF58 38 00 00 00 */ li r0, 0 +/* 800DDFFC 000DAF5C C0 21 00 98 */ lfs f1, 0x98(r1) +/* 800DE000 000DAF60 57 3D 18 38 */ slwi r29, r25, 3 +/* 800DE004 000DAF64 38 83 EA 10 */ addi r4, r3, lbl_803CEA10@l +/* 800DE008 000DAF68 38 61 00 64 */ addi r3, r1, 0x64 +/* 800DE00C 000DAF6C D0 3F 00 74 */ stfs f1, 0x74(r31) +/* 800DE010 000DAF70 7C A4 E8 2E */ lwzx r5, r4, r29 +/* 800DE014 000DAF74 C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 800DE018 000DAF78 D0 3F 00 78 */ stfs f1, 0x78(r31) +/* 800DE01C 000DAF7C C0 21 00 A0 */ lfs f1, 0xa0(r1) +/* 800DE020 000DAF80 D0 3F 00 7C */ stfs f1, 0x7c(r31) +/* 800DE024 000DAF84 D0 5F 00 80 */ stfs f2, 0x80(r31) +/* 800DE028 000DAF88 C0 26 00 00 */ lfs f1, 0(r6) +/* 800DE02C 000DAF8C D0 3F 00 84 */ stfs f1, 0x84(r31) +/* 800DE030 000DAF90 C0 26 00 04 */ lfs f1, 4(r6) +/* 800DE034 000DAF94 D0 3F 00 88 */ stfs f1, 0x88(r31) +/* 800DE038 000DAF98 C0 26 00 08 */ lfs f1, 8(r6) +/* 800DE03C 000DAF9C D0 3F 00 8C */ stfs f1, 0x8c(r31) +/* 800DE040 000DAFA0 C0 3F 00 70 */ lfs f1, 0x70(r31) +/* 800DE044 000DAFA4 D0 3F 00 90 */ stfs f1, 0x90(r31) +/* 800DE048 000DAFA8 C0 3F 00 74 */ lfs f1, 0x74(r31) +/* 800DE04C 000DAFAC D0 3F 00 94 */ stfs f1, 0x94(r31) +/* 800DE050 000DAFB0 C0 3F 00 78 */ lfs f1, 0x78(r31) +/* 800DE054 000DAFB4 D0 3F 00 98 */ stfs f1, 0x98(r31) +/* 800DE058 000DAFB8 C0 3F 00 7C */ lfs f1, 0x7c(r31) +/* 800DE05C 000DAFBC D0 3F 00 9C */ stfs f1, 0x9c(r31) +/* 800DE060 000DAFC0 D0 5F 00 A0 */ stfs f2, 0xa0(r31) +/* 800DE064 000DAFC4 C0 26 00 00 */ lfs f1, 0(r6) +/* 800DE068 000DAFC8 D0 3F 00 A4 */ stfs f1, 0xa4(r31) +/* 800DE06C 000DAFCC C0 26 00 04 */ lfs f1, 4(r6) +/* 800DE070 000DAFD0 D0 3F 00 A8 */ stfs f1, 0xa8(r31) +/* 800DE074 000DAFD4 C0 26 00 08 */ lfs f1, 8(r6) +/* 800DE078 000DAFD8 D0 3F 00 AC */ stfs f1, 0xac(r31) +/* 800DE07C 000DAFDC C0 3F 00 70 */ lfs f1, 0x70(r31) +/* 800DE080 000DAFE0 D0 3F 00 B0 */ stfs f1, 0xb0(r31) +/* 800DE084 000DAFE4 C0 3F 00 74 */ lfs f1, 0x74(r31) +/* 800DE088 000DAFE8 D0 3F 00 B4 */ stfs f1, 0xb4(r31) +/* 800DE08C 000DAFEC C0 3F 00 78 */ lfs f1, 0x78(r31) +/* 800DE090 000DAFF0 D0 3F 00 B8 */ stfs f1, 0xb8(r31) +/* 800DE094 000DAFF4 C0 3F 00 7C */ lfs f1, 0x7c(r31) +/* 800DE098 000DAFF8 D0 3F 00 BC */ stfs f1, 0xbc(r31) +/* 800DE09C 000DAFFC D0 5F 00 C0 */ stfs f2, 0xc0(r31) +/* 800DE0A0 000DB000 D0 1F 00 C4 */ stfs f0, 0xc4(r31) +/* 800DE0A4 000DB004 98 1F 01 14 */ stb r0, 0x114(r31) +/* 800DE0A8 000DB008 90 1F 01 18 */ stw r0, 0x118(r31) +/* 800DE0AC 000DB00C 98 1F 01 80 */ stb r0, 0x180(r31) +/* 800DE0B0 000DB010 98 1F 01 D0 */ stb r0, 0x1d0(r31) +/* 800DE0B4 000DB014 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DE0B8 000DB018 81 84 00 00 */ lwz r12, 0(r4) +/* 800DE0BC 000DB01C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DE0C0 000DB020 7D 89 03 A6 */ mtctr r12 +/* 800DE0C4 000DB024 4E 80 04 21 */ bctrl +/* 800DE0C8 000DB028 3A DF 01 D4 */ addi r22, r31, 0x1d4 +/* 800DE0CC 000DB02C 38 81 00 64 */ addi r4, r1, 0x64 +/* 800DE0D0 000DB030 7E C3 B3 78 */ mr r3, r22 +/* 800DE0D4 000DB034 48 26 2D D5 */ bl __ct__6CTokenFRC6CToken +/* 800DE0D8 000DB038 38 00 00 00 */ li r0, 0 +/* 800DE0DC 000DB03C 38 61 00 64 */ addi r3, r1, 0x64 +/* 800DE0E0 000DB040 90 16 00 08 */ stw r0, 8(r22) +/* 800DE0E4 000DB044 38 80 FF FF */ li r4, -1 +/* 800DE0E8 000DB048 48 26 2D 59 */ bl __dt__6CTokenFv +/* 800DE0EC 000DB04C 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 800DE0F0 000DB050 41 82 00 18 */ beq lbl_800DE108 +/* 800DE0F4 000DB054 3C 60 80 3D */ lis r3, lbl_803CE9D0@ha +/* 800DE0F8 000DB058 38 03 E9 D0 */ addi r0, r3, lbl_803CE9D0@l +/* 800DE0FC 000DB05C 7C 60 EA 14 */ add r3, r0, r29 +/* 800DE100 000DB060 80 83 00 04 */ lwz r4, 4(r3) +/* 800DE104 000DB064 48 00 00 14 */ b lbl_800DE118 +lbl_800DE108: +/* 800DE108 000DB068 3C 60 80 3D */ lis r3, lbl_803CE910@ha +/* 800DE10C 000DB06C 38 03 E9 10 */ addi r0, r3, lbl_803CE910@l +/* 800DE110 000DB070 7C 60 EA 14 */ add r3, r0, r29 +/* 800DE114 000DB074 80 83 00 04 */ lwz r4, 4(r3) +lbl_800DE118: +/* 800DE118 000DB078 3C 60 80 3D */ lis r3, lbl_803CEA10@ha +/* 800DE11C 000DB07C 57 60 06 3F */ clrlwi. r0, r27, 0x18 +/* 800DE120 000DB080 38 63 EA 10 */ addi r3, r3, lbl_803CEA10@l +/* 800DE124 000DB084 90 9F 01 E0 */ stw r4, 0x1e0(r31) +/* 800DE128 000DB088 7C 63 EA 14 */ add r3, r3, r29 +/* 800DE12C 000DB08C 80 03 00 04 */ lwz r0, 4(r3) +/* 800DE130 000DB090 90 1F 01 E4 */ stw r0, 0x1e4(r31) +/* 800DE134 000DB094 41 82 00 18 */ beq lbl_800DE14C +/* 800DE138 000DB098 3C 60 80 3D */ lis r3, lbl_803CEA90@ha +/* 800DE13C 000DB09C 57 20 10 3A */ slwi r0, r25, 2 +/* 800DE140 000DB0A0 38 63 EA 90 */ addi r3, r3, lbl_803CEA90@l +/* 800DE144 000DB0A4 7C 03 00 2E */ lwzx r0, r3, r0 +/* 800DE148 000DB0A8 48 00 00 14 */ b lbl_800DE15C +lbl_800DE14C: +/* 800DE14C 000DB0AC 3C 60 80 3D */ lis r3, lbl_803CEAB0@ha +/* 800DE150 000DB0B0 57 20 10 3A */ slwi r0, r25, 2 +/* 800DE154 000DB0B4 38 63 EA B0 */ addi r3, r3, lbl_803CEAB0@l +/* 800DE158 000DB0B8 7C 03 00 2E */ lwzx r0, r3, r0 +lbl_800DE15C: +/* 800DE15C 000DB0BC 90 1F 01 E8 */ stw r0, 0x1e8(r31) +/* 800DE160 000DB0C0 3C 60 80 3D */ lis r3, lbl_803CE3AC@ha +/* 800DE164 000DB0C4 38 A3 E3 AC */ addi r5, r3, lbl_803CE3AC@l +/* 800DE168 000DB0C8 38 61 00 5C */ addi r3, r1, 0x5c +/* 800DE16C 000DB0CC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DE170 000DB0D0 38 A5 01 3C */ addi r5, r5, 0x13c +/* 800DE174 000DB0D4 81 84 00 00 */ lwz r12, 0(r4) +/* 800DE178 000DB0D8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DE17C 000DB0DC 7D 89 03 A6 */ mtctr r12 +/* 800DE180 000DB0E0 4E 80 04 21 */ bctrl +/* 800DE184 000DB0E4 38 7F 01 EC */ addi r3, r31, 0x1ec +/* 800DE188 000DB0E8 38 81 00 5C */ addi r4, r1, 0x5c +/* 800DE18C 000DB0EC 48 26 2D 1D */ bl __ct__6CTokenFRC6CToken +/* 800DE190 000DB0F0 38 61 00 5C */ addi r3, r1, 0x5c +/* 800DE194 000DB0F4 38 80 FF FF */ li r4, -1 +/* 800DE198 000DB0F8 48 26 2C A9 */ bl __dt__6CTokenFv +/* 800DE19C 000DB0FC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DE1A0 000DB100 57 40 10 3A */ slwi r0, r26, 2 +/* 800DE1A4 000DB104 38 BE 00 80 */ addi r5, r30, 0x80 +/* 800DE1A8 000DB108 38 61 00 54 */ addi r3, r1, 0x54 +/* 800DE1AC 000DB10C 81 84 00 00 */ lwz r12, 0(r4) +/* 800DE1B0 000DB110 7C A5 00 2E */ lwzx r5, r5, r0 +/* 800DE1B4 000DB114 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DE1B8 000DB118 7D 89 03 A6 */ mtctr r12 +/* 800DE1BC 000DB11C 4E 80 04 21 */ bctrl +/* 800DE1C0 000DB120 3A DF 01 F4 */ addi r22, r31, 0x1f4 +/* 800DE1C4 000DB124 38 81 00 54 */ addi r4, r1, 0x54 +/* 800DE1C8 000DB128 7E C3 B3 78 */ mr r3, r22 +/* 800DE1CC 000DB12C 48 26 2C DD */ bl __ct__6CTokenFRC6CToken +/* 800DE1D0 000DB130 38 00 00 00 */ li r0, 0 +/* 800DE1D4 000DB134 38 61 00 54 */ addi r3, r1, 0x54 +/* 800DE1D8 000DB138 90 16 00 08 */ stw r0, 8(r22) +/* 800DE1DC 000DB13C 38 80 FF FF */ li r4, -1 +/* 800DE1E0 000DB140 48 26 2C 61 */ bl __dt__6CTokenFv +/* 800DE1E4 000DB144 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DE1E8 000DB148 57 3A 10 3A */ slwi r26, r25, 2 +/* 800DE1EC 000DB14C 38 BE 00 94 */ addi r5, r30, 0x94 +/* 800DE1F0 000DB150 38 61 00 4C */ addi r3, r1, 0x4c +/* 800DE1F4 000DB154 81 84 00 00 */ lwz r12, 0(r4) +/* 800DE1F8 000DB158 7C A5 D0 2E */ lwzx r5, r5, r26 +/* 800DE1FC 000DB15C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DE200 000DB160 7D 89 03 A6 */ mtctr r12 +/* 800DE204 000DB164 4E 80 04 21 */ bctrl +/* 800DE208 000DB168 3A DF 02 00 */ addi r22, r31, 0x200 +/* 800DE20C 000DB16C 38 81 00 4C */ addi r4, r1, 0x4c +/* 800DE210 000DB170 7E C3 B3 78 */ mr r3, r22 +/* 800DE214 000DB174 48 26 2C 95 */ bl __ct__6CTokenFRC6CToken +/* 800DE218 000DB178 38 00 00 00 */ li r0, 0 +/* 800DE21C 000DB17C 38 61 00 4C */ addi r3, r1, 0x4c +/* 800DE220 000DB180 90 16 00 08 */ stw r0, 8(r22) +/* 800DE224 000DB184 38 80 FF FF */ li r4, -1 +/* 800DE228 000DB188 48 26 2C 19 */ bl __dt__6CTokenFv +/* 800DE22C 000DB18C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DE230 000DB190 38 61 00 44 */ addi r3, r1, 0x44 +/* 800DE234 000DB194 80 A2 8E 80 */ lwz r5, lbl_805AABA0@sda21(r2) +/* 800DE238 000DB198 81 84 00 00 */ lwz r12, 0(r4) +/* 800DE23C 000DB19C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DE240 000DB1A0 7D 89 03 A6 */ mtctr r12 +/* 800DE244 000DB1A4 4E 80 04 21 */ bctrl +/* 800DE248 000DB1A8 3A DF 02 0C */ addi r22, r31, 0x20c +/* 800DE24C 000DB1AC 38 81 00 44 */ addi r4, r1, 0x44 +/* 800DE250 000DB1B0 7E C3 B3 78 */ mr r3, r22 +/* 800DE254 000DB1B4 48 26 2C 55 */ bl __ct__6CTokenFRC6CToken +/* 800DE258 000DB1B8 38 00 00 00 */ li r0, 0 +/* 800DE25C 000DB1BC 38 61 00 44 */ addi r3, r1, 0x44 +/* 800DE260 000DB1C0 90 16 00 08 */ stw r0, 8(r22) +/* 800DE264 000DB1C4 38 80 FF FF */ li r4, -1 +/* 800DE268 000DB1C8 48 26 2B D9 */ bl __dt__6CTokenFv +/* 800DE26C 000DB1CC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DE270 000DB1D0 38 BE 00 B4 */ addi r5, r30, 0xb4 +/* 800DE274 000DB1D4 38 61 00 3C */ addi r3, r1, 0x3c +/* 800DE278 000DB1D8 7C A5 D0 2E */ lwzx r5, r5, r26 +/* 800DE27C 000DB1DC 81 84 00 00 */ lwz r12, 0(r4) +/* 800DE280 000DB1E0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DE284 000DB1E4 7D 89 03 A6 */ mtctr r12 +/* 800DE288 000DB1E8 4E 80 04 21 */ bctrl +/* 800DE28C 000DB1EC 3A DF 02 18 */ addi r22, r31, 0x218 +/* 800DE290 000DB1F0 38 81 00 3C */ addi r4, r1, 0x3c +/* 800DE294 000DB1F4 7E C3 B3 78 */ mr r3, r22 +/* 800DE298 000DB1F8 48 26 2C 11 */ bl __ct__6CTokenFRC6CToken +/* 800DE29C 000DB1FC 38 00 00 00 */ li r0, 0 +/* 800DE2A0 000DB200 38 61 00 3C */ addi r3, r1, 0x3c +/* 800DE2A4 000DB204 90 16 00 08 */ stw r0, 8(r22) +/* 800DE2A8 000DB208 38 80 FF FF */ li r4, -1 +/* 800DE2AC 000DB20C 48 26 2B 95 */ bl __dt__6CTokenFv +/* 800DE2B0 000DB210 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DE2B4 000DB214 3C 60 80 3D */ lis r3, lbl_803CE3AC@ha +/* 800DE2B8 000DB218 38 A3 E3 AC */ addi r5, r3, lbl_803CE3AC@l +/* 800DE2BC 000DB21C 38 61 00 34 */ addi r3, r1, 0x34 +/* 800DE2C0 000DB220 81 84 00 00 */ lwz r12, 0(r4) +/* 800DE2C4 000DB224 38 A5 01 51 */ addi r5, r5, 0x151 +/* 800DE2C8 000DB228 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DE2CC 000DB22C 7D 89 03 A6 */ mtctr r12 +/* 800DE2D0 000DB230 4E 80 04 21 */ bctrl +/* 800DE2D4 000DB234 38 7F 02 24 */ addi r3, r31, 0x224 +/* 800DE2D8 000DB238 38 81 00 34 */ addi r4, r1, 0x34 +/* 800DE2DC 000DB23C 48 26 2B CD */ bl __ct__6CTokenFRC6CToken +/* 800DE2E0 000DB240 38 61 00 34 */ addi r3, r1, 0x34 +/* 800DE2E4 000DB244 38 80 FF FF */ li r4, -1 +/* 800DE2E8 000DB248 48 26 2B 59 */ bl __dt__6CTokenFv +/* 800DE2EC 000DB24C 3C 60 80 3D */ lis r3, lbl_803CE3AC@ha +/* 800DE2F0 000DB250 3A C0 00 00 */ li r22, 0 +/* 800DE2F4 000DB254 38 83 E3 AC */ addi r4, r3, lbl_803CE3AC@l +/* 800DE2F8 000DB258 38 60 03 40 */ li r3, 0x340 +/* 800DE2FC 000DB25C 38 84 01 1F */ addi r4, r4, 0x11f +/* 800DE300 000DB260 38 A0 00 00 */ li r5, 0 +/* 800DE304 000DB264 48 23 75 69 */ bl __nw__FUlPCcPCc +/* 800DE308 000DB268 7C 7A 1B 79 */ or. r26, r3, r3 +/* 800DE30C 000DB26C 41 82 00 2C */ beq lbl_800DE338 +/* 800DE310 000DB270 38 61 00 2C */ addi r3, r1, 0x2c +/* 800DE314 000DB274 38 9F 02 24 */ addi r4, r31, 0x224 +/* 800DE318 000DB278 48 26 2B 91 */ bl __ct__6CTokenFRC6CToken +/* 800DE31C 000DB27C 7F 43 D3 78 */ mr r3, r26 +/* 800DE320 000DB280 38 81 00 2C */ addi r4, r1, 0x2c +/* 800DE324 000DB284 3A C0 00 01 */ li r22, 1 +/* 800DE328 000DB288 38 A0 00 00 */ li r5, 0 +/* 800DE32C 000DB28C 38 C0 00 01 */ li r6, 1 +/* 800DE330 000DB290 48 24 10 B1 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800DE334 000DB294 7C 7A 1B 78 */ mr r26, r3 +lbl_800DE338: +/* 800DE338 000DB298 7E C0 07 75 */ extsb. r0, r22 +/* 800DE33C 000DB29C 93 5F 02 2C */ stw r26, 0x22c(r31) +/* 800DE340 000DB2A0 41 82 00 10 */ beq lbl_800DE350 +/* 800DE344 000DB2A4 38 61 00 2C */ addi r3, r1, 0x2c +/* 800DE348 000DB2A8 38 80 00 00 */ li r4, 0 +/* 800DE34C 000DB2AC 48 26 2A F5 */ bl __dt__6CTokenFv +lbl_800DE350: +/* 800DE350 000DB2B0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DE354 000DB2B4 3C 60 80 3D */ lis r3, lbl_803CE3AC@ha +/* 800DE358 000DB2B8 38 A3 E3 AC */ addi r5, r3, lbl_803CE3AC@l +/* 800DE35C 000DB2BC 38 61 00 24 */ addi r3, r1, 0x24 +/* 800DE360 000DB2C0 81 84 00 00 */ lwz r12, 0(r4) +/* 800DE364 000DB2C4 38 A5 01 5F */ addi r5, r5, 0x15f +/* 800DE368 000DB2C8 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800DE36C 000DB2CC 7D 89 03 A6 */ mtctr r12 +/* 800DE370 000DB2D0 4E 80 04 21 */ bctrl +/* 800DE374 000DB2D4 38 7F 02 30 */ addi r3, r31, 0x230 +/* 800DE378 000DB2D8 38 81 00 24 */ addi r4, r1, 0x24 +/* 800DE37C 000DB2DC 48 26 2B 2D */ bl __ct__6CTokenFRC6CToken +/* 800DE380 000DB2E0 38 61 00 24 */ addi r3, r1, 0x24 +/* 800DE384 000DB2E4 38 80 FF FF */ li r4, -1 +/* 800DE388 000DB2E8 48 26 2A B9 */ bl __dt__6CTokenFv +/* 800DE38C 000DB2EC 38 00 00 00 */ li r0, 0 +/* 800DE390 000DB2F0 3C 60 80 5A */ lis r3, lbl_805A6724@ha +/* 800DE394 000DB2F4 90 1F 02 38 */ stw r0, 0x238(r31) +/* 800DE398 000DB2F8 38 00 FF FF */ li r0, -1 +/* 800DE39C 000DB2FC 38 83 67 24 */ addi r4, r3, lbl_805A6724@l +/* 800DE3A0 000DB300 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 800DE3A4 000DB304 90 01 00 0C */ stw r0, 0xc(r1) +/* 800DE3A8 000DB308 38 A1 00 0C */ addi r5, r1, 0xc +/* 800DE3AC 000DB30C 48 22 80 C1 */ bl BuildDirectional__6CLightFRC9CVector3fRC6CColor +/* 800DE3B0 000DB310 38 7F 02 3C */ addi r3, r31, 0x23c +/* 800DE3B4 000DB314 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 800DE3B8 000DB318 38 C1 00 08 */ addi r6, r1, 8 +/* 800DE3BC 000DB31C 38 80 00 01 */ li r4, 1 +/* 800DE3C0 000DB320 48 00 03 09 */ bl "__ct__Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>FiRC6CLightRCQ24rstl17rmemory_allocator" +/* 800DE3C4 000DB324 3C 80 80 3D */ lis r4, lbl_803CE3AC@ha +/* 800DE3C8 000DB328 38 60 02 E0 */ li r3, 0x2e0 +/* 800DE3CC 000DB32C 38 84 E3 AC */ addi r4, r4, lbl_803CE3AC@l +/* 800DE3D0 000DB330 38 A0 00 00 */ li r5, 0 +/* 800DE3D4 000DB334 38 84 01 1F */ addi r4, r4, 0x11f +/* 800DE3D8 000DB338 48 23 74 95 */ bl __nw__FUlPCcPCc +/* 800DE3DC 000DB33C 7C 60 1B 79 */ or. r0, r3, r3 +/* 800DE3E0 000DB340 41 82 00 4C */ beq lbl_800DE42C +/* 800DE3E4 000DB344 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800DE3E8 000DB348 C0 22 94 04 */ lfs f1, lbl_805AB124@sda21(r2) +/* 800DE3EC 000DB34C 38 E4 66 A0 */ addi r7, r4, skZero3f@l +/* 800DE3F0 000DB350 38 A1 00 88 */ addi r5, r1, 0x88 +/* 800DE3F4 000DB354 81 07 00 00 */ lwz r8, 0(r7) +/* 800DE3F8 000DB358 38 80 00 08 */ li r4, 8 +/* 800DE3FC 000DB35C 81 67 00 04 */ lwz r11, 4(r7) +/* 800DE400 000DB360 38 C0 00 04 */ li r6, 4 +/* 800DE404 000DB364 80 07 00 08 */ lwz r0, 8(r7) +/* 800DE408 000DB368 38 E0 00 04 */ li r7, 4 +/* 800DE40C 000DB36C 91 01 00 88 */ stw r8, 0x88(r1) +/* 800DE410 000DB370 39 00 00 00 */ li r8, 0 +/* 800DE414 000DB374 39 20 00 00 */ li r9, 0 +/* 800DE418 000DB378 39 40 00 00 */ li r10, 0 +/* 800DE41C 000DB37C 91 61 00 8C */ stw r11, 0x8c(r1) +/* 800DE420 000DB380 90 01 00 90 */ stw r0, 0x90(r1) +/* 800DE424 000DB384 48 02 6D A9 */ bl __ct__12CActorLightsFUi9CVector3fiif +/* 800DE428 000DB388 7C 60 1B 78 */ mr r0, r3 +lbl_800DE42C: +/* 800DE42C 000DB38C 90 1F 02 4C */ stw r0, 0x24c(r31) +/* 800DE430 000DB390 38 E0 00 00 */ li r7, 0 +/* 800DE434 000DB394 C0 02 8E 90 */ lfs f0, lbl_805AABB0@sda21(r2) +/* 800DE438 000DB398 3C 60 80 47 */ lis r3, lbl_8046C470@ha +/* 800DE43C 000DB39C 98 FF 02 5C */ stb r7, 0x25c(r31) +/* 800DE440 000DB3A0 38 81 00 7C */ addi r4, r1, 0x7c +/* 800DE444 000DB3A4 C0 62 8F 1C */ lfs f3, lbl_805AAC3C@sda21(r2) +/* 800DE448 000DB3A8 D0 1F 02 60 */ stfs f0, 0x260(r31) +/* 800DE44C 000DB3AC 90 FF 02 64 */ stw r7, 0x264(r31) +/* 800DE450 000DB3B0 90 FF 02 68 */ stw r7, 0x268(r31) +/* 800DE454 000DB3B4 90 FF 02 6C */ stw r7, 0x26c(r31) +/* 800DE458 000DB3B8 88 1F 02 70 */ lbz r0, 0x270(r31) +/* 800DE45C 000DB3BC 53 60 3E 30 */ rlwimi r0, r27, 7, 0x18, 0x18 +/* 800DE460 000DB3C0 98 1F 02 70 */ stb r0, 0x270(r31) +/* 800DE464 000DB3C4 88 1F 02 70 */ lbz r0, 0x270(r31) +/* 800DE468 000DB3C8 53 80 36 72 */ rlwimi r0, r28, 6, 0x19, 0x19 +/* 800DE46C 000DB3CC 98 1F 02 70 */ stb r0, 0x270(r31) +/* 800DE470 000DB3D0 88 1F 02 70 */ lbz r0, 0x270(r31) +/* 800DE474 000DB3D4 50 E0 2E B4 */ rlwimi r0, r7, 5, 0x1a, 0x1a +/* 800DE478 000DB3D8 98 1F 02 70 */ stb r0, 0x270(r31) +/* 800DE47C 000DB3DC 88 1F 02 70 */ lbz r0, 0x270(r31) +/* 800DE480 000DB3E0 50 E0 26 F6 */ rlwimi r0, r7, 4, 0x1b, 0x1b +/* 800DE484 000DB3E4 98 1F 02 70 */ stb r0, 0x270(r31) +/* 800DE488 000DB3E8 88 1F 02 70 */ lbz r0, 0x270(r31) +/* 800DE48C 000DB3EC 50 E0 1F 38 */ rlwimi r0, r7, 3, 0x1c, 0x1c +/* 800DE490 000DB3F0 98 1F 02 70 */ stb r0, 0x270(r31) +/* 800DE494 000DB3F4 88 1F 02 70 */ lbz r0, 0x270(r31) +/* 800DE498 000DB3F8 50 E0 17 7A */ rlwimi r0, r7, 2, 0x1d, 0x1d +/* 800DE49C 000DB3FC 98 1F 02 70 */ stb r0, 0x270(r31) +/* 800DE4A0 000DB400 88 1F 02 70 */ lbz r0, 0x270(r31) +/* 800DE4A4 000DB404 50 E0 07 FE */ rlwimi r0, r7, 0, 0x1f, 0x1f +/* 800DE4A8 000DB408 98 1F 02 70 */ stb r0, 0x270(r31) +/* 800DE4AC 000DB40C C4 43 C4 70 */ lfsu f2, lbl_8046C470@l(r3) +/* 800DE4B0 000DB410 C0 23 00 04 */ lfs f1, 4(r3) +/* 800DE4B4 000DB414 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800DE4B8 000DB418 C0 03 00 08 */ lfs f0, 8(r3) +/* 800DE4BC 000DB41C EC 23 00 72 */ fmuls f1, f3, f1 +/* 800DE4C0 000DB420 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800DE4C4 000DB424 D0 41 00 7C */ stfs f2, 0x7c(r1) +/* 800DE4C8 000DB428 D0 21 00 80 */ stfs f1, 0x80(r1) +/* 800DE4CC 000DB42C D0 01 00 84 */ stfs f0, 0x84(r1) +/* 800DE4D0 000DB430 80 7F 02 2C */ lwz r3, 0x22c(r31) +/* 800DE4D4 000DB434 81 83 00 00 */ lwz r12, 0(r3) +/* 800DE4D8 000DB438 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800DE4DC 000DB43C 7D 89 03 A6 */ mtctr r12 +/* 800DE4E0 000DB440 4E 80 04 21 */ bctrl +/* 800DE4E4 000DB444 38 7F 01 D4 */ addi r3, r31, 0x1d4 +/* 800DE4E8 000DB448 48 26 28 9D */ bl Lock__6CTokenFv +/* 800DE4EC 000DB44C 38 7F 01 EC */ addi r3, r31, 0x1ec +/* 800DE4F0 000DB450 48 26 28 95 */ bl Lock__6CTokenFv +/* 800DE4F4 000DB454 38 7F 01 F4 */ addi r3, r31, 0x1f4 +/* 800DE4F8 000DB458 48 26 28 8D */ bl Lock__6CTokenFv +/* 800DE4FC 000DB45C 38 7F 02 00 */ addi r3, r31, 0x200 +/* 800DE500 000DB460 48 26 28 85 */ bl Lock__6CTokenFv +/* 800DE504 000DB464 38 7F 02 0C */ addi r3, r31, 0x20c +/* 800DE508 000DB468 48 26 28 7D */ bl Lock__6CTokenFv +/* 800DE50C 000DB46C 2C 19 00 04 */ cmpwi r25, 4 +/* 800DE510 000DB470 41 80 00 0C */ blt lbl_800DE51C +/* 800DE514 000DB474 38 7F 02 18 */ addi r3, r31, 0x218 +/* 800DE518 000DB478 48 26 28 6D */ bl Lock__6CTokenFv +lbl_800DE51C: +/* 800DE51C 000DB47C 38 7F 02 30 */ addi r3, r31, 0x230 +/* 800DE520 000DB480 48 26 28 65 */ bl Lock__6CTokenFv +/* 800DE524 000DB484 80 97 00 04 */ lwz r4, 4(r23) +/* 800DE528 000DB488 7F E3 FB 78 */ mr r3, r31 +/* 800DE52C 000DB48C 80 18 00 04 */ lwz r0, 4(r24) +/* 800DE530 000DB490 7C 84 02 14 */ add r4, r4, r0 +/* 800DE534 000DB494 4B F2 A4 29 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +/* 800DE538 000DB498 83 37 00 0C */ lwz r25, 0xc(r23) +/* 800DE53C 000DB49C 48 00 00 A0 */ b lbl_800DE5DC +lbl_800DE540: +/* 800DE540 000DB4A0 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DE544 000DB4A4 7F 25 CB 78 */ mr r5, r25 +/* 800DE548 000DB4A8 38 61 00 1C */ addi r3, r1, 0x1c +/* 800DE54C 000DB4AC 81 84 00 00 */ lwz r12, 0(r4) +/* 800DE550 000DB4B0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800DE554 000DB4B4 7D 89 03 A6 */ mtctr r12 +/* 800DE558 000DB4B8 4E 80 04 21 */ bctrl +/* 800DE55C 000DB4BC 38 61 00 74 */ addi r3, r1, 0x74 +/* 800DE560 000DB4C0 38 81 00 1C */ addi r4, r1, 0x1c +/* 800DE564 000DB4C4 48 26 29 45 */ bl __ct__6CTokenFRC6CToken +/* 800DE568 000DB4C8 38 61 00 1C */ addi r3, r1, 0x1c +/* 800DE56C 000DB4CC 38 80 FF FF */ li r4, -1 +/* 800DE570 000DB4D0 48 26 28 D1 */ bl __dt__6CTokenFv +/* 800DE574 000DB4D4 38 61 00 74 */ addi r3, r1, 0x74 +/* 800DE578 000DB4D8 48 26 28 0D */ bl Lock__6CTokenFv +/* 800DE57C 000DB4DC 80 1F 00 04 */ lwz r0, 4(r31) +/* 800DE580 000DB4E0 80 BF 00 08 */ lwz r5, 8(r31) +/* 800DE584 000DB4E4 7C 00 28 00 */ cmpw r0, r5 +/* 800DE588 000DB4E8 41 80 00 1C */ blt lbl_800DE5A4 +/* 800DE58C 000DB4EC 2C 05 00 00 */ cmpwi r5, 0 +/* 800DE590 000DB4F0 7F E3 FB 78 */ mr r3, r31 +/* 800DE594 000DB4F4 38 80 00 04 */ li r4, 4 +/* 800DE598 000DB4F8 41 82 00 08 */ beq lbl_800DE5A0 +/* 800DE59C 000DB4FC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800DE5A0: +/* 800DE5A0 000DB500 4B F2 A3 BD */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_800DE5A4: +/* 800DE5A4 000DB504 80 1F 00 04 */ lwz r0, 4(r31) +/* 800DE5A8 000DB508 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800DE5AC 000DB50C 54 00 18 38 */ slwi r0, r0, 3 +/* 800DE5B0 000DB510 7C 63 02 15 */ add. r3, r3, r0 +/* 800DE5B4 000DB514 41 82 00 0C */ beq lbl_800DE5C0 +/* 800DE5B8 000DB518 38 81 00 74 */ addi r4, r1, 0x74 +/* 800DE5BC 000DB51C 48 26 28 ED */ bl __ct__6CTokenFRC6CToken +lbl_800DE5C0: +/* 800DE5C0 000DB520 80 BF 00 04 */ lwz r5, 4(r31) +/* 800DE5C4 000DB524 38 61 00 74 */ addi r3, r1, 0x74 +/* 800DE5C8 000DB528 38 80 FF FF */ li r4, -1 +/* 800DE5CC 000DB52C 38 05 00 01 */ addi r0, r5, 1 +/* 800DE5D0 000DB530 90 1F 00 04 */ stw r0, 4(r31) +/* 800DE5D4 000DB534 48 26 28 6D */ bl __dt__6CTokenFv +/* 800DE5D8 000DB538 3B 39 00 08 */ addi r25, r25, 8 +lbl_800DE5DC: +/* 800DE5DC 000DB53C 80 17 00 04 */ lwz r0, 4(r23) +/* 800DE5E0 000DB540 80 77 00 0C */ lwz r3, 0xc(r23) +/* 800DE5E4 000DB544 54 00 18 38 */ slwi r0, r0, 3 +/* 800DE5E8 000DB548 7C 03 02 14 */ add r0, r3, r0 +/* 800DE5EC 000DB54C 7C 19 00 40 */ cmplw r25, r0 +/* 800DE5F0 000DB550 40 82 FF 50 */ bne lbl_800DE540 +/* 800DE5F4 000DB554 82 F8 00 0C */ lwz r23, 0xc(r24) +/* 800DE5F8 000DB558 48 00 00 A0 */ b lbl_800DE698 +lbl_800DE5FC: +/* 800DE5FC 000DB55C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800DE600 000DB560 7E E5 BB 78 */ mr r5, r23 +/* 800DE604 000DB564 38 61 00 14 */ addi r3, r1, 0x14 +/* 800DE608 000DB568 81 84 00 00 */ lwz r12, 0(r4) +/* 800DE60C 000DB56C 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800DE610 000DB570 7D 89 03 A6 */ mtctr r12 +/* 800DE614 000DB574 4E 80 04 21 */ bctrl +/* 800DE618 000DB578 38 61 00 6C */ addi r3, r1, 0x6c +/* 800DE61C 000DB57C 38 81 00 14 */ addi r4, r1, 0x14 +/* 800DE620 000DB580 48 26 28 89 */ bl __ct__6CTokenFRC6CToken +/* 800DE624 000DB584 38 61 00 14 */ addi r3, r1, 0x14 +/* 800DE628 000DB588 38 80 FF FF */ li r4, -1 +/* 800DE62C 000DB58C 48 26 28 15 */ bl __dt__6CTokenFv +/* 800DE630 000DB590 38 61 00 6C */ addi r3, r1, 0x6c +/* 800DE634 000DB594 48 26 27 51 */ bl Lock__6CTokenFv +/* 800DE638 000DB598 80 1F 00 04 */ lwz r0, 4(r31) +/* 800DE63C 000DB59C 80 BF 00 08 */ lwz r5, 8(r31) +/* 800DE640 000DB5A0 7C 00 28 00 */ cmpw r0, r5 +/* 800DE644 000DB5A4 41 80 00 1C */ blt lbl_800DE660 +/* 800DE648 000DB5A8 2C 05 00 00 */ cmpwi r5, 0 +/* 800DE64C 000DB5AC 7F E3 FB 78 */ mr r3, r31 +/* 800DE650 000DB5B0 38 80 00 04 */ li r4, 4 +/* 800DE654 000DB5B4 41 82 00 08 */ beq lbl_800DE65C +/* 800DE658 000DB5B8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800DE65C: +/* 800DE65C 000DB5BC 4B F2 A3 01 */ bl "reserve__Q24rstl42vector<6CToken,Q24rstl17rmemory_allocator>Fi" +lbl_800DE660: +/* 800DE660 000DB5C0 80 1F 00 04 */ lwz r0, 4(r31) +/* 800DE664 000DB5C4 80 7F 00 0C */ lwz r3, 0xc(r31) +/* 800DE668 000DB5C8 54 00 18 38 */ slwi r0, r0, 3 +/* 800DE66C 000DB5CC 7C 63 02 15 */ add. r3, r3, r0 +/* 800DE670 000DB5D0 41 82 00 0C */ beq lbl_800DE67C +/* 800DE674 000DB5D4 38 81 00 6C */ addi r4, r1, 0x6c +/* 800DE678 000DB5D8 48 26 28 31 */ bl __ct__6CTokenFRC6CToken +lbl_800DE67C: +/* 800DE67C 000DB5DC 80 BF 00 04 */ lwz r5, 4(r31) +/* 800DE680 000DB5E0 38 61 00 6C */ addi r3, r1, 0x6c +/* 800DE684 000DB5E4 38 80 FF FF */ li r4, -1 +/* 800DE688 000DB5E8 38 05 00 01 */ addi r0, r5, 1 +/* 800DE68C 000DB5EC 90 1F 00 04 */ stw r0, 4(r31) +/* 800DE690 000DB5F0 48 26 27 B1 */ bl __dt__6CTokenFv +/* 800DE694 000DB5F4 3A F7 00 08 */ addi r23, r23, 8 +lbl_800DE698: +/* 800DE698 000DB5F8 80 18 00 04 */ lwz r0, 4(r24) +/* 800DE69C 000DB5FC 80 78 00 0C */ lwz r3, 0xc(r24) +/* 800DE6A0 000DB600 54 00 18 38 */ slwi r0, r0, 3 +/* 800DE6A4 000DB604 7C 03 02 14 */ add r0, r3, r0 +/* 800DE6A8 000DB608 7C 17 00 40 */ cmplw r23, r0 +/* 800DE6AC 000DB60C 40 82 FF 50 */ bne lbl_800DE5FC +/* 800DE6B0 000DB610 7F E3 FB 78 */ mr r3, r31 +/* 800DE6B4 000DB614 BA C1 01 28 */ lmw r22, 0x128(r1) +/* 800DE6B8 000DB618 80 01 01 54 */ lwz r0, 0x154(r1) +/* 800DE6BC 000DB61C 7C 08 03 A6 */ mtlr r0 +/* 800DE6C0 000DB620 38 21 01 50 */ addi r1, r1, 0x150 +/* 800DE6C4 000DB624 4E 80 00 20 */ blr + +.global "__ct__Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>FiRC6CLightRCQ24rstl17rmemory_allocator" +"__ct__Q24rstl42vector<6CLight,Q24rstl17rmemory_allocator>FiRC6CLightRCQ24rstl17rmemory_allocator": +/* 800DE6C8 000DB628 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DE6CC 000DB62C 7C 08 02 A6 */ mflr r0 +/* 800DE6D0 000DB630 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DE6D4 000DB634 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DE6D8 000DB638 7C BF 2B 78 */ mr r31, r5 +/* 800DE6DC 000DB63C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DE6E0 000DB640 7C 9E 23 78 */ mr r30, r4 +/* 800DE6E4 000DB644 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800DE6E8 000DB648 7C 7D 1B 78 */ mr r29, r3 +/* 800DE6EC 000DB64C 93 C3 00 04 */ stw r30, 4(r3) +/* 800DE6F0 000DB650 93 C3 00 08 */ stw r30, 8(r3) +/* 800DE6F4 000DB654 80 03 00 04 */ lwz r0, 4(r3) +/* 800DE6F8 000DB658 1C 60 00 50 */ mulli r3, r0, 0x50 +/* 800DE6FC 000DB65C 2C 03 00 00 */ cmpwi r3, 0 +/* 800DE700 000DB660 40 82 00 10 */ bne lbl_800DE710 +/* 800DE704 000DB664 38 00 00 00 */ li r0, 0 +/* 800DE708 000DB668 90 1D 00 0C */ stw r0, 0xc(r29) +/* 800DE70C 000DB66C 48 00 00 1C */ b lbl_800DE728 +lbl_800DE710: +/* 800DE710 000DB670 3C 80 80 3D */ lis r4, lbl_803CE3AC@ha +/* 800DE714 000DB674 38 A0 00 00 */ li r5, 0 +/* 800DE718 000DB678 38 84 E3 AC */ addi r4, r4, lbl_803CE3AC@l +/* 800DE71C 000DB67C 38 84 01 1F */ addi r4, r4, 0x11f +/* 800DE720 000DB680 48 23 70 F9 */ bl __nwa__FUlPCcPCc +/* 800DE724 000DB684 90 7D 00 0C */ stw r3, 0xc(r29) +lbl_800DE728: +/* 800DE728 000DB688 80 7D 00 0C */ lwz r3, 0xc(r29) +/* 800DE72C 000DB68C 7F C4 F3 78 */ mr r4, r30 +/* 800DE730 000DB690 7F E5 FB 78 */ mr r5, r31 +/* 800DE734 000DB694 48 00 00 25 */ bl sub_800de758 +/* 800DE738 000DB698 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DE73C 000DB69C 7F A3 EB 78 */ mr r3, r29 +/* 800DE740 000DB6A0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DE744 000DB6A4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DE748 000DB6A8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800DE74C 000DB6AC 7C 08 03 A6 */ mtlr r0 +/* 800DE750 000DB6B0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DE754 000DB6B4 4E 80 00 20 */ blr + +.global sub_800de758 +sub_800de758: +/* 800DE758 000DB6B8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DE75C 000DB6BC 7C 08 02 A6 */ mflr r0 +/* 800DE760 000DB6C0 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DE764 000DB6C4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DE768 000DB6C8 7C 7F 1B 78 */ mr r31, r3 +/* 800DE76C 000DB6CC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DE770 000DB6D0 3B C0 00 00 */ li r30, 0 +/* 800DE774 000DB6D4 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800DE778 000DB6D8 7C BD 2B 78 */ mr r29, r5 +/* 800DE77C 000DB6DC 93 81 00 10 */ stw r28, 0x10(r1) +/* 800DE780 000DB6E0 7C 9C 23 78 */ mr r28, r4 +/* 800DE784 000DB6E4 48 00 00 20 */ b lbl_800DE7A4 +lbl_800DE788: +/* 800DE788 000DB6E8 28 1F 00 00 */ cmplwi r31, 0 +/* 800DE78C 000DB6EC 41 82 00 10 */ beq lbl_800DE79C +/* 800DE790 000DB6F0 7F E3 FB 78 */ mr r3, r31 +/* 800DE794 000DB6F4 7F A4 EB 78 */ mr r4, r29 +/* 800DE798 000DB6F8 4B F5 CD D9 */ bl __ct__6CLightFCR6CLight +lbl_800DE79C: +/* 800DE79C 000DB6FC 3B DE 00 01 */ addi r30, r30, 1 +/* 800DE7A0 000DB700 3B FF 00 50 */ addi r31, r31, 0x50 +lbl_800DE7A4: +/* 800DE7A4 000DB704 7C 1E E0 00 */ cmpw r30, r28 +/* 800DE7A8 000DB708 41 80 FF E0 */ blt lbl_800DE788 +/* 800DE7AC 000DB70C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DE7B0 000DB710 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DE7B4 000DB714 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DE7B8 000DB718 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800DE7BC 000DB71C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800DE7C0 000DB720 7C 08 03 A6 */ mtlr r0 +/* 800DE7C4 000DB724 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DE7C8 000DB728 4E 80 00 20 */ blr + +.global __sinit_CSamusDoll_cpp +__sinit_CSamusDoll_cpp: +/* 800DE7CC 000DB72C C0 42 8E 94 */ lfs f2, lbl_805AABB4@sda21(r2) +/* 800DE7D0 000DB730 3C 80 80 47 */ lis r4, lbl_8046C470@ha +/* 800DE7D4 000DB734 C0 22 8E 90 */ lfs f1, lbl_805AABB0@sda21(r2) +/* 800DE7D8 000DB738 3C 60 80 47 */ lis r3, lbl_8046C47C@ha +/* 800DE7DC 000DB73C D4 44 C4 70 */ stfsu f2, lbl_8046C470@l(r4) +/* 800DE7E0 000DB740 C0 02 8F 28 */ lfs f0, lbl_805AAC48@sda21(r2) +/* 800DE7E4 000DB744 D4 23 C4 7C */ stfsu f1, lbl_8046C47C@l(r3) +/* 800DE7E8 000DB748 D0 44 00 04 */ stfs f2, 4(r4) +/* 800DE7EC 000DB74C D0 44 00 08 */ stfs f2, 8(r4) +/* 800DE7F0 000DB750 D0 23 00 04 */ stfs f1, 4(r3) +/* 800DE7F4 000DB754 D0 03 00 08 */ stfs f0, 8(r3) +/* 800DE7F8 000DB758 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CScriptCameraHint.s b/asm/Kyoto_CWD/CScriptCameraHint.s new file mode 100644 index 00000000..787b36bf --- /dev/null +++ b/asm/Kyoto_CWD/CScriptCameraHint.s @@ -0,0 +1,795 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global Accept__17CScriptCameraHintFR8IVisitor +Accept__17CScriptCameraHintFR8IVisitor: +/* 800C468C 000C15EC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C4690 000C15F0 7C 08 02 A6 */ mflr r0 +/* 800C4694 000C15F4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C4698 000C15F8 7C 60 1B 78 */ mr r0, r3 +/* 800C469C 000C15FC 7C 83 23 78 */ mr r3, r4 +/* 800C46A0 000C1600 81 84 00 00 */ lwz r12, 0(r4) +/* 800C46A4 000C1604 7C 04 03 78 */ mr r4, r0 +/* 800C46A8 000C1608 81 8C 00 68 */ lwz r12, 0x68(r12) +/* 800C46AC 000C160C 7D 89 03 A6 */ mtctr r12 +/* 800C46B0 000C1610 4E 80 04 21 */ bctrl +/* 800C46B4 000C1614 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C46B8 000C1618 7C 08 03 A6 */ mtlr r0 +/* 800C46BC 000C161C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C46C0 000C1620 4E 80 00 20 */ blr + +.global AcceptScriptMsg__17CScriptCameraHintF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__17CScriptCameraHintF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800C46C4 000C1624 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800C46C8 000C1628 7C 08 02 A6 */ mflr r0 +/* 800C46CC 000C162C 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800C46D0 000C1630 BF 41 00 A8 */ stmw r26, 0xa8(r1) +/* 800C46D4 000C1634 7C 9C 23 78 */ mr r28, r4 +/* 800C46D8 000C1638 2C 1C 00 22 */ cmpwi r28, 0x22 +/* 800C46DC 000C163C 7C 7B 1B 78 */ mr r27, r3 +/* 800C46E0 000C1640 7C BD 2B 78 */ mr r29, r5 +/* 800C46E4 000C1644 7C DE 33 78 */ mr r30, r6 +/* 800C46E8 000C1648 41 82 00 20 */ beq lbl_800C4708 +/* 800C46EC 000C164C 40 80 00 10 */ bge lbl_800C46FC +/* 800C46F0 000C1650 2C 1C 00 04 */ cmpwi r28, 4 +/* 800C46F4 000C1654 41 82 00 14 */ beq lbl_800C4708 +/* 800C46F8 000C1658 48 00 00 38 */ b lbl_800C4730 +lbl_800C46FC: +/* 800C46FC 000C165C 2C 1C 00 24 */ cmpwi r28, 0x24 +/* 800C4700 000C1660 40 80 00 30 */ bge lbl_800C4730 +/* 800C4704 000C1664 48 00 00 24 */ b lbl_800C4728 +lbl_800C4708: +/* 800C4708 000C1668 A0 1B 00 08 */ lhz r0, 8(r27) +/* 800C470C 000C166C 7F C5 F3 78 */ mr r5, r30 +/* 800C4710 000C1670 80 7E 08 70 */ lwz r3, 0x870(r30) +/* 800C4714 000C1674 38 81 00 38 */ addi r4, r1, 0x38 +/* 800C4718 000C1678 B0 01 00 34 */ sth r0, 0x34(r1) +/* 800C471C 000C167C B0 01 00 38 */ sth r0, 0x38(r1) +/* 800C4720 000C1680 4B F4 4E 5D */ bl DeleteCameraHint__14CCameraManagerF9TUniqueIdR13CStateManager +/* 800C4724 000C1684 48 00 00 0C */ b lbl_800C4730 +lbl_800C4728: +/* 800C4728 000C1688 7F C4 F3 78 */ mr r4, r30 +/* 800C472C 000C168C 48 00 02 79 */ bl InitializeInArea__17CScriptCameraHintFR13CStateManager +lbl_800C4730: +/* 800C4730 000C1690 88 1B 00 30 */ lbz r0, 0x30(r27) +/* 800C4734 000C1694 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C4738 000C1698 41 82 00 98 */ beq lbl_800C47D0 +/* 800C473C 000C169C 2C 1C 00 06 */ cmpwi r28, 6 +/* 800C4740 000C16A0 83 FE 08 70 */ lwz r31, 0x870(r30) +/* 800C4744 000C16A4 41 82 00 8C */ beq lbl_800C47D0 +/* 800C4748 000C16A8 40 80 00 10 */ bge lbl_800C4758 +/* 800C474C 000C16AC 2C 1C 00 05 */ cmpwi r28, 5 +/* 800C4750 000C16B0 40 80 00 4C */ bge lbl_800C479C +/* 800C4754 000C16B4 48 00 00 7C */ b lbl_800C47D0 +lbl_800C4758: +/* 800C4758 000C16B8 2C 1C 00 08 */ cmpwi r28, 8 +/* 800C475C 000C16BC 40 80 00 74 */ bge lbl_800C47D0 +/* 800C4760 000C16C0 A0 1D 00 00 */ lhz r0, 0(r29) +/* 800C4764 000C16C4 7F 63 DB 78 */ mr r3, r27 +/* 800C4768 000C16C8 38 81 00 30 */ addi r4, r1, 0x30 +/* 800C476C 000C16CC B0 01 00 30 */ sth r0, 0x30(r1) +/* 800C4770 000C16D0 48 00 05 F9 */ bl AddHelper__17CScriptCameraHintF9TUniqueId +/* 800C4774 000C16D4 A0 1B 00 08 */ lhz r0, 8(r27) +/* 800C4778 000C16D8 7F E3 FB 78 */ mr r3, r31 +/* 800C477C 000C16DC 7F C5 F3 78 */ mr r5, r30 +/* 800C4780 000C16E0 38 81 00 2C */ addi r4, r1, 0x2c +/* 800C4784 000C16E4 B0 01 00 28 */ sth r0, 0x28(r1) +/* 800C4788 000C16E8 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 800C478C 000C16EC 4B F4 4E D9 */ bl AddActiveCameraHint__14CCameraManagerF9TUniqueIdR13CStateManager +/* 800C4790 000C16F0 38 00 00 00 */ li r0, 0 +/* 800C4794 000C16F4 98 1B 01 66 */ stb r0, 0x166(r27) +/* 800C4798 000C16F8 48 00 00 38 */ b lbl_800C47D0 +lbl_800C479C: +/* 800C479C 000C16FC A0 1D 00 00 */ lhz r0, 0(r29) +/* 800C47A0 000C1700 7F 63 DB 78 */ mr r3, r27 +/* 800C47A4 000C1704 7F C5 F3 78 */ mr r5, r30 +/* 800C47A8 000C1708 38 81 00 24 */ addi r4, r1, 0x24 +/* 800C47AC 000C170C B0 01 00 24 */ sth r0, 0x24(r1) +/* 800C47B0 000C1710 48 00 04 E9 */ bl RemoveHelper__17CScriptCameraHintF9TUniqueId +/* 800C47B4 000C1714 A0 1B 00 08 */ lhz r0, 8(r27) +/* 800C47B8 000C1718 7F E3 FB 78 */ mr r3, r31 +/* 800C47BC 000C171C 7F C5 F3 78 */ mr r5, r30 +/* 800C47C0 000C1720 38 81 00 20 */ addi r4, r1, 0x20 +/* 800C47C4 000C1724 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800C47C8 000C1728 B0 01 00 20 */ sth r0, 0x20(r1) +/* 800C47CC 000C172C 4B F4 4C F5 */ bl AddInactiveCameraHint__14CCameraManagerF9TUniqueIdR13CStateManager +lbl_800C47D0: +/* 800C47D0 000C1730 2C 1C 00 06 */ cmpwi r28, 6 +/* 800C47D4 000C1734 83 FE 08 70 */ lwz r31, 0x870(r30) +/* 800C47D8 000C1738 41 82 00 08 */ beq lbl_800C47E0 +/* 800C47DC 000C173C 48 00 01 98 */ b lbl_800C4974 +lbl_800C47E0: +/* 800C47E0 000C1740 88 1B 00 30 */ lbz r0, 0x30(r27) +/* 800C47E4 000C1744 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C47E8 000C1748 40 82 01 5C */ bne lbl_800C4944 +/* 800C47EC 000C174C 7F 63 DB 78 */ mr r3, r27 +/* 800C47F0 000C1750 38 80 00 01 */ li r4, 1 +/* 800C47F4 000C1754 81 9B 00 00 */ lwz r12, 0(r27) +/* 800C47F8 000C1758 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800C47FC 000C175C 7D 89 03 A6 */ mtctr r12 +/* 800C4800 000C1760 4E 80 04 21 */ bctrl +/* 800C4804 000C1764 A0 1D 00 00 */ lhz r0, 0(r29) +/* 800C4808 000C1768 7F C3 F3 78 */ mr r3, r30 +/* 800C480C 000C176C 38 81 00 18 */ addi r4, r1, 0x18 +/* 800C4810 000C1770 B0 01 00 18 */ sth r0, 0x18(r1) +/* 800C4814 000C1774 4B F8 7D 91 */ bl GetObjectById__13CStateManagerCF9TUniqueId +/* 800C4818 000C1778 7C 64 1B 78 */ mr r4, r3 +/* 800C481C 000C177C 38 61 00 3C */ addi r3, r1, 0x3c +/* 800C4820 000C1780 4B FE B4 71 */ bl "__ct__19TCastToPtr<6CActor>FP7CEntity" +/* 800C4824 000C1784 83 43 00 04 */ lwz r26, 4(r3) +/* 800C4828 000C1788 28 1A 00 00 */ cmplwi r26, 0 +/* 800C482C 000C178C 41 82 01 18 */ beq lbl_800C4944 +/* 800C4830 000C1790 C0 3B 01 94 */ lfs f1, 0x194(r27) +/* 800C4834 000C1794 38 61 00 68 */ addi r3, r1, 0x68 +/* 800C4838 000C1798 C0 1A 00 60 */ lfs f0, 0x60(r26) +/* 800C483C 000C179C C0 9B 01 84 */ lfs f4, 0x184(r27) +/* 800C4840 000C17A0 C0 7A 00 50 */ lfs f3, 0x50(r26) +/* 800C4844 000C17A4 EC A1 00 28 */ fsubs f5, f1, f0 +/* 800C4848 000C17A8 C0 5B 01 74 */ lfs f2, 0x174(r27) +/* 800C484C 000C17AC C0 3A 00 40 */ lfs f1, 0x40(r26) +/* 800C4850 000C17B0 EC 64 18 28 */ fsubs f3, f4, f3 +/* 800C4854 000C17B4 C0 02 8E 20 */ lfs f0, lbl_805AAB40@sda21(r2) +/* 800C4858 000C17B8 EC 22 08 28 */ fsubs f1, f2, f1 +/* 800C485C 000C17BC D0 A1 00 70 */ stfs f5, 0x70(r1) +/* 800C4860 000C17C0 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 800C4864 000C17C4 D0 21 00 68 */ stfs f1, 0x68(r1) +/* 800C4868 000C17C8 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800C486C 000C17CC 48 24 FE 8D */ bl CanBeNormalized__9CVector3fCFv +/* 800C4870 000C17D0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800C4874 000C17D4 41 82 00 10 */ beq lbl_800C4884 +/* 800C4878 000C17D8 38 61 00 68 */ addi r3, r1, 0x68 +/* 800C487C 000C17DC 48 25 00 7D */ bl Normalize__9CVector3fFv +/* 800C4880 000C17E0 48 00 00 1C */ b lbl_800C489C +lbl_800C4884: +/* 800C4884 000C17E4 C0 5A 00 58 */ lfs f2, 0x58(r26) +/* 800C4888 000C17E8 C0 3A 00 48 */ lfs f1, 0x48(r26) +/* 800C488C 000C17EC C0 1A 00 38 */ lfs f0, 0x38(r26) +/* 800C4890 000C17F0 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 800C4894 000C17F4 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 800C4898 000C17F8 D0 41 00 70 */ stfs f2, 0x70(r1) +lbl_800C489C: +/* 800C489C 000C17FC C0 9A 00 60 */ lfs f4, 0x60(r26) +/* 800C48A0 000C1800 3C 60 80 5A */ lis r3, lbl_805A66F4@ha +/* 800C48A4 000C1804 C0 7A 00 50 */ lfs f3, 0x50(r26) +/* 800C48A8 000C1808 38 C3 66 F4 */ addi r6, r3, lbl_805A66F4@l +/* 800C48AC 000C180C C0 5A 00 40 */ lfs f2, 0x40(r26) +/* 800C48B0 000C1810 38 61 00 74 */ addi r3, r1, 0x74 +/* 800C48B4 000C1814 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 800C48B8 000C1818 38 81 00 5C */ addi r4, r1, 0x5c +/* 800C48BC 000C181C D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 800C48C0 000C1820 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800C48C4 000C1824 C0 21 00 6C */ lfs f1, 0x6c(r1) +/* 800C48C8 000C1828 EC 02 00 2A */ fadds f0, f2, f0 +/* 800C48CC 000C182C D0 61 00 60 */ stfs f3, 0x60(r1) +/* 800C48D0 000C1830 EC C3 08 2A */ fadds f6, f3, f1 +/* 800C48D4 000C1834 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 800C48D8 000C1838 D0 81 00 64 */ stfs f4, 0x64(r1) +/* 800C48DC 000C183C C0 BB 01 94 */ lfs f5, 0x194(r27) +/* 800C48E0 000C1840 C0 9B 01 84 */ lfs f4, 0x184(r27) +/* 800C48E4 000C1844 C0 7B 01 74 */ lfs f3, 0x174(r27) +/* 800C48E8 000C1848 FC 40 28 18 */ frsp f2, f5 +/* 800C48EC 000C184C D0 81 00 54 */ stfs f4, 0x54(r1) +/* 800C48F0 000C1850 EC 22 08 2A */ fadds f1, f2, f1 +/* 800C48F4 000C1854 D0 61 00 50 */ stfs f3, 0x50(r1) +/* 800C48F8 000C1858 D0 A1 00 58 */ stfs f5, 0x58(r1) +/* 800C48FC 000C185C D0 A1 00 64 */ stfs f5, 0x64(r1) +/* 800C4900 000C1860 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800C4904 000C1864 D0 C1 00 48 */ stfs f6, 0x48(r1) +/* 800C4908 000C1868 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 800C490C 000C186C 48 24 F2 05 */ bl LookAt__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800C4910 000C1870 38 7B 00 34 */ addi r3, r27, 0x34 +/* 800C4914 000C1874 38 81 00 74 */ addi r4, r1, 0x74 +/* 800C4918 000C1878 48 24 E2 29 */ bl __as__12CTransform4fFRC12CTransform4f +/* 800C491C 000C187C 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 800C4920 000C1880 38 60 00 01 */ li r3, 1 +/* 800C4924 000C1884 50 60 26 F6 */ rlwimi r0, r3, 4, 0x1b, 0x1b +/* 800C4928 000C1888 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 800C492C 000C188C 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 800C4930 000C1890 50 60 1F 38 */ rlwimi r0, r3, 3, 0x1c, 0x1c +/* 800C4934 000C1894 98 1B 00 E4 */ stb r0, 0xe4(r27) +/* 800C4938 000C1898 88 1B 00 E4 */ lbz r0, 0xe4(r27) +/* 800C493C 000C189C 50 60 17 7A */ rlwimi r0, r3, 2, 0x1d, 0x1d +/* 800C4940 000C18A0 98 1B 00 E4 */ stb r0, 0xe4(r27) +lbl_800C4944: +/* 800C4944 000C18A4 A0 1D 00 00 */ lhz r0, 0(r29) +/* 800C4948 000C18A8 7F 63 DB 78 */ mr r3, r27 +/* 800C494C 000C18AC 38 81 00 14 */ addi r4, r1, 0x14 +/* 800C4950 000C18B0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800C4954 000C18B4 48 00 04 15 */ bl AddHelper__17CScriptCameraHintF9TUniqueId +/* 800C4958 000C18B8 A0 1B 00 08 */ lhz r0, 8(r27) +/* 800C495C 000C18BC 7F E3 FB 78 */ mr r3, r31 +/* 800C4960 000C18C0 7F C5 F3 78 */ mr r5, r30 +/* 800C4964 000C18C4 38 81 00 10 */ addi r4, r1, 0x10 +/* 800C4968 000C18C8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800C496C 000C18CC B0 01 00 10 */ sth r0, 0x10(r1) +/* 800C4970 000C18D0 4B F4 4C F5 */ bl AddActiveCameraHint__14CCameraManagerF9TUniqueIdR13CStateManager +lbl_800C4974: +/* 800C4974 000C18D4 A0 1D 00 00 */ lhz r0, 0(r29) +/* 800C4978 000C18D8 7F 63 DB 78 */ mr r3, r27 +/* 800C497C 000C18DC 7F 84 E3 78 */ mr r4, r28 +/* 800C4980 000C18E0 7F C6 F3 78 */ mr r6, r30 +/* 800C4984 000C18E4 B0 01 00 08 */ sth r0, 8(r1) +/* 800C4988 000C18E8 38 A1 00 08 */ addi r5, r1, 8 +/* 800C498C 000C18EC 4B F8 EC 89 */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800C4990 000C18F0 BB 41 00 A8 */ lmw r26, 0xa8(r1) +/* 800C4994 000C18F4 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800C4998 000C18F8 7C 08 03 A6 */ mtlr r0 +/* 800C499C 000C18FC 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800C49A0 000C1900 4E 80 00 20 */ blr + +.global InitializeInArea__17CScriptCameraHintFR13CStateManager +InitializeInArea__17CScriptCameraHintFR13CStateManager: +/* 800C49A4 000C1904 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800C49A8 000C1908 7C 08 02 A6 */ mflr r0 +/* 800C49AC 000C190C 90 01 00 74 */ stw r0, 0x74(r1) +/* 800C49B0 000C1910 BF 21 00 54 */ stmw r25, 0x54(r1) +/* 800C49B4 000C1914 7C 7A 1B 78 */ mr r26, r3 +/* 800C49B8 000C1918 7C 9B 23 78 */ mr r27, r4 +/* 800C49BC 000C191C 83 E4 08 10 */ lwz r31, 0x810(r4) +/* 800C49C0 000C1920 A3 A3 00 08 */ lhz r29, 8(r3) +/* 800C49C4 000C1924 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800C49C8 000C1928 B0 03 01 64 */ sth r0, 0x164(r3) +/* 800C49CC 000C192C AB 9F 20 08 */ lha r28, 0x2008(r31) +/* 800C49D0 000C1930 48 00 01 AC */ b lbl_800C4B7C +lbl_800C49D4: +/* 800C49D4 000C1934 7F E3 FB 78 */ mr r3, r31 +/* 800C49D8 000C1938 7F 84 E3 78 */ mr r4, r28 +/* 800C49DC 000C193C 4B F4 B3 39 */ bl __vc__11CObjectListFi +/* 800C49E0 000C1940 7C 64 1B 78 */ mr r4, r3 +/* 800C49E4 000C1944 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C49E8 000C1948 4B FE 9F CD */ bl "__ct__20TCastToPtr<7CEntity>FP7CEntity" +/* 800C49EC 000C194C 80 63 00 04 */ lwz r3, 4(r3) +/* 800C49F0 000C1950 28 03 00 00 */ cmplwi r3, 0 +/* 800C49F4 000C1954 41 82 01 6C */ beq lbl_800C4B60 +/* 800C49F8 000C1958 3B C3 00 20 */ addi r30, r3, 0x20 +/* 800C49FC 000C195C 83 23 00 2C */ lwz r25, 0x2c(r3) +/* 800C4A00 000C1960 48 00 01 48 */ b lbl_800C4B48 +lbl_800C4A04: +/* 800C4A04 000C1964 80 19 00 08 */ lwz r0, 8(r25) +/* 800C4A08 000C1968 7F 64 DB 78 */ mr r4, r27 +/* 800C4A0C 000C196C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800C4A10 000C1970 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800C4A14 000C1974 90 01 00 28 */ stw r0, 0x28(r1) +/* 800C4A18 000C1978 4B F8 35 05 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800C4A1C 000C197C A0 01 00 14 */ lhz r0, 0x14(r1) +/* 800C4A20 000C1980 7C 00 E8 40 */ cmplw r0, r29 +/* 800C4A24 000C1984 40 82 01 20 */ bne lbl_800C4B44 +/* 800C4A28 000C1988 80 19 00 04 */ lwz r0, 4(r25) +/* 800C4A2C 000C198C 2C 00 00 07 */ cmpwi r0, 7 +/* 800C4A30 000C1990 41 82 00 0C */ beq lbl_800C4A3C +/* 800C4A34 000C1994 2C 00 00 05 */ cmpwi r0, 5 +/* 800C4A38 000C1998 40 82 01 0C */ bne lbl_800C4B44 +lbl_800C4A3C: +/* 800C4A3C 000C199C 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 800C4A40 000C19A0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800C4A44 000C19A4 48 00 00 E0 */ b lbl_800C4B24 +lbl_800C4A48: +/* 800C4A48 000C19A8 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800C4A4C 000C19AC 80 03 00 04 */ lwz r0, 4(r3) +/* 800C4A50 000C19B0 2C 00 00 07 */ cmpwi r0, 7 +/* 800C4A54 000C19B4 41 82 00 0C */ beq lbl_800C4A60 +/* 800C4A58 000C19B8 2C 00 00 05 */ cmpwi r0, 5 +/* 800C4A5C 000C19BC 40 82 00 BC */ bne lbl_800C4B18 +lbl_800C4A60: +/* 800C4A60 000C19C0 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 800C4A64 000C19C4 7F 64 DB 78 */ mr r4, r27 +/* 800C4A68 000C19C8 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C4A6C 000C19CC 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800C4A70 000C19D0 80 06 00 08 */ lwz r0, 8(r6) +/* 800C4A74 000C19D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C4A78 000C19D8 4B F8 34 A5 */ bl GetIdForScript__13CStateManagerCF9TEditorId +/* 800C4A7C 000C19DC A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800C4A80 000C19E0 7F 63 DB 78 */ mr r3, r27 +/* 800C4A84 000C19E4 38 81 00 0C */ addi r4, r1, 0xc +/* 800C4A88 000C19E8 B0 01 00 18 */ sth r0, 0x18(r1) +/* 800C4A8C 000C19EC B0 01 00 0C */ sth r0, 0xc(r1) +/* 800C4A90 000C19F0 4B F8 7A E5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800C4A94 000C19F4 7C 64 1B 78 */ mr r4, r3 +/* 800C4A98 000C19F8 38 61 00 38 */ addi r3, r1, 0x38 +/* 800C4A9C 000C19FC 4B FE 83 39 */ bl "__ct__25TCastToPtr<11CPathCamera>FP7CEntity" +/* 800C4AA0 000C1A00 83 23 00 04 */ lwz r25, 4(r3) +/* 800C4AA4 000C1A04 7F 63 DB 78 */ mr r3, r27 +/* 800C4AA8 000C1A08 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 800C4AAC 000C1A0C 38 81 00 08 */ addi r4, r1, 8 +/* 800C4AB0 000C1A10 B0 01 00 08 */ sth r0, 8(r1) +/* 800C4AB4 000C1A14 4B F8 7A C1 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800C4AB8 000C1A18 7C 64 1B 78 */ mr r4, r3 +/* 800C4ABC 000C1A1C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C4AC0 000C1A20 4B FE 14 65 */ bl "__ct__34TCastToPtr<20CScriptSpindleCamera>FP7CEntity" +/* 800C4AC4 000C1A24 28 19 00 00 */ cmplwi r25, 0 +/* 800C4AC8 000C1A28 80 03 00 04 */ lwz r0, 4(r3) +/* 800C4ACC 000C1A2C 40 82 00 0C */ bne lbl_800C4AD8 +/* 800C4AD0 000C1A30 28 00 00 00 */ cmplwi r0, 0 +/* 800C4AD4 000C1A34 41 82 00 34 */ beq lbl_800C4B08 +lbl_800C4AD8: +/* 800C4AD8 000C1A38 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800C4ADC 000C1A3C 7F C4 F3 78 */ mr r4, r30 +/* 800C4AE0 000C1A40 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C4AE4 000C1A44 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800C4AE8 000C1A48 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800C4AEC 000C1A4C 48 00 00 AD */ bl sub_800c4b98 +/* 800C4AF0 000C1A50 A0 7A 01 64 */ lhz r3, 0x164(r26) +/* 800C4AF4 000C1A54 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 800C4AF8 000C1A58 7C 03 00 40 */ cmplw r3, r0 +/* 800C4AFC 000C1A5C 41 82 00 64 */ beq lbl_800C4B60 +/* 800C4B00 000C1A60 B0 1A 01 64 */ sth r0, 0x164(r26) +/* 800C4B04 000C1A64 48 00 00 5C */ b lbl_800C4B60 +lbl_800C4B08: +/* 800C4B08 000C1A68 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800C4B0C 000C1A6C 38 03 00 0C */ addi r0, r3, 0xc +/* 800C4B10 000C1A70 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800C4B14 000C1A74 48 00 00 10 */ b lbl_800C4B24 +lbl_800C4B18: +/* 800C4B18 000C1A78 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800C4B1C 000C1A7C 38 03 00 0C */ addi r0, r3, 0xc +/* 800C4B20 000C1A80 90 01 00 2C */ stw r0, 0x2c(r1) +lbl_800C4B24: +/* 800C4B24 000C1A84 80 1E 00 04 */ lwz r0, 4(r30) +/* 800C4B28 000C1A88 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800C4B2C 000C1A8C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800C4B30 000C1A90 80 81 00 2C */ lwz r4, 0x2c(r1) +/* 800C4B34 000C1A94 7C 03 02 14 */ add r0, r3, r0 +/* 800C4B38 000C1A98 7C 04 00 40 */ cmplw r4, r0 +/* 800C4B3C 000C1A9C 40 82 FF 0C */ bne lbl_800C4A48 +/* 800C4B40 000C1AA0 48 00 00 20 */ b lbl_800C4B60 +lbl_800C4B44: +/* 800C4B44 000C1AA4 3B 39 00 0C */ addi r25, r25, 0xc +lbl_800C4B48: +/* 800C4B48 000C1AA8 80 1E 00 04 */ lwz r0, 4(r30) +/* 800C4B4C 000C1AAC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800C4B50 000C1AB0 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800C4B54 000C1AB4 7C 03 02 14 */ add r0, r3, r0 +/* 800C4B58 000C1AB8 7C 19 00 40 */ cmplw r25, r0 +/* 800C4B5C 000C1ABC 40 82 FE A8 */ bne lbl_800C4A04 +lbl_800C4B60: +/* 800C4B60 000C1AC0 2C 1C FF FF */ cmpwi r28, -1 +/* 800C4B64 000C1AC4 41 82 00 14 */ beq lbl_800C4B78 +/* 800C4B68 000C1AC8 57 83 18 38 */ slwi r3, r28, 3 +/* 800C4B6C 000C1ACC 38 03 00 08 */ addi r0, r3, 8 +/* 800C4B70 000C1AD0 7F 9F 02 AE */ lhax r28, r31, r0 +/* 800C4B74 000C1AD4 48 00 00 08 */ b lbl_800C4B7C +lbl_800C4B78: +/* 800C4B78 000C1AD8 3B 80 FF FF */ li r28, -1 +lbl_800C4B7C: +/* 800C4B7C 000C1ADC 2C 1C FF FF */ cmpwi r28, -1 +/* 800C4B80 000C1AE0 40 82 FE 54 */ bne lbl_800C49D4 +/* 800C4B84 000C1AE4 BB 21 00 54 */ lmw r25, 0x54(r1) +/* 800C4B88 000C1AE8 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800C4B8C 000C1AEC 7C 08 03 A6 */ mtlr r0 +/* 800C4B90 000C1AF0 38 21 00 70 */ addi r1, r1, 0x70 +/* 800C4B94 000C1AF4 4E 80 00 20 */ blr + +.global sub_800c4b98 +sub_800c4b98: +/* 800C4B98 000C1AF8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800C4B9C 000C1AFC 7C 08 02 A6 */ mflr r0 +/* 800C4BA0 000C1B00 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C4BA4 000C1B04 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800C4BA8 000C1B08 7C 7F 1B 78 */ mr r31, r3 +/* 800C4BAC 000C1B0C 80 C5 00 00 */ lwz r6, 0(r5) +/* 800C4BB0 000C1B10 80 05 00 00 */ lwz r0, 0(r5) +/* 800C4BB4 000C1B14 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800C4BB8 000C1B18 38 E6 00 0C */ addi r7, r6, 0xc +/* 800C4BBC 000C1B1C 38 C1 00 0C */ addi r6, r1, 0xc +/* 800C4BC0 000C1B20 90 E1 00 08 */ stw r7, 8(r1) +/* 800C4BC4 000C1B24 90 E1 00 0C */ stw r7, 0xc(r1) +/* 800C4BC8 000C1B28 90 01 00 10 */ stw r0, 0x10(r1) +/* 800C4BCC 000C1B2C 48 00 00 19 */ bl sub_800c4be4 +/* 800C4BD0 000C1B30 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C4BD4 000C1B34 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800C4BD8 000C1B38 7C 08 03 A6 */ mtlr r0 +/* 800C4BDC 000C1B3C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800C4BE0 000C1B40 4E 80 00 20 */ blr + +.global sub_800c4be4 +sub_800c4be4: +/* 800C4BE4 000C1B44 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C4BE8 000C1B48 80 E5 00 00 */ lwz r7, 0(r5) +/* 800C4BEC 000C1B4C 80 06 00 00 */ lwz r0, 0(r6) +/* 800C4BF0 000C1B50 90 E1 00 0C */ stw r7, 0xc(r1) +/* 800C4BF4 000C1B54 90 01 00 08 */ stw r0, 8(r1) +/* 800C4BF8 000C1B58 48 00 00 08 */ b lbl_800C4C00 +lbl_800C4BFC: +/* 800C4BFC 000C1B5C 38 E7 00 0C */ addi r7, r7, 0xc +lbl_800C4C00: +/* 800C4C00 000C1B60 7C 07 00 40 */ cmplw r7, r0 +/* 800C4C04 000C1B64 40 82 FF F8 */ bne lbl_800C4BFC +/* 800C4C08 000C1B68 81 24 00 0C */ lwz r9, 0xc(r4) +/* 800C4C0C 000C1B6C 3C E0 2A AB */ lis r7, 0x2AAAAAAB@ha +/* 800C4C10 000C1B70 80 05 00 00 */ lwz r0, 0(r5) +/* 800C4C14 000C1B74 38 E7 AA AB */ addi r7, r7, 0x2AAAAAAB@l +/* 800C4C18 000C1B78 81 06 00 00 */ lwz r8, 0(r6) +/* 800C4C1C 000C1B7C 7C 09 00 50 */ subf r0, r9, r0 +/* 800C4C20 000C1B80 7C 07 00 96 */ mulhw r0, r7, r0 +/* 800C4C24 000C1B84 7C 00 0E 70 */ srawi r0, r0, 1 +/* 800C4C28 000C1B88 54 06 0F FE */ srwi r6, r0, 0x1f +/* 800C4C2C 000C1B8C 7C C0 32 14 */ add r6, r0, r6 +/* 800C4C30 000C1B90 1C 06 00 0C */ mulli r0, r6, 0xc +/* 800C4C34 000C1B94 7C CA 33 78 */ mr r10, r6 +/* 800C4C38 000C1B98 7C E9 02 14 */ add r7, r9, r0 +/* 800C4C3C 000C1B9C 48 00 00 30 */ b lbl_800C4C6C +lbl_800C4C40: +/* 800C4C40 000C1BA0 28 07 00 00 */ cmplwi r7, 0 +/* 800C4C44 000C1BA4 41 82 00 1C */ beq lbl_800C4C60 +/* 800C4C48 000C1BA8 80 08 00 00 */ lwz r0, 0(r8) +/* 800C4C4C 000C1BAC 90 07 00 00 */ stw r0, 0(r7) +/* 800C4C50 000C1BB0 80 08 00 04 */ lwz r0, 4(r8) +/* 800C4C54 000C1BB4 90 07 00 04 */ stw r0, 4(r7) +/* 800C4C58 000C1BB8 80 08 00 08 */ lwz r0, 8(r8) +/* 800C4C5C 000C1BBC 90 07 00 08 */ stw r0, 8(r7) +lbl_800C4C60: +/* 800C4C60 000C1BC0 38 E7 00 0C */ addi r7, r7, 0xc +/* 800C4C64 000C1BC4 39 4A 00 01 */ addi r10, r10, 1 +/* 800C4C68 000C1BC8 39 08 00 0C */ addi r8, r8, 0xc +lbl_800C4C6C: +/* 800C4C6C 000C1BCC 80 04 00 04 */ lwz r0, 4(r4) +/* 800C4C70 000C1BD0 80 C4 00 0C */ lwz r6, 0xc(r4) +/* 800C4C74 000C1BD4 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800C4C78 000C1BD8 7C 06 02 14 */ add r0, r6, r0 +/* 800C4C7C 000C1BDC 7C 08 00 40 */ cmplw r8, r0 +/* 800C4C80 000C1BE0 40 82 FF C0 */ bne lbl_800C4C40 +/* 800C4C84 000C1BE4 91 44 00 04 */ stw r10, 4(r4) +/* 800C4C88 000C1BE8 80 05 00 00 */ lwz r0, 0(r5) +/* 800C4C8C 000C1BEC 90 03 00 00 */ stw r0, 0(r3) +/* 800C4C90 000C1BF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C4C94 000C1BF4 4E 80 00 20 */ blr + +.global RemoveHelper__17CScriptCameraHintF9TUniqueId +RemoveHelper__17CScriptCameraHintF9TUniqueId: +/* 800C4C98 000C1BF8 80 03 01 50 */ lwz r0, 0x150(r3) +/* 800C4C9C 000C1BFC 2C 00 00 00 */ cmpwi r0, 0 +/* 800C4CA0 000C1C00 4D 82 00 20 */ beqlr +/* 800C4CA4 000C1C04 38 E3 01 54 */ addi r7, r3, 0x154 +/* 800C4CA8 000C1C08 54 00 08 3C */ slwi r0, r0, 1 +/* 800C4CAC 000C1C0C 7C E6 3B 78 */ mr r6, r7 +/* 800C4CB0 000C1C10 7D 07 02 14 */ add r8, r7, r0 +/* 800C4CB4 000C1C14 48 00 00 08 */ b lbl_800C4CBC +lbl_800C4CB8: +/* 800C4CB8 000C1C18 38 C6 00 02 */ addi r6, r6, 2 +lbl_800C4CBC: +/* 800C4CBC 000C1C1C 7C 06 40 40 */ cmplw r6, r8 +/* 800C4CC0 000C1C20 41 82 00 14 */ beq lbl_800C4CD4 +/* 800C4CC4 000C1C24 A0 A6 00 00 */ lhz r5, 0(r6) +/* 800C4CC8 000C1C28 A0 04 00 00 */ lhz r0, 0(r4) +/* 800C4CCC 000C1C2C 7C 05 00 40 */ cmplw r5, r0 +/* 800C4CD0 000C1C30 40 82 FF E8 */ bne lbl_800C4CB8 +lbl_800C4CD4: +/* 800C4CD4 000C1C34 7C 06 40 40 */ cmplw r6, r8 +/* 800C4CD8 000C1C38 40 82 00 4C */ bne lbl_800C4D24 +/* 800C4CDC 000C1C3C 7C 07 38 40 */ cmplw r7, r7 +/* 800C4CE0 000C1C40 4D 80 00 20 */ bltlr +/* 800C4CE4 000C1C44 7C 07 40 40 */ cmplw r7, r8 +/* 800C4CE8 000C1C48 4C 80 00 20 */ bgelr +/* 800C4CEC 000C1C4C 7C E6 3B 78 */ mr r6, r7 +/* 800C4CF0 000C1C50 48 00 00 10 */ b lbl_800C4D00 +lbl_800C4CF4: +/* 800C4CF4 000C1C54 A0 06 00 02 */ lhz r0, 2(r6) +/* 800C4CF8 000C1C58 B0 06 00 00 */ sth r0, 0(r6) +/* 800C4CFC 000C1C5C 38 C6 00 02 */ addi r6, r6, 2 +lbl_800C4D00: +/* 800C4D00 000C1C60 80 A3 01 50 */ lwz r5, 0x150(r3) +/* 800C4D04 000C1C64 54 A4 08 3C */ slwi r4, r5, 1 +/* 800C4D08 000C1C68 38 04 FF FE */ addi r0, r4, -2 +/* 800C4D0C 000C1C6C 7C 07 02 14 */ add r0, r7, r0 +/* 800C4D10 000C1C70 7C 06 00 40 */ cmplw r6, r0 +/* 800C4D14 000C1C74 41 80 FF E0 */ blt lbl_800C4CF4 +/* 800C4D18 000C1C78 38 05 FF FF */ addi r0, r5, -1 +/* 800C4D1C 000C1C7C 90 03 01 50 */ stw r0, 0x150(r3) +/* 800C4D20 000C1C80 4E 80 00 20 */ blr +lbl_800C4D24: +/* 800C4D24 000C1C84 7C 06 38 40 */ cmplw r6, r7 +/* 800C4D28 000C1C88 4D 80 00 20 */ bltlr +/* 800C4D2C 000C1C8C 7C 06 40 40 */ cmplw r6, r8 +/* 800C4D30 000C1C90 4C 80 00 20 */ bgelr +/* 800C4D34 000C1C94 48 00 00 10 */ b lbl_800C4D44 +lbl_800C4D38: +/* 800C4D38 000C1C98 A0 06 00 02 */ lhz r0, 2(r6) +/* 800C4D3C 000C1C9C B0 06 00 00 */ sth r0, 0(r6) +/* 800C4D40 000C1CA0 38 C6 00 02 */ addi r6, r6, 2 +lbl_800C4D44: +/* 800C4D44 000C1CA4 80 A3 01 50 */ lwz r5, 0x150(r3) +/* 800C4D48 000C1CA8 54 A4 08 3C */ slwi r4, r5, 1 +/* 800C4D4C 000C1CAC 38 04 FF FE */ addi r0, r4, -2 +/* 800C4D50 000C1CB0 7C 07 02 14 */ add r0, r7, r0 +/* 800C4D54 000C1CB4 7C 06 00 40 */ cmplw r6, r0 +/* 800C4D58 000C1CB8 41 80 FF E0 */ blt lbl_800C4D38 +/* 800C4D5C 000C1CBC 38 05 FF FF */ addi r0, r5, -1 +/* 800C4D60 000C1CC0 90 03 01 50 */ stw r0, 0x150(r3) +/* 800C4D64 000C1CC4 4E 80 00 20 */ blr + +.global AddHelper__17CScriptCameraHintF9TUniqueId +AddHelper__17CScriptCameraHintF9TUniqueId: +/* 800C4D68 000C1CC8 80 03 01 50 */ lwz r0, 0x150(r3) +/* 800C4D6C 000C1CCC 38 C3 01 54 */ addi r6, r3, 0x154 +/* 800C4D70 000C1CD0 54 00 08 3C */ slwi r0, r0, 1 +/* 800C4D74 000C1CD4 7C E6 02 14 */ add r7, r6, r0 +/* 800C4D78 000C1CD8 48 00 00 08 */ b lbl_800C4D80 +lbl_800C4D7C: +/* 800C4D7C 000C1CDC 38 C6 00 02 */ addi r6, r6, 2 +lbl_800C4D80: +/* 800C4D80 000C1CE0 7C 06 38 40 */ cmplw r6, r7 +/* 800C4D84 000C1CE4 41 82 00 14 */ beq lbl_800C4D98 +/* 800C4D88 000C1CE8 A0 A6 00 00 */ lhz r5, 0(r6) +/* 800C4D8C 000C1CEC A0 04 00 00 */ lhz r0, 0(r4) +/* 800C4D90 000C1CF0 7C 05 00 40 */ cmplw r5, r0 +/* 800C4D94 000C1CF4 40 82 FF E8 */ bne lbl_800C4D7C +lbl_800C4D98: +/* 800C4D98 000C1CF8 7C 06 38 40 */ cmplw r6, r7 +/* 800C4D9C 000C1CFC 4C 82 00 20 */ bnelr +/* 800C4DA0 000C1D00 28 07 00 00 */ cmplwi r7, 0 +/* 800C4DA4 000C1D04 41 82 00 0C */ beq lbl_800C4DB0 +/* 800C4DA8 000C1D08 A0 04 00 00 */ lhz r0, 0(r4) +/* 800C4DAC 000C1D0C B0 07 00 00 */ sth r0, 0(r7) +lbl_800C4DB0: +/* 800C4DB0 000C1D10 80 83 01 50 */ lwz r4, 0x150(r3) +/* 800C4DB4 000C1D14 38 04 00 01 */ addi r0, r4, 1 +/* 800C4DB8 000C1D18 90 03 01 50 */ stw r0, 0x150(r3) +/* 800C4DBC 000C1D1C 4E 80 00 20 */ blr + +.global ClearIdList__17CScriptCameraHintFv +ClearIdList__17CScriptCameraHintFv: +/* 800C4DC0 000C1D20 80 C3 01 50 */ lwz r6, 0x150(r3) +/* 800C4DC4 000C1D24 38 80 00 00 */ li r4, 0 +/* 800C4DC8 000C1D28 2C 06 00 00 */ cmpwi r6, 0 +/* 800C4DCC 000C1D2C 40 81 00 40 */ ble lbl_800C4E0C +/* 800C4DD0 000C1D30 2C 06 00 08 */ cmpwi r6, 8 +/* 800C4DD4 000C1D34 38 A6 FF F8 */ addi r5, r6, -8 +/* 800C4DD8 000C1D38 40 81 00 20 */ ble lbl_800C4DF8 +/* 800C4DDC 000C1D3C 38 05 00 07 */ addi r0, r5, 7 +/* 800C4DE0 000C1D40 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C4DE4 000C1D44 7C 09 03 A6 */ mtctr r0 +/* 800C4DE8 000C1D48 2C 05 00 00 */ cmpwi r5, 0 +/* 800C4DEC 000C1D4C 40 81 00 0C */ ble lbl_800C4DF8 +lbl_800C4DF0: +/* 800C4DF0 000C1D50 38 84 00 08 */ addi r4, r4, 8 +/* 800C4DF4 000C1D54 42 00 FF FC */ bdnz lbl_800C4DF0 +lbl_800C4DF8: +/* 800C4DF8 000C1D58 7C 04 30 50 */ subf r0, r4, r6 +/* 800C4DFC 000C1D5C 7C 09 03 A6 */ mtctr r0 +/* 800C4E00 000C1D60 7C 04 30 00 */ cmpw r4, r6 +/* 800C4E04 000C1D64 40 80 00 08 */ bge lbl_800C4E0C +lbl_800C4E08: +/* 800C4E08 000C1D68 42 00 00 00 */ bdnz lbl_800C4E08 +lbl_800C4E0C: +/* 800C4E0C 000C1D6C 38 00 00 00 */ li r0, 0 +/* 800C4E10 000C1D70 90 03 01 50 */ stw r0, 0x150(r3) +/* 800C4E14 000C1D74 4E 80 00 20 */ blr + +.global GetFirstHelper__17CScriptCameraHintCFv +GetFirstHelper__17CScriptCameraHintCFv: +/* 800C4E18 000C1D78 80 04 01 50 */ lwz r0, 0x150(r4) +/* 800C4E1C 000C1D7C 2C 00 00 00 */ cmpwi r0, 0 +/* 800C4E20 000C1D80 40 81 00 10 */ ble lbl_800C4E30 +/* 800C4E24 000C1D84 A0 04 01 54 */ lhz r0, 0x154(r4) +/* 800C4E28 000C1D88 B0 03 00 00 */ sth r0, 0(r3) +/* 800C4E2C 000C1D8C 4E 80 00 20 */ blr +lbl_800C4E30: +/* 800C4E30 000C1D90 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800C4E34 000C1D94 B0 03 00 00 */ sth r0, 0(r3) +/* 800C4E38 000C1D98 4E 80 00 20 */ blr + +.global __dt__17CScriptCameraHintFv +__dt__17CScriptCameraHintFv: +/* 800C4E3C 000C1D9C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C4E40 000C1DA0 7C 08 02 A6 */ mflr r0 +/* 800C4E44 000C1DA4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C4E48 000C1DA8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800C4E4C 000C1DAC 7C 9F 23 78 */ mr r31, r4 +/* 800C4E50 000C1DB0 93 C1 00 08 */ stw r30, 8(r1) +/* 800C4E54 000C1DB4 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800C4E58 000C1DB8 41 82 00 9C */ beq lbl_800C4EF4 +/* 800C4E5C 000C1DBC 3C 60 80 3E */ lis r3, lbl_803DF688@ha +/* 800C4E60 000C1DC0 34 1E 01 50 */ addic. r0, r30, 0x150 +/* 800C4E64 000C1DC4 38 03 F6 88 */ addi r0, r3, lbl_803DF688@l +/* 800C4E68 000C1DC8 90 1E 00 00 */ stw r0, 0(r30) +/* 800C4E6C 000C1DCC 41 82 00 58 */ beq lbl_800C4EC4 +/* 800C4E70 000C1DD0 80 BE 01 50 */ lwz r5, 0x150(r30) +/* 800C4E74 000C1DD4 38 60 00 00 */ li r3, 0 +/* 800C4E78 000C1DD8 2C 05 00 00 */ cmpwi r5, 0 +/* 800C4E7C 000C1DDC 40 81 00 40 */ ble lbl_800C4EBC +/* 800C4E80 000C1DE0 2C 05 00 08 */ cmpwi r5, 8 +/* 800C4E84 000C1DE4 38 85 FF F8 */ addi r4, r5, -8 +/* 800C4E88 000C1DE8 40 81 00 20 */ ble lbl_800C4EA8 +/* 800C4E8C 000C1DEC 38 04 00 07 */ addi r0, r4, 7 +/* 800C4E90 000C1DF0 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C4E94 000C1DF4 7C 09 03 A6 */ mtctr r0 +/* 800C4E98 000C1DF8 2C 04 00 00 */ cmpwi r4, 0 +/* 800C4E9C 000C1DFC 40 81 00 0C */ ble lbl_800C4EA8 +lbl_800C4EA0: +/* 800C4EA0 000C1E00 38 63 00 08 */ addi r3, r3, 8 +/* 800C4EA4 000C1E04 42 00 FF FC */ bdnz lbl_800C4EA0 +lbl_800C4EA8: +/* 800C4EA8 000C1E08 7C 03 28 50 */ subf r0, r3, r5 +/* 800C4EAC 000C1E0C 7C 09 03 A6 */ mtctr r0 +/* 800C4EB0 000C1E10 7C 03 28 00 */ cmpw r3, r5 +/* 800C4EB4 000C1E14 40 80 00 08 */ bge lbl_800C4EBC +lbl_800C4EB8: +/* 800C4EB8 000C1E18 42 00 00 00 */ bdnz lbl_800C4EB8 +lbl_800C4EBC: +/* 800C4EBC 000C1E1C 38 00 00 00 */ li r0, 0 +/* 800C4EC0 000C1E20 90 1E 01 50 */ stw r0, 0x150(r30) +lbl_800C4EC4: +/* 800C4EC4 000C1E24 34 1E 00 EC */ addic. r0, r30, 0xec +/* 800C4EC8 000C1E28 41 82 00 10 */ beq lbl_800C4ED8 +/* 800C4ECC 000C1E2C 3C 60 80 3E */ lis r3, lbl_803DF6F4@ha +/* 800C4ED0 000C1E30 38 03 F6 F4 */ addi r0, r3, lbl_803DF6F4@l +/* 800C4ED4 000C1E34 90 1E 00 EC */ stw r0, 0xec(r30) +lbl_800C4ED8: +/* 800C4ED8 000C1E38 7F C3 F3 78 */ mr r3, r30 +/* 800C4EDC 000C1E3C 38 80 00 00 */ li r4, 0 +/* 800C4EE0 000C1E40 4B F9 08 11 */ bl __dt__6CActorFv +/* 800C4EE4 000C1E44 7F E0 07 35 */ extsh. r0, r31 +/* 800C4EE8 000C1E48 40 81 00 0C */ ble lbl_800C4EF4 +/* 800C4EEC 000C1E4C 7F C3 F3 78 */ mr r3, r30 +/* 800C4EF0 000C1E50 48 25 0A 41 */ bl Free__7CMemoryFPCv +lbl_800C4EF4: +/* 800C4EF4 000C1E54 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C4EF8 000C1E58 7F C3 F3 78 */ mr r3, r30 +/* 800C4EFC 000C1E5C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800C4F00 000C1E60 83 C1 00 08 */ lwz r30, 8(r1) +/* 800C4F04 000C1E64 7C 08 03 A6 */ mtlr r0 +/* 800C4F08 000C1E68 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C4F0C 000C1E6C 4E 80 00 20 */ blr + +.global "__ct__17CScriptCameraHintF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbiQ211CBallCamera20EBallCameraBehaviourifffRC13CCameraSpringRC13CCameraSpringfRC9CVector3fRC9CVector3ff" +"__ct__17CScriptCameraHintF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbiQ211CBallCamera20EBallCameraBehaviourifffRC13CCameraSpringRC13CCameraSpringfRC9CVector3fRC9CVector3ff": +/* 800C4F10 000C1E70 94 21 FE 10 */ stwu r1, -0x1f0(r1) +/* 800C4F14 000C1E74 7C 08 02 A6 */ mflr r0 +/* 800C4F18 000C1E78 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 800C4F1C 000C1E7C DB E1 01 E0 */ stfd f31, 0x1e0(r1) +/* 800C4F20 000C1E80 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 +/* 800C4F24 000C1E84 DB C1 01 D0 */ stfd f30, 0x1d0(r1) +/* 800C4F28 000C1E88 F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 +/* 800C4F2C 000C1E8C DB A1 01 C0 */ stfd f29, 0x1c0(r1) +/* 800C4F30 000C1E90 F3 A1 01 C8 */ psq_st f29, 456(r1), 0, qr0 +/* 800C4F34 000C1E94 DB 81 01 B0 */ stfd f28, 0x1b0(r1) +/* 800C4F38 000C1E98 F3 81 01 B8 */ psq_st f28, 440(r1), 0, qr0 +/* 800C4F3C 000C1E9C DB 61 01 A0 */ stfd f27, 0x1a0(r1) +/* 800C4F40 000C1EA0 F3 61 01 A8 */ psq_st f27, 424(r1), 0, qr0 +/* 800C4F44 000C1EA4 DB 41 01 90 */ stfd f26, 0x190(r1) +/* 800C4F48 000C1EA8 F3 41 01 98 */ psq_st f26, 408(r1), 0, qr0 +/* 800C4F4C 000C1EAC DB 21 01 80 */ stfd f25, 0x180(r1) +/* 800C4F50 000C1EB0 F3 21 01 88 */ psq_st f25, 392(r1), 0, qr0 +/* 800C4F54 000C1EB4 DB 01 01 70 */ stfd f24, 0x170(r1) +/* 800C4F58 000C1EB8 F3 01 01 78 */ psq_st f24, 376(r1), 0, qr0 +/* 800C4F5C 000C1EBC DA E1 01 60 */ stfd f23, 0x160(r1) +/* 800C4F60 000C1EC0 F2 E1 01 68 */ psq_st f23, 360(r1), 0, qr0 +/* 800C4F64 000C1EC4 DA C1 01 50 */ stfd f22, 0x150(r1) +/* 800C4F68 000C1EC8 F2 C1 01 58 */ psq_st f22, 344(r1), 0, qr0 +/* 800C4F6C 000C1ECC DA A1 01 40 */ stfd f21, 0x140(r1) +/* 800C4F70 000C1ED0 F2 A1 01 48 */ psq_st f21, 328(r1), 0, qr0 +/* 800C4F74 000C1ED4 DA 81 01 30 */ stfd f20, 0x130(r1) +/* 800C4F78 000C1ED8 F2 81 01 38 */ psq_st f20, 312(r1), 0, qr0 +/* 800C4F7C 000C1EDC DA 61 01 20 */ stfd f19, 0x120(r1) +/* 800C4F80 000C1EE0 F2 61 01 28 */ psq_st f19, 296(r1), 0, qr0 +/* 800C4F84 000C1EE4 BE 81 00 F0 */ stmw r20, 0xf0(r1) +/* 800C4F88 000C1EE8 FE 60 08 90 */ fmr f19, f1 +/* 800C4F8C 000C1EEC 7C 74 1B 78 */ mr r20, r3 +/* 800C4F90 000C1EF0 FE 80 10 90 */ fmr f20, f2 +/* 800C4F94 000C1EF4 83 81 01 F8 */ lwz r28, 0x1f8(r1) +/* 800C4F98 000C1EF8 FE A0 18 90 */ fmr f21, f3 +/* 800C4F9C 000C1EFC 83 A1 01 FC */ lwz r29, 0x1fc(r1) +/* 800C4FA0 000C1F00 FE C0 20 90 */ fmr f22, f4 +/* 800C4FA4 000C1F04 83 C1 02 00 */ lwz r30, 0x200(r1) +/* 800C4FA8 000C1F08 FE E0 28 90 */ fmr f23, f5 +/* 800C4FAC 000C1F0C 83 E1 02 04 */ lwz r31, 0x204(r1) +/* 800C4FB0 000C1F10 FF 00 30 90 */ fmr f24, f6 +/* 800C4FB4 000C1F14 C3 61 02 08 */ lfs f27, 0x208(r1) +/* 800C4FB8 000C1F18 FF 20 38 90 */ fmr f25, f7 +/* 800C4FBC 000C1F1C C3 81 02 0C */ lfs f28, 0x20c(r1) +/* 800C4FC0 000C1F20 FF 40 40 90 */ fmr f26, f8 +/* 800C4FC4 000C1F24 C3 A1 02 10 */ lfs f29, 0x210(r1) +/* 800C4FC8 000C1F28 C3 C1 02 14 */ lfs f30, 0x214(r1) +/* 800C4FCC 000C1F2C 7C 95 23 78 */ mr r21, r4 +/* 800C4FD0 000C1F30 C3 E1 02 18 */ lfs f31, 0x218(r1) +/* 800C4FD4 000C1F34 7C B6 2B 78 */ mr r22, r5 +/* 800C4FD8 000C1F38 7C D7 33 78 */ mr r23, r6 +/* 800C4FDC 000C1F3C 7C F8 3B 78 */ mr r24, r7 +/* 800C4FE0 000C1F40 7D 19 43 78 */ mr r25, r8 +/* 800C4FE4 000C1F44 7D 3A 4B 78 */ mr r26, r9 +/* 800C4FE8 000C1F48 7D 5B 53 78 */ mr r27, r10 +/* 800C4FEC 000C1F4C 38 61 00 98 */ addi r3, r1, 0x98 +/* 800C4FF0 000C1F50 4B F7 57 B5 */ bl CModelDataNull__10CModelDataFv +/* 800C4FF4 000C1F54 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C4FF8 000C1F58 4B F5 5E 41 */ bl None__16CActorParametersFv +/* 800C4FFC 000C1F5C A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 800C5000 000C1F60 38 00 00 00 */ li r0, 0 +/* 800C5004 000C1F64 80 AD 86 D8 */ lwz r5, lbl_805A7298@sda21(r13) +/* 800C5008 000C1F68 38 60 00 00 */ li r3, 0 +/* 800C500C 000C1F6C B0 81 00 20 */ sth r4, 0x20(r1) +/* 800C5010 000C1F70 38 80 00 01 */ li r4, 1 +/* 800C5014 000C1F74 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800C5018 000C1F78 90 01 00 28 */ stw r0, 0x28(r1) +/* 800C501C 000C1F7C 48 2C 4E D9 */ bl __shl2i +/* 800C5020 000C1F80 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 800C5024 000C1F84 39 61 00 30 */ addi r11, r1, 0x30 +/* 800C5028 000C1F88 80 C1 00 2C */ lwz r6, 0x2c(r1) +/* 800C502C 000C1F8C 38 01 00 20 */ addi r0, r1, 0x20 +/* 800C5030 000C1F90 7C A3 1B 78 */ or r3, r5, r3 +/* 800C5034 000C1F94 A1 35 00 00 */ lhz r9, 0(r21) +/* 800C5038 000C1F98 7C C4 23 78 */ or r4, r6, r4 +/* 800C503C 000C1F9C 90 61 00 28 */ stw r3, 0x28(r1) +/* 800C5040 000C1FA0 7E 83 A3 78 */ mr r3, r20 +/* 800C5044 000C1FA4 7F 25 CB 78 */ mr r5, r25 +/* 800C5048 000C1FA8 90 81 00 2C */ stw r4, 0x2c(r1) +/* 800C504C 000C1FAC 7E C6 B3 78 */ mr r6, r22 +/* 800C5050 000C1FB0 7E E7 BB 78 */ mr r7, r23 +/* 800C5054 000C1FB4 7F 08 C3 78 */ mr r8, r24 +/* 800C5058 000C1FB8 B1 21 00 24 */ sth r9, 0x24(r1) +/* 800C505C 000C1FBC 38 81 00 24 */ addi r4, r1, 0x24 +/* 800C5060 000C1FC0 39 21 00 98 */ addi r9, r1, 0x98 +/* 800C5064 000C1FC4 39 41 00 28 */ addi r10, r1, 0x28 +/* 800C5068 000C1FC8 91 61 00 08 */ stw r11, 8(r1) +/* 800C506C 000C1FCC 90 01 00 0C */ stw r0, 0xc(r1) +/* 800C5070 000C1FD0 4B F9 07 B1 */ bl "__ct__6CActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC16CActorParameters9TUniqueId" +/* 800C5074 000C1FD4 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C5078 000C1FD8 38 80 FF FF */ li r4, -1 +/* 800C507C 000C1FDC 48 04 15 8D */ bl __dt__16CActorParametersFv +/* 800C5080 000C1FE0 38 61 00 98 */ addi r3, r1, 0x98 +/* 800C5084 000C1FE4 38 80 FF FF */ li r4, -1 +/* 800C5088 000C1FE8 48 05 19 C5 */ bl __dt__10CModelDataFv +/* 800C508C 000C1FEC 3C 60 80 3E */ lis r3, lbl_803DF688@ha +/* 800C5090 000C1FF0 FC 20 98 90 */ fmr f1, f19 +/* 800C5094 000C1FF4 38 03 F6 88 */ addi r0, r3, lbl_803DF688@l +/* 800C5098 000C1FF8 FC 40 A0 90 */ fmr f2, f20 +/* 800C509C 000C1FFC 90 14 00 00 */ stw r0, 0(r20) +/* 800C50A0 000C2000 FC 60 A8 90 */ fmr f3, f21 +/* 800C50A4 000C2004 FC 80 B0 90 */ fmr f4, f22 +/* 800C50A8 000C2008 93 54 00 E8 */ stw r26, 0xe8(r20) +/* 800C50AC 000C200C FC A0 B8 90 */ fmr f5, f23 +/* 800C50B0 000C2010 FC C0 C0 90 */ fmr f6, f24 +/* 800C50B4 000C2014 7F 84 E3 78 */ mr r4, r28 +/* 800C50B8 000C2018 D3 61 00 08 */ stfs f27, 8(r1) +/* 800C50BC 000C201C FC E0 C8 90 */ fmr f7, f25 +/* 800C50C0 000C2020 7F 65 DB 78 */ mr r5, r27 +/* 800C50C4 000C2024 D3 81 00 0C */ stfs f28, 0xc(r1) +/* 800C50C8 000C2028 FD 00 D0 90 */ fmr f8, f26 +/* 800C50CC 000C202C 7F A6 EB 78 */ mr r6, r29 +/* 800C50D0 000C2030 D3 A1 00 10 */ stfs f29, 0x10(r1) +/* 800C50D4 000C2034 7F C7 F3 78 */ mr r7, r30 +/* 800C50D8 000C2038 7F E8 FB 78 */ mr r8, r31 +/* 800C50DC 000C203C D3 C1 00 14 */ stfs f30, 0x14(r1) +/* 800C50E0 000C2040 38 74 00 EC */ addi r3, r20, 0xec +/* 800C50E4 000C2044 D3 E1 00 18 */ stfs f31, 0x18(r1) +/* 800C50E8 000C2048 48 00 00 ED */ bl __ct__11CCameraHintFiQ211CBallCamera20EBallCameraBehaviourfffRC9CVector3fRC9CVector3fRC9CVector3fffffffffff +/* 800C50EC 000C204C 38 A0 00 00 */ li r5, 0 +/* 800C50F0 000C2050 7F 04 C3 78 */ mr r4, r24 +/* 800C50F4 000C2054 90 B4 01 50 */ stw r5, 0x150(r20) +/* 800C50F8 000C2058 38 74 01 68 */ addi r3, r20, 0x168 +/* 800C50FC 000C205C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800C5100 000C2060 B0 14 01 64 */ sth r0, 0x164(r20) +/* 800C5104 000C2064 98 B4 01 66 */ stb r5, 0x166(r20) +/* 800C5108 000C2068 48 24 DA 6D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800C510C 000C206C 7E 83 A3 78 */ mr r3, r20 +/* 800C5110 000C2070 E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 +/* 800C5114 000C2074 CB E1 01 E0 */ lfd f31, 0x1e0(r1) +/* 800C5118 000C2078 E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 +/* 800C511C 000C207C CB C1 01 D0 */ lfd f30, 0x1d0(r1) +/* 800C5120 000C2080 E3 A1 01 C8 */ psq_l f29, 456(r1), 0, qr0 +/* 800C5124 000C2084 CB A1 01 C0 */ lfd f29, 0x1c0(r1) +/* 800C5128 000C2088 E3 81 01 B8 */ psq_l f28, 440(r1), 0, qr0 +/* 800C512C 000C208C CB 81 01 B0 */ lfd f28, 0x1b0(r1) +/* 800C5130 000C2090 E3 61 01 A8 */ psq_l f27, 424(r1), 0, qr0 +/* 800C5134 000C2094 CB 61 01 A0 */ lfd f27, 0x1a0(r1) +/* 800C5138 000C2098 E3 41 01 98 */ psq_l f26, 408(r1), 0, qr0 +/* 800C513C 000C209C CB 41 01 90 */ lfd f26, 0x190(r1) +/* 800C5140 000C20A0 E3 21 01 88 */ psq_l f25, 392(r1), 0, qr0 +/* 800C5144 000C20A4 CB 21 01 80 */ lfd f25, 0x180(r1) +/* 800C5148 000C20A8 E3 01 01 78 */ psq_l f24, 376(r1), 0, qr0 +/* 800C514C 000C20AC CB 01 01 70 */ lfd f24, 0x170(r1) +/* 800C5150 000C20B0 E2 E1 01 68 */ psq_l f23, 360(r1), 0, qr0 +/* 800C5154 000C20B4 CA E1 01 60 */ lfd f23, 0x160(r1) +/* 800C5158 000C20B8 E2 C1 01 58 */ psq_l f22, 344(r1), 0, qr0 +/* 800C515C 000C20BC CA C1 01 50 */ lfd f22, 0x150(r1) +/* 800C5160 000C20C0 E2 A1 01 48 */ psq_l f21, 328(r1), 0, qr0 +/* 800C5164 000C20C4 CA A1 01 40 */ lfd f21, 0x140(r1) +/* 800C5168 000C20C8 E2 81 01 38 */ psq_l f20, 312(r1), 0, qr0 +/* 800C516C 000C20CC CA 81 01 30 */ lfd f20, 0x130(r1) +/* 800C5170 000C20D0 E2 61 01 28 */ psq_l f19, 296(r1), 0, qr0 +/* 800C5174 000C20D4 CA 61 01 20 */ lfd f19, 0x120(r1) +/* 800C5178 000C20D8 BA 81 00 F0 */ lmw r20, 0xf0(r1) +/* 800C517C 000C20DC 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 800C5180 000C20E0 7C 08 03 A6 */ mtlr r0 +/* 800C5184 000C20E4 38 21 01 F0 */ addi r1, r1, 0x1f0 +/* 800C5188 000C20E8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CScriptDock.s b/asm/Kyoto_CWD/CScriptDock.s new file mode 100644 index 00000000..985222fb --- /dev/null +++ b/asm/Kyoto_CWD/CScriptDock.s @@ -0,0 +1,1094 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global GetCurrentConnectedAreaId__11CScriptDockCFRC13CStateManager +GetCurrentConnectedAreaId__11CScriptDockCFRC13CStateManager: +/* 800C3700 000C0660 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800C3704 000C0664 7C 08 02 A6 */ mflr r0 +/* 800C3708 000C0668 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C370C 000C066C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800C3710 000C0670 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800C3714 000C0674 7C 7E 1B 78 */ mr r30, r3 +/* 800C3718 000C0678 80 A5 08 50 */ lwz r5, 0x850(r5) +/* 800C371C 000C067C 80 C4 02 60 */ lwz r6, 0x260(r4) +/* 800C3720 000C0680 80 05 00 18 */ lwz r0, 0x18(r5) +/* 800C3724 000C0684 7C 00 30 00 */ cmpw r0, r6 +/* 800C3728 000C0688 40 81 00 54 */ ble lbl_800C377C +/* 800C372C 000C068C 54 C3 18 38 */ slwi r3, r6, 3 +/* 800C3730 000C0690 80 A5 00 20 */ lwz r5, 0x20(r5) +/* 800C3734 000C0694 38 03 00 04 */ addi r0, r3, 4 +/* 800C3738 000C0698 80 84 02 5C */ lwz r4, 0x25c(r4) +/* 800C373C 000C069C 7C 65 00 2E */ lwzx r3, r5, r0 +/* 800C3740 000C06A0 90 C1 00 08 */ stw r6, 8(r1) +/* 800C3744 000C06A4 80 03 00 D0 */ lwz r0, 0xd0(r3) +/* 800C3748 000C06A8 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800C374C 000C06AC 7C 00 20 00 */ cmpw r0, r4 +/* 800C3750 000C06B0 40 81 00 2C */ ble lbl_800C377C +/* 800C3754 000C06B4 1C 04 00 4C */ mulli r0, r4, 0x4c +/* 800C3758 000C06B8 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 800C375C 000C06BC 7F E3 02 14 */ add r31, r3, r0 +/* 800C3760 000C06C0 7F E3 FB 78 */ mr r3, r31 +/* 800C3764 000C06C4 4B F9 BC 0D */ bl GetReferenceCount__Q29IGameArea4DockCFv +/* 800C3768 000C06C8 7C 65 1B 78 */ mr r5, r3 +/* 800C376C 000C06CC 7F C3 F3 78 */ mr r3, r30 +/* 800C3770 000C06D0 7F E4 FB 78 */ mr r4, r31 +/* 800C3774 000C06D4 4B F9 BB B1 */ bl GetConnectedAreaId__Q29IGameArea4DockCFi +/* 800C3778 000C06D8 48 00 00 0C */ b lbl_800C3784 +lbl_800C377C: +/* 800C377C 000C06DC 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800C3780 000C06E0 90 1E 00 00 */ stw r0, 0(r30) +lbl_800C3784: +/* 800C3784 000C06E4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C3788 000C06E8 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800C378C 000C06EC 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800C3790 000C06F0 7C 08 03 A6 */ mtlr r0 +/* 800C3794 000C06F4 38 21 00 20 */ addi r1, r1, 0x20 +/* 800C3798 000C06F8 4E 80 00 20 */ blr + +.global UpdateAreaActivateFlags__11CScriptDockFR13CStateManager +UpdateAreaActivateFlags__11CScriptDockFR13CStateManager: +/* 800C379C 000C06FC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800C37A0 000C0700 7C 08 02 A6 */ mflr r0 +/* 800C37A4 000C0704 90 01 00 44 */ stw r0, 0x44(r1) +/* 800C37A8 000C0708 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 800C37AC 000C070C 7C 9E 23 78 */ mr r30, r4 +/* 800C37B0 000C0710 80 BE 08 50 */ lwz r5, 0x850(r30) +/* 800C37B4 000C0714 80 83 02 60 */ lwz r4, 0x260(r3) +/* 800C37B8 000C0718 80 05 00 18 */ lwz r0, 0x18(r5) +/* 800C37BC 000C071C 7C 04 00 00 */ cmpw r4, r0 +/* 800C37C0 000C0720 40 80 00 C4 */ bge lbl_800C3884 +/* 800C37C4 000C0724 80 C3 02 60 */ lwz r6, 0x260(r3) +/* 800C37C8 000C0728 80 A5 00 20 */ lwz r5, 0x20(r5) +/* 800C37CC 000C072C 54 C4 18 38 */ slwi r4, r6, 3 +/* 800C37D0 000C0730 80 E3 02 5C */ lwz r7, 0x25c(r3) +/* 800C37D4 000C0734 38 04 00 04 */ addi r0, r4, 4 +/* 800C37D8 000C0738 90 C1 00 18 */ stw r6, 0x18(r1) +/* 800C37DC 000C073C 7C 65 00 2E */ lwzx r3, r5, r0 +/* 800C37E0 000C0740 80 03 00 D0 */ lwz r0, 0xd0(r3) +/* 800C37E4 000C0744 7C 07 00 00 */ cmpw r7, r0 +/* 800C37E8 000C0748 40 80 00 9C */ bge lbl_800C3884 +/* 800C37EC 000C074C 1C 07 00 4C */ mulli r0, r7, 0x4c +/* 800C37F0 000C0750 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 800C37F4 000C0754 3B E0 00 00 */ li r31, 0 +/* 800C37F8 000C0758 7F A3 02 14 */ add r29, r3, r0 +/* 800C37FC 000C075C 83 9D 00 08 */ lwz r28, 8(r29) +/* 800C3800 000C0760 48 00 00 64 */ b lbl_800C3864 +lbl_800C3804: +/* 800C3804 000C0764 7F A3 EB 78 */ mr r3, r29 +/* 800C3808 000C0768 4B F9 BB 69 */ bl GetReferenceCount__Q29IGameArea4DockCFv +/* 800C380C 000C076C 7C 1F 18 50 */ subf r0, r31, r3 +/* 800C3810 000C0770 7F A4 EB 78 */ mr r4, r29 +/* 800C3814 000C0774 7C 00 00 34 */ cntlzw r0, r0 +/* 800C3818 000C0778 7F E5 FB 78 */ mr r5, r31 +/* 800C381C 000C077C 54 1B D9 7E */ srwi r27, r0, 5 +/* 800C3820 000C0780 38 61 00 14 */ addi r3, r1, 0x14 +/* 800C3824 000C0784 4B F9 BB 01 */ bl GetConnectedAreaId__Q29IGameArea4DockCFi +/* 800C3828 000C0788 80 C1 00 14 */ lwz r6, 0x14(r1) +/* 800C382C 000C078C 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800C3830 000C0790 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 800C3834 000C0794 7C 06 00 00 */ cmpw r6, r0 +/* 800C3838 000C0798 41 82 00 28 */ beq lbl_800C3860 +/* 800C383C 000C079C 80 9E 08 50 */ lwz r4, 0x850(r30) +/* 800C3840 000C07A0 54 C3 18 38 */ slwi r3, r6, 3 +/* 800C3844 000C07A4 38 03 00 04 */ addi r0, r3, 4 +/* 800C3848 000C07A8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800C384C 000C07AC 80 64 00 20 */ lwz r3, 0x20(r4) +/* 800C3850 000C07B0 7C 63 00 2E */ lwzx r3, r3, r0 +/* 800C3854 000C07B4 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800C3858 000C07B8 53 60 36 72 */ rlwimi r0, r27, 6, 0x19, 0x19 +/* 800C385C 000C07BC 98 03 00 F0 */ stb r0, 0xf0(r3) +lbl_800C3860: +/* 800C3860 000C07C0 3B FF 00 01 */ addi r31, r31, 1 +lbl_800C3864: +/* 800C3864 000C07C4 7C 1F E0 00 */ cmpw r31, r28 +/* 800C3868 000C07C8 41 80 FF 9C */ blt lbl_800C3804 +/* 800C386C 000C07CC 80 1E 08 CC */ lwz r0, 0x8cc(r30) +/* 800C3870 000C07D0 7F C3 F3 78 */ mr r3, r30 +/* 800C3874 000C07D4 38 81 00 0C */ addi r4, r1, 0xc +/* 800C3878 000C07D8 90 01 00 08 */ stw r0, 8(r1) +/* 800C387C 000C07DC 90 01 00 0C */ stw r0, 0xc(r1) +/* 800C3880 000C07E0 4B F8 88 4D */ bl SetCurrentAreaId__13CStateManagerF7TAreaId +lbl_800C3884: +/* 800C3884 000C07E4 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 800C3888 000C07E8 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800C388C 000C07EC 7C 08 03 A6 */ mtlr r0 +/* 800C3890 000C07F0 38 21 00 40 */ addi r1, r1, 0x40 +/* 800C3894 000C07F4 4E 80 00 20 */ blr + +.global SetDockReference__11CScriptDockFi +SetDockReference__11CScriptDockFi: +/* 800C3898 000C07F8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800C389C 000C07FC 7C 08 02 A6 */ mflr r0 +/* 800C38A0 000C0800 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C38A4 000C0804 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800C38A8 000C0808 7C 7F 1B 78 */ mr r31, r3 +/* 800C38AC 000C080C 80 C4 08 50 */ lwz r6, 0x850(r4) +/* 800C38B0 000C0810 7C A4 2B 78 */ mr r4, r5 +/* 800C38B4 000C0814 80 E3 02 60 */ lwz r7, 0x260(r3) +/* 800C38B8 000C0818 80 03 02 5C */ lwz r0, 0x25c(r3) +/* 800C38BC 000C081C 54 E3 18 38 */ slwi r3, r7, 3 +/* 800C38C0 000C0820 80 A6 00 20 */ lwz r5, 0x20(r6) +/* 800C38C4 000C0824 38 63 00 04 */ addi r3, r3, 4 +/* 800C38C8 000C0828 90 E1 00 08 */ stw r7, 8(r1) +/* 800C38CC 000C082C 7C 65 18 2E */ lwzx r3, r5, r3 +/* 800C38D0 000C0830 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800C38D4 000C0834 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 800C38D8 000C0838 7C 63 02 14 */ add r3, r3, r0 +/* 800C38DC 000C083C 4B F9 BA 85 */ bl SetReferenceCount__Q29IGameArea4DockFi +/* 800C38E0 000C0840 88 1F 02 68 */ lbz r0, 0x268(r31) +/* 800C38E4 000C0844 38 60 00 01 */ li r3, 1 +/* 800C38E8 000C0848 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800C38EC 000C084C 98 1F 02 68 */ stb r0, 0x268(r31) +/* 800C38F0 000C0850 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800C38F4 000C0854 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C38F8 000C0858 7C 08 03 A6 */ mtlr r0 +/* 800C38FC 000C085C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800C3900 000C0860 4E 80 00 20 */ blr + +.global GetDockReference__11CScriptDockCFv +GetDockReference__11CScriptDockCFv: +/* 800C3904 000C0864 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C3908 000C0868 7C 08 02 A6 */ mflr r0 +/* 800C390C 000C086C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C3910 000C0870 80 C3 02 60 */ lwz r6, 0x260(r3) +/* 800C3914 000C0874 80 A4 08 50 */ lwz r5, 0x850(r4) +/* 800C3918 000C0878 54 C4 18 38 */ slwi r4, r6, 3 +/* 800C391C 000C087C 80 03 02 5C */ lwz r0, 0x25c(r3) +/* 800C3920 000C0880 80 A5 00 20 */ lwz r5, 0x20(r5) +/* 800C3924 000C0884 38 64 00 04 */ addi r3, r4, 4 +/* 800C3928 000C0888 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800C392C 000C088C 90 C1 00 08 */ stw r6, 8(r1) +/* 800C3930 000C0890 7C 65 18 2E */ lwzx r3, r5, r3 +/* 800C3934 000C0894 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 800C3938 000C0898 7C 63 02 14 */ add r3, r3, r0 +/* 800C393C 000C089C 4B F9 BA 35 */ bl GetReferenceCount__Q29IGameArea4DockCFv +/* 800C3940 000C08A0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C3944 000C08A4 7C 08 03 A6 */ mtlr r0 +/* 800C3948 000C08A8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C394C 000C08AC 4E 80 00 20 */ blr + +.global Accept__11CScriptDockFR8IVisitor +Accept__11CScriptDockFR8IVisitor: +/* 800C3950 000C08B0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C3954 000C08B4 7C 08 02 A6 */ mflr r0 +/* 800C3958 000C08B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C395C 000C08BC 7C 60 1B 78 */ mr r0, r3 +/* 800C3960 000C08C0 7C 83 23 78 */ mr r3, r4 +/* 800C3964 000C08C4 81 84 00 00 */ lwz r12, 0(r4) +/* 800C3968 000C08C8 7C 04 03 78 */ mr r4, r0 +/* 800C396C 000C08CC 81 8C 00 80 */ lwz r12, 0x80(r12) +/* 800C3970 000C08D0 7D 89 03 A6 */ mtctr r12 +/* 800C3974 000C08D4 4E 80 04 21 */ bctrl +/* 800C3978 000C08D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C397C 000C08DC 7C 08 03 A6 */ mtlr r0 +/* 800C3980 000C08E0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C3984 000C08E4 4E 80 00 20 */ blr + +.global GetPlane__11CScriptDockCFRC13CStateManager +GetPlane__11CScriptDockCFRC13CStateManager: +/* 800C3988 000C08E8 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800C398C 000C08EC 7C 08 02 A6 */ mflr r0 +/* 800C3990 000C08F0 90 01 00 34 */ stw r0, 0x34(r1) +/* 800C3994 000C08F4 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800C3998 000C08F8 7C 7F 1B 78 */ mr r31, r3 +/* 800C399C 000C08FC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C39A0 000C0900 80 E4 00 04 */ lwz r7, 4(r4) +/* 800C39A4 000C0904 80 C5 08 50 */ lwz r6, 0x850(r5) +/* 800C39A8 000C0908 54 E5 18 38 */ slwi r5, r7, 3 +/* 800C39AC 000C090C 80 04 02 5C */ lwz r0, 0x25c(r4) +/* 800C39B0 000C0910 80 C6 00 20 */ lwz r6, 0x20(r6) +/* 800C39B4 000C0914 38 A5 00 04 */ addi r5, r5, 4 +/* 800C39B8 000C0918 1C 80 00 4C */ mulli r4, r0, 0x4c +/* 800C39BC 000C091C 90 E1 00 08 */ stw r7, 8(r1) +/* 800C39C0 000C0920 7C A6 28 2E */ lwzx r5, r6, r5 +/* 800C39C4 000C0924 90 E1 00 0C */ stw r7, 0xc(r1) +/* 800C39C8 000C0928 80 05 00 D8 */ lwz r0, 0xd8(r5) +/* 800C39CC 000C092C 38 84 00 18 */ addi r4, r4, 0x18 +/* 800C39D0 000C0930 7C 80 22 14 */ add r4, r0, r4 +/* 800C39D4 000C0934 38 C4 00 18 */ addi r6, r4, 0x18 +/* 800C39D8 000C0938 38 A4 00 0C */ addi r5, r4, 0xc +/* 800C39DC 000C093C 48 27 36 CD */ bl __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800C39E0 000C0940 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800C39E4 000C0944 D0 1F 00 00 */ stfs f0, 0(r31) +/* 800C39E8 000C0948 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800C39EC 000C094C D0 1F 00 04 */ stfs f0, 4(r31) +/* 800C39F0 000C0950 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800C39F4 000C0954 D0 1F 00 08 */ stfs f0, 8(r31) +/* 800C39F8 000C0958 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800C39FC 000C095C D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 800C3A00 000C0960 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800C3A04 000C0964 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800C3A08 000C0968 7C 08 03 A6 */ mtlr r0 +/* 800C3A0C 000C096C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800C3A10 000C0970 4E 80 00 20 */ blr + +.global HasPointCrossedDock__11CScriptDockCFRC13CStateManagerRC9CVector3f +HasPointCrossedDock__11CScriptDockCFRC13CStateManagerRC9CVector3f: +/* 800C3A14 000C0974 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800C3A18 000C0978 7C 08 02 A6 */ mflr r0 +/* 800C3A1C 000C097C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800C3A20 000C0980 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800C3A24 000C0984 7C BF 2B 78 */ mr r31, r5 +/* 800C3A28 000C0988 80 C4 08 CC */ lwz r6, 0x8cc(r4) +/* 800C3A2C 000C098C 80 84 08 50 */ lwz r4, 0x850(r4) +/* 800C3A30 000C0990 80 03 02 5C */ lwz r0, 0x25c(r3) +/* 800C3A34 000C0994 54 C3 18 38 */ slwi r3, r6, 3 +/* 800C3A38 000C0998 80 A4 00 20 */ lwz r5, 0x20(r4) +/* 800C3A3C 000C099C 38 63 00 04 */ addi r3, r3, 4 +/* 800C3A40 000C09A0 1C 80 00 4C */ mulli r4, r0, 0x4c +/* 800C3A44 000C09A4 90 C1 00 08 */ stw r6, 8(r1) +/* 800C3A48 000C09A8 7C A5 18 2E */ lwzx r5, r5, r3 +/* 800C3A4C 000C09AC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C3A50 000C09B0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800C3A54 000C09B4 80 05 00 D8 */ lwz r0, 0xd8(r5) +/* 800C3A58 000C09B8 38 84 00 18 */ addi r4, r4, 0x18 +/* 800C3A5C 000C09BC 7C 80 22 14 */ add r4, r0, r4 +/* 800C3A60 000C09C0 38 C4 00 18 */ addi r6, r4, 0x18 +/* 800C3A64 000C09C4 38 A4 00 0C */ addi r5, r4, 0xc +/* 800C3A68 000C09C8 48 27 36 41 */ bl __ct__6CPlaneFRC9CVector3fRC9CVector3fRC9CVector3f +/* 800C3A6C 000C09CC C0 21 00 14 */ lfs f1, 0x14(r1) +/* 800C3A70 000C09D0 C0 1F 00 04 */ lfs f0, 4(r31) +/* 800C3A74 000C09D4 C0 41 00 10 */ lfs f2, 0x10(r1) +/* 800C3A78 000C09D8 EC 01 00 32 */ fmuls f0, f1, f0 +/* 800C3A7C 000C09DC C0 3F 00 00 */ lfs f1, 0(r31) +/* 800C3A80 000C09E0 C0 81 00 18 */ lfs f4, 0x18(r1) +/* 800C3A84 000C09E4 C0 7F 00 08 */ lfs f3, 8(r31) +/* 800C3A88 000C09E8 EC 22 00 7A */ fmadds f1, f2, f1, f0 +/* 800C3A8C 000C09EC C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800C3A90 000C09F0 EC 24 08 FA */ fmadds f1, f4, f3, f1 +/* 800C3A94 000C09F4 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800C3A98 000C09F8 4C 41 13 82 */ cror 2, 1, 2 +/* 800C3A9C 000C09FC 7C 00 00 26 */ mfcr r0 +/* 800C3AA0 000C0A00 54 03 1F FE */ rlwinm r3, r0, 3, 0x1f, 0x1f +/* 800C3AA4 000C0A04 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800C3AA8 000C0A08 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800C3AAC 000C0A0C 7C 08 03 A6 */ mtlr r0 +/* 800C3AB0 000C0A10 38 21 00 30 */ addi r1, r1, 0x30 +/* 800C3AB4 000C0A14 4E 80 00 20 */ blr + +.global Think__11CScriptDockFfR13CStateManager +Think__11CScriptDockFfR13CStateManager: +/* 800C3AB8 000C0A18 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800C3ABC 000C0A1C 7C 08 02 A6 */ mflr r0 +/* 800C3AC0 000C0A20 90 01 00 64 */ stw r0, 0x64(r1) +/* 800C3AC4 000C0A24 BF 61 00 4C */ stmw r27, 0x4c(r1) +/* 800C3AC8 000C0A28 7C 7E 1B 78 */ mr r30, r3 +/* 800C3ACC 000C0A2C 7C 9F 23 78 */ mr r31, r4 +/* 800C3AD0 000C0A30 88 03 02 68 */ lbz r0, 0x268(r3) +/* 800C3AD4 000C0A34 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C3AD8 000C0A38 41 82 00 18 */ beq lbl_800C3AF0 +/* 800C3ADC 000C0A3C 4B FF FC C1 */ bl UpdateAreaActivateFlags__11CScriptDockFR13CStateManager +/* 800C3AE0 000C0A40 88 1E 02 68 */ lbz r0, 0x268(r30) +/* 800C3AE4 000C0A44 38 60 00 00 */ li r3, 0 +/* 800C3AE8 000C0A48 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800C3AEC 000C0A4C 98 1E 02 68 */ stb r0, 0x268(r30) +lbl_800C3AF0: +/* 800C3AF0 000C0A50 80 BE 02 60 */ lwz r5, 0x260(r30) +/* 800C3AF4 000C0A54 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 800C3AF8 000C0A58 54 A3 18 38 */ slwi r3, r5, 3 +/* 800C3AFC 000C0A5C 80 1E 02 5C */ lwz r0, 0x25c(r30) +/* 800C3B00 000C0A60 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800C3B04 000C0A64 38 63 00 04 */ addi r3, r3, 4 +/* 800C3B08 000C0A68 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800C3B0C 000C0A6C 90 A1 00 28 */ stw r5, 0x28(r1) +/* 800C3B10 000C0A70 7C 64 18 2E */ lwzx r3, r4, r3 +/* 800C3B14 000C0A74 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 800C3B18 000C0A78 7F A3 02 14 */ add r29, r3, r0 +/* 800C3B1C 000C0A7C 7F A3 EB 78 */ mr r3, r29 +/* 800C3B20 000C0A80 4B F9 B8 51 */ bl GetReferenceCount__Q29IGameArea4DockCFv +/* 800C3B24 000C0A84 7C 65 1B 78 */ mr r5, r3 +/* 800C3B28 000C0A88 7F A4 EB 78 */ mr r4, r29 +/* 800C3B2C 000C0A8C 38 61 00 24 */ addi r3, r1, 0x24 +/* 800C3B30 000C0A90 4B F9 B7 F5 */ bl GetConnectedAreaId__Q29IGameArea4DockCFi +/* 800C3B34 000C0A94 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 800C3B38 000C0A98 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800C3B3C 000C0A9C 90 C1 00 30 */ stw r6, 0x30(r1) +/* 800C3B40 000C0AA0 7C 06 00 00 */ cmpw r6, r0 +/* 800C3B44 000C0AA4 41 82 00 74 */ beq lbl_800C3BB8 +/* 800C3B48 000C0AA8 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 800C3B4C 000C0AAC 54 C3 18 38 */ slwi r3, r6, 3 +/* 800C3B50 000C0AB0 88 BE 02 68 */ lbz r5, 0x268(r30) +/* 800C3B54 000C0AB4 38 03 00 04 */ addi r0, r3, 4 +/* 800C3B58 000C0AB8 80 64 00 20 */ lwz r3, 0x20(r4) +/* 800C3B5C 000C0ABC 54 A4 DF FE */ rlwinm r4, r5, 0x1b, 0x1f, 0x1f +/* 800C3B60 000C0AC0 90 C1 00 20 */ stw r6, 0x20(r1) +/* 800C3B64 000C0AC4 7C 63 00 2E */ lwzx r3, r3, r0 +/* 800C3B68 000C0AC8 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800C3B6C 000C0ACC 54 00 CF FE */ rlwinm r0, r0, 0x19, 0x1f, 0x1f +/* 800C3B70 000C0AD0 7C 04 00 40 */ cmplw r4, r0 +/* 800C3B74 000C0AD4 41 82 00 44 */ beq lbl_800C3BB8 +/* 800C3B78 000C0AD8 50 05 2E B4 */ rlwimi r5, r0, 5, 0x1a, 0x1a +/* 800C3B7C 000C0ADC 98 BE 02 68 */ stb r5, 0x268(r30) +/* 800C3B80 000C0AE0 88 1E 02 68 */ lbz r0, 0x268(r30) +/* 800C3B84 000C0AE4 54 00 DF FF */ rlwinm. r0, r0, 0x1b, 0x1f, 0x1f +/* 800C3B88 000C0AE8 41 82 00 1C */ beq lbl_800C3BA4 +/* 800C3B8C 000C0AEC 7F C3 F3 78 */ mr r3, r30 +/* 800C3B90 000C0AF0 7F E5 FB 78 */ mr r5, r31 +/* 800C3B94 000C0AF4 38 80 00 07 */ li r4, 7 +/* 800C3B98 000C0AF8 38 C0 FF FF */ li r6, -1 +/* 800C3B9C 000C0AFC 4B F8 D5 25 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +/* 800C3BA0 000C0B00 48 00 00 18 */ b lbl_800C3BB8 +lbl_800C3BA4: +/* 800C3BA4 000C0B04 7F C3 F3 78 */ mr r3, r30 +/* 800C3BA8 000C0B08 7F E5 FB 78 */ mr r5, r31 +/* 800C3BAC 000C0B0C 38 80 00 09 */ li r4, 9 +/* 800C3BB0 000C0B10 38 C0 FF FF */ li r6, -1 +/* 800C3BB4 000C0B14 4B F8 D5 0D */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_800C3BB8: +/* 800C3BB8 000C0B18 80 7F 08 CC */ lwz r3, 0x8cc(r31) +/* 800C3BBC 000C0B1C 80 1E 02 60 */ lwz r0, 0x260(r30) +/* 800C3BC0 000C0B20 7C 03 00 00 */ cmpw r3, r0 +/* 800C3BC4 000C0B24 41 82 00 10 */ beq lbl_800C3BD4 +/* 800C3BC8 000C0B28 38 00 00 03 */ li r0, 3 +/* 800C3BCC 000C0B2C 90 1E 02 64 */ stw r0, 0x264(r30) +/* 800C3BD0 000C0B30 48 00 01 B0 */ b lbl_800C3D80 +lbl_800C3BD4: +/* 800C3BD4 000C0B34 80 1E 02 64 */ lwz r0, 0x264(r30) +/* 800C3BD8 000C0B38 2C 00 00 03 */ cmpwi r0, 3 +/* 800C3BDC 000C0B3C 40 82 00 10 */ bne lbl_800C3BEC +/* 800C3BE0 000C0B40 38 00 00 00 */ li r0, 0 +/* 800C3BE4 000C0B44 90 1E 02 64 */ stw r0, 0x264(r30) +/* 800C3BE8 000C0B48 48 00 01 98 */ b lbl_800C3D80 +lbl_800C3BEC: +/* 800C3BEC 000C0B4C 2C 00 00 01 */ cmpwi r0, 1 +/* 800C3BF0 000C0B50 40 82 00 10 */ bne lbl_800C3C00 +/* 800C3BF4 000C0B54 38 00 00 02 */ li r0, 2 +/* 800C3BF8 000C0B58 90 1E 02 64 */ stw r0, 0x264(r30) +/* 800C3BFC 000C0B5C 48 00 01 84 */ b lbl_800C3D80 +lbl_800C3C00: +/* 800C3C00 000C0B60 2C 00 00 02 */ cmpwi r0, 2 +/* 800C3C04 000C0B64 40 82 01 7C */ bne lbl_800C3D80 +/* 800C3C08 000C0B68 80 DF 08 4C */ lwz r6, 0x84c(r31) +/* 800C3C0C 000C0B6C 7F C3 F3 78 */ mr r3, r30 +/* 800C3C10 000C0B70 7F E4 FB 78 */ mr r4, r31 +/* 800C3C14 000C0B74 38 A1 00 3C */ addi r5, r1, 0x3c +/* 800C3C18 000C0B78 C0 46 00 60 */ lfs f2, 0x60(r6) +/* 800C3C1C 000C0B7C C0 26 00 50 */ lfs f1, 0x50(r6) +/* 800C3C20 000C0B80 C0 06 00 40 */ lfs f0, 0x40(r6) +/* 800C3C24 000C0B84 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800C3C28 000C0B88 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800C3C2C 000C0B8C D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800C3C30 000C0B90 4B FF FD E5 */ bl HasPointCrossedDock__11CScriptDockCFRC13CStateManagerRC9CVector3f +/* 800C3C34 000C0B94 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800C3C38 000C0B98 41 82 01 40 */ beq lbl_800C3D78 +/* 800C3C3C 000C0B9C 80 BF 08 CC */ lwz r5, 0x8cc(r31) +/* 800C3C40 000C0BA0 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 800C3C44 000C0BA4 54 A3 18 38 */ slwi r3, r5, 3 +/* 800C3C48 000C0BA8 80 1E 02 5C */ lwz r0, 0x25c(r30) +/* 800C3C4C 000C0BAC 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800C3C50 000C0BB0 38 63 00 04 */ addi r3, r3, 4 +/* 800C3C54 000C0BB4 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800C3C58 000C0BB8 90 A1 00 18 */ stw r5, 0x18(r1) +/* 800C3C5C 000C0BBC 7C 64 18 2E */ lwzx r3, r4, r3 +/* 800C3C60 000C0BC0 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 800C3C64 000C0BC4 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 800C3C68 000C0BC8 7F A3 02 14 */ add r29, r3, r0 +/* 800C3C6C 000C0BCC 7F A3 EB 78 */ mr r3, r29 +/* 800C3C70 000C0BD0 4B F9 B7 01 */ bl GetReferenceCount__Q29IGameArea4DockCFv +/* 800C3C74 000C0BD4 7C 65 1B 78 */ mr r5, r3 +/* 800C3C78 000C0BD8 7F A4 EB 78 */ mr r4, r29 +/* 800C3C7C 000C0BDC 38 61 00 14 */ addi r3, r1, 0x14 +/* 800C3C80 000C0BE0 4B F9 B6 A5 */ bl GetConnectedAreaId__Q29IGameArea4DockCFi +/* 800C3C84 000C0BE4 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 800C3C88 000C0BE8 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800C3C8C 000C0BEC 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 800C3C90 000C0BF0 7C 05 00 00 */ cmpw r5, r0 +/* 800C3C94 000C0BF4 41 82 00 E4 */ beq lbl_800C3D78 +/* 800C3C98 000C0BF8 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 800C3C9C 000C0BFC 54 A3 18 38 */ slwi r3, r5, 3 +/* 800C3CA0 000C0C00 38 03 00 04 */ addi r0, r3, 4 +/* 800C3CA4 000C0C04 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800C3CA8 000C0C08 80 64 00 20 */ lwz r3, 0x20(r4) +/* 800C3CAC 000C0C0C 7C 63 00 2E */ lwzx r3, r3, r0 +/* 800C3CB0 000C0C10 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800C3CB4 000C0C14 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C3CB8 000C0C18 41 82 00 C0 */ beq lbl_800C3D78 +/* 800C3CBC 000C0C1C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800C3CC0 000C0C20 7F E3 FB 78 */ mr r3, r31 +/* 800C3CC4 000C0C24 38 81 00 0C */ addi r4, r1, 0xc +/* 800C3CC8 000C0C28 4B F8 84 05 */ bl SetCurrentAreaId__13CStateManagerF7TAreaId +/* 800C3CCC 000C0C2C 7F A3 EB 78 */ mr r3, r29 +/* 800C3CD0 000C0C30 4B F9 B6 A1 */ bl GetReferenceCount__Q29IGameArea4DockCFv +/* 800C3CD4 000C0C34 7C 64 1B 78 */ mr r4, r3 +/* 800C3CD8 000C0C38 7F A3 EB 78 */ mr r3, r29 +/* 800C3CDC 000C0C3C 4B F9 B6 21 */ bl GetOtherDockNumber__Q29IGameArea4DockCFi +/* 800C3CE0 000C0C40 80 01 00 2C */ lwz r0, 0x2c(r1) +/* 800C3CE4 000C0C44 7C 7D 1B 78 */ mr r29, r3 +/* 800C3CE8 000C0C48 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 800C3CEC 000C0C4C 54 03 18 38 */ slwi r3, r0, 3 +/* 800C3CF0 000C0C50 90 01 00 08 */ stw r0, 8(r1) +/* 800C3CF4 000C0C54 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800C3CF8 000C0C58 38 03 00 04 */ addi r0, r3, 4 +/* 800C3CFC 000C0C5C 7C 64 00 2E */ lwzx r3, r4, r0 +/* 800C3D00 000C0C60 80 63 01 2C */ lwz r3, 0x12c(r3) +/* 800C3D04 000C0C64 83 83 10 C0 */ lwz r28, 0x10c0(r3) +/* 800C3D08 000C0C68 AB 7C 20 08 */ lha r27, 0x2008(r28) +/* 800C3D0C 000C0C6C 48 00 00 64 */ b lbl_800C3D70 +lbl_800C3D10: +/* 800C3D10 000C0C70 7F 83 E3 78 */ mr r3, r28 +/* 800C3D14 000C0C74 7F 64 DB 78 */ mr r4, r27 +/* 800C3D18 000C0C78 4B F4 BF FD */ bl __vc__11CObjectListFi +/* 800C3D1C 000C0C7C 7C 60 1B 78 */ mr r0, r3 +/* 800C3D20 000C0C80 38 61 00 34 */ addi r3, r1, 0x34 +/* 800C3D24 000C0C84 7C 04 03 78 */ mr r4, r0 +/* 800C3D28 000C0C88 4B FE 66 DD */ bl "__ct__25TCastToPtr<11CScriptDock>FP7CEntity" +/* 800C3D2C 000C0C8C 80 63 00 04 */ lwz r3, 4(r3) +/* 800C3D30 000C0C90 28 03 00 00 */ cmplwi r3, 0 +/* 800C3D34 000C0C94 41 82 00 20 */ beq lbl_800C3D54 +/* 800C3D38 000C0C98 80 03 02 5C */ lwz r0, 0x25c(r3) +/* 800C3D3C 000C0C9C 7C 1D 00 00 */ cmpw r29, r0 +/* 800C3D40 000C0CA0 40 82 00 14 */ bne lbl_800C3D54 +/* 800C3D44 000C0CA4 7F E4 FB 78 */ mr r4, r31 +/* 800C3D48 000C0CA8 38 A0 00 01 */ li r5, 1 +/* 800C3D4C 000C0CAC 48 00 04 ED */ bl SetLoadConnected__11CScriptDockFR13CStateManagerb +/* 800C3D50 000C0CB0 48 00 00 28 */ b lbl_800C3D78 +lbl_800C3D54: +/* 800C3D54 000C0CB4 2C 1B FF FF */ cmpwi r27, -1 +/* 800C3D58 000C0CB8 41 82 00 14 */ beq lbl_800C3D6C +/* 800C3D5C 000C0CBC 57 63 18 38 */ slwi r3, r27, 3 +/* 800C3D60 000C0CC0 38 03 00 08 */ addi r0, r3, 8 +/* 800C3D64 000C0CC4 7F 7C 02 AE */ lhax r27, r28, r0 +/* 800C3D68 000C0CC8 48 00 00 08 */ b lbl_800C3D70 +lbl_800C3D6C: +/* 800C3D6C 000C0CCC 3B 60 FF FF */ li r27, -1 +lbl_800C3D70: +/* 800C3D70 000C0CD0 2C 1B FF FF */ cmpwi r27, -1 +/* 800C3D74 000C0CD4 40 82 FF 9C */ bne lbl_800C3D10 +lbl_800C3D78: +/* 800C3D78 000C0CD8 38 00 00 00 */ li r0, 0 +/* 800C3D7C 000C0CDC 90 1E 02 64 */ stw r0, 0x264(r30) +lbl_800C3D80: +/* 800C3D80 000C0CE0 BB 61 00 4C */ lmw r27, 0x4c(r1) +/* 800C3D84 000C0CE4 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800C3D88 000C0CE8 7C 08 03 A6 */ mtlr r0 +/* 800C3D8C 000C0CEC 38 21 00 60 */ addi r1, r1, 0x60 +/* 800C3D90 000C0CF0 4E 80 00 20 */ blr + +.global AcceptScriptMsg__11CScriptDockF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__11CScriptDockF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800C3D94 000C0CF4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800C3D98 000C0CF8 7C 08 02 A6 */ mflr r0 +/* 800C3D9C 000C0CFC 90 01 00 74 */ stw r0, 0x74(r1) +/* 800C3DA0 000C0D00 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800C3DA4 000C0D04 7C DF 33 78 */ mr r31, r6 +/* 800C3DA8 000C0D08 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800C3DAC 000C0D0C 7C 9E 23 78 */ mr r30, r4 +/* 800C3DB0 000C0D10 38 1E FF FB */ addi r0, r30, -5 +/* 800C3DB4 000C0D14 93 A1 00 64 */ stw r29, 0x64(r1) +/* 800C3DB8 000C0D18 28 00 00 1F */ cmplwi r0, 0x1f +/* 800C3DBC 000C0D1C 7C 7D 1B 78 */ mr r29, r3 +/* 800C3DC0 000C0D20 93 81 00 60 */ stw r28, 0x60(r1) +/* 800C3DC4 000C0D24 41 81 02 DC */ bgt lbl_800C40A0 +/* 800C3DC8 000C0D28 3C 80 80 3E */ lis r4, lbl_803DF604@ha +/* 800C3DCC 000C0D2C 54 00 10 3A */ slwi r0, r0, 2 +/* 800C3DD0 000C0D30 38 84 F6 04 */ addi r4, r4, lbl_803DF604@l +/* 800C3DD4 000C0D34 7C 04 00 2E */ lwzx r0, r4, r0 +/* 800C3DD8 000C0D38 7C 09 03 A6 */ mtctr r0 +/* 800C3DDC 000C0D3C 4E 80 04 20 */ bctr +/* 800C3DE0 000C0D40 80 BD 02 60 */ lwz r5, 0x260(r29) +/* 800C3DE4 000C0D44 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 800C3DE8 000C0D48 54 A3 18 38 */ slwi r3, r5, 3 +/* 800C3DEC 000C0D4C 80 DD 02 5C */ lwz r6, 0x25c(r29) +/* 800C3DF0 000C0D50 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800C3DF4 000C0D54 38 03 00 04 */ addi r0, r3, 4 +/* 800C3DF8 000C0D58 90 A1 00 2C */ stw r5, 0x2c(r1) +/* 800C3DFC 000C0D5C 7C 64 00 2E */ lwzx r3, r4, r0 +/* 800C3E00 000C0D60 90 A1 00 30 */ stw r5, 0x30(r1) +/* 800C3E04 000C0D64 80 03 00 D0 */ lwz r0, 0xd0(r3) +/* 800C3E08 000C0D68 7C 00 30 00 */ cmpw r0, r6 +/* 800C3E0C 000C0D6C 40 81 02 B0 */ ble lbl_800C40BC +/* 800C3E10 000C0D70 1C 06 00 4C */ mulli r0, r6, 0x4c +/* 800C3E14 000C0D74 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 800C3E18 000C0D78 7F C3 02 14 */ add r30, r3, r0 +/* 800C3E1C 000C0D7C 7F C3 F3 78 */ mr r3, r30 +/* 800C3E20 000C0D80 4B F9 B5 59 */ bl IsReferenced__Q29IGameArea4DockCFv +/* 800C3E24 000C0D84 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800C3E28 000C0D88 40 82 02 94 */ bne lbl_800C40BC +/* 800C3E2C 000C0D8C 80 9D 02 58 */ lwz r4, 0x258(r29) +/* 800C3E30 000C0D90 7F C3 F3 78 */ mr r3, r30 +/* 800C3E34 000C0D94 4B F9 B5 2D */ bl SetReferenceCount__Q29IGameArea4DockFi +/* 800C3E38 000C0D98 48 00 02 84 */ b lbl_800C40BC +/* 800C3E3C 000C0D9C 7F E4 FB 78 */ mr r4, r31 +/* 800C3E40 000C0DA0 48 00 03 CD */ bl nullsub_41 +/* 800C3E44 000C0DA4 48 00 02 78 */ b lbl_800C40BC +/* 800C3E48 000C0DA8 7F E4 FB 78 */ mr r4, r31 +/* 800C3E4C 000C0DAC 48 00 03 C5 */ bl AreaLoaded__11CScriptDockFR13CStateManager +/* 800C3E50 000C0DB0 48 00 02 6C */ b lbl_800C40BC +/* 800C3E54 000C0DB4 7F E4 FB 78 */ mr r4, r31 +/* 800C3E58 000C0DB8 4B FF F9 45 */ bl UpdateAreaActivateFlags__11CScriptDockFR13CStateManager +/* 800C3E5C 000C0DBC 7F A3 EB 78 */ mr r3, r29 +/* 800C3E60 000C0DC0 4B F8 FA 5D */ bl GetMaterialFilter__6CActorCFv +/* 800C3E64 000C0DC4 80 AD 86 D4 */ lwz r5, lbl_805A7294@sda21(r13) +/* 800C3E68 000C0DC8 7C 7E 1B 78 */ mr r30, r3 +/* 800C3E6C 000C0DCC 38 60 00 00 */ li r3, 0 +/* 800C3E70 000C0DD0 38 80 00 01 */ li r4, 1 +/* 800C3E74 000C0DD4 48 2C 60 81 */ bl __shl2i +/* 800C3E78 000C0DD8 7C 7F 1B 78 */ mr r31, r3 +/* 800C3E7C 000C0DDC 7C 9C 23 78 */ mr r28, r4 +/* 800C3E80 000C0DE0 7F A3 EB 78 */ mr r3, r29 +/* 800C3E84 000C0DE4 4B F8 FA 39 */ bl GetMaterialFilter__6CActorCFv +/* 800C3E88 000C0DE8 80 83 00 00 */ lwz r4, 0(r3) +/* 800C3E8C 000C0DEC 38 00 00 03 */ li r0, 3 +/* 800C3E90 000C0DF0 80 C3 00 04 */ lwz r6, 4(r3) +/* 800C3E94 000C0DF4 7F A3 EB 78 */ mr r3, r29 +/* 800C3E98 000C0DF8 7C 85 FB 78 */ or r5, r4, r31 +/* 800C3E9C 000C0DFC 38 81 00 48 */ addi r4, r1, 0x48 +/* 800C3EA0 000C0E00 7C C6 E3 78 */ or r6, r6, r28 +/* 800C3EA4 000C0E04 90 A1 00 48 */ stw r5, 0x48(r1) +/* 800C3EA8 000C0E08 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 800C3EAC 000C0E0C 80 BE 00 08 */ lwz r5, 8(r30) +/* 800C3EB0 000C0E10 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 800C3EB4 000C0E14 90 C1 00 54 */ stw r6, 0x54(r1) +/* 800C3EB8 000C0E18 90 A1 00 50 */ stw r5, 0x50(r1) +/* 800C3EBC 000C0E1C 90 01 00 58 */ stw r0, 0x58(r1) +/* 800C3EC0 000C0E20 4B F8 F9 E1 */ bl SetMaterialFilter__6CActorFRC15CMaterialFilter +/* 800C3EC4 000C0E24 48 00 01 F8 */ b lbl_800C40BC +/* 800C3EC8 000C0E28 80 9F 08 CC */ lwz r4, 0x8cc(r31) +/* 800C3ECC 000C0E2C 80 1D 02 60 */ lwz r0, 0x260(r29) +/* 800C3ED0 000C0E30 7C 04 00 00 */ cmpw r4, r0 +/* 800C3ED4 000C0E34 40 82 01 E8 */ bne lbl_800C40BC +/* 800C3ED8 000C0E38 7F E4 FB 78 */ mr r4, r31 +/* 800C3EDC 000C0E3C 38 A0 00 00 */ li r5, 0 +/* 800C3EE0 000C0E40 48 00 03 59 */ bl SetLoadConnected__11CScriptDockFR13CStateManagerb +/* 800C3EE4 000C0E44 80 BD 02 60 */ lwz r5, 0x260(r29) +/* 800C3EE8 000C0E48 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 800C3EEC 000C0E4C 54 A3 18 38 */ slwi r3, r5, 3 +/* 800C3EF0 000C0E50 80 1D 02 5C */ lwz r0, 0x25c(r29) +/* 800C3EF4 000C0E54 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800C3EF8 000C0E58 38 63 00 04 */ addi r3, r3, 4 +/* 800C3EFC 000C0E5C 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800C3F00 000C0E60 90 A1 00 28 */ stw r5, 0x28(r1) +/* 800C3F04 000C0E64 7C 64 18 2E */ lwzx r3, r4, r3 +/* 800C3F08 000C0E68 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 800C3F0C 000C0E6C 7F A3 02 14 */ add r29, r3, r0 +/* 800C3F10 000C0E70 7F A3 EB 78 */ mr r3, r29 +/* 800C3F14 000C0E74 4B F9 B4 5D */ bl GetReferenceCount__Q29IGameArea4DockCFv +/* 800C3F18 000C0E78 7C 65 1B 78 */ mr r5, r3 +/* 800C3F1C 000C0E7C 7F A4 EB 78 */ mr r4, r29 +/* 800C3F20 000C0E80 38 61 00 24 */ addi r3, r1, 0x24 +/* 800C3F24 000C0E84 4B F9 B4 01 */ bl GetConnectedAreaId__Q29IGameArea4DockCFi +/* 800C3F28 000C0E88 83 BF 08 48 */ lwz r29, 0x848(r31) +/* 800C3F2C 000C0E8C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C3F30 000C0E90 AB 9D 20 08 */ lha r28, 0x2008(r29) +/* 800C3F34 000C0E94 90 01 00 38 */ stw r0, 0x38(r1) +/* 800C3F38 000C0E98 48 00 00 70 */ b lbl_800C3FA8 +lbl_800C3F3C: +/* 800C3F3C 000C0E9C 7F A3 EB 78 */ mr r3, r29 +/* 800C3F40 000C0EA0 7F 84 E3 78 */ mr r4, r28 +/* 800C3F44 000C0EA4 4B F4 BD D1 */ bl __vc__11CObjectListFi +/* 800C3F48 000C0EA8 7C 64 1B 78 */ mr r4, r3 +/* 800C3F4C 000C0EAC 38 61 00 3C */ addi r3, r1, 0x3c +/* 800C3F50 000C0EB0 4B FE 61 A1 */ bl "__ct__25TCastToPtr<11CScriptDoor>FP7CEntity" +/* 800C3F54 000C0EB4 83 C3 00 04 */ lwz r30, 4(r3) +/* 800C3F58 000C0EB8 28 1E 00 00 */ cmplwi r30, 0 +/* 800C3F5C 000C0EBC 41 82 00 30 */ beq lbl_800C3F8C +/* 800C3F60 000C0EC0 80 01 00 38 */ lwz r0, 0x38(r1) +/* 800C3F64 000C0EC4 7F C3 F3 78 */ mr r3, r30 +/* 800C3F68 000C0EC8 7F E4 FB 78 */ mr r4, r31 +/* 800C3F6C 000C0ECC 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800C3F70 000C0ED0 90 01 00 20 */ stw r0, 0x20(r1) +/* 800C3F74 000C0ED4 4B FB A2 51 */ bl IsConnectedToArea__11CScriptDoorCFRC13CStateManager7TAreaId +/* 800C3F78 000C0ED8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800C3F7C 000C0EDC 41 82 00 10 */ beq lbl_800C3F8C +/* 800C3F80 000C0EE0 7F C3 F3 78 */ mr r3, r30 +/* 800C3F84 000C0EE4 7F E4 FB 78 */ mr r4, r31 +/* 800C3F88 000C0EE8 4B FB A1 35 */ bl ForceClosed__11CScriptDoorFR13CStateManager +lbl_800C3F8C: +/* 800C3F8C 000C0EEC 2C 1C FF FF */ cmpwi r28, -1 +/* 800C3F90 000C0EF0 41 82 00 14 */ beq lbl_800C3FA4 +/* 800C3F94 000C0EF4 57 83 18 38 */ slwi r3, r28, 3 +/* 800C3F98 000C0EF8 38 03 00 08 */ addi r0, r3, 8 +/* 800C3F9C 000C0EFC 7F 9D 02 AE */ lhax r28, r29, r0 +/* 800C3FA0 000C0F00 48 00 00 08 */ b lbl_800C3FA8 +lbl_800C3FA4: +/* 800C3FA4 000C0F04 3B 80 FF FF */ li r28, -1 +lbl_800C3FA8: +/* 800C3FA8 000C0F08 2C 1C FF FF */ cmpwi r28, -1 +/* 800C3FAC 000C0F0C 40 82 FF 90 */ bne lbl_800C3F3C +/* 800C3FB0 000C0F10 48 00 01 0C */ b lbl_800C40BC +/* 800C3FB4 000C0F14 80 9F 08 CC */ lwz r4, 0x8cc(r31) +/* 800C3FB8 000C0F18 80 1D 02 60 */ lwz r0, 0x260(r29) +/* 800C3FBC 000C0F1C 7C 04 00 00 */ cmpw r4, r0 +/* 800C3FC0 000C0F20 40 82 00 FC */ bne lbl_800C40BC +/* 800C3FC4 000C0F24 7F E4 FB 78 */ mr r4, r31 +/* 800C3FC8 000C0F28 38 A0 00 01 */ li r5, 1 +/* 800C3FCC 000C0F2C 48 00 02 6D */ bl SetLoadConnected__11CScriptDockFR13CStateManagerb +/* 800C3FD0 000C0F30 48 00 00 EC */ b lbl_800C40BC +/* 800C3FD4 000C0F34 7F E4 FB 78 */ mr r4, r31 +/* 800C3FD8 000C0F38 38 A0 00 01 */ li r5, 1 +/* 800C3FDC 000C0F3C 48 00 02 5D */ bl SetLoadConnected__11CScriptDockFR13CStateManagerb +/* 800C3FE0 000C0F40 80 1D 02 60 */ lwz r0, 0x260(r29) +/* 800C3FE4 000C0F44 80 BF 08 CC */ lwz r5, 0x8cc(r31) +/* 800C3FE8 000C0F48 90 01 00 34 */ stw r0, 0x34(r1) +/* 800C3FEC 000C0F4C 7C 05 00 00 */ cmpw r5, r0 +/* 800C3FF0 000C0F50 40 82 00 50 */ bne lbl_800C4040 +/* 800C3FF4 000C0F54 80 9F 08 50 */ lwz r4, 0x850(r31) +/* 800C3FF8 000C0F58 54 A3 18 38 */ slwi r3, r5, 3 +/* 800C3FFC 000C0F5C 80 1D 02 5C */ lwz r0, 0x25c(r29) +/* 800C4000 000C0F60 38 63 00 04 */ addi r3, r3, 4 +/* 800C4004 000C0F64 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800C4008 000C0F68 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800C400C 000C0F6C 90 A1 00 18 */ stw r5, 0x18(r1) +/* 800C4010 000C0F70 7C 64 18 2E */ lwzx r3, r4, r3 +/* 800C4014 000C0F74 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 800C4018 000C0F78 80 63 00 D8 */ lwz r3, 0xd8(r3) +/* 800C401C 000C0F7C 7F A3 02 14 */ add r29, r3, r0 +/* 800C4020 000C0F80 7F A3 EB 78 */ mr r3, r29 +/* 800C4024 000C0F84 4B F9 B3 4D */ bl GetReferenceCount__Q29IGameArea4DockCFv +/* 800C4028 000C0F88 7C 65 1B 78 */ mr r5, r3 +/* 800C402C 000C0F8C 7F A4 EB 78 */ mr r4, r29 +/* 800C4030 000C0F90 38 61 00 14 */ addi r3, r1, 0x14 +/* 800C4034 000C0F94 4B F9 B2 F1 */ bl GetConnectedAreaId__Q29IGameArea4DockCFi +/* 800C4038 000C0F98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C403C 000C0F9C 90 01 00 34 */ stw r0, 0x34(r1) +lbl_800C4040: +/* 800C4040 000C0FA0 80 61 00 34 */ lwz r3, 0x34(r1) +/* 800C4044 000C0FA4 2C 03 00 00 */ cmpwi r3, 0 +/* 800C4048 000C0FA8 41 80 00 74 */ blt lbl_800C40BC +/* 800C404C 000C0FAC 80 BF 08 50 */ lwz r5, 0x850(r31) +/* 800C4050 000C0FB0 80 05 00 18 */ lwz r0, 0x18(r5) +/* 800C4054 000C0FB4 7C 00 18 00 */ cmpw r0, r3 +/* 800C4058 000C0FB8 40 81 00 64 */ ble lbl_800C40BC +/* 800C405C 000C0FBC 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 800C4060 000C0FC0 80 E5 00 20 */ lwz r7, 0x20(r5) +/* 800C4064 000C0FC4 54 C3 18 38 */ slwi r3, r6, 3 +/* 800C4068 000C0FC8 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800C406C 000C0FCC 38 83 00 04 */ addi r4, r3, 4 +/* 800C4070 000C0FD0 7C 67 20 2E */ lwzx r3, r7, r4 +/* 800C4074 000C0FD4 88 03 00 F0 */ lbz r0, 0xf0(r3) +/* 800C4078 000C0FD8 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C407C 000C0FDC 40 82 00 08 */ bne lbl_800C4084 +/* 800C4080 000C0FE0 48 00 00 3C */ b lbl_800C40BC +lbl_800C4084: +/* 800C4084 000C0FE4 20 1E 00 07 */ subfic r0, r30, 7 +/* 800C4088 000C0FE8 7C 87 20 2E */ lwzx r4, r7, r4 +/* 800C408C 000C0FEC 7C 00 00 34 */ cntlzw r0, r0 +/* 800C4090 000C0FF0 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800C4094 000C0FF4 54 03 D9 7E */ srwi r3, r0, 5 +/* 800C4098 000C0FF8 48 00 00 45 */ bl PropogateAreaChain__6CWorldFQ29CGameArea15EOcclusionStateP9CGameAreaP6CWorld +/* 800C409C 000C0FFC 48 00 00 20 */ b lbl_800C40BC +lbl_800C40A0: +/* 800C40A0 000C1000 A0 05 00 00 */ lhz r0, 0(r5) +/* 800C40A4 000C1004 7F A3 EB 78 */ mr r3, r29 +/* 800C40A8 000C1008 7F C4 F3 78 */ mr r4, r30 +/* 800C40AC 000C100C 7F E6 FB 78 */ mr r6, r31 +/* 800C40B0 000C1010 B0 01 00 08 */ sth r0, 8(r1) +/* 800C40B4 000C1014 38 A1 00 08 */ addi r5, r1, 8 +/* 800C40B8 000C1018 4B F8 F5 5D */ bl AcceptScriptMsg__6CActorF20EScriptObjectMessage9TUniqueIdR13CStateManager +lbl_800C40BC: +/* 800C40BC 000C101C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800C40C0 000C1020 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800C40C4 000C1024 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800C40C8 000C1028 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 800C40CC 000C102C 83 81 00 60 */ lwz r28, 0x60(r1) +/* 800C40D0 000C1030 7C 08 03 A6 */ mtlr r0 +/* 800C40D4 000C1034 38 21 00 70 */ addi r1, r1, 0x70 +/* 800C40D8 000C1038 4E 80 00 20 */ blr + +.global PropogateAreaChain__6CWorldFQ29CGameArea15EOcclusionStateP9CGameAreaP6CWorld +PropogateAreaChain__6CWorldFQ29CGameArea15EOcclusionStateP9CGameAreaP6CWorld: +/* 800C40DC 000C103C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800C40E0 000C1040 7C 08 02 A6 */ mflr r0 +/* 800C40E4 000C1044 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C40E8 000C1048 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800C40EC 000C104C 7C 9F 23 78 */ mr r31, r4 +/* 800C40F0 000C1050 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800C40F4 000C1054 7C 7E 1B 78 */ mr r30, r3 +/* 800C40F8 000C1058 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800C40FC 000C105C 93 81 00 10 */ stw r28, 0x10(r1) +/* 800C4100 000C1060 7C BC 2B 78 */ mr r28, r5 +/* 800C4104 000C1064 88 04 00 F0 */ lbz r0, 0xf0(r4) +/* 800C4108 000C1068 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C410C 000C106C 41 82 00 E0 */ beq lbl_800C41EC +/* 800C4110 000C1070 41 82 00 10 */ beq lbl_800C4120 +/* 800C4114 000C1074 80 7F 01 2C */ lwz r3, 0x12c(r31) +/* 800C4118 000C1078 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 800C411C 000C107C 48 00 00 08 */ b lbl_800C4124 +lbl_800C4120: +/* 800C4120 000C1080 38 00 00 00 */ li r0, 0 +lbl_800C4124: +/* 800C4124 000C1084 7C 1E 00 00 */ cmpw r30, r0 +/* 800C4128 000C1088 41 82 00 C4 */ beq lbl_800C41EC +/* 800C412C 000C108C 2C 1E 00 01 */ cmpwi r30, 1 +/* 800C4130 000C1090 40 82 00 10 */ bne lbl_800C4140 +/* 800C4134 000C1094 7F E3 FB 78 */ mr r3, r31 +/* 800C4138 000C1098 38 80 00 01 */ li r4, 1 +/* 800C413C 000C109C 4B F9 B5 ED */ bl SetOcclusionState__9CGameAreaFQ29CGameArea15EOcclusionState +lbl_800C4140: +/* 800C4140 000C10A0 83 BC 00 58 */ lwz r29, 0x58(r28) +/* 800C4144 000C10A4 48 00 00 3C */ b lbl_800C4180 +lbl_800C4148: +/* 800C4148 000C10A8 7C 1D F8 40 */ cmplw r29, r31 +/* 800C414C 000C10AC 41 82 00 30 */ beq lbl_800C417C +/* 800C4150 000C10B0 88 1D 00 F0 */ lbz r0, 0xf0(r29) +/* 800C4154 000C10B4 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C4158 000C10B8 41 82 00 10 */ beq lbl_800C4168 +/* 800C415C 000C10BC 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 800C4160 000C10C0 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 800C4164 000C10C4 48 00 00 08 */ b lbl_800C416C +lbl_800C4168: +/* 800C4168 000C10C8 38 00 00 00 */ li r0, 0 +lbl_800C416C: +/* 800C416C 000C10CC 2C 00 00 01 */ cmpwi r0, 1 +/* 800C4170 000C10D0 40 82 00 0C */ bne lbl_800C417C +/* 800C4174 000C10D4 7F A3 EB 78 */ mr r3, r29 +/* 800C4178 000C10D8 4B F9 B3 89 */ bl OtherAreaOcclusionChanged__9CGameAreaFv +lbl_800C417C: +/* 800C417C 000C10DC 83 BD 01 30 */ lwz r29, 0x130(r29) +lbl_800C4180: +/* 800C4180 000C10E0 80 0D A2 1C */ lwz r0, lbl_805A8DDC@sda21(r13) +/* 800C4184 000C10E4 7C 00 E8 40 */ cmplw r0, r29 +/* 800C4188 000C10E8 40 82 FF C0 */ bne lbl_800C4148 +/* 800C418C 000C10EC 83 BC 00 58 */ lwz r29, 0x58(r28) +/* 800C4190 000C10F0 48 00 00 3C */ b lbl_800C41CC +lbl_800C4194: +/* 800C4194 000C10F4 7C 1D F8 40 */ cmplw r29, r31 +/* 800C4198 000C10F8 41 82 00 30 */ beq lbl_800C41C8 +/* 800C419C 000C10FC 88 1D 00 F0 */ lbz r0, 0xf0(r29) +/* 800C41A0 000C1100 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800C41A4 000C1104 41 82 00 10 */ beq lbl_800C41B4 +/* 800C41A8 000C1108 80 7D 01 2C */ lwz r3, 0x12c(r29) +/* 800C41AC 000C110C 80 03 10 DC */ lwz r0, 0x10dc(r3) +/* 800C41B0 000C1110 48 00 00 08 */ b lbl_800C41B8 +lbl_800C41B4: +/* 800C41B4 000C1114 38 00 00 00 */ li r0, 0 +lbl_800C41B8: +/* 800C41B8 000C1118 2C 00 00 00 */ cmpwi r0, 0 +/* 800C41BC 000C111C 40 82 00 0C */ bne lbl_800C41C8 +/* 800C41C0 000C1120 7F A3 EB 78 */ mr r3, r29 +/* 800C41C4 000C1124 4B F9 B3 3D */ bl OtherAreaOcclusionChanged__9CGameAreaFv +lbl_800C41C8: +/* 800C41C8 000C1128 83 BD 01 30 */ lwz r29, 0x130(r29) +lbl_800C41CC: +/* 800C41CC 000C112C 80 0D A2 1C */ lwz r0, lbl_805A8DDC@sda21(r13) +/* 800C41D0 000C1130 7C 00 E8 40 */ cmplw r0, r29 +/* 800C41D4 000C1134 40 82 FF C0 */ bne lbl_800C4194 +/* 800C41D8 000C1138 2C 1E 00 00 */ cmpwi r30, 0 +/* 800C41DC 000C113C 40 82 00 10 */ bne lbl_800C41EC +/* 800C41E0 000C1140 7F E3 FB 78 */ mr r3, r31 +/* 800C41E4 000C1144 38 80 00 00 */ li r4, 0 +/* 800C41E8 000C1148 4B F9 B5 41 */ bl SetOcclusionState__9CGameAreaFQ29CGameArea15EOcclusionState +lbl_800C41EC: +/* 800C41EC 000C114C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C41F0 000C1150 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800C41F4 000C1154 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800C41F8 000C1158 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800C41FC 000C115C 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800C4200 000C1160 7C 08 03 A6 */ mtlr r0 +/* 800C4204 000C1164 38 21 00 20 */ addi r1, r1, 0x20 +/* 800C4208 000C1168 4E 80 00 20 */ blr + +.global nullsub_41 +nullsub_41: +/* 800C420C 000C116C 4E 80 00 20 */ blr + +.global AreaLoaded__11CScriptDockFR13CStateManager +AreaLoaded__11CScriptDockFR13CStateManager: +/* 800C4210 000C1170 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C4214 000C1174 7C 08 02 A6 */ mflr r0 +/* 800C4218 000C1178 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C421C 000C117C 88 03 02 68 */ lbz r0, 0x268(r3) +/* 800C4220 000C1180 54 05 D7 FE */ rlwinm r5, r0, 0x1a, 0x1f, 0x1f +/* 800C4224 000C1184 48 00 00 15 */ bl SetLoadConnected__11CScriptDockFR13CStateManagerb +/* 800C4228 000C1188 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C422C 000C118C 7C 08 03 A6 */ mtlr r0 +/* 800C4230 000C1190 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C4234 000C1194 4E 80 00 20 */ blr + +.global SetLoadConnected__11CScriptDockFR13CStateManagerb +SetLoadConnected__11CScriptDockFR13CStateManagerb: +/* 800C4238 000C1198 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800C423C 000C119C 7C 08 02 A6 */ mflr r0 +/* 800C4240 000C11A0 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C4244 000C11A4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800C4248 000C11A8 7C BF 2B 78 */ mr r31, r5 +/* 800C424C 000C11AC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800C4250 000C11B0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800C4254 000C11B4 93 81 00 10 */ stw r28, 0x10(r1) +/* 800C4258 000C11B8 7C 7C 1B 78 */ mr r28, r3 +/* 800C425C 000C11BC 80 84 08 50 */ lwz r4, 0x850(r4) +/* 800C4260 000C11C0 80 C3 02 60 */ lwz r6, 0x260(r3) +/* 800C4264 000C11C4 80 03 02 5C */ lwz r0, 0x25c(r3) +/* 800C4268 000C11C8 54 C3 18 38 */ slwi r3, r6, 3 +/* 800C426C 000C11CC 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800C4270 000C11D0 38 63 00 04 */ addi r3, r3, 4 +/* 800C4274 000C11D4 90 C1 00 08 */ stw r6, 8(r1) +/* 800C4278 000C11D8 7F C4 18 2E */ lwzx r30, r4, r3 +/* 800C427C 000C11DC 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800C4280 000C11E0 80 7E 00 D8 */ lwz r3, 0xd8(r30) +/* 800C4284 000C11E4 7F A3 02 14 */ add r29, r3, r0 +/* 800C4288 000C11E8 7F A3 EB 78 */ mr r3, r29 +/* 800C428C 000C11EC 4B F9 B0 E5 */ bl GetReferenceCount__Q29IGameArea4DockCFv +/* 800C4290 000C11F0 7C 64 1B 78 */ mr r4, r3 +/* 800C4294 000C11F4 7F A3 EB 78 */ mr r3, r29 +/* 800C4298 000C11F8 4B F9 AF B9 */ bl GetShouldLoadOther__Q29IGameArea4DockCFi +/* 800C429C 000C11FC 57 E4 06 3E */ clrlwi r4, r31, 0x18 +/* 800C42A0 000C1200 54 60 06 3E */ clrlwi r0, r3, 0x18 +/* 800C42A4 000C1204 7C 04 00 40 */ cmplw r4, r0 +/* 800C42A8 000C1208 41 82 00 2C */ beq lbl_800C42D4 +/* 800C42AC 000C120C 80 1C 02 5C */ lwz r0, 0x25c(r28) +/* 800C42B0 000C1210 7F A3 EB 78 */ mr r3, r29 +/* 800C42B4 000C1214 80 9E 00 D8 */ lwz r4, 0xd8(r30) +/* 800C42B8 000C1218 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800C42BC 000C121C 7F A4 02 14 */ add r29, r4, r0 +/* 800C42C0 000C1220 4B F9 B0 B1 */ bl GetReferenceCount__Q29IGameArea4DockCFv +/* 800C42C4 000C1224 7C 64 1B 78 */ mr r4, r3 +/* 800C42C8 000C1228 7F A3 EB 78 */ mr r3, r29 +/* 800C42CC 000C122C 7F E5 FB 78 */ mr r5, r31 +/* 800C42D0 000C1230 4B F9 AF C1 */ bl SetShouldLoadOther__Q29IGameArea4DockFib +lbl_800C42D4: +/* 800C42D4 000C1234 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C42D8 000C1238 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800C42DC 000C123C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800C42E0 000C1240 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800C42E4 000C1244 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800C42E8 000C1248 7C 08 03 A6 */ mtlr r0 +/* 800C42EC 000C124C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800C42F0 000C1250 4E 80 00 20 */ blr + +.global GetTouchBounds__11CScriptDockCFv +GetTouchBounds__11CScriptDockCFv: +/* 800C42F4 000C1254 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800C42F8 000C1258 7C 08 02 A6 */ mflr r0 +/* 800C42FC 000C125C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800C4300 000C1260 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800C4304 000C1264 7C 7F 1B 78 */ mr r31, r3 +/* 800C4308 000C1268 80 04 02 64 */ lwz r0, 0x264(r4) +/* 800C430C 000C126C 2C 00 00 03 */ cmpwi r0, 3 +/* 800C4310 000C1270 40 82 00 10 */ bne lbl_800C4320 +/* 800C4314 000C1274 38 00 00 00 */ li r0, 0 +/* 800C4318 000C1278 98 1F 00 18 */ stb r0, 0x18(r31) +/* 800C431C 000C127C 48 00 00 4C */ b lbl_800C4368 +lbl_800C4320: +/* 800C4320 000C1280 38 61 00 08 */ addi r3, r1, 8 +/* 800C4324 000C1284 48 05 66 09 */ bl GetBoundingBox__13CPhysicsActorCFv +/* 800C4328 000C1288 38 00 00 01 */ li r0, 1 +/* 800C432C 000C128C 28 1F 00 00 */ cmplwi r31, 0 +/* 800C4330 000C1290 98 1F 00 18 */ stb r0, 0x18(r31) +/* 800C4334 000C1294 41 82 00 34 */ beq lbl_800C4368 +/* 800C4338 000C1298 C0 01 00 08 */ lfs f0, 8(r1) +/* 800C433C 000C129C D0 1F 00 00 */ stfs f0, 0(r31) +/* 800C4340 000C12A0 C0 01 00 0C */ lfs f0, 0xc(r1) +/* 800C4344 000C12A4 D0 1F 00 04 */ stfs f0, 4(r31) +/* 800C4348 000C12A8 C0 01 00 10 */ lfs f0, 0x10(r1) +/* 800C434C 000C12AC D0 1F 00 08 */ stfs f0, 8(r31) +/* 800C4350 000C12B0 C0 01 00 14 */ lfs f0, 0x14(r1) +/* 800C4354 000C12B4 D0 1F 00 0C */ stfs f0, 0xc(r31) +/* 800C4358 000C12B8 C0 01 00 18 */ lfs f0, 0x18(r1) +/* 800C435C 000C12BC D0 1F 00 10 */ stfs f0, 0x10(r31) +/* 800C4360 000C12C0 C0 01 00 1C */ lfs f0, 0x1c(r1) +/* 800C4364 000C12C4 D0 1F 00 14 */ stfs f0, 0x14(r31) +lbl_800C4368: +/* 800C4368 000C12C8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800C436C 000C12CC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800C4370 000C12D0 7C 08 03 A6 */ mtlr r0 +/* 800C4374 000C12D4 38 21 00 30 */ addi r1, r1, 0x30 +/* 800C4378 000C12D8 4E 80 00 20 */ blr + +.global Touch__11CScriptDockFR6CActorR13CStateManager +Touch__11CScriptDockFR6CActorR13CStateManager: +/* 800C437C 000C12DC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800C4380 000C12E0 7C 08 02 A6 */ mflr r0 +/* 800C4384 000C12E4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C4388 000C12E8 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800C438C 000C12EC 7C 7F 1B 78 */ mr r31, r3 +/* 800C4390 000C12F0 80 03 02 64 */ lwz r0, 0x264(r3) +/* 800C4394 000C12F4 2C 00 00 03 */ cmpwi r0, 3 +/* 800C4398 000C12F8 41 82 00 20 */ beq lbl_800C43B8 +/* 800C439C 000C12FC 38 61 00 08 */ addi r3, r1, 8 +/* 800C43A0 000C1300 4B FE 80 61 */ bl "__ct__20TCastToPtr<7CPlayer>FR7CEntity" +/* 800C43A4 000C1304 80 03 00 04 */ lwz r0, 4(r3) +/* 800C43A8 000C1308 28 00 00 00 */ cmplwi r0, 0 +/* 800C43AC 000C130C 41 82 00 0C */ beq lbl_800C43B8 +/* 800C43B0 000C1310 38 00 00 01 */ li r0, 1 +/* 800C43B4 000C1314 90 1F 02 64 */ stw r0, 0x264(r31) +lbl_800C43B8: +/* 800C43B8 000C1318 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C43BC 000C131C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800C43C0 000C1320 7C 08 03 A6 */ mtlr r0 +/* 800C43C4 000C1324 38 21 00 20 */ addi r1, r1, 0x20 +/* 800C43C8 000C1328 4E 80 00 20 */ blr + +.global __dt__11CScriptDockFv +__dt__11CScriptDockFv: +/* 800C43CC 000C132C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C43D0 000C1330 7C 08 02 A6 */ mflr r0 +/* 800C43D4 000C1334 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C43D8 000C1338 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800C43DC 000C133C 7C 9F 23 78 */ mr r31, r4 +/* 800C43E0 000C1340 93 C1 00 08 */ stw r30, 8(r1) +/* 800C43E4 000C1344 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800C43E8 000C1348 41 82 00 28 */ beq lbl_800C4410 +/* 800C43EC 000C134C 3C A0 80 3E */ lis r5, lbl_803DF580@ha +/* 800C43F0 000C1350 38 80 00 00 */ li r4, 0 +/* 800C43F4 000C1354 38 05 F5 80 */ addi r0, r5, lbl_803DF580@l +/* 800C43F8 000C1358 90 1E 00 00 */ stw r0, 0(r30) +/* 800C43FC 000C135C 48 05 80 19 */ bl __dt__13CPhysicsActorFv +/* 800C4400 000C1360 7F E0 07 35 */ extsh. r0, r31 +/* 800C4404 000C1364 40 81 00 0C */ ble lbl_800C4410 +/* 800C4408 000C1368 7F C3 F3 78 */ mr r3, r30 +/* 800C440C 000C136C 48 25 15 25 */ bl Free__7CMemoryFPCv +lbl_800C4410: +/* 800C4410 000C1370 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C4414 000C1374 7F C3 F3 78 */ mr r3, r30 +/* 800C4418 000C1378 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800C441C 000C137C 83 C1 00 08 */ lwz r30, 8(r1) +/* 800C4420 000C1380 7C 08 03 A6 */ mtlr r0 +/* 800C4424 000C1384 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C4428 000C1388 4E 80 00 20 */ blr + +.global "__ct__11CScriptDockF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fi7TAreaIdbib" +"__ct__11CScriptDockF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fi7TAreaIdbib": +/* 800C442C 000C138C 94 21 FE 60 */ stwu r1, -0x1a0(r1) +/* 800C4430 000C1390 7C 08 02 A6 */ mflr r0 +/* 800C4434 000C1394 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 800C4438 000C1398 BE 81 01 70 */ stmw r20, 0x170(r1) +/* 800C443C 000C139C 7C 76 1B 78 */ mr r22, r3 +/* 800C4440 000C13A0 8B A1 01 AB */ lbz r29, 0x1ab(r1) +/* 800C4444 000C13A4 7C 97 23 78 */ mr r23, r4 +/* 800C4448 000C13A8 83 C1 01 AC */ lwz r30, 0x1ac(r1) +/* 800C444C 000C13AC 7C B8 2B 78 */ mr r24, r5 +/* 800C4450 000C13B0 8B E1 01 B3 */ lbz r31, 0x1b3(r1) +/* 800C4454 000C13B4 7C D9 33 78 */ mr r25, r6 +/* 800C4458 000C13B8 7C FA 3B 78 */ mr r26, r7 +/* 800C445C 000C13BC 7D 14 43 78 */ mr r20, r8 +/* 800C4460 000C13C0 7D 3B 4B 78 */ mr r27, r9 +/* 800C4464 000C13C4 7D 5C 53 78 */ mr r28, r10 +/* 800C4468 000C13C8 38 61 01 24 */ addi r3, r1, 0x124 +/* 800C446C 000C13CC 4B F7 63 39 */ bl CModelDataNull__10CModelDataFv +/* 800C4470 000C13D0 38 61 00 BC */ addi r3, r1, 0xbc +/* 800C4474 000C13D4 4B F5 69 C5 */ bl None__16CActorParametersFv +/* 800C4478 000C13D8 4B F5 70 BD */ bl Identity__10CAxisAngleFv +/* 800C447C 000C13DC 7C 75 1B 78 */ mr r21, r3 +/* 800C4480 000C13E0 4B F5 70 B5 */ bl Identity__10CAxisAngleFv +/* 800C4484 000C13E4 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800C4488 000C13E8 C5 04 66 A0 */ lfsu f8, skZero3f@l(r4) +/* 800C448C 000C13EC C0 42 8E 14 */ lfs f2, lbl_805AAB34@sda21(r2) +/* 800C4490 000C13F0 38 00 00 00 */ li r0, 0 +/* 800C4494 000C13F4 C1 24 00 04 */ lfs f9, 4(r4) +/* 800C4498 000C13F8 C1 44 00 08 */ lfs f10, 8(r4) +/* 800C449C 000C13FC 38 80 00 01 */ li r4, 1 +/* 800C44A0 000C1400 D1 01 00 58 */ stfs f8, 0x58(r1) +/* 800C44A4 000C1404 C0 14 00 08 */ lfs f0, 8(r20) +/* 800C44A8 000C1408 D1 21 00 5C */ stfs f9, 0x5c(r1) +/* 800C44AC 000C140C EC E2 00 32 */ fmuls f7, f2, f0 +/* 800C44B0 000C1410 C0 34 00 04 */ lfs f1, 4(r20) +/* 800C44B4 000C1414 D1 41 00 60 */ stfs f10, 0x60(r1) +/* 800C44B8 000C1418 EC C2 00 72 */ fmuls f6, f2, f1 +/* 800C44BC 000C141C C0 14 00 00 */ lfs f0, 0(r20) +/* 800C44C0 000C1420 C0 63 00 00 */ lfs f3, 0(r3) +/* 800C44C4 000C1424 EC 22 00 32 */ fmuls f1, f2, f0 +/* 800C44C8 000C1428 C0 42 8E 10 */ lfs f2, lbl_805AAB30@sda21(r2) +/* 800C44CC 000C142C D0 61 00 64 */ stfs f3, 0x64(r1) +/* 800C44D0 000C1430 FC A0 38 50 */ fneg f5, f7 +/* 800C44D4 000C1434 80 AD 86 C8 */ lwz r5, lbl_805A7288@sda21(r13) +/* 800C44D8 000C1438 C0 63 00 04 */ lfs f3, 4(r3) +/* 800C44DC 000C143C FC 80 30 50 */ fneg f4, f6 +/* 800C44E0 000C1440 D0 61 00 68 */ stfs f3, 0x68(r1) +/* 800C44E4 000C1444 FC 00 08 50 */ fneg f0, f1 +/* 800C44E8 000C1448 C0 63 00 08 */ lfs f3, 8(r3) +/* 800C44EC 000C144C 38 60 00 00 */ li r3, 0 +/* 800C44F0 000C1450 D0 61 00 6C */ stfs f3, 0x6c(r1) +/* 800C44F4 000C1454 D1 01 00 70 */ stfs f8, 0x70(r1) +/* 800C44F8 000C1458 D1 21 00 74 */ stfs f9, 0x74(r1) +/* 800C44FC 000C145C D1 41 00 78 */ stfs f10, 0x78(r1) +/* 800C4500 000C1460 C0 75 00 00 */ lfs f3, 0(r21) +/* 800C4504 000C1464 D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 800C4508 000C1468 C0 75 00 04 */ lfs f3, 4(r21) +/* 800C450C 000C146C D0 61 00 80 */ stfs f3, 0x80(r1) +/* 800C4510 000C1470 C0 75 00 08 */ lfs f3, 8(r21) +/* 800C4514 000C1474 D0 61 00 84 */ stfs f3, 0x84(r1) +/* 800C4518 000C1478 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 800C451C 000C147C D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800C4520 000C1480 D0 C1 00 2C */ stfs f6, 0x2c(r1) +/* 800C4524 000C1484 D0 E1 00 30 */ stfs f7, 0x30(r1) +/* 800C4528 000C1488 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800C452C 000C148C D0 81 00 38 */ stfs f4, 0x38(r1) +/* 800C4530 000C1490 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 800C4534 000C1494 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C4538 000C1498 90 01 00 20 */ stw r0, 0x20(r1) +/* 800C453C 000C149C 48 2C 59 B9 */ bl __shl2i +/* 800C4540 000C14A0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800C4544 000C14A4 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 800C4548 000C14A8 7C 00 1B 78 */ or r0, r0, r3 +/* 800C454C 000C14AC 80 AD 86 CC */ lwz r5, lbl_805A728C@sda21(r13) +/* 800C4550 000C14B0 7C C4 23 78 */ or r4, r6, r4 +/* 800C4554 000C14B4 90 01 00 20 */ stw r0, 0x20(r1) +/* 800C4558 000C14B8 38 60 00 00 */ li r3, 0 +/* 800C455C 000C14BC 90 81 00 24 */ stw r4, 0x24(r1) +/* 800C4560 000C14C0 38 80 00 01 */ li r4, 1 +/* 800C4564 000C14C4 48 2C 59 91 */ bl __shl2i +/* 800C4568 000C14C8 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800C456C 000C14CC 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 800C4570 000C14D0 7C 00 1B 78 */ or r0, r0, r3 +/* 800C4574 000C14D4 80 AD 86 D0 */ lwz r5, lbl_805A7290@sda21(r13) +/* 800C4578 000C14D8 7C C4 23 78 */ or r4, r6, r4 +/* 800C457C 000C14DC 90 01 00 20 */ stw r0, 0x20(r1) +/* 800C4580 000C14E0 38 60 00 00 */ li r3, 0 +/* 800C4584 000C14E4 90 81 00 24 */ stw r4, 0x24(r1) +/* 800C4588 000C14E8 38 80 00 01 */ li r4, 1 +/* 800C458C 000C14EC 48 2C 59 69 */ bl __shl2i +/* 800C4590 000C14F0 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800C4594 000C14F4 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800C4598 000C14F8 80 C1 00 24 */ lwz r6, 0x24(r1) +/* 800C459C 000C14FC 7C 03 1B 78 */ or r3, r0, r3 +/* 800C45A0 000C1500 A0 17 00 00 */ lhz r0, 0(r23) +/* 800C45A4 000C1504 7C C6 23 78 */ or r6, r6, r4 +/* 800C45A8 000C1508 90 61 00 20 */ stw r3, 0x20(r1) +/* 800C45AC 000C150C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C45B0 000C1510 38 81 00 34 */ addi r4, r1, 0x34 +/* 800C45B4 000C1514 90 C1 00 24 */ stw r6, 0x24(r1) +/* 800C45B8 000C1518 B0 01 00 18 */ sth r0, 0x18(r1) +/* 800C45BC 000C151C 48 27 3F 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800C45C0 000C1520 7C 77 1B 78 */ mr r23, r3 +/* 800C45C4 000C1524 7F 44 D3 78 */ mr r4, r26 +/* 800C45C8 000C1528 38 61 00 8C */ addi r3, r1, 0x8c +/* 800C45CC 000C152C 48 24 EB 75 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800C45D0 000C1530 92 E1 00 08 */ stw r23, 8(r1) +/* 800C45D4 000C1534 38 61 00 58 */ addi r3, r1, 0x58 +/* 800C45D8 000C1538 38 01 00 BC */ addi r0, r1, 0xbc +/* 800C45DC 000C153C C0 22 8E 18 */ lfs f1, lbl_805AAB38@sda21(r2) +/* 800C45E0 000C1540 90 61 00 0C */ stw r3, 0xc(r1) +/* 800C45E4 000C1544 7E C3 B3 78 */ mr r3, r22 +/* 800C45E8 000C1548 C0 42 8E 1C */ lfs f2, lbl_805AAB3C@sda21(r2) +/* 800C45EC 000C154C 7F A5 EB 78 */ mr r5, r29 +/* 800C45F0 000C1550 90 01 00 10 */ stw r0, 0x10(r1) +/* 800C45F4 000C1554 7F 06 C3 78 */ mr r6, r24 +/* 800C45F8 000C1558 7F 27 CB 78 */ mr r7, r25 +/* 800C45FC 000C155C 38 81 00 18 */ addi r4, r1, 0x18 +/* 800C4600 000C1560 39 01 00 8C */ addi r8, r1, 0x8c +/* 800C4604 000C1564 39 21 01 24 */ addi r9, r1, 0x124 +/* 800C4608 000C1568 39 41 00 20 */ addi r10, r1, 0x20 +/* 800C460C 000C156C 48 05 7E A5 */ bl "__ct__13CPhysicsActorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC13CMaterialListRC6CAABoxRC10SMoverDataRC16CActorParametersff" +/* 800C4610 000C1570 38 61 00 BC */ addi r3, r1, 0xbc +/* 800C4614 000C1574 38 80 FF FF */ li r4, -1 +/* 800C4618 000C1578 48 04 1F F1 */ bl __dt__16CActorParametersFv +/* 800C461C 000C157C 38 61 01 24 */ addi r3, r1, 0x124 +/* 800C4620 000C1580 38 80 FF FF */ li r4, -1 +/* 800C4624 000C1584 48 05 24 29 */ bl __dt__10CModelDataFv +/* 800C4628 000C1588 3C 60 80 3E */ lis r3, lbl_803DF580@ha +/* 800C462C 000C158C 38 00 00 03 */ li r0, 3 +/* 800C4630 000C1590 38 63 F5 80 */ addi r3, r3, lbl_803DF580@l +/* 800C4634 000C1594 38 80 00 00 */ li r4, 0 +/* 800C4638 000C1598 90 76 00 00 */ stw r3, 0(r22) +/* 800C463C 000C159C 7E C3 B3 78 */ mr r3, r22 +/* 800C4640 000C15A0 93 D6 02 58 */ stw r30, 0x258(r22) +/* 800C4644 000C15A4 93 76 02 5C */ stw r27, 0x25c(r22) +/* 800C4648 000C15A8 80 BC 00 00 */ lwz r5, 0(r28) +/* 800C464C 000C15AC 90 B6 02 60 */ stw r5, 0x260(r22) +/* 800C4650 000C15B0 90 16 02 64 */ stw r0, 0x264(r22) +/* 800C4654 000C15B4 88 16 02 68 */ lbz r0, 0x268(r22) +/* 800C4658 000C15B8 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800C465C 000C15BC 98 16 02 68 */ stb r0, 0x268(r22) +/* 800C4660 000C15C0 88 16 02 68 */ lbz r0, 0x268(r22) +/* 800C4664 000C15C4 53 E0 36 72 */ rlwimi r0, r31, 6, 0x19, 0x19 +/* 800C4668 000C15C8 98 16 02 68 */ stb r0, 0x268(r22) +/* 800C466C 000C15CC 88 16 02 68 */ lbz r0, 0x268(r22) +/* 800C4670 000C15D0 50 80 2E B4 */ rlwimi r0, r4, 5, 0x1a, 0x1a +/* 800C4674 000C15D4 98 16 02 68 */ stb r0, 0x268(r22) +/* 800C4678 000C15D8 BA 81 01 70 */ lmw r20, 0x170(r1) +/* 800C467C 000C15DC 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 800C4680 000C15E0 7C 08 03 A6 */ mtlr r0 +/* 800C4684 000C15E4 38 21 01 A0 */ addi r1, r1, 0x1a0 +/* 800C4688 000C15E8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CScriptMailbox.s b/asm/Kyoto_CWD/CScriptMailbox.s new file mode 100644 index 00000000..e32a11e8 --- /dev/null +++ b/asm/Kyoto_CWD/CScriptMailbox.s @@ -0,0 +1,473 @@ +.include "macros.inc" + +.section .text, "ax" + +.global HasObject__14CScriptMailboxCF9TEditorId +HasObject__14CScriptMailboxCF9TEditorId: +/* 800E1A38 000DE998 80 03 00 00 */ lwz r0, 0(r3) +/* 800E1A3C 000DE99C 38 C3 00 04 */ addi r6, r3, 4 +/* 800E1A40 000DE9A0 54 00 10 3A */ slwi r0, r0, 2 +/* 800E1A44 000DE9A4 7C A3 02 14 */ add r5, r3, r0 +/* 800E1A48 000DE9A8 38 A5 00 04 */ addi r5, r5, 4 +/* 800E1A4C 000DE9AC 48 00 00 28 */ b lbl_800E1A74 +lbl_800E1A50: +/* 800E1A50 000DE9B0 80 66 00 00 */ lwz r3, 0(r6) +/* 800E1A54 000DE9B4 80 04 00 00 */ lwz r0, 0(r4) +/* 800E1A58 000DE9B8 54 63 01 BE */ clrlwi r3, r3, 6 +/* 800E1A5C 000DE9BC 54 00 01 BE */ clrlwi r0, r0, 6 +/* 800E1A60 000DE9C0 7C 03 00 40 */ cmplw r3, r0 +/* 800E1A64 000DE9C4 40 82 00 0C */ bne lbl_800E1A70 +/* 800E1A68 000DE9C8 38 60 00 01 */ li r3, 1 +/* 800E1A6C 000DE9CC 4E 80 00 20 */ blr +lbl_800E1A70: +/* 800E1A70 000DE9D0 38 C6 00 04 */ addi r6, r6, 4 +lbl_800E1A74: +/* 800E1A74 000DE9D4 7C 06 28 40 */ cmplw r6, r5 +/* 800E1A78 000DE9D8 40 82 FF D8 */ bne lbl_800E1A50 +/* 800E1A7C 000DE9DC 38 60 00 00 */ li r3, 0 +/* 800E1A80 000DE9E0 4E 80 00 20 */ blr + +.global RemoveRelay__14CScriptMailboxF9TEditorId +RemoveRelay__14CScriptMailboxF9TEditorId: +/* 800E1A84 000DE9E4 80 03 00 00 */ lwz r0, 0(r3) +/* 800E1A88 000DE9E8 38 E3 00 04 */ addi r7, r3, 4 +/* 800E1A8C 000DE9EC 54 00 10 3A */ slwi r0, r0, 2 +/* 800E1A90 000DE9F0 7C C3 02 14 */ add r6, r3, r0 +/* 800E1A94 000DE9F4 38 C6 00 04 */ addi r6, r6, 4 +/* 800E1A98 000DE9F8 48 00 00 68 */ b lbl_800E1B00 +lbl_800E1A9C: +/* 800E1A9C 000DE9FC 80 A7 00 00 */ lwz r5, 0(r7) +/* 800E1AA0 000DEA00 80 04 00 00 */ lwz r0, 0(r4) +/* 800E1AA4 000DEA04 54 A5 01 BE */ clrlwi r5, r5, 6 +/* 800E1AA8 000DEA08 54 00 01 BE */ clrlwi r0, r0, 6 +/* 800E1AAC 000DEA0C 7C 05 00 40 */ cmplw r5, r0 +/* 800E1AB0 000DEA10 40 82 00 4C */ bne lbl_800E1AFC +/* 800E1AB4 000DEA14 38 03 00 04 */ addi r0, r3, 4 +/* 800E1AB8 000DEA18 7C 07 00 40 */ cmplw r7, r0 +/* 800E1ABC 000DEA1C 4D 80 00 20 */ bltlr +/* 800E1AC0 000DEA20 7C 07 30 40 */ cmplw r7, r6 +/* 800E1AC4 000DEA24 4C 80 00 20 */ bgelr +/* 800E1AC8 000DEA28 7C E5 3B 78 */ mr r5, r7 +/* 800E1ACC 000DEA2C 48 00 00 10 */ b lbl_800E1ADC +lbl_800E1AD0: +/* 800E1AD0 000DEA30 80 05 00 04 */ lwz r0, 4(r5) +/* 800E1AD4 000DEA34 90 05 00 00 */ stw r0, 0(r5) +/* 800E1AD8 000DEA38 38 A5 00 04 */ addi r5, r5, 4 +lbl_800E1ADC: +/* 800E1ADC 000DEA3C 80 83 00 00 */ lwz r4, 0(r3) +/* 800E1AE0 000DEA40 54 80 10 3A */ slwi r0, r4, 2 +/* 800E1AE4 000DEA44 7C 03 02 14 */ add r0, r3, r0 +/* 800E1AE8 000DEA48 7C 05 00 40 */ cmplw r5, r0 +/* 800E1AEC 000DEA4C 41 80 FF E4 */ blt lbl_800E1AD0 +/* 800E1AF0 000DEA50 38 04 FF FF */ addi r0, r4, -1 +/* 800E1AF4 000DEA54 90 03 00 00 */ stw r0, 0(r3) +/* 800E1AF8 000DEA58 4E 80 00 20 */ blr +lbl_800E1AFC: +/* 800E1AFC 000DEA5C 38 E7 00 04 */ addi r7, r7, 4 +lbl_800E1B00: +/* 800E1B00 000DEA60 7C 07 30 40 */ cmplw r7, r6 +/* 800E1B04 000DEA64 40 82 FF 98 */ bne lbl_800E1A9C +/* 800E1B08 000DEA68 4E 80 00 20 */ blr + +.global AddRelay__14CScriptMailboxF9TEditorId +AddRelay__14CScriptMailboxF9TEditorId: +/* 800E1B0C 000DEA6C 80 03 00 00 */ lwz r0, 0(r3) +/* 800E1B10 000DEA70 38 E3 00 04 */ addi r7, r3, 4 +/* 800E1B14 000DEA74 54 00 10 3A */ slwi r0, r0, 2 +/* 800E1B18 000DEA78 7C C3 02 14 */ add r6, r3, r0 +/* 800E1B1C 000DEA7C 38 C6 00 04 */ addi r6, r6, 4 +/* 800E1B20 000DEA80 48 00 00 20 */ b lbl_800E1B40 +lbl_800E1B24: +/* 800E1B24 000DEA84 80 A7 00 00 */ lwz r5, 0(r7) +/* 800E1B28 000DEA88 80 04 00 00 */ lwz r0, 0(r4) +/* 800E1B2C 000DEA8C 54 A5 01 BE */ clrlwi r5, r5, 6 +/* 800E1B30 000DEA90 54 00 01 BE */ clrlwi r0, r0, 6 +/* 800E1B34 000DEA94 7C 05 00 40 */ cmplw r5, r0 +/* 800E1B38 000DEA98 4D 82 00 20 */ beqlr +/* 800E1B3C 000DEA9C 38 E7 00 04 */ addi r7, r7, 4 +lbl_800E1B40: +/* 800E1B40 000DEAA0 7C 07 30 40 */ cmplw r7, r6 +/* 800E1B44 000DEAA4 40 82 FF E0 */ bne lbl_800E1B24 +/* 800E1B48 000DEAA8 28 06 00 00 */ cmplwi r6, 0 +/* 800E1B4C 000DEAAC 41 82 00 0C */ beq lbl_800E1B58 +/* 800E1B50 000DEAB0 80 04 00 00 */ lwz r0, 0(r4) +/* 800E1B54 000DEAB4 90 06 00 00 */ stw r0, 0(r6) +lbl_800E1B58: +/* 800E1B58 000DEAB8 80 83 00 00 */ lwz r4, 0(r3) +/* 800E1B5C 000DEABC 38 04 00 01 */ addi r0, r4, 1 +/* 800E1B60 000DEAC0 90 03 00 00 */ stw r0, 0(r3) +/* 800E1B64 000DEAC4 4E 80 00 20 */ blr + +.global SendMsgs__14CScriptMailboxFRC7TAreaIdR13CStateManager +SendMsgs__14CScriptMailboxFRC7TAreaIdR13CStateManager: +/* 800E1B68 000DEAC8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800E1B6C 000DEACC 7C 08 02 A6 */ mflr r0 +/* 800E1B70 000DEAD0 90 01 00 54 */ stw r0, 0x54(r1) +/* 800E1B74 000DEAD4 BF 21 00 34 */ stmw r25, 0x34(r1) +/* 800E1B78 000DEAD8 7C BB 2B 78 */ mr r27, r5 +/* 800E1B7C 000DEADC 7C 79 1B 78 */ mr r25, r3 +/* 800E1B80 000DEAE0 7C 9A 23 78 */ mr r26, r4 +/* 800E1B84 000DEAE4 83 E5 08 50 */ lwz r31, 0x850(r5) +/* 800E1B88 000DEAE8 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 800E1B8C 000DEAEC 2C 00 00 00 */ cmpwi r0, 0 +/* 800E1B90 000DEAF0 40 81 01 18 */ ble lbl_800E1CA8 +/* 800E1B94 000DEAF4 83 DF 00 38 */ lwz r30, 0x38(r31) +/* 800E1B98 000DEAF8 3B 80 00 00 */ li r28, 0 +/* 800E1B9C 000DEAFC 48 00 00 78 */ b lbl_800E1C14 +lbl_800E1BA0: +/* 800E1BA0 000DEB00 80 9E 00 04 */ lwz r4, 4(r30) +/* 800E1BA4 000DEB04 80 1A 00 00 */ lwz r0, 0(r26) +/* 800E1BA8 000DEB08 54 83 85 BE */ rlwinm r3, r4, 0x10, 0x16, 0x1f +/* 800E1BAC 000DEB0C 90 81 00 24 */ stw r4, 0x24(r1) +/* 800E1BB0 000DEB10 7C 03 00 00 */ cmpw r3, r0 +/* 800E1BB4 000DEB14 40 82 00 5C */ bne lbl_800E1C10 +/* 800E1BB8 000DEB18 80 1E 00 00 */ lwz r0, 0(r30) +/* 800E1BBC 000DEB1C 7F 23 CB 78 */ mr r3, r25 +/* 800E1BC0 000DEB20 38 81 00 18 */ addi r4, r1, 0x18 +/* 800E1BC4 000DEB24 90 01 00 20 */ stw r0, 0x20(r1) +/* 800E1BC8 000DEB28 90 01 00 18 */ stw r0, 0x18(r1) +/* 800E1BCC 000DEB2C 4B FF FE 6D */ bl HasObject__14CScriptMailboxCF9TEditorId +/* 800E1BD0 000DEB30 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E1BD4 000DEB34 41 82 00 3C */ beq lbl_800E1C10 +/* 800E1BD8 000DEB38 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 800E1BDC 000DEB3C 7F 63 DB 78 */ mr r3, r27 +/* 800E1BE0 000DEB40 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800E1BE4 000DEB44 38 81 00 08 */ addi r4, r1, 8 +/* 800E1BE8 000DEB48 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800E1BEC 000DEB4C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800E1BF0 000DEB50 38 E0 FF FF */ li r7, -1 +/* 800E1BF4 000DEB54 B0 01 00 08 */ sth r0, 8(r1) +/* 800E1BF8 000DEB58 A0 DE 00 08 */ lhz r6, 8(r30) +/* 800E1BFC 000DEB5C 4B F6 5F 41 */ bl SendScriptMsg__13CStateManagerF9TUniqueId9TEditorId20EScriptObjectMessage18EScriptObjectState +/* 800E1C00 000DEB60 88 1E 00 0A */ lbz r0, 0xa(r30) +/* 800E1C04 000DEB64 28 00 00 00 */ cmplwi r0, 0 +/* 800E1C08 000DEB68 41 82 00 08 */ beq lbl_800E1C10 +/* 800E1C0C 000DEB6C 3B 80 00 01 */ li r28, 1 +lbl_800E1C10: +/* 800E1C10 000DEB70 3B DE 00 0C */ addi r30, r30, 0xc +lbl_800E1C14: +/* 800E1C14 000DEB74 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 800E1C18 000DEB78 83 BF 00 38 */ lwz r29, 0x38(r31) +/* 800E1C1C 000DEB7C 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800E1C20 000DEB80 7C 1D 02 14 */ add r0, r29, r0 +/* 800E1C24 000DEB84 7C 1E 00 40 */ cmplw r30, r0 +/* 800E1C28 000DEB88 40 82 FF 78 */ bne lbl_800E1BA0 +/* 800E1C2C 000DEB8C 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 800E1C30 000DEB90 41 82 00 78 */ beq lbl_800E1CA8 +/* 800E1C34 000DEB94 48 00 00 5C */ b lbl_800E1C90 +lbl_800E1C38: +/* 800E1C38 000DEB98 80 7D 00 04 */ lwz r3, 4(r29) +/* 800E1C3C 000DEB9C 80 1A 00 00 */ lwz r0, 0(r26) +/* 800E1C40 000DEBA0 54 63 85 BE */ rlwinm r3, r3, 0x10, 0x16, 0x1f +/* 800E1C44 000DEBA4 7C 03 00 00 */ cmpw r3, r0 +/* 800E1C48 000DEBA8 40 82 00 44 */ bne lbl_800E1C8C +/* 800E1C4C 000DEBAC 80 1D 00 00 */ lwz r0, 0(r29) +/* 800E1C50 000DEBB0 7F 23 CB 78 */ mr r3, r25 +/* 800E1C54 000DEBB4 38 81 00 10 */ addi r4, r1, 0x10 +/* 800E1C58 000DEBB8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800E1C5C 000DEBBC 90 01 00 10 */ stw r0, 0x10(r1) +/* 800E1C60 000DEBC0 4B FF FD D9 */ bl HasObject__14CScriptMailboxCF9TEditorId +/* 800E1C64 000DEBC4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E1C68 000DEBC8 41 82 00 24 */ beq lbl_800E1C8C +/* 800E1C6C 000DEBCC 88 1D 00 0A */ lbz r0, 0xa(r29) +/* 800E1C70 000DEBD0 28 00 00 00 */ cmplwi r0, 0 +/* 800E1C74 000DEBD4 41 82 00 18 */ beq lbl_800E1C8C +/* 800E1C78 000DEBD8 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800E1C7C 000DEBDC 7F 23 CB 78 */ mr r3, r25 +/* 800E1C80 000DEBE0 38 81 00 0C */ addi r4, r1, 0xc +/* 800E1C84 000DEBE4 90 01 00 0C */ stw r0, 0xc(r1) +/* 800E1C88 000DEBE8 4B FF FD FD */ bl RemoveRelay__14CScriptMailboxF9TEditorId +lbl_800E1C8C: +/* 800E1C8C 000DEBEC 3B BD 00 0C */ addi r29, r29, 0xc +lbl_800E1C90: +/* 800E1C90 000DEBF0 80 1F 00 30 */ lwz r0, 0x30(r31) +/* 800E1C94 000DEBF4 80 7F 00 38 */ lwz r3, 0x38(r31) +/* 800E1C98 000DEBF8 1C 00 00 0C */ mulli r0, r0, 0xc +/* 800E1C9C 000DEBFC 7C 03 02 14 */ add r0, r3, r0 +/* 800E1CA0 000DEC00 7C 1D 00 40 */ cmplw r29, r0 +/* 800E1CA4 000DEC04 40 82 FF 94 */ bne lbl_800E1C38 +lbl_800E1CA8: +/* 800E1CA8 000DEC08 BB 21 00 34 */ lmw r25, 0x34(r1) +/* 800E1CAC 000DEC0C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800E1CB0 000DEC10 7C 08 03 A6 */ mtlr r0 +/* 800E1CB4 000DEC14 38 21 00 50 */ addi r1, r1, 0x50 +/* 800E1CB8 000DEC18 4E 80 00 20 */ blr + +.global PutTo__14CScriptMailboxCFR13COutputStream +PutTo__14CScriptMailboxCFR13COutputStream: +/* 800E1CBC 000DEC1C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800E1CC0 000DEC20 7C 08 02 A6 */ mflr r0 +/* 800E1CC4 000DEC24 90 01 00 54 */ stw r0, 0x54(r1) +/* 800E1CC8 000DEC28 BF 41 00 38 */ stmw r26, 0x38(r1) +/* 800E1CCC 000DEC2C 7C BB 2B 78 */ mr r27, r5 +/* 800E1CD0 000DEC30 7C 7A 1B 78 */ mr r26, r3 +/* 800E1CD4 000DEC34 7C 9F 23 78 */ mr r31, r4 +/* 800E1CD8 000DEC38 83 A5 00 18 */ lwz r29, 0x18(r5) +/* 800E1CDC 000DEC3C 2C 1D 00 00 */ cmpwi r29, 0 +/* 800E1CE0 000DEC40 93 A1 00 20 */ stw r29, 0x20(r1) +/* 800E1CE4 000DEC44 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800E1CE8 000DEC48 40 82 00 10 */ bne lbl_800E1CF8 +/* 800E1CEC 000DEC4C 38 00 00 00 */ li r0, 0 +/* 800E1CF0 000DEC50 90 01 00 28 */ stw r0, 0x28(r1) +/* 800E1CF4 000DEC54 48 00 00 1C */ b lbl_800E1D10 +lbl_800E1CF8: +/* 800E1CF8 000DEC58 3C 80 80 3D */ lis r4, lbl_803CE5C0@ha +/* 800E1CFC 000DEC5C 7F A3 EB 78 */ mr r3, r29 +/* 800E1D00 000DEC60 38 84 E5 C0 */ addi r4, r4, lbl_803CE5C0@l +/* 800E1D04 000DEC64 38 A0 00 00 */ li r5, 0 +/* 800E1D08 000DEC68 48 23 3B 11 */ bl __nwa__FUlPCcPCc +/* 800E1D0C 000DEC6C 90 61 00 28 */ stw r3, 0x28(r1) +lbl_800E1D10: +/* 800E1D10 000DEC70 80 61 00 28 */ lwz r3, 0x28(r1) +/* 800E1D14 000DEC74 7F A9 03 A6 */ mtctr r29 +/* 800E1D18 000DEC78 2C 1D 00 00 */ cmpwi r29, 0 +/* 800E1D1C 000DEC7C 40 81 00 1C */ ble lbl_800E1D38 +lbl_800E1D20: +/* 800E1D20 000DEC80 28 03 00 00 */ cmplwi r3, 0 +/* 800E1D24 000DEC84 41 82 00 0C */ beq lbl_800E1D30 +/* 800E1D28 000DEC88 88 0D 87 69 */ lbz r0, lbl_805A7329@sda21(r13) +/* 800E1D2C 000DEC8C 98 03 00 00 */ stb r0, 0(r3) +lbl_800E1D30: +/* 800E1D30 000DEC90 38 63 00 01 */ addi r3, r3, 1 +/* 800E1D34 000DEC94 42 00 FF EC */ bdnz lbl_800E1D20 +lbl_800E1D38: +/* 800E1D38 000DEC98 83 A1 00 28 */ lwz r29, 0x28(r1) +/* 800E1D3C 000DEC9C 3B 9A 00 04 */ addi r28, r26, 4 +/* 800E1D40 000DECA0 3B C0 00 01 */ li r30, 1 +/* 800E1D44 000DECA4 48 00 00 20 */ b lbl_800E1D64 +lbl_800E1D48: +/* 800E1D48 000DECA8 80 1C 00 00 */ lwz r0, 0(r28) +/* 800E1D4C 000DECAC 7F 63 DB 78 */ mr r3, r27 +/* 800E1D50 000DECB0 38 81 00 18 */ addi r4, r1, 0x18 +/* 800E1D54 000DECB4 90 01 00 18 */ stw r0, 0x18(r1) +/* 800E1D58 000DECB8 48 18 94 81 */ bl GetRelayIndex__10CSaveWorldCFRC9TEditorId +/* 800E1D5C 000DECBC 7F DD 19 AE */ stbx r30, r29, r3 +/* 800E1D60 000DECC0 3B 9C 00 04 */ addi r28, r28, 4 +lbl_800E1D64: +/* 800E1D64 000DECC4 80 1A 00 00 */ lwz r0, 0(r26) +/* 800E1D68 000DECC8 54 00 10 3A */ slwi r0, r0, 2 +/* 800E1D6C 000DECCC 7C 7A 02 14 */ add r3, r26, r0 +/* 800E1D70 000DECD0 38 03 00 04 */ addi r0, r3, 4 +/* 800E1D74 000DECD4 7C 1C 00 40 */ cmplw r28, r0 +/* 800E1D78 000DECD8 40 82 FF D0 */ bne lbl_800E1D48 +/* 800E1D7C 000DECDC 83 A1 00 28 */ lwz r29, 0x28(r1) +/* 800E1D80 000DECE0 3B 80 00 00 */ li r28, 0 +/* 800E1D84 000DECE4 83 C1 00 20 */ lwz r30, 0x20(r1) +/* 800E1D88 000DECE8 48 00 00 28 */ b lbl_800E1DB0 +lbl_800E1D8C: +/* 800E1D8C 000DECEC 88 9D 00 00 */ lbz r4, 0(r29) +/* 800E1D90 000DECF0 7F E3 FB 78 */ mr r3, r31 +/* 800E1D94 000DECF4 38 A0 00 01 */ li r5, 1 +/* 800E1D98 000DECF8 7C 04 00 D0 */ neg r0, r4 +/* 800E1D9C 000DECFC 7C 00 23 78 */ or r0, r0, r4 +/* 800E1DA0 000DED00 54 04 0F FE */ srwi r4, r0, 0x1f +/* 800E1DA4 000DED04 48 25 D6 19 */ bl WriteBits__13COutputStreamFii +/* 800E1DA8 000DED08 3B 9C 00 01 */ addi r28, r28, 1 +/* 800E1DAC 000DED0C 3B BD 00 01 */ addi r29, r29, 1 +lbl_800E1DB0: +/* 800E1DB0 000DED10 7C 1C F0 00 */ cmpw r28, r30 +/* 800E1DB4 000DED14 41 80 FF D8 */ blt lbl_800E1D8C +/* 800E1DB8 000DED18 80 61 00 28 */ lwz r3, 0x28(r1) +/* 800E1DBC 000DED1C 80 01 00 20 */ lwz r0, 0x20(r1) +/* 800E1DC0 000DED20 90 61 00 0C */ stw r3, 0xc(r1) +/* 800E1DC4 000DED24 7C 83 02 14 */ add r4, r3, r0 +/* 800E1DC8 000DED28 7C 03 20 50 */ subf r0, r3, r4 +/* 800E1DCC 000DED2C 90 81 00 14 */ stw r4, 0x14(r1) +/* 800E1DD0 000DED30 90 81 00 10 */ stw r4, 0x10(r1) +/* 800E1DD4 000DED34 90 61 00 08 */ stw r3, 8(r1) +/* 800E1DD8 000DED38 7C 09 03 A6 */ mtctr r0 +/* 800E1DDC 000DED3C 7C 03 20 40 */ cmplw r3, r4 +/* 800E1DE0 000DED40 41 82 00 08 */ beq lbl_800E1DE8 +lbl_800E1DE4: +/* 800E1DE4 000DED44 42 00 00 00 */ bdnz lbl_800E1DE4 +lbl_800E1DE8: +/* 800E1DE8 000DED48 28 03 00 00 */ cmplwi r3, 0 +/* 800E1DEC 000DED4C 41 82 00 08 */ beq lbl_800E1DF4 +/* 800E1DF0 000DED50 48 23 3B 41 */ bl Free__7CMemoryFPCv +lbl_800E1DF4: +/* 800E1DF4 000DED54 BB 41 00 38 */ lmw r26, 0x38(r1) +/* 800E1DF8 000DED58 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800E1DFC 000DED5C 7C 08 03 A6 */ mtlr r0 +/* 800E1E00 000DED60 38 21 00 50 */ addi r1, r1, 0x50 +/* 800E1E04 000DED64 4E 80 00 20 */ blr + +.global __dt__14CScriptMailboxFv +__dt__14CScriptMailboxFv: +/* 800E1E08 000DED68 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E1E0C 000DED6C 7C 08 02 A6 */ mflr r0 +/* 800E1E10 000DED70 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E1E14 000DED74 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E1E18 000DED78 7C 9F 23 78 */ mr r31, r4 +/* 800E1E1C 000DED7C 93 C1 00 08 */ stw r30, 8(r1) +/* 800E1E20 000DED80 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800E1E24 000DED84 41 82 00 78 */ beq lbl_800E1E9C +/* 800E1E28 000DED88 38 60 F7 FC */ li r3, -2052 +/* 800E1E2C 000DED8C 48 23 3A 95 */ bl OffsetFakeStatics__7CMemoryFi +/* 800E1E30 000DED90 28 1E 00 00 */ cmplwi r30, 0 +/* 800E1E34 000DED94 41 82 00 58 */ beq lbl_800E1E8C +/* 800E1E38 000DED98 80 BE 00 00 */ lwz r5, 0(r30) +/* 800E1E3C 000DED9C 38 60 00 00 */ li r3, 0 +/* 800E1E40 000DEDA0 2C 05 00 00 */ cmpwi r5, 0 +/* 800E1E44 000DEDA4 40 81 00 40 */ ble lbl_800E1E84 +/* 800E1E48 000DEDA8 2C 05 00 08 */ cmpwi r5, 8 +/* 800E1E4C 000DEDAC 38 85 FF F8 */ addi r4, r5, -8 +/* 800E1E50 000DEDB0 40 81 00 20 */ ble lbl_800E1E70 +/* 800E1E54 000DEDB4 38 04 00 07 */ addi r0, r4, 7 +/* 800E1E58 000DEDB8 54 00 E8 FE */ srwi r0, r0, 3 +/* 800E1E5C 000DEDBC 7C 09 03 A6 */ mtctr r0 +/* 800E1E60 000DEDC0 2C 04 00 00 */ cmpwi r4, 0 +/* 800E1E64 000DEDC4 40 81 00 0C */ ble lbl_800E1E70 +lbl_800E1E68: +/* 800E1E68 000DEDC8 38 63 00 08 */ addi r3, r3, 8 +/* 800E1E6C 000DEDCC 42 00 FF FC */ bdnz lbl_800E1E68 +lbl_800E1E70: +/* 800E1E70 000DEDD0 7C 03 28 50 */ subf r0, r3, r5 +/* 800E1E74 000DEDD4 7C 09 03 A6 */ mtctr r0 +/* 800E1E78 000DEDD8 7C 03 28 00 */ cmpw r3, r5 +/* 800E1E7C 000DEDDC 40 80 00 08 */ bge lbl_800E1E84 +lbl_800E1E80: +/* 800E1E80 000DEDE0 42 00 00 00 */ bdnz lbl_800E1E80 +lbl_800E1E84: +/* 800E1E84 000DEDE4 38 00 00 00 */ li r0, 0 +/* 800E1E88 000DEDE8 90 1E 00 00 */ stw r0, 0(r30) +lbl_800E1E8C: +/* 800E1E8C 000DEDEC 7F E0 07 35 */ extsh. r0, r31 +/* 800E1E90 000DEDF0 40 81 00 0C */ ble lbl_800E1E9C +/* 800E1E94 000DEDF4 7F C3 F3 78 */ mr r3, r30 +/* 800E1E98 000DEDF8 48 23 3A 99 */ bl Free__7CMemoryFPCv +lbl_800E1E9C: +/* 800E1E9C 000DEDFC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E1EA0 000DEE00 7F C3 F3 78 */ mr r3, r30 +/* 800E1EA4 000DEE04 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E1EA8 000DEE08 83 C1 00 08 */ lwz r30, 8(r1) +/* 800E1EAC 000DEE0C 7C 08 03 A6 */ mtlr r0 +/* 800E1EB0 000DEE10 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E1EB4 000DEE14 4E 80 00 20 */ blr + +.global __ct__14CScriptMailboxFR12CInputStreamRC10CSaveWorld +__ct__14CScriptMailboxFR12CInputStreamRC10CSaveWorld: +/* 800E1EB8 000DEE18 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800E1EBC 000DEE1C 7C 08 02 A6 */ mflr r0 +/* 800E1EC0 000DEE20 90 01 00 44 */ stw r0, 0x44(r1) +/* 800E1EC4 000DEE24 38 00 00 00 */ li r0, 0 +/* 800E1EC8 000DEE28 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 800E1ECC 000DEE2C 7C 7E 1B 78 */ mr r30, r3 +/* 800E1ED0 000DEE30 7C BF 2B 78 */ mr r31, r5 +/* 800E1ED4 000DEE34 7C 9A 23 78 */ mr r26, r4 +/* 800E1ED8 000DEE38 90 03 00 00 */ stw r0, 0(r3) +/* 800E1EDC 000DEE3C 83 85 00 18 */ lwz r28, 0x18(r5) +/* 800E1EE0 000DEE40 2C 1C 00 00 */ cmpwi r28, 0 +/* 800E1EE4 000DEE44 93 81 00 1C */ stw r28, 0x1c(r1) +/* 800E1EE8 000DEE48 93 81 00 20 */ stw r28, 0x20(r1) +/* 800E1EEC 000DEE4C 40 82 00 0C */ bne lbl_800E1EF8 +/* 800E1EF0 000DEE50 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E1EF4 000DEE54 48 00 00 1C */ b lbl_800E1F10 +lbl_800E1EF8: +/* 800E1EF8 000DEE58 3C 80 80 3D */ lis r4, lbl_803CE5C0@ha +/* 800E1EFC 000DEE5C 7F 83 E3 78 */ mr r3, r28 +/* 800E1F00 000DEE60 38 84 E5 C0 */ addi r4, r4, lbl_803CE5C0@l +/* 800E1F04 000DEE64 38 A0 00 00 */ li r5, 0 +/* 800E1F08 000DEE68 48 23 39 11 */ bl __nwa__FUlPCcPCc +/* 800E1F0C 000DEE6C 90 61 00 24 */ stw r3, 0x24(r1) +lbl_800E1F10: +/* 800E1F10 000DEE70 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800E1F14 000DEE74 7F 89 03 A6 */ mtctr r28 +/* 800E1F18 000DEE78 2C 1C 00 00 */ cmpwi r28, 0 +/* 800E1F1C 000DEE7C 40 81 00 1C */ ble lbl_800E1F38 +lbl_800E1F20: +/* 800E1F20 000DEE80 28 03 00 00 */ cmplwi r3, 0 +/* 800E1F24 000DEE84 41 82 00 0C */ beq lbl_800E1F30 +/* 800E1F28 000DEE88 88 0D 87 68 */ lbz r0, lbl_805A7328@sda21(r13) +/* 800E1F2C 000DEE8C 98 03 00 00 */ stb r0, 0(r3) +lbl_800E1F30: +/* 800E1F30 000DEE90 38 63 00 01 */ addi r3, r3, 1 +/* 800E1F34 000DEE94 42 00 FF EC */ bdnz lbl_800E1F20 +lbl_800E1F38: +/* 800E1F38 000DEE98 83 81 00 24 */ lwz r28, 0x24(r1) +/* 800E1F3C 000DEE9C 3B 60 00 00 */ li r27, 0 +/* 800E1F40 000DEEA0 83 A1 00 1C */ lwz r29, 0x1c(r1) +/* 800E1F44 000DEEA4 48 00 00 28 */ b lbl_800E1F6C +lbl_800E1F48: +/* 800E1F48 000DEEA8 7F 43 D3 78 */ mr r3, r26 +/* 800E1F4C 000DEEAC 38 80 00 01 */ li r4, 1 +/* 800E1F50 000DEEB0 48 25 CD E9 */ bl ReadBits__12CInputStreamFi +/* 800E1F54 000DEEB4 7C 03 00 D0 */ neg r0, r3 +/* 800E1F58 000DEEB8 3B 7B 00 01 */ addi r27, r27, 1 +/* 800E1F5C 000DEEBC 7C 00 1B 78 */ or r0, r0, r3 +/* 800E1F60 000DEEC0 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800E1F64 000DEEC4 98 1C 00 00 */ stb r0, 0(r28) +/* 800E1F68 000DEEC8 3B 9C 00 01 */ addi r28, r28, 1 +lbl_800E1F6C: +/* 800E1F6C 000DEECC 7C 1B E8 00 */ cmpw r27, r29 +/* 800E1F70 000DEED0 41 80 FF D8 */ blt lbl_800E1F48 +/* 800E1F74 000DEED4 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800E1F78 000DEED8 38 C0 00 00 */ li r6, 0 +/* 800E1F7C 000DEEDC 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800E1F80 000DEEE0 7C 09 03 A6 */ mtctr r0 +/* 800E1F84 000DEEE4 2C 00 00 00 */ cmpwi r0, 0 +/* 800E1F88 000DEEE8 40 81 00 48 */ ble lbl_800E1FD0 +lbl_800E1F8C: +/* 800E1F8C 000DEEEC 88 03 00 00 */ lbz r0, 0(r3) +/* 800E1F90 000DEEF0 28 00 00 00 */ cmplwi r0, 0 +/* 800E1F94 000DEEF4 41 82 00 30 */ beq lbl_800E1FC4 +/* 800E1F98 000DEEF8 80 1E 00 00 */ lwz r0, 0(r30) +/* 800E1F9C 000DEEFC 80 9F 00 20 */ lwz r4, 0x20(r31) +/* 800E1FA0 000DEF00 54 00 10 3A */ slwi r0, r0, 2 +/* 800E1FA4 000DEF04 7C BE 02 14 */ add r5, r30, r0 +/* 800E1FA8 000DEF08 7C 04 30 2E */ lwzx r0, r4, r6 +/* 800E1FAC 000DEF0C 34 A5 00 04 */ addic. r5, r5, 4 +/* 800E1FB0 000DEF10 41 82 00 08 */ beq lbl_800E1FB8 +/* 800E1FB4 000DEF14 90 05 00 00 */ stw r0, 0(r5) +lbl_800E1FB8: +/* 800E1FB8 000DEF18 80 9E 00 00 */ lwz r4, 0(r30) +/* 800E1FBC 000DEF1C 38 04 00 01 */ addi r0, r4, 1 +/* 800E1FC0 000DEF20 90 1E 00 00 */ stw r0, 0(r30) +lbl_800E1FC4: +/* 800E1FC4 000DEF24 38 C6 00 04 */ addi r6, r6, 4 +/* 800E1FC8 000DEF28 38 63 00 01 */ addi r3, r3, 1 +/* 800E1FCC 000DEF2C 42 00 FF C0 */ bdnz lbl_800E1F8C +lbl_800E1FD0: +/* 800E1FD0 000DEF30 38 60 08 04 */ li r3, 0x804 +/* 800E1FD4 000DEF34 48 23 38 ED */ bl OffsetFakeStatics__7CMemoryFi +/* 800E1FD8 000DEF38 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800E1FDC 000DEF3C 80 01 00 1C */ lwz r0, 0x1c(r1) +/* 800E1FE0 000DEF40 90 61 00 0C */ stw r3, 0xc(r1) +/* 800E1FE4 000DEF44 7C 83 02 14 */ add r4, r3, r0 +/* 800E1FE8 000DEF48 7C 03 20 50 */ subf r0, r3, r4 +/* 800E1FEC 000DEF4C 90 81 00 14 */ stw r4, 0x14(r1) +/* 800E1FF0 000DEF50 90 81 00 10 */ stw r4, 0x10(r1) +/* 800E1FF4 000DEF54 90 61 00 08 */ stw r3, 8(r1) +/* 800E1FF8 000DEF58 7C 09 03 A6 */ mtctr r0 +/* 800E1FFC 000DEF5C 7C 03 20 40 */ cmplw r3, r4 +/* 800E2000 000DEF60 41 82 00 08 */ beq lbl_800E2008 +lbl_800E2004: +/* 800E2004 000DEF64 42 00 00 00 */ bdnz lbl_800E2004 +lbl_800E2008: +/* 800E2008 000DEF68 28 03 00 00 */ cmplwi r3, 0 +/* 800E200C 000DEF6C 41 82 00 08 */ beq lbl_800E2014 +/* 800E2010 000DEF70 48 23 39 21 */ bl Free__7CMemoryFPCv +lbl_800E2014: +/* 800E2014 000DEF74 7F C3 F3 78 */ mr r3, r30 +/* 800E2018 000DEF78 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 800E201C 000DEF7C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800E2020 000DEF80 7C 08 03 A6 */ mtlr r0 +/* 800E2024 000DEF84 38 21 00 40 */ addi r1, r1, 0x40 +/* 800E2028 000DEF88 4E 80 00 20 */ blr + +.global __ct__14CScriptMailboxFv +__ct__14CScriptMailboxFv: +/* 800E202C 000DEF8C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E2030 000DEF90 7C 08 02 A6 */ mflr r0 +/* 800E2034 000DEF94 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E2038 000DEF98 38 00 00 00 */ li r0, 0 +/* 800E203C 000DEF9C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E2040 000DEFA0 7C 7F 1B 78 */ mr r31, r3 +/* 800E2044 000DEFA4 90 03 00 00 */ stw r0, 0(r3) +/* 800E2048 000DEFA8 38 60 08 04 */ li r3, 0x804 +/* 800E204C 000DEFAC 48 23 38 75 */ bl OffsetFakeStatics__7CMemoryFi +/* 800E2050 000DEFB0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E2054 000DEFB4 7F E3 FB 78 */ mr r3, r31 +/* 800E2058 000DEFB8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E205C 000DEFBC 7C 08 03 A6 */ mtlr r0 +/* 800E2060 000DEFC0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E2064 000DEFC4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CScriptRelay.s b/asm/Kyoto_CWD/CScriptRelay.s new file mode 100644 index 00000000..0d87ba6b --- /dev/null +++ b/asm/Kyoto_CWD/CScriptRelay.s @@ -0,0 +1,232 @@ +.include "macros.inc" + +.section .text, "ax" + +.global __dt__12CScriptRelayFv +__dt__12CScriptRelayFv: +/* 800E2068 000DEFC8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E206C 000DEFCC 7C 08 02 A6 */ mflr r0 +/* 800E2070 000DEFD0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E2074 000DEFD4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E2078 000DEFD8 7C 9F 23 78 */ mr r31, r4 +/* 800E207C 000DEFDC 93 C1 00 08 */ stw r30, 8(r1) +/* 800E2080 000DEFE0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800E2084 000DEFE4 41 82 00 28 */ beq lbl_800E20AC +/* 800E2088 000DEFE8 3C A0 80 3E */ lis r5, lbl_803DF830@ha +/* 800E208C 000DEFEC 38 80 00 00 */ li r4, 0 +/* 800E2090 000DEFF0 38 05 F8 30 */ addi r0, r5, lbl_803DF830@l +/* 800E2094 000DEFF4 90 1E 00 00 */ stw r0, 0(r30) +/* 800E2098 000DEFF8 4B F6 F1 DD */ bl __dt__7CEntityFv +/* 800E209C 000DEFFC 7F E0 07 35 */ extsh. r0, r31 +/* 800E20A0 000DF000 40 81 00 0C */ ble lbl_800E20AC +/* 800E20A4 000DF004 7F C3 F3 78 */ mr r3, r30 +/* 800E20A8 000DF008 48 23 38 89 */ bl Free__7CMemoryFPCv +lbl_800E20AC: +/* 800E20AC 000DF00C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E20B0 000DF010 7F C3 F3 78 */ mr r3, r30 +/* 800E20B4 000DF014 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E20B8 000DF018 83 C1 00 08 */ lwz r30, 8(r1) +/* 800E20BC 000DF01C 7C 08 03 A6 */ mtlr r0 +/* 800E20C0 000DF020 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E20C4 000DF024 4E 80 00 20 */ blr + +.global Accept__12CScriptRelayFR8IVisitor +Accept__12CScriptRelayFR8IVisitor: +/* 800E20C8 000DF028 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E20CC 000DF02C 7C 08 02 A6 */ mflr r0 +/* 800E20D0 000DF030 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E20D4 000DF034 7C 60 1B 78 */ mr r0, r3 +/* 800E20D8 000DF038 7C 83 23 78 */ mr r3, r4 +/* 800E20DC 000DF03C 81 84 00 00 */ lwz r12, 0(r4) +/* 800E20E0 000DF040 7C 04 03 78 */ mr r4, r0 +/* 800E20E4 000DF044 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800E20E8 000DF048 7D 89 03 A6 */ mtctr r12 +/* 800E20EC 000DF04C 4E 80 04 21 */ bctrl +/* 800E20F0 000DF050 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E20F4 000DF054 7C 08 03 A6 */ mtlr r0 +/* 800E20F8 000DF058 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E20FC 000DF05C 4E 80 00 20 */ blr + +.global Think__12CScriptRelayFfR13CStateManager +Think__12CScriptRelayFfR13CStateManager: +/* 800E2100 000DF060 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E2104 000DF064 7C 08 02 A6 */ mflr r0 +/* 800E2108 000DF068 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E210C 000DF06C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E2110 000DF070 7C 9F 23 78 */ mr r31, r4 +/* 800E2114 000DF074 93 C1 00 08 */ stw r30, 8(r1) +/* 800E2118 000DF078 7C 7E 1B 78 */ mr r30, r3 +/* 800E211C 000DF07C 80 03 00 38 */ lwz r0, 0x38(r3) +/* 800E2120 000DF080 2C 00 00 00 */ cmpwi r0, 0 +/* 800E2124 000DF084 41 82 00 40 */ beq lbl_800E2164 +/* 800E2128 000DF088 48 00 00 24 */ b lbl_800E214C +lbl_800E212C: +/* 800E212C 000DF08C 80 DE 00 38 */ lwz r6, 0x38(r30) +/* 800E2130 000DF090 7F C3 F3 78 */ mr r3, r30 +/* 800E2134 000DF094 7F E5 FB 78 */ mr r5, r31 +/* 800E2138 000DF098 38 80 00 09 */ li r4, 9 +/* 800E213C 000DF09C 38 06 FF FF */ addi r0, r6, -1 +/* 800E2140 000DF0A0 38 C0 FF FF */ li r6, -1 +/* 800E2144 000DF0A4 90 1E 00 38 */ stw r0, 0x38(r30) +/* 800E2148 000DF0A8 4B F6 EF 79 */ bl SendScriptMsgs__7CEntityF18EScriptObjectStateR13CStateManager20EScriptObjectMessage +lbl_800E214C: +/* 800E214C 000DF0AC 80 1E 00 38 */ lwz r0, 0x38(r30) +/* 800E2150 000DF0B0 2C 00 00 00 */ cmpwi r0, 0 +/* 800E2154 000DF0B4 40 82 FF D8 */ bne lbl_800E212C +/* 800E2158 000DF0B8 7F C3 F3 78 */ mr r3, r30 +/* 800E215C 000DF0BC 7F E4 FB 78 */ mr r4, r31 +/* 800E2160 000DF0C0 48 00 01 25 */ bl UpdateObjectRef__12CScriptRelayFR13CStateManager +lbl_800E2164: +/* 800E2164 000DF0C4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E2168 000DF0C8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E216C 000DF0CC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800E2170 000DF0D0 7C 08 03 A6 */ mtlr r0 +/* 800E2174 000DF0D4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E2178 000DF0D8 4E 80 00 20 */ blr + +.global AcceptScriptMsg__12CScriptRelayF20EScriptObjectMessage9TUniqueIdR13CStateManager +AcceptScriptMsg__12CScriptRelayF20EScriptObjectMessage9TUniqueIdR13CStateManager: +/* 800E217C 000DF0DC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800E2180 000DF0E0 7C 08 02 A6 */ mflr r0 +/* 800E2184 000DF0E4 90 01 00 34 */ stw r0, 0x34(r1) +/* 800E2188 000DF0E8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800E218C 000DF0EC 7C DF 33 78 */ mr r31, r6 +/* 800E2190 000DF0F0 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800E2194 000DF0F4 7C 7E 1B 78 */ mr r30, r3 +/* 800E2198 000DF0F8 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800E219C 000DF0FC 7C 9D 23 78 */ mr r29, r4 +/* 800E21A0 000DF100 A0 05 00 00 */ lhz r0, 0(r5) +/* 800E21A4 000DF104 38 A1 00 0C */ addi r5, r1, 0xc +/* 800E21A8 000DF108 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800E21AC 000DF10C 4B F6 EF B1 */ bl AcceptScriptMsg__7CEntityF20EScriptObjectMessage9TUniqueIdR13CStateManager +/* 800E21B0 000DF110 2C 1D 00 22 */ cmpwi r29, 0x22 +/* 800E21B4 000DF114 41 82 00 A8 */ beq lbl_800E225C +/* 800E21B8 000DF118 40 80 00 B0 */ bge lbl_800E2268 +/* 800E21BC 000DF11C 2C 1D 00 0D */ cmpwi r29, 0xd +/* 800E21C0 000DF120 41 82 00 08 */ beq lbl_800E21C8 +/* 800E21C4 000DF124 48 00 00 A4 */ b lbl_800E2268 +lbl_800E21C8: +/* 800E21C8 000DF128 88 1E 00 30 */ lbz r0, 0x30(r30) +/* 800E21CC 000DF12C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800E21D0 000DF130 41 82 00 98 */ beq lbl_800E2268 +/* 800E21D4 000DF134 80 7E 00 38 */ lwz r3, 0x38(r30) +/* 800E21D8 000DF138 38 03 00 01 */ addi r0, r3, 1 +/* 800E21DC 000DF13C 90 1E 00 38 */ stw r0, 0x38(r30) +/* 800E21E0 000DF140 A0 1F 0F 76 */ lhz r0, 0xf76(r31) +/* 800E21E4 000DF144 B0 01 00 10 */ sth r0, 0x10(r1) +/* 800E21E8 000DF148 48 00 00 34 */ b lbl_800E221C +lbl_800E21EC: +/* 800E21EC 000DF14C A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800E21F0 000DF150 7F E3 FB 78 */ mr r3, r31 +/* 800E21F4 000DF154 38 81 00 08 */ addi r4, r1, 8 +/* 800E21F8 000DF158 B0 01 00 08 */ sth r0, 8(r1) +/* 800E21FC 000DF15C 4B F6 A3 79 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800E2200 000DF160 28 03 00 00 */ cmplwi r3, 0 +/* 800E2204 000DF164 40 82 00 10 */ bne lbl_800E2214 +/* 800E2208 000DF168 A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800E220C 000DF16C B0 01 00 10 */ sth r0, 0x10(r1) +/* 800E2210 000DF170 48 00 00 28 */ b lbl_800E2238 +lbl_800E2214: +/* 800E2214 000DF174 A0 03 00 34 */ lhz r0, 0x34(r3) +/* 800E2218 000DF178 B0 01 00 10 */ sth r0, 0x10(r1) +lbl_800E221C: +/* 800E221C 000DF17C A0 61 00 10 */ lhz r3, 0x10(r1) +/* 800E2220 000DF180 A0 1E 00 08 */ lhz r0, 8(r30) +/* 800E2224 000DF184 7C 03 00 40 */ cmplw r3, r0 +/* 800E2228 000DF188 41 82 00 10 */ beq lbl_800E2238 +/* 800E222C 000DF18C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800E2230 000DF190 7C 03 00 40 */ cmplw r3, r0 +/* 800E2234 000DF194 40 82 FF B8 */ bne lbl_800E21EC +lbl_800E2238: +/* 800E2238 000DF198 A0 61 00 10 */ lhz r3, 0x10(r1) +/* 800E223C 000DF19C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800E2240 000DF1A0 7C 03 00 40 */ cmplw r3, r0 +/* 800E2244 000DF1A4 40 82 00 24 */ bne lbl_800E2268 +/* 800E2248 000DF1A8 A0 1F 0F 76 */ lhz r0, 0xf76(r31) +/* 800E224C 000DF1AC B0 1E 00 34 */ sth r0, 0x34(r30) +/* 800E2250 000DF1B0 A0 1E 00 08 */ lhz r0, 8(r30) +/* 800E2254 000DF1B4 B0 1F 0F 76 */ sth r0, 0xf76(r31) +/* 800E2258 000DF1B8 48 00 00 10 */ b lbl_800E2268 +lbl_800E225C: +/* 800E225C 000DF1BC 7F C3 F3 78 */ mr r3, r30 +/* 800E2260 000DF1C0 7F E4 FB 78 */ mr r4, r31 +/* 800E2264 000DF1C4 48 00 00 21 */ bl UpdateObjectRef__12CScriptRelayFR13CStateManager +lbl_800E2268: +/* 800E2268 000DF1C8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800E226C 000DF1CC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800E2270 000DF1D0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800E2274 000DF1D4 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800E2278 000DF1D8 7C 08 03 A6 */ mtlr r0 +/* 800E227C 000DF1DC 38 21 00 30 */ addi r1, r1, 0x30 +/* 800E2280 000DF1E0 4E 80 00 20 */ blr + +.global UpdateObjectRef__12CScriptRelayFR13CStateManager +UpdateObjectRef__12CScriptRelayFR13CStateManager: +/* 800E2284 000DF1E4 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800E2288 000DF1E8 7C 08 02 A6 */ mflr r0 +/* 800E228C 000DF1EC 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E2290 000DF1F0 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800E2294 000DF1F4 7C 9F 23 78 */ mr r31, r4 +/* 800E2298 000DF1F8 38 9F 0F 76 */ addi r4, r31, 0xf76 +/* 800E229C 000DF1FC 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800E22A0 000DF200 7C 7E 1B 78 */ mr r30, r3 +/* 800E22A4 000DF204 48 00 00 3C */ b lbl_800E22E0 +lbl_800E22A8: +/* 800E22A8 000DF208 A0 1E 00 08 */ lhz r0, 8(r30) +/* 800E22AC 000DF20C 7C 03 00 40 */ cmplw r3, r0 +/* 800E22B0 000DF210 40 82 00 10 */ bne lbl_800E22C0 +/* 800E22B4 000DF214 A0 1E 00 34 */ lhz r0, 0x34(r30) +/* 800E22B8 000DF218 B0 04 00 00 */ sth r0, 0(r4) +/* 800E22BC 000DF21C 48 00 00 3C */ b lbl_800E22F8 +lbl_800E22C0: +/* 800E22C0 000DF220 A0 04 00 00 */ lhz r0, 0(r4) +/* 800E22C4 000DF224 7F E3 FB 78 */ mr r3, r31 +/* 800E22C8 000DF228 38 81 00 08 */ addi r4, r1, 8 +/* 800E22CC 000DF22C B0 01 00 08 */ sth r0, 8(r1) +/* 800E22D0 000DF230 4B F6 A2 A5 */ bl ObjectById__13CStateManagerF9TUniqueId +/* 800E22D4 000DF234 28 03 00 00 */ cmplwi r3, 0 +/* 800E22D8 000DF238 41 82 00 20 */ beq lbl_800E22F8 +/* 800E22DC 000DF23C 38 83 00 34 */ addi r4, r3, 0x34 +lbl_800E22E0: +/* 800E22E0 000DF240 28 04 00 00 */ cmplwi r4, 0 +/* 800E22E4 000DF244 41 82 00 14 */ beq lbl_800E22F8 +/* 800E22E8 000DF248 A0 64 00 00 */ lhz r3, 0(r4) +/* 800E22EC 000DF24C A0 0D A3 8C */ lhz r0, lbl_805A8F4C@sda21(r13) +/* 800E22F0 000DF250 7C 03 00 40 */ cmplw r3, r0 +/* 800E22F4 000DF254 40 82 FF B4 */ bne lbl_800E22A8 +lbl_800E22F8: +/* 800E22F8 000DF258 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800E22FC 000DF25C 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800E2300 000DF260 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800E2304 000DF264 7C 08 03 A6 */ mtlr r0 +/* 800E2308 000DF268 38 21 00 20 */ addi r1, r1, 0x20 +/* 800E230C 000DF26C 4E 80 00 20 */ blr + +.global "__ct__12CScriptRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfofb" +"__ct__12CScriptRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfofb": +/* 800E2310 000DF270 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800E2314 000DF274 7C 08 02 A6 */ mflr r0 +/* 800E2318 000DF278 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E231C 000DF27C 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800E2320 000DF280 7C 7F 1B 78 */ mr r31, r3 +/* 800E2324 000DF284 A0 04 00 00 */ lhz r0, 0(r4) +/* 800E2328 000DF288 7C A4 2B 78 */ mr r4, r5 +/* 800E232C 000DF28C 7C C5 33 78 */ mr r5, r6 +/* 800E2330 000DF290 7C E6 3B 78 */ mr r6, r7 +/* 800E2334 000DF294 B0 01 00 08 */ sth r0, 8(r1) +/* 800E2338 000DF298 7C 87 23 78 */ mr r7, r4 +/* 800E233C 000DF29C 38 81 00 08 */ addi r4, r1, 8 +/* 800E2340 000DF2A0 4B F6 EF E5 */ bl "__ct__7CEntityF9TUniqueIdRC11CEntityInfobRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800E2344 000DF2A4 3C 60 80 3E */ lis r3, lbl_803DF830@ha +/* 800E2348 000DF2A8 38 00 00 00 */ li r0, 0 +/* 800E234C 000DF2AC 38 83 F8 30 */ addi r4, r3, lbl_803DF830@l +/* 800E2350 000DF2B0 7F E3 FB 78 */ mr r3, r31 +/* 800E2354 000DF2B4 90 9F 00 00 */ stw r4, 0(r31) +/* 800E2358 000DF2B8 A0 8D A3 8C */ lhz r4, lbl_805A8F4C@sda21(r13) +/* 800E235C 000DF2BC B0 9F 00 34 */ sth r4, 0x34(r31) +/* 800E2360 000DF2C0 90 1F 00 38 */ stw r0, 0x38(r31) +/* 800E2364 000DF2C4 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800E2368 000DF2C8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800E236C 000DF2CC 7C 08 03 A6 */ mtlr r0 +/* 800E2370 000DF2D0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800E2374 000DF2D4 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CStateMachineFactory.s b/asm/Kyoto_CWD/CStateMachineFactory.s new file mode 100644 index 00000000..6d1f3ae7 --- /dev/null +++ b/asm/Kyoto_CWD/CStateMachineFactory.s @@ -0,0 +1,271 @@ +.include "macros.inc" + +.section .text, "ax" + +.global FAiFiniteStateMachineFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer +FAiFiniteStateMachineFactory__FRC10SObjectTagR12CInputStreamRC15CVParamTransfer: +/* 800DE7FC 000DB75C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DE800 000DB760 7C 08 02 A6 */ mflr r0 +/* 800DE804 000DB764 3C 80 80 3D */ lis r4, lbl_803CE528@ha +/* 800DE808 000DB768 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DE80C 000DB76C 38 84 E5 28 */ addi r4, r4, lbl_803CE528@l +/* 800DE810 000DB770 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DE814 000DB774 7C BF 2B 78 */ mr r31, r5 +/* 800DE818 000DB778 38 A0 00 00 */ li r5, 0 +/* 800DE81C 000DB77C 93 C1 00 08 */ stw r30, 8(r1) +/* 800DE820 000DB780 7C 7E 1B 78 */ mr r30, r3 +/* 800DE824 000DB784 38 60 00 20 */ li r3, 0x20 +/* 800DE828 000DB788 48 23 70 45 */ bl __nw__FUlPCcPCc +/* 800DE82C 000DB78C 7C 64 1B 79 */ or. r4, r3, r3 +/* 800DE830 000DB790 41 82 00 10 */ beq lbl_800DE840 +/* 800DE834 000DB794 7F E4 FB 78 */ mr r4, r31 +/* 800DE838 000DB798 4B FA 0E 3D */ bl __ct__13CStateMachineFR12CInputStream +/* 800DE83C 000DB79C 7C 64 1B 78 */ mr r4, r3 +lbl_800DE840: +/* 800DE840 000DB7A0 7F C3 F3 78 */ mr r3, r30 +/* 800DE844 000DB7A4 48 00 00 1D */ bl "__ct<13CStateMachine>__16CFactoryFnReturnFP13CStateMachine" +/* 800DE848 000DB7A8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DE84C 000DB7AC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DE850 000DB7B0 83 C1 00 08 */ lwz r30, 8(r1) +/* 800DE854 000DB7B4 7C 08 03 A6 */ mtlr r0 +/* 800DE858 000DB7B8 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DE85C 000DB7BC 4E 80 00 20 */ blr + +.global "__ct<13CStateMachine>__16CFactoryFnReturnFP13CStateMachine" +"__ct<13CStateMachine>__16CFactoryFnReturnFP13CStateMachine": +/* 800DE860 000DB7C0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DE864 000DB7C4 7C 08 02 A6 */ mflr r0 +/* 800DE868 000DB7C8 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DE86C 000DB7CC 7C 04 00 D0 */ neg r0, r4 +/* 800DE870 000DB7D0 7C 00 23 78 */ or r0, r0, r4 +/* 800DE874 000DB7D4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DE878 000DB7D8 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800DE87C 000DB7DC 7C 7F 1B 78 */ mr r31, r3 +/* 800DE880 000DB7E0 38 61 00 08 */ addi r3, r1, 8 +/* 800DE884 000DB7E4 90 81 00 14 */ stw r4, 0x14(r1) +/* 800DE888 000DB7E8 38 81 00 10 */ addi r4, r1, 0x10 +/* 800DE88C 000DB7EC 98 01 00 10 */ stb r0, 0x10(r1) +/* 800DE890 000DB7F0 48 00 01 E1 */ bl "GetIObjObjectFor__23TToken<13CStateMachine>FRCQ24rstl25auto_ptr<13CStateMachine>" +/* 800DE894 000DB7F4 80 61 00 0C */ lwz r3, 0xc(r1) +/* 800DE898 000DB7F8 38 00 00 00 */ li r0, 0 +/* 800DE89C 000DB7FC 98 01 00 08 */ stb r0, 8(r1) +/* 800DE8A0 000DB800 7C 03 00 D0 */ neg r0, r3 +/* 800DE8A4 000DB804 7C 00 1B 78 */ or r0, r0, r3 +/* 800DE8A8 000DB808 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800DE8AC 000DB80C 98 1F 00 00 */ stb r0, 0(r31) +/* 800DE8B0 000DB810 90 7F 00 04 */ stw r3, 4(r31) +/* 800DE8B4 000DB814 88 01 00 08 */ lbz r0, 8(r1) +/* 800DE8B8 000DB818 28 00 00 00 */ cmplwi r0, 0 +/* 800DE8BC 000DB81C 41 82 00 24 */ beq lbl_800DE8E0 +/* 800DE8C0 000DB820 80 61 00 0C */ lwz r3, 0xc(r1) +/* 800DE8C4 000DB824 28 03 00 00 */ cmplwi r3, 0 +/* 800DE8C8 000DB828 41 82 00 18 */ beq lbl_800DE8E0 +/* 800DE8CC 000DB82C 81 83 00 00 */ lwz r12, 0(r3) +/* 800DE8D0 000DB830 38 80 00 01 */ li r4, 1 +/* 800DE8D4 000DB834 81 8C 00 08 */ lwz r12, 8(r12) +/* 800DE8D8 000DB838 7D 89 03 A6 */ mtctr r12 +/* 800DE8DC 000DB83C 4E 80 04 21 */ bctrl +lbl_800DE8E0: +/* 800DE8E0 000DB840 38 61 00 10 */ addi r3, r1, 0x10 +/* 800DE8E4 000DB844 38 80 FF FF */ li r4, -1 +/* 800DE8E8 000DB848 48 00 02 51 */ bl "__dt__Q24rstl53auto_ptr<41TObjOwnerDerivedFromIObj<13CStateMachine>>Fv" +/* 800DE8EC 000DB84C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DE8F0 000DB850 7F E3 FB 78 */ mr r3, r31 +/* 800DE8F4 000DB854 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DE8F8 000DB858 7C 08 03 A6 */ mtlr r0 +/* 800DE8FC 000DB85C 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DE900 000DB860 4E 80 00 20 */ blr + +.global sub_800de904 +sub_800de904: +/* 800DE904 000DB864 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DE908 000DB868 7C 08 02 A6 */ mflr r0 +/* 800DE90C 000DB86C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DE910 000DB870 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DE914 000DB874 7C 9F 23 78 */ mr r31, r4 +/* 800DE918 000DB878 93 C1 00 08 */ stw r30, 8(r1) +/* 800DE91C 000DB87C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800DE920 000DB880 41 82 00 58 */ beq lbl_800DE978 +/* 800DE924 000DB884 3C 60 80 3E */ lis r3, lbl_803DF700@ha +/* 800DE928 000DB888 38 03 F7 00 */ addi r0, r3, lbl_803DF700@l +/* 800DE92C 000DB88C 90 1E 00 00 */ stw r0, 0(r30) +/* 800DE930 000DB890 80 7E 00 04 */ lwz r3, 4(r30) +/* 800DE934 000DB894 28 03 00 00 */ cmplwi r3, 0 +/* 800DE938 000DB898 41 82 00 0C */ beq lbl_800DE944 +/* 800DE93C 000DB89C 38 80 00 01 */ li r4, 1 +/* 800DE940 000DB8A0 48 00 00 55 */ bl sub_800de994 +lbl_800DE944: +/* 800DE944 000DB8A4 28 1E 00 00 */ cmplwi r30, 0 +/* 800DE948 000DB8A8 41 82 00 20 */ beq lbl_800DE968 +/* 800DE94C 000DB8AC 3C 60 80 3E */ lis r3, lbl_803D8D78@ha +/* 800DE950 000DB8B0 38 03 8D 78 */ addi r0, r3, lbl_803D8D78@l +/* 800DE954 000DB8B4 90 1E 00 00 */ stw r0, 0(r30) +/* 800DE958 000DB8B8 41 82 00 10 */ beq lbl_800DE968 +/* 800DE95C 000DB8BC 3C 60 80 3E */ lis r3, lbl_803D8D6C@ha +/* 800DE960 000DB8C0 38 03 8D 6C */ addi r0, r3, lbl_803D8D6C@l +/* 800DE964 000DB8C4 90 1E 00 00 */ stw r0, 0(r30) +lbl_800DE968: +/* 800DE968 000DB8C8 7F E0 07 35 */ extsh. r0, r31 +/* 800DE96C 000DB8CC 40 81 00 0C */ ble lbl_800DE978 +/* 800DE970 000DB8D0 7F C3 F3 78 */ mr r3, r30 +/* 800DE974 000DB8D4 48 23 6F BD */ bl Free__7CMemoryFPCv +lbl_800DE978: +/* 800DE978 000DB8D8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DE97C 000DB8DC 7F C3 F3 78 */ mr r3, r30 +/* 800DE980 000DB8E0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DE984 000DB8E4 83 C1 00 08 */ lwz r30, 8(r1) +/* 800DE988 000DB8E8 7C 08 03 A6 */ mtlr r0 +/* 800DE98C 000DB8EC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DE990 000DB8F0 4E 80 00 20 */ blr + +.global sub_800de994 +sub_800de994: +/* 800DE994 000DB8F4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800DE998 000DB8F8 7C 08 02 A6 */ mflr r0 +/* 800DE99C 000DB8FC 90 01 00 34 */ stw r0, 0x34(r1) +/* 800DE9A0 000DB900 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800DE9A4 000DB904 7C 9F 23 78 */ mr r31, r4 +/* 800DE9A8 000DB908 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800DE9AC 000DB90C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800DE9B0 000DB910 41 82 00 A4 */ beq lbl_800DEA54 +/* 800DE9B4 000DB914 34 1E 00 10 */ addic. r0, r30, 0x10 +/* 800DE9B8 000DB918 41 82 00 44 */ beq lbl_800DE9FC +/* 800DE9BC 000DB91C 80 1E 00 14 */ lwz r0, 0x14(r30) +/* 800DE9C0 000DB920 80 7E 00 1C */ lwz r3, 0x1c(r30) +/* 800DE9C4 000DB924 1C 00 00 1C */ mulli r0, r0, 0x1c +/* 800DE9C8 000DB928 90 61 00 1C */ stw r3, 0x1c(r1) +/* 800DE9CC 000DB92C 7C 64 1B 78 */ mr r4, r3 +/* 800DE9D0 000DB930 7C 03 02 14 */ add r0, r3, r0 +/* 800DE9D4 000DB934 90 61 00 18 */ stw r3, 0x18(r1) +/* 800DE9D8 000DB938 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DE9DC 000DB93C 90 01 00 20 */ stw r0, 0x20(r1) +/* 800DE9E0 000DB940 48 00 00 08 */ b lbl_800DE9E8 +lbl_800DE9E4: +/* 800DE9E4 000DB944 38 84 00 1C */ addi r4, r4, 0x1c +lbl_800DE9E8: +/* 800DE9E8 000DB948 7C 04 00 40 */ cmplw r4, r0 +/* 800DE9EC 000DB94C 40 82 FF F8 */ bne lbl_800DE9E4 +/* 800DE9F0 000DB950 28 03 00 00 */ cmplwi r3, 0 +/* 800DE9F4 000DB954 41 82 00 08 */ beq lbl_800DE9FC +/* 800DE9F8 000DB958 48 23 6F 39 */ bl Free__7CMemoryFPCv +lbl_800DE9FC: +/* 800DE9FC 000DB95C 28 1E 00 00 */ cmplwi r30, 0 +/* 800DEA00 000DB960 41 82 00 44 */ beq lbl_800DEA44 +/* 800DEA04 000DB964 80 1E 00 04 */ lwz r0, 4(r30) +/* 800DEA08 000DB968 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800DEA0C 000DB96C 1C 00 00 34 */ mulli r0, r0, 0x34 +/* 800DEA10 000DB970 90 61 00 0C */ stw r3, 0xc(r1) +/* 800DEA14 000DB974 7C 64 1B 78 */ mr r4, r3 +/* 800DEA18 000DB978 7C 03 02 14 */ add r0, r3, r0 +/* 800DEA1C 000DB97C 90 61 00 08 */ stw r3, 8(r1) +/* 800DEA20 000DB980 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DEA24 000DB984 90 01 00 10 */ stw r0, 0x10(r1) +/* 800DEA28 000DB988 48 00 00 08 */ b lbl_800DEA30 +lbl_800DEA2C: +/* 800DEA2C 000DB98C 38 84 00 34 */ addi r4, r4, 0x34 +lbl_800DEA30: +/* 800DEA30 000DB990 7C 04 00 40 */ cmplw r4, r0 +/* 800DEA34 000DB994 40 82 FF F8 */ bne lbl_800DEA2C +/* 800DEA38 000DB998 28 03 00 00 */ cmplwi r3, 0 +/* 800DEA3C 000DB99C 41 82 00 08 */ beq lbl_800DEA44 +/* 800DEA40 000DB9A0 48 23 6E F1 */ bl Free__7CMemoryFPCv +lbl_800DEA44: +/* 800DEA44 000DB9A4 7F E0 07 35 */ extsh. r0, r31 +/* 800DEA48 000DB9A8 40 81 00 0C */ ble lbl_800DEA54 +/* 800DEA4C 000DB9AC 7F C3 F3 78 */ mr r3, r30 +/* 800DEA50 000DB9B0 48 23 6E E1 */ bl Free__7CMemoryFPCv +lbl_800DEA54: +/* 800DEA54 000DB9B4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800DEA58 000DB9B8 7F C3 F3 78 */ mr r3, r30 +/* 800DEA5C 000DB9BC 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800DEA60 000DB9C0 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800DEA64 000DB9C4 7C 08 03 A6 */ mtlr r0 +/* 800DEA68 000DB9C8 38 21 00 30 */ addi r1, r1, 0x30 +/* 800DEA6C 000DB9CC 4E 80 00 20 */ blr + +.global "GetIObjObjectFor__23TToken<13CStateMachine>FRCQ24rstl25auto_ptr<13CStateMachine>" +"GetIObjObjectFor__23TToken<13CStateMachine>FRCQ24rstl25auto_ptr<13CStateMachine>": +/* 800DEA70 000DB9D0 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DEA74 000DB9D4 7C 08 02 A6 */ mflr r0 +/* 800DEA78 000DB9D8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DEA7C 000DB9DC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DEA80 000DB9E0 7C 7F 1B 78 */ mr r31, r3 +/* 800DEA84 000DB9E4 48 00 00 19 */ bl "GetNewDerivedObject__41TObjOwnerDerivedFromIObj<13CStateMachine>FRCQ24rstl25auto_ptr<13CStateMachine>" +/* 800DEA88 000DB9E8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DEA8C 000DB9EC 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DEA90 000DB9F0 7C 08 03 A6 */ mtlr r0 +/* 800DEA94 000DB9F4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DEA98 000DB9F8 4E 80 00 20 */ blr + +.global "GetNewDerivedObject__41TObjOwnerDerivedFromIObj<13CStateMachine>FRCQ24rstl25auto_ptr<13CStateMachine>" +"GetNewDerivedObject__41TObjOwnerDerivedFromIObj<13CStateMachine>FRCQ24rstl25auto_ptr<13CStateMachine>": +/* 800DEA9C 000DB9FC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DEAA0 000DBA00 7C 08 02 A6 */ mflr r0 +/* 800DEAA4 000DBA04 3C A0 80 3D */ lis r5, lbl_803CE528@ha +/* 800DEAA8 000DBA08 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DEAAC 000DBA0C 38 05 E5 28 */ addi r0, r5, lbl_803CE528@l +/* 800DEAB0 000DBA10 38 A0 00 00 */ li r5, 0 +/* 800DEAB4 000DBA14 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DEAB8 000DBA18 7C 9F 23 78 */ mr r31, r4 +/* 800DEABC 000DBA1C 7C 04 03 78 */ mr r4, r0 +/* 800DEAC0 000DBA20 93 C1 00 08 */ stw r30, 8(r1) +/* 800DEAC4 000DBA24 7C 7E 1B 78 */ mr r30, r3 +/* 800DEAC8 000DBA28 38 60 00 08 */ li r3, 8 +/* 800DEACC 000DBA2C 48 23 6D A1 */ bl __nw__FUlPCcPCc +/* 800DEAD0 000DBA30 28 03 00 00 */ cmplwi r3, 0 +/* 800DEAD4 000DBA34 41 82 00 38 */ beq lbl_800DEB0C +/* 800DEAD8 000DBA38 3C 80 80 3E */ lis r4, lbl_803D8D6C@ha +/* 800DEADC 000DBA3C 3C A0 80 3E */ lis r5, lbl_803D8D78@ha +/* 800DEAE0 000DBA40 38 04 8D 6C */ addi r0, r4, lbl_803D8D6C@l +/* 800DEAE4 000DBA44 3C 80 80 3E */ lis r4, lbl_803DF700@ha +/* 800DEAE8 000DBA48 90 03 00 00 */ stw r0, 0(r3) +/* 800DEAEC 000DBA4C 38 C5 8D 78 */ addi r6, r5, lbl_803D8D78@l +/* 800DEAF0 000DBA50 38 A0 00 00 */ li r5, 0 +/* 800DEAF4 000DBA54 38 04 F7 00 */ addi r0, r4, lbl_803DF700@l +/* 800DEAF8 000DBA58 90 C3 00 00 */ stw r6, 0(r3) +/* 800DEAFC 000DBA5C 98 BF 00 00 */ stb r5, 0(r31) +/* 800DEB00 000DBA60 80 9F 00 04 */ lwz r4, 4(r31) +/* 800DEB04 000DBA64 90 83 00 04 */ stw r4, 4(r3) +/* 800DEB08 000DBA68 90 03 00 00 */ stw r0, 0(r3) +lbl_800DEB0C: +/* 800DEB0C 000DBA6C 7C 03 00 D0 */ neg r0, r3 +/* 800DEB10 000DBA70 7C 00 1B 78 */ or r0, r0, r3 +/* 800DEB14 000DBA74 54 00 0F FE */ srwi r0, r0, 0x1f +/* 800DEB18 000DBA78 98 1E 00 00 */ stb r0, 0(r30) +/* 800DEB1C 000DBA7C 90 7E 00 04 */ stw r3, 4(r30) +/* 800DEB20 000DBA80 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DEB24 000DBA84 83 C1 00 08 */ lwz r30, 8(r1) +/* 800DEB28 000DBA88 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DEB2C 000DBA8C 7C 08 03 A6 */ mtlr r0 +/* 800DEB30 000DBA90 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DEB34 000DBA94 4E 80 00 20 */ blr + +.global "__dt__Q24rstl53auto_ptr<41TObjOwnerDerivedFromIObj<13CStateMachine>>Fv" +"__dt__Q24rstl53auto_ptr<41TObjOwnerDerivedFromIObj<13CStateMachine>>Fv": +/* 800DEB38 000DBA98 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DEB3C 000DBA9C 7C 08 02 A6 */ mflr r0 +/* 800DEB40 000DBAA0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DEB44 000DBAA4 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DEB48 000DBAA8 7C 9F 23 78 */ mr r31, r4 +/* 800DEB4C 000DBAAC 93 C1 00 08 */ stw r30, 8(r1) +/* 800DEB50 000DBAB0 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800DEB54 000DBAB4 41 82 00 2C */ beq lbl_800DEB80 +/* 800DEB58 000DBAB8 88 1E 00 00 */ lbz r0, 0(r30) +/* 800DEB5C 000DBABC 28 00 00 00 */ cmplwi r0, 0 +/* 800DEB60 000DBAC0 41 82 00 10 */ beq lbl_800DEB70 +/* 800DEB64 000DBAC4 80 7E 00 04 */ lwz r3, 4(r30) +/* 800DEB68 000DBAC8 38 80 00 01 */ li r4, 1 +/* 800DEB6C 000DBACC 4B FF FE 29 */ bl sub_800de994 +lbl_800DEB70: +/* 800DEB70 000DBAD0 7F E0 07 35 */ extsh. r0, r31 +/* 800DEB74 000DBAD4 40 81 00 0C */ ble lbl_800DEB80 +/* 800DEB78 000DBAD8 7F C3 F3 78 */ mr r3, r30 +/* 800DEB7C 000DBADC 48 23 6D B5 */ bl Free__7CMemoryFPCv +lbl_800DEB80: +/* 800DEB80 000DBAE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DEB84 000DBAE4 7F C3 F3 78 */ mr r3, r30 +/* 800DEB88 000DBAE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DEB8C 000DBAEC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800DEB90 000DBAF0 7C 08 03 A6 */ mtlr r0 +/* 800DEB94 000DBAF4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DEB98 000DBAF8 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/CWaveBeam.s b/asm/Kyoto_CWD/CWaveBeam.s new file mode 100644 index 00000000..bfaa6588 --- /dev/null +++ b/asm/Kyoto_CWD/CWaveBeam.s @@ -0,0 +1,1002 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global EnableSecondaryFx__9CWaveBeamFQ210CGunWeapon16ESecondaryFxType +EnableSecondaryFx__9CWaveBeamFQ210CGunWeapon16ESecondaryFxType: +/* 800E00B0 000DD010 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800E00B4 000DD014 7C 08 02 A6 */ mflr r0 +/* 800E00B8 000DD018 90 01 00 44 */ stw r0, 0x44(r1) +/* 800E00BC 000DD01C BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 800E00C0 000DD020 7C 9F 23 78 */ mr r31, r4 +/* 800E00C4 000DD024 2C 1F 00 03 */ cmpwi r31, 3 +/* 800E00C8 000DD028 7C 7E 1B 78 */ mr r30, r3 +/* 800E00CC 000DD02C 41 82 00 20 */ beq lbl_800E00EC +/* 800E00D0 000DD030 40 80 00 28 */ bge lbl_800E00F8 +/* 800E00D4 000DD034 2C 1F 00 00 */ cmpwi r31, 0 +/* 800E00D8 000DD038 41 82 00 08 */ beq lbl_800E00E0 +/* 800E00DC 000DD03C 48 00 00 1C */ b lbl_800E00F8 +lbl_800E00E0: +/* 800E00E0 000DD040 38 00 00 00 */ li r0, 0 +/* 800E00E4 000DD044 90 1E 01 CC */ stw r0, 0x1cc(r30) +/* 800E00E8 000DD048 48 00 02 24 */ b lbl_800E030C +lbl_800E00EC: +/* 800E00EC 000DD04C 80 1E 01 CC */ lwz r0, 0x1cc(r30) +/* 800E00F0 000DD050 2C 00 00 00 */ cmpwi r0, 0 +/* 800E00F4 000DD054 41 82 02 18 */ beq lbl_800E030C +lbl_800E00F8: +/* 800E00F8 000DD058 80 1E 01 CC */ lwz r0, 0x1cc(r30) +/* 800E00FC 000DD05C 2C 00 00 02 */ cmpwi r0, 2 +/* 800E0100 000DD060 41 82 00 C0 */ beq lbl_800E01C0 +/* 800E0104 000DD064 2C 1F 00 01 */ cmpwi r31, 1 +/* 800E0108 000DD068 40 82 00 0C */ bne lbl_800E0114 +/* 800E010C 000DD06C 38 9E 02 28 */ addi r4, r30, 0x228 +/* 800E0110 000DD070 48 00 00 08 */ b lbl_800E0118 +lbl_800E0114: +/* 800E0114 000DD074 38 9E 02 34 */ addi r4, r30, 0x234 +lbl_800E0118: +/* 800E0118 000DD078 38 61 00 18 */ addi r3, r1, 0x18 +/* 800E011C 000DD07C 48 26 0D 8D */ bl __ct__6CTokenFRC6CToken +/* 800E0120 000DD080 3C 60 80 3D */ lis r3, lbl_803CE568@ha +/* 800E0124 000DD084 3B A1 00 18 */ addi r29, r1, 0x18 +/* 800E0128 000DD088 38 83 E5 68 */ addi r4, r3, lbl_803CE568@l +/* 800E012C 000DD08C 3B 60 00 00 */ li r27, 0 +/* 800E0130 000DD090 38 60 04 58 */ li r3, 0x458 +/* 800E0134 000DD094 38 A0 00 00 */ li r5, 0 +/* 800E0138 000DD098 48 23 57 35 */ bl __nw__FUlPCcPCc +/* 800E013C 000DD09C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800E0140 000DD0A0 41 82 00 24 */ beq lbl_800E0164 +/* 800E0144 000DD0A4 7F A4 EB 78 */ mr r4, r29 +/* 800E0148 000DD0A8 38 61 00 10 */ addi r3, r1, 0x10 +/* 800E014C 000DD0AC 48 26 0D 5D */ bl __ct__6CTokenFRC6CToken +/* 800E0150 000DD0B0 7F 83 E3 78 */ mr r3, r28 +/* 800E0154 000DD0B4 38 81 00 10 */ addi r4, r1, 0x10 +/* 800E0158 000DD0B8 3B 60 00 01 */ li r27, 1 +/* 800E015C 000DD0BC 48 28 20 15 */ bl "__ct__17CParticleElectricF30TToken<20CElectricDescription>" +/* 800E0160 000DD0C0 7C 7C 1B 78 */ mr r28, r3 +lbl_800E0164: +/* 800E0164 000DD0C4 80 7E 02 50 */ lwz r3, 0x250(r30) +/* 800E0168 000DD0C8 28 03 00 00 */ cmplwi r3, 0 +/* 800E016C 000DD0CC 41 82 00 18 */ beq lbl_800E0184 +/* 800E0170 000DD0D0 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0174 000DD0D4 38 80 00 01 */ li r4, 1 +/* 800E0178 000DD0D8 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E017C 000DD0DC 7D 89 03 A6 */ mtctr r12 +/* 800E0180 000DD0E0 4E 80 04 21 */ bctrl +lbl_800E0184: +/* 800E0184 000DD0E4 7F 60 07 75 */ extsb. r0, r27 +/* 800E0188 000DD0E8 93 9E 02 50 */ stw r28, 0x250(r30) +/* 800E018C 000DD0EC 41 82 00 10 */ beq lbl_800E019C +/* 800E0190 000DD0F0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800E0194 000DD0F4 38 80 00 00 */ li r4, 0 +/* 800E0198 000DD0F8 48 26 0C A9 */ bl __dt__6CTokenFv +lbl_800E019C: +/* 800E019C 000DD0FC 80 7E 02 50 */ lwz r3, 0x250(r30) +/* 800E01A0 000DD100 38 9E 00 04 */ addi r4, r30, 4 +/* 800E01A4 000DD104 81 83 00 00 */ lwz r12, 0(r3) +/* 800E01A8 000DD108 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800E01AC 000DD10C 7D 89 03 A6 */ mtctr r12 +/* 800E01B0 000DD110 4E 80 04 21 */ bctrl +/* 800E01B4 000DD114 38 61 00 18 */ addi r3, r1, 0x18 +/* 800E01B8 000DD118 38 80 00 00 */ li r4, 0 +/* 800E01BC 000DD11C 48 26 0C 85 */ bl __dt__6CTokenFv +lbl_800E01C0: +/* 800E01C0 000DD120 2C 1F 00 02 */ cmpwi r31, 2 +/* 800E01C4 000DD124 41 82 00 94 */ beq lbl_800E0258 +/* 800E01C8 000DD128 40 80 00 10 */ bge lbl_800E01D8 +/* 800E01CC 000DD12C 2C 1F 00 01 */ cmpwi r31, 1 +/* 800E01D0 000DD130 40 80 00 14 */ bge lbl_800E01E4 +/* 800E01D4 000DD134 48 00 01 34 */ b lbl_800E0308 +lbl_800E01D8: +/* 800E01D8 000DD138 2C 1F 00 04 */ cmpwi r31, 4 +/* 800E01DC 000DD13C 40 80 01 2C */ bge lbl_800E0308 +/* 800E01E0 000DD140 48 00 00 30 */ b lbl_800E0210 +lbl_800E01E4: +/* 800E01E4 000DD144 80 7E 02 54 */ lwz r3, 0x254(r30) +/* 800E01E8 000DD148 28 03 00 00 */ cmplwi r3, 0 +/* 800E01EC 000DD14C 41 82 00 18 */ beq lbl_800E0204 +/* 800E01F0 000DD150 81 83 00 00 */ lwz r12, 0(r3) +/* 800E01F4 000DD154 38 80 00 01 */ li r4, 1 +/* 800E01F8 000DD158 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E01FC 000DD15C 7D 89 03 A6 */ mtctr r12 +/* 800E0200 000DD160 4E 80 04 21 */ bctrl +lbl_800E0204: +/* 800E0204 000DD164 38 00 00 00 */ li r0, 0 +/* 800E0208 000DD168 90 1E 02 54 */ stw r0, 0x254(r30) +/* 800E020C 000DD16C 48 00 00 FC */ b lbl_800E0308 +lbl_800E0210: +/* 800E0210 000DD170 80 1E 01 CC */ lwz r0, 0x1cc(r30) +/* 800E0214 000DD174 2C 00 00 03 */ cmpwi r0, 3 +/* 800E0218 000DD178 41 82 00 F0 */ beq lbl_800E0308 +/* 800E021C 000DD17C 88 1E 02 58 */ lbz r0, 0x258(r30) +/* 800E0220 000DD180 38 60 00 01 */ li r3, 1 +/* 800E0224 000DD184 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800E0228 000DD188 C0 02 8F 7C */ lfs f0, lbl_805AAC9C@sda21(r2) +/* 800E022C 000DD18C 98 1E 02 58 */ stb r0, 0x258(r30) +/* 800E0230 000DD190 D0 1E 02 4C */ stfs f0, 0x24c(r30) +/* 800E0234 000DD194 80 7E 02 54 */ lwz r3, 0x254(r30) +/* 800E0238 000DD198 28 03 00 00 */ cmplwi r3, 0 +/* 800E023C 000DD19C 41 82 00 CC */ beq lbl_800E0308 +/* 800E0240 000DD1A0 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0244 000DD1A4 38 80 00 00 */ li r4, 0 +/* 800E0248 000DD1A8 81 8C 00 2C */ lwz r12, 0x2c(r12) +/* 800E024C 000DD1AC 7D 89 03 A6 */ mtctr r12 +/* 800E0250 000DD1B0 4E 80 04 21 */ bctrl +/* 800E0254 000DD1B4 48 00 00 B4 */ b lbl_800E0308 +lbl_800E0258: +/* 800E0258 000DD1B8 3C 60 80 3D */ lis r3, lbl_803CE568@ha +/* 800E025C 000DD1BC 3B 60 00 00 */ li r27, 0 +/* 800E0260 000DD1C0 38 83 E5 68 */ addi r4, r3, lbl_803CE568@l +/* 800E0264 000DD1C4 38 A0 00 00 */ li r5, 0 +/* 800E0268 000DD1C8 38 60 03 40 */ li r3, 0x340 +/* 800E026C 000DD1CC 48 23 56 01 */ bl __nw__FUlPCcPCc +/* 800E0270 000DD1D0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800E0274 000DD1D4 41 82 00 2C */ beq lbl_800E02A0 +/* 800E0278 000DD1D8 38 61 00 08 */ addi r3, r1, 8 +/* 800E027C 000DD1DC 38 9E 02 40 */ addi r4, r30, 0x240 +/* 800E0280 000DD1E0 48 26 0C 29 */ bl __ct__6CTokenFRC6CToken +/* 800E0284 000DD1E4 7F 83 E3 78 */ mr r3, r28 +/* 800E0288 000DD1E8 38 81 00 08 */ addi r4, r1, 8 +/* 800E028C 000DD1EC 3B 60 00 01 */ li r27, 1 +/* 800E0290 000DD1F0 38 A0 00 00 */ li r5, 0 +/* 800E0294 000DD1F4 38 C0 00 01 */ li r6, 1 +/* 800E0298 000DD1F8 48 23 F1 49 */ bl "__ct__11CElementGenF25TToken<15CGenDescription>Q211CElementGen21EModelOrientationTypeQ211CElementGen20EOptionalSystemFlags" +/* 800E029C 000DD1FC 7C 7C 1B 78 */ mr r28, r3 +lbl_800E02A0: +/* 800E02A0 000DD200 80 7E 02 54 */ lwz r3, 0x254(r30) +/* 800E02A4 000DD204 28 03 00 00 */ cmplwi r3, 0 +/* 800E02A8 000DD208 41 82 00 18 */ beq lbl_800E02C0 +/* 800E02AC 000DD20C 81 83 00 00 */ lwz r12, 0(r3) +/* 800E02B0 000DD210 38 80 00 01 */ li r4, 1 +/* 800E02B4 000DD214 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E02B8 000DD218 7D 89 03 A6 */ mtctr r12 +/* 800E02BC 000DD21C 4E 80 04 21 */ bctrl +lbl_800E02C0: +/* 800E02C0 000DD220 7F 60 07 75 */ extsb. r0, r27 +/* 800E02C4 000DD224 93 9E 02 54 */ stw r28, 0x254(r30) +/* 800E02C8 000DD228 41 82 00 10 */ beq lbl_800E02D8 +/* 800E02CC 000DD22C 38 61 00 08 */ addi r3, r1, 8 +/* 800E02D0 000DD230 38 80 00 00 */ li r4, 0 +/* 800E02D4 000DD234 48 26 0B 6D */ bl __dt__6CTokenFv +lbl_800E02D8: +/* 800E02D8 000DD238 80 7E 02 54 */ lwz r3, 0x254(r30) +/* 800E02DC 000DD23C 38 9E 00 04 */ addi r4, r30, 4 +/* 800E02E0 000DD240 81 83 00 00 */ lwz r12, 0(r3) +/* 800E02E4 000DD244 81 8C 00 24 */ lwz r12, 0x24(r12) +/* 800E02E8 000DD248 7D 89 03 A6 */ mtctr r12 +/* 800E02EC 000DD24C 4E 80 04 21 */ bctrl +/* 800E02F0 000DD250 C0 02 8F 80 */ lfs f0, lbl_805AACA0@sda21(r2) +/* 800E02F4 000DD254 38 60 00 01 */ li r3, 1 +/* 800E02F8 000DD258 D0 1E 02 4C */ stfs f0, 0x24c(r30) +/* 800E02FC 000DD25C 88 1E 02 58 */ lbz r0, 0x258(r30) +/* 800E0300 000DD260 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800E0304 000DD264 98 1E 02 58 */ stb r0, 0x258(r30) +lbl_800E0308: +/* 800E0308 000DD268 93 FE 01 CC */ stw r31, 0x1cc(r30) +lbl_800E030C: +/* 800E030C 000DD26C BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 800E0310 000DD270 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800E0314 000DD274 7C 08 03 A6 */ mtlr r0 +/* 800E0318 000DD278 38 21 00 40 */ addi r1, r1, 0x40 +/* 800E031C 000DD27C 4E 80 00 20 */ blr + +.global IsLoaded__9CWaveBeamCFv +IsLoaded__9CWaveBeamCFv: +/* 800E0320 000DD280 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E0324 000DD284 7C 08 02 A6 */ mflr r0 +/* 800E0328 000DD288 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E032C 000DD28C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E0330 000DD290 3B E0 00 00 */ li r31, 0 +/* 800E0334 000DD294 93 C1 00 08 */ stw r30, 8(r1) +/* 800E0338 000DD298 7C 7E 1B 78 */ mr r30, r3 +/* 800E033C 000DD29C 48 0D B0 69 */ bl IsLoaded__10CGunWeaponCFv +/* 800E0340 000DD2A0 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E0344 000DD2A4 41 82 00 14 */ beq lbl_800E0358 +/* 800E0348 000DD2A8 88 1E 02 58 */ lbz r0, 0x258(r30) +/* 800E034C 000DD2AC 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800E0350 000DD2B0 41 82 00 08 */ beq lbl_800E0358 +/* 800E0354 000DD2B4 3B E0 00 01 */ li r31, 1 +lbl_800E0358: +/* 800E0358 000DD2B8 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E035C 000DD2BC 7F E3 FB 78 */ mr r3, r31 +/* 800E0360 000DD2C0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E0364 000DD2C4 83 C1 00 08 */ lwz r30, 8(r1) +/* 800E0368 000DD2C8 7C 08 03 A6 */ mtlr r0 +/* 800E036C 000DD2CC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E0370 000DD2D0 4E 80 00 20 */ blr + +.global Unload__9CWaveBeamFR13CStateManager +Unload__9CWaveBeamFR13CStateManager: +/* 800E0374 000DD2D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E0378 000DD2D8 7C 08 02 A6 */ mflr r0 +/* 800E037C 000DD2DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E0380 000DD2E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E0384 000DD2E4 7C 7F 1B 78 */ mr r31, r3 +/* 800E0388 000DD2E8 48 0D B0 29 */ bl Unload__10CGunWeaponFR13CStateManager +/* 800E038C 000DD2EC 38 00 00 00 */ li r0, 0 +/* 800E0390 000DD2F0 38 7F 02 1C */ addi r3, r31, 0x21c +/* 800E0394 000DD2F4 90 1F 02 24 */ stw r0, 0x224(r31) +/* 800E0398 000DD2F8 48 26 09 A9 */ bl Unlock__6CTokenFv +/* 800E039C 000DD2FC 38 00 00 00 */ li r0, 0 +/* 800E03A0 000DD300 38 7F 02 40 */ addi r3, r31, 0x240 +/* 800E03A4 000DD304 90 1F 02 48 */ stw r0, 0x248(r31) +/* 800E03A8 000DD308 48 26 09 99 */ bl Unlock__6CTokenFv +/* 800E03AC 000DD30C 38 00 00 00 */ li r0, 0 +/* 800E03B0 000DD310 38 7F 02 34 */ addi r3, r31, 0x234 +/* 800E03B4 000DD314 90 1F 02 3C */ stw r0, 0x23c(r31) +/* 800E03B8 000DD318 48 26 09 89 */ bl Unlock__6CTokenFv +/* 800E03BC 000DD31C 38 00 00 00 */ li r0, 0 +/* 800E03C0 000DD320 38 7F 02 28 */ addi r3, r31, 0x228 +/* 800E03C4 000DD324 90 1F 02 30 */ stw r0, 0x230(r31) +/* 800E03C8 000DD328 48 26 09 79 */ bl Unlock__6CTokenFv +/* 800E03CC 000DD32C 7F E3 FB 78 */ mr r3, r31 +/* 800E03D0 000DD330 48 00 07 A9 */ bl ReInitVariables__9CWaveBeamFv +/* 800E03D4 000DD334 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E03D8 000DD338 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E03DC 000DD33C 7C 08 03 A6 */ mtlr r0 +/* 800E03E0 000DD340 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E03E4 000DD344 4E 80 00 20 */ blr + +.global Load__9CWaveBeamFb +Load__9CWaveBeamFb: +/* 800E03E8 000DD348 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E03EC 000DD34C 7C 08 02 A6 */ mflr r0 +/* 800E03F0 000DD350 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E03F4 000DD354 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E03F8 000DD358 7C 7F 1B 78 */ mr r31, r3 +/* 800E03FC 000DD35C 48 0D B0 D9 */ bl Load__10CGunWeaponFR13CStateManagerb +/* 800E0400 000DD360 38 7F 02 28 */ addi r3, r31, 0x228 +/* 800E0404 000DD364 48 26 09 81 */ bl Lock__6CTokenFv +/* 800E0408 000DD368 38 7F 02 34 */ addi r3, r31, 0x234 +/* 800E040C 000DD36C 48 26 09 79 */ bl Lock__6CTokenFv +/* 800E0410 000DD370 38 7F 02 40 */ addi r3, r31, 0x240 +/* 800E0414 000DD374 48 26 09 71 */ bl Lock__6CTokenFv +/* 800E0418 000DD378 38 7F 02 1C */ addi r3, r31, 0x21c +/* 800E041C 000DD37C 48 26 09 69 */ bl Lock__6CTokenFv +/* 800E0420 000DD380 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E0424 000DD384 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E0428 000DD388 7C 08 03 A6 */ mtlr r0 +/* 800E042C 000DD38C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E0430 000DD390 4E 80 00 20 */ blr + +.global Fire__9CWaveBeamFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId +Fire__9CWaveBeamFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId: +/* 800E0434 000DD394 94 21 FE 10 */ stwu r1, -0x1f0(r1) +/* 800E0438 000DD398 7C 08 02 A6 */ mflr r0 +/* 800E043C 000DD39C 90 01 01 F4 */ stw r0, 0x1f4(r1) +/* 800E0440 000DD3A0 DB E1 01 E0 */ stfd f31, 0x1e0(r1) +/* 800E0444 000DD3A4 F3 E1 01 E8 */ psq_st f31, 488(r1), 0, qr0 +/* 800E0448 000DD3A8 DB C1 01 D0 */ stfd f30, 0x1d0(r1) +/* 800E044C 000DD3AC F3 C1 01 D8 */ psq_st f30, 472(r1), 0, qr0 +/* 800E0450 000DD3B0 DB A1 01 C0 */ stfd f29, 0x1c0(r1) +/* 800E0454 000DD3B4 F3 A1 01 C8 */ psq_st f29, 456(r1), 0, qr0 +/* 800E0458 000DD3B8 DB 81 01 B0 */ stfd f28, 0x1b0(r1) +/* 800E045C 000DD3BC F3 81 01 B8 */ psq_st f28, 440(r1), 0, qr0 +/* 800E0460 000DD3C0 DB 61 01 A0 */ stfd f27, 0x1a0(r1) +/* 800E0464 000DD3C4 F3 61 01 A8 */ psq_st f27, 424(r1), 0, qr0 +/* 800E0468 000DD3C8 DB 41 01 90 */ stfd f26, 0x190(r1) +/* 800E046C 000DD3CC F3 41 01 98 */ psq_st f26, 408(r1), 0, qr0 +/* 800E0470 000DD3D0 BE 21 01 54 */ stmw r17, 0x154(r1) +/* 800E0474 000DD3D4 7C B5 2B 79 */ or. r21, r5, r5 +/* 800E0478 000DD3D8 FF 40 08 90 */ fmr f26, f1 +/* 800E047C 000DD3DC FF 60 10 90 */ fmr f27, f2 +/* 800E0480 000DD3E0 7C 73 1B 78 */ mr r19, r3 +/* 800E0484 000DD3E4 7C 94 23 78 */ mr r20, r4 +/* 800E0488 000DD3E8 7C D6 33 78 */ mr r22, r6 +/* 800E048C 000DD3EC 7C F7 3B 78 */ mr r23, r7 +/* 800E0490 000DD3F0 7D 18 43 78 */ mr r24, r8 +/* 800E0494 000DD3F4 41 82 00 18 */ beq lbl_800E04AC +/* 800E0498 000DD3F8 A0 18 00 00 */ lhz r0, 0(r24) +/* 800E049C 000DD3FC 39 01 00 44 */ addi r8, r1, 0x44 +/* 800E04A0 000DD400 B0 01 00 44 */ sth r0, 0x44(r1) +/* 800E04A4 000DD404 48 0D B3 E5 */ bl Fire__10CGunWeaponFbfQ212CPlayerState12EChargeStageRC12CTransform4fR13CStateManager9TUniqueId +/* 800E04A8 000DD408 48 00 01 E4 */ b lbl_800E068C +lbl_800E04AC: +/* 800E04AC 000DD40C 80 77 09 00 */ lwz r3, 0x900(r23) +/* 800E04B0 000DD410 48 23 20 2D */ bl Float__9CRandom16Fv +/* 800E04B4 000DD414 1C 15 00 0C */ mulli r0, r21, 0xc +/* 800E04B8 000DD418 C0 02 8F 84 */ lfs f0, lbl_805AACA4@sda21(r2) +/* 800E04BC 000DD41C 3C 60 80 3D */ lis r3, lbl_803CE568@ha +/* 800E04C0 000DD420 C3 A2 8F 88 */ lfs f29, lbl_805AACA8@sda21(r2) +/* 800E04C4 000DD424 EF 80 00 72 */ fmuls f28, f0, f1 +/* 800E04C8 000DD428 C3 CD A2 F8 */ lfs f30, lbl_805A8EB8@sda21(r13) +/* 800E04CC 000DD42C 7F 53 02 14 */ add r26, r19, r0 +/* 800E04D0 000DD430 CB E2 8F 90 */ lfd f31, lbl_805AACB0@sda21(r2) +/* 800E04D4 000DD434 3B E3 E5 68 */ addi r31, r3, lbl_803CE568@l +/* 800E04D8 000DD438 3B 20 00 00 */ li r25, 0 +/* 800E04DC 000DD43C 3F C0 43 30 */ lis r30, 0x4330 +/* 800E04E0 000DD440 3B 5A 01 48 */ addi r26, r26, 0x148 +lbl_800E04E4: +/* 800E04E4 000DD444 6F 20 80 00 */ xoris r0, r25, 0x8000 +/* 800E04E8 000DD448 93 C1 01 48 */ stw r30, 0x148(r1) +/* 800E04EC 000DD44C 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800E04F0 000DD450 38 81 00 50 */ addi r4, r1, 0x50 +/* 800E04F4 000DD454 90 01 01 4C */ stw r0, 0x14c(r1) +/* 800E04F8 000DD458 C8 01 01 48 */ lfd f0, 0x148(r1) +/* 800E04FC 000DD45C EC 00 F8 28 */ fsubs f0, f0, f31 +/* 800E0500 000DD460 EC 1C 00 2A */ fadds f0, f28, f0 +/* 800E0504 000DD464 EC 1E 00 32 */ fmuls f0, f30, f0 +/* 800E0508 000DD468 EC 1D 00 32 */ fmuls f0, f29, f0 +/* 800E050C 000DD46C D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800E0510 000DD470 48 23 33 99 */ bl RotateY__12CTransform4fFRC9CRelAngle +/* 800E0514 000DD474 7E C4 B3 78 */ mr r4, r22 +/* 800E0518 000DD478 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 800E051C 000DD47C 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 800E0520 000DD480 48 23 24 31 */ bl __ml__12CTransform4fCFRC12CTransform4f +/* 800E0524 000DD484 38 61 01 14 */ addi r3, r1, 0x114 +/* 800E0528 000DD488 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 800E052C 000DD48C 48 23 26 49 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800E0530 000DD490 7F E4 FB 78 */ mr r4, r31 +/* 800E0534 000DD494 3A 40 00 00 */ li r18, 0 +/* 800E0538 000DD498 38 60 03 D8 */ li r3, 0x3d8 +/* 800E053C 000DD49C 38 A0 00 00 */ li r5, 0 +/* 800E0540 000DD4A0 48 23 53 2D */ bl __nw__FUlPCcPCc +/* 800E0544 000DD4A4 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800E0548 000DD4A8 41 82 00 DC */ beq lbl_800E0624 +/* 800E054C 000DD4AC C0 02 8F 8C */ lfs f0, lbl_805AACAC@sda21(r2) +/* 800E0550 000DD4B0 38 00 00 00 */ li r0, 0 +/* 800E0554 000DD4B4 A0 B8 00 00 */ lhz r5, 0(r24) +/* 800E0558 000DD4B8 7E E4 BB 78 */ mr r4, r23 +/* 800E055C 000DD4BC 98 01 00 6C */ stb r0, 0x6c(r1) +/* 800E0560 000DD4C0 38 61 00 30 */ addi r3, r1, 0x30 +/* 800E0564 000DD4C4 80 0D A3 90 */ lwz r0, lbl_805A8F50@sda21(r13) +/* 800E0568 000DD4C8 3A 40 00 01 */ li r18, 1 +/* 800E056C 000DD4CC D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800E0570 000DD4D0 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800E0574 000DD4D4 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800E0578 000DD4D8 B0 A1 00 40 */ sth r5, 0x40(r1) +/* 800E057C 000DD4DC A0 B3 01 C4 */ lhz r5, 0x1c4(r19) +/* 800E0580 000DD4E0 B0 A1 00 38 */ sth r5, 0x38(r1) +/* 800E0584 000DD4E4 B0 A1 00 3C */ sth r5, 0x3c(r1) +/* 800E0588 000DD4E8 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800E058C 000DD4EC 4B F6 CB 51 */ bl AllocateUniqueId__13CStateManagerFv +/* 800E0590 000DD4F0 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 800E0594 000DD4F4 FC 20 D8 90 */ fmr f1, f27 +/* 800E0598 000DD4F8 7E 64 9B 78 */ mr r4, r19 +/* 800E059C 000DD4FC 7E E5 BB 78 */ mr r5, r23 +/* 800E05A0 000DD500 B0 01 00 34 */ sth r0, 0x34(r1) +/* 800E05A4 000DD504 7E A6 AB 78 */ mr r6, r21 +/* 800E05A8 000DD508 38 61 00 70 */ addi r3, r1, 0x70 +/* 800E05AC 000DD50C 83 93 01 C8 */ lwz r28, 0x1c8(r19) +/* 800E05B0 000DD510 83 73 01 C0 */ lwz r27, 0x1c0(r19) +/* 800E05B4 000DD514 48 0D B1 89 */ bl GetDamageInfo__10CGunWeaponFR13CStateManagerQ212CPlayerState12EChargeStagef +/* 800E05B8 000DD518 38 61 00 4C */ addi r3, r1, 0x4c +/* 800E05BC 000DD51C 38 01 00 3C */ addi r0, r1, 0x3c +/* 800E05C0 000DD520 90 61 00 08 */ stw r3, 8(r1) +/* 800E05C4 000DD524 38 61 00 40 */ addi r3, r1, 0x40 +/* 800E05C8 000DD528 38 80 08 00 */ li r4, 0x800 +/* 800E05CC 000DD52C 3A 21 00 54 */ addi r17, r1, 0x54 +/* 800E05D0 000DD530 90 01 00 0C */ stw r0, 0xc(r1) +/* 800E05D4 000DD534 39 81 00 60 */ addi r12, r1, 0x60 +/* 800E05D8 000DD538 A1 62 C5 FC */ lhz r11, lbl_805AE31C@sda21(r2) +/* 800E05DC 000DD53C 38 00 00 00 */ li r0, 0 +/* 800E05E0 000DD540 90 61 00 10 */ stw r3, 0x10(r1) +/* 800E05E4 000DD544 7F A3 EB 78 */ mr r3, r29 +/* 800E05E8 000DD548 7F 45 D3 78 */ mr r5, r26 +/* 800E05EC 000DD54C 7F 66 DB 78 */ mr r6, r27 +/* 800E05F0 000DD550 90 81 00 14 */ stw r4, 0x14(r1) +/* 800E05F4 000DD554 7F 88 E3 78 */ mr r8, r28 +/* 800E05F8 000DD558 38 E1 01 14 */ addi r7, r1, 0x114 +/* 800E05FC 000DD55C 39 21 00 70 */ addi r9, r1, 0x70 +/* 800E0600 000DD560 92 81 00 18 */ stw r20, 0x18(r1) +/* 800E0604 000DD564 39 41 00 34 */ addi r10, r1, 0x34 +/* 800E0608 000DD568 38 80 00 01 */ li r4, 1 +/* 800E060C 000DD56C 92 21 00 1C */ stw r17, 0x1c(r1) +/* 800E0610 000DD570 91 81 00 20 */ stw r12, 0x20(r1) +/* 800E0614 000DD574 91 61 00 24 */ stw r11, 0x24(r1) +/* 800E0618 000DD578 90 01 00 28 */ stw r0, 0x28(r1) +/* 800E061C 000DD57C 48 13 50 7D */ bl "__ct__17CEnergyProjectileFbRC28TToken<18CWeaponDescription>11EWeaponTypeRC12CTransform4f14EMaterialTypesRC11CDamageInfo9TUniqueId7TAreaId9TUniqueId9TUniqueIdUibRC9CVector3fRCQ24rstl50optional_object<31TLockedToken<15CGenDescription>>sb" +/* 800E0620 000DD580 7C 7D 1B 78 */ mr r29, r3 +lbl_800E0624: +/* 800E0624 000DD584 7E 40 07 75 */ extsb. r0, r18 +/* 800E0628 000DD588 41 82 00 30 */ beq lbl_800E0658 +/* 800E062C 000DD58C 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 800E0630 000DD590 28 00 00 00 */ cmplwi r0, 0 +/* 800E0634 000DD594 41 82 00 1C */ beq lbl_800E0650 +/* 800E0638 000DD598 34 61 00 60 */ addic. r3, r1, 0x60 +/* 800E063C 000DD59C 41 82 00 14 */ beq lbl_800E0650 +/* 800E0640 000DD5A0 28 03 00 00 */ cmplwi r3, 0 +/* 800E0644 000DD5A4 41 82 00 0C */ beq lbl_800E0650 +/* 800E0648 000DD5A8 38 80 00 00 */ li r4, 0 +/* 800E064C 000DD5AC 48 26 07 F5 */ bl __dt__6CTokenFv +lbl_800E0650: +/* 800E0650 000DD5B0 38 00 00 00 */ li r0, 0 +/* 800E0654 000DD5B4 98 01 00 6C */ stb r0, 0x6c(r1) +lbl_800E0658: +/* 800E0658 000DD5B8 7E E3 BB 78 */ mr r3, r23 +/* 800E065C 000DD5BC 7F A4 EB 78 */ mr r4, r29 +/* 800E0660 000DD5C0 4B F6 C6 95 */ bl AddObject__13CStateManagerFP7CEntityQ213CStateManager18EScriptPersistence +/* 800E0664 000DD5C4 7F A3 EB 78 */ mr r3, r29 +/* 800E0668 000DD5C8 FC 20 D0 90 */ fmr f1, f26 +/* 800E066C 000DD5CC 81 9D 00 00 */ lwz r12, 0(r29) +/* 800E0670 000DD5D0 7E E4 BB 78 */ mr r4, r23 +/* 800E0674 000DD5D4 81 8C 00 14 */ lwz r12, 0x14(r12) +/* 800E0678 000DD5D8 7D 89 03 A6 */ mtctr r12 +/* 800E067C 000DD5DC 4E 80 04 21 */ bctrl +/* 800E0680 000DD5E0 3B 39 00 01 */ addi r25, r25, 1 +/* 800E0684 000DD5E4 2C 19 00 03 */ cmpwi r25, 3 +/* 800E0688 000DD5E8 41 80 FE 5C */ blt lbl_800E04E4 +lbl_800E068C: +/* 800E068C 000DD5EC 2C 15 00 00 */ cmpwi r21, 0 +/* 800E0690 000DD5F0 41 82 00 14 */ beq lbl_800E06A4 +/* 800E0694 000DD5F4 88 13 02 18 */ lbz r0, 0x218(r19) +/* 800E0698 000DD5F8 38 60 00 01 */ li r3, 1 +/* 800E069C 000DD5FC 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800E06A0 000DD600 98 13 02 18 */ stb r0, 0x218(r19) +lbl_800E06A4: +/* 800E06A4 000DD604 56 A0 08 3C */ slwi r0, r21, 1 +/* 800E06A8 000DD608 38 62 8F 78 */ addi r3, r2, lbl_805AAC98@sda21 +/* 800E06AC 000DD60C 7C 83 02 2E */ lhzx r4, r3, r0 +/* 800E06B0 000DD610 7E 85 A3 78 */ mr r5, r20 +/* 800E06B4 000DD614 38 61 00 48 */ addi r3, r1, 0x48 +/* 800E06B8 000DD618 38 C0 00 00 */ li r6, 0 +/* 800E06BC 000DD61C 38 E0 00 4A */ li r7, 0x4a +/* 800E06C0 000DD620 48 1A A4 39 */ bl play_sfx__12NWeaponTypesFUsbbs +/* 800E06C4 000DD624 80 73 00 20 */ lwz r3, 0x20(r19) +/* 800E06C8 000DD628 39 20 00 00 */ li r9, 0 +/* 800E06CC 000DD62C 39 00 00 01 */ li r8, 1 +/* 800E06D0 000DD630 56 A5 10 3A */ slwi r5, r21, 2 +/* 800E06D4 000DD634 88 03 02 20 */ lbz r0, 0x220(r3) +/* 800E06D8 000DD638 51 20 36 72 */ rlwimi r0, r9, 6, 0x19, 0x19 +/* 800E06DC 000DD63C 38 82 A9 D0 */ addi r4, r2, lbl_805AC6F0@sda21 +/* 800E06E0 000DD640 C0 02 8F 8C */ lfs f0, lbl_805AACAC@sda21(r2) +/* 800E06E4 000DD644 98 03 02 20 */ stb r0, 0x220(r3) +/* 800E06E8 000DD648 38 00 FF FF */ li r0, -1 +/* 800E06EC 000DD64C 7C C4 28 2E */ lwzx r6, r4, r5 +/* 800E06F0 000DD650 38 81 00 8C */ addi r4, r1, 0x8c +/* 800E06F4 000DD654 88 E3 02 20 */ lbz r7, 0x220(r3) +/* 800E06F8 000DD658 51 07 3E 30 */ rlwimi r7, r8, 7, 0x18, 0x18 +/* 800E06FC 000DD65C 38 A0 00 00 */ li r5, 0 +/* 800E0700 000DD660 98 E3 02 20 */ stb r7, 0x220(r3) +/* 800E0704 000DD664 90 C1 00 8C */ stw r6, 0x8c(r1) +/* 800E0708 000DD668 90 01 00 90 */ stw r0, 0x90(r1) +/* 800E070C 000DD66C D0 01 00 94 */ stfs f0, 0x94(r1) +/* 800E0710 000DD670 99 01 00 98 */ stb r8, 0x98(r1) +/* 800E0714 000DD674 91 21 00 9C */ stw r9, 0x9c(r1) +/* 800E0718 000DD678 91 21 00 A0 */ stw r9, 0xa0(r1) +/* 800E071C 000DD67C 99 21 00 A4 */ stb r9, 0xa4(r1) +/* 800E0720 000DD680 91 21 00 A8 */ stw r9, 0xa8(r1) +/* 800E0724 000DD684 91 21 00 AC */ stw r9, 0xac(r1) +/* 800E0728 000DD688 91 21 00 B0 */ stw r9, 0xb0(r1) +/* 800E072C 000DD68C 4B F4 C6 51 */ bl SetAnimation__9CAnimDataFRC18CAnimPlaybackParmsb +/* 800E0730 000DD690 E3 E1 01 E8 */ psq_l f31, 488(r1), 0, qr0 +/* 800E0734 000DD694 CB E1 01 E0 */ lfd f31, 0x1e0(r1) +/* 800E0738 000DD698 E3 C1 01 D8 */ psq_l f30, 472(r1), 0, qr0 +/* 800E073C 000DD69C CB C1 01 D0 */ lfd f30, 0x1d0(r1) +/* 800E0740 000DD6A0 E3 A1 01 C8 */ psq_l f29, 456(r1), 0, qr0 +/* 800E0744 000DD6A4 CB A1 01 C0 */ lfd f29, 0x1c0(r1) +/* 800E0748 000DD6A8 E3 81 01 B8 */ psq_l f28, 440(r1), 0, qr0 +/* 800E074C 000DD6AC CB 81 01 B0 */ lfd f28, 0x1b0(r1) +/* 800E0750 000DD6B0 E3 61 01 A8 */ psq_l f27, 424(r1), 0, qr0 +/* 800E0754 000DD6B4 CB 61 01 A0 */ lfd f27, 0x1a0(r1) +/* 800E0758 000DD6B8 E3 41 01 98 */ psq_l f26, 408(r1), 0, qr0 +/* 800E075C 000DD6BC CB 41 01 90 */ lfd f26, 0x190(r1) +/* 800E0760 000DD6C0 BA 21 01 54 */ lmw r17, 0x154(r1) +/* 800E0764 000DD6C4 80 01 01 F4 */ lwz r0, 0x1f4(r1) +/* 800E0768 000DD6C8 7C 08 03 A6 */ mtlr r0 +/* 800E076C 000DD6CC 38 21 01 F0 */ addi r1, r1, 0x1f0 +/* 800E0770 000DD6D0 4E 80 00 20 */ blr + +.global Update__9CWaveBeamFfR13CStateManager +Update__9CWaveBeamFfR13CStateManager: +/* 800E0774 000DD6D4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E0778 000DD6D8 7C 08 02 A6 */ mflr r0 +/* 800E077C 000DD6DC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E0780 000DD6E0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E0784 000DD6E4 7C 7F 1B 78 */ mr r31, r3 +/* 800E0788 000DD6E8 48 0D BC F1 */ bl Update__10CGunWeaponFfR13CStateManager +/* 800E078C 000DD6EC 7F E3 FB 78 */ mr r3, r31 +/* 800E0790 000DD6F0 81 9F 00 00 */ lwz r12, 0(r31) +/* 800E0794 000DD6F4 81 8C 00 40 */ lwz r12, 0x40(r12) +/* 800E0798 000DD6F8 7D 89 03 A6 */ mtctr r12 +/* 800E079C 000DD6FC 4E 80 04 21 */ bctrl +/* 800E07A0 000DD700 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E07A4 000DD704 40 82 01 74 */ bne lbl_800E0918 +/* 800E07A8 000DD708 7F E3 FB 78 */ mr r3, r31 +/* 800E07AC 000DD70C 48 0D AB F9 */ bl IsLoaded__10CGunWeaponCFv +/* 800E07B0 000DD710 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E07B4 000DD714 41 82 01 64 */ beq lbl_800E0918 +/* 800E07B8 000DD718 88 1F 02 58 */ lbz r0, 0x258(r31) +/* 800E07BC 000DD71C 54 00 CF FF */ rlwinm. r0, r0, 0x19, 0x1f, 0x1f +/* 800E07C0 000DD720 40 82 01 58 */ bne lbl_800E0918 +/* 800E07C4 000DD724 80 1F 02 30 */ lwz r0, 0x230(r31) +/* 800E07C8 000DD728 28 00 00 00 */ cmplwi r0, 0 +/* 800E07CC 000DD72C 41 82 00 0C */ beq lbl_800E07D8 +/* 800E07D0 000DD730 38 60 00 01 */ li r3, 1 +/* 800E07D4 000DD734 48 00 00 3C */ b lbl_800E0810 +lbl_800E07D8: +/* 800E07D8 000DD738 88 1F 02 2C */ lbz r0, 0x22c(r31) +/* 800E07DC 000DD73C 28 00 00 00 */ cmplwi r0, 0 +/* 800E07E0 000DD740 41 82 00 2C */ beq lbl_800E080C +/* 800E07E4 000DD744 80 7F 02 28 */ lwz r3, 0x228(r31) +/* 800E07E8 000DD748 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800E07EC 000DD74C 28 00 00 00 */ cmplwi r0, 0 +/* 800E07F0 000DD750 41 82 00 1C */ beq lbl_800E080C +/* 800E07F4 000DD754 38 7F 02 28 */ addi r3, r31, 0x228 +/* 800E07F8 000DD758 48 26 06 15 */ bl GetObj__6CTokenFv +/* 800E07FC 000DD75C 80 03 00 04 */ lwz r0, 4(r3) +/* 800E0800 000DD760 38 60 00 01 */ li r3, 1 +/* 800E0804 000DD764 90 1F 02 30 */ stw r0, 0x230(r31) +/* 800E0808 000DD768 48 00 00 08 */ b lbl_800E0810 +lbl_800E080C: +/* 800E080C 000DD76C 38 60 00 00 */ li r3, 0 +lbl_800E0810: +/* 800E0810 000DD770 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E0814 000DD774 41 82 00 50 */ beq lbl_800E0864 +/* 800E0818 000DD778 80 1F 02 3C */ lwz r0, 0x23c(r31) +/* 800E081C 000DD77C 28 00 00 00 */ cmplwi r0, 0 +/* 800E0820 000DD780 41 82 00 0C */ beq lbl_800E082C +/* 800E0824 000DD784 38 60 00 01 */ li r3, 1 +/* 800E0828 000DD788 48 00 00 3C */ b lbl_800E0864 +lbl_800E082C: +/* 800E082C 000DD78C 88 1F 02 38 */ lbz r0, 0x238(r31) +/* 800E0830 000DD790 28 00 00 00 */ cmplwi r0, 0 +/* 800E0834 000DD794 41 82 00 2C */ beq lbl_800E0860 +/* 800E0838 000DD798 80 7F 02 34 */ lwz r3, 0x234(r31) +/* 800E083C 000DD79C 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800E0840 000DD7A0 28 00 00 00 */ cmplwi r0, 0 +/* 800E0844 000DD7A4 41 82 00 1C */ beq lbl_800E0860 +/* 800E0848 000DD7A8 38 7F 02 34 */ addi r3, r31, 0x234 +/* 800E084C 000DD7AC 48 26 05 C1 */ bl GetObj__6CTokenFv +/* 800E0850 000DD7B0 80 03 00 04 */ lwz r0, 4(r3) +/* 800E0854 000DD7B4 38 60 00 01 */ li r3, 1 +/* 800E0858 000DD7B8 90 1F 02 3C */ stw r0, 0x23c(r31) +/* 800E085C 000DD7BC 48 00 00 08 */ b lbl_800E0864 +lbl_800E0860: +/* 800E0860 000DD7C0 38 60 00 00 */ li r3, 0 +lbl_800E0864: +/* 800E0864 000DD7C4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E0868 000DD7C8 41 82 00 50 */ beq lbl_800E08B8 +/* 800E086C 000DD7CC 80 1F 02 48 */ lwz r0, 0x248(r31) +/* 800E0870 000DD7D0 28 00 00 00 */ cmplwi r0, 0 +/* 800E0874 000DD7D4 41 82 00 0C */ beq lbl_800E0880 +/* 800E0878 000DD7D8 38 60 00 01 */ li r3, 1 +/* 800E087C 000DD7DC 48 00 00 3C */ b lbl_800E08B8 +lbl_800E0880: +/* 800E0880 000DD7E0 88 1F 02 44 */ lbz r0, 0x244(r31) +/* 800E0884 000DD7E4 28 00 00 00 */ cmplwi r0, 0 +/* 800E0888 000DD7E8 41 82 00 2C */ beq lbl_800E08B4 +/* 800E088C 000DD7EC 80 7F 02 40 */ lwz r3, 0x240(r31) +/* 800E0890 000DD7F0 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800E0894 000DD7F4 28 00 00 00 */ cmplwi r0, 0 +/* 800E0898 000DD7F8 41 82 00 1C */ beq lbl_800E08B4 +/* 800E089C 000DD7FC 38 7F 02 40 */ addi r3, r31, 0x240 +/* 800E08A0 000DD800 48 26 05 6D */ bl GetObj__6CTokenFv +/* 800E08A4 000DD804 80 03 00 04 */ lwz r0, 4(r3) +/* 800E08A8 000DD808 38 60 00 01 */ li r3, 1 +/* 800E08AC 000DD80C 90 1F 02 48 */ stw r0, 0x248(r31) +/* 800E08B0 000DD810 48 00 00 08 */ b lbl_800E08B8 +lbl_800E08B4: +/* 800E08B4 000DD814 38 60 00 00 */ li r3, 0 +lbl_800E08B8: +/* 800E08B8 000DD818 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800E08BC 000DD81C 41 82 00 50 */ beq lbl_800E090C +/* 800E08C0 000DD820 80 1F 02 24 */ lwz r0, 0x224(r31) +/* 800E08C4 000DD824 28 00 00 00 */ cmplwi r0, 0 +/* 800E08C8 000DD828 41 82 00 0C */ beq lbl_800E08D4 +/* 800E08CC 000DD82C 38 60 00 01 */ li r3, 1 +/* 800E08D0 000DD830 48 00 00 3C */ b lbl_800E090C +lbl_800E08D4: +/* 800E08D4 000DD834 88 1F 02 20 */ lbz r0, 0x220(r31) +/* 800E08D8 000DD838 28 00 00 00 */ cmplwi r0, 0 +/* 800E08DC 000DD83C 41 82 00 2C */ beq lbl_800E0908 +/* 800E08E0 000DD840 80 7F 02 1C */ lwz r3, 0x21c(r31) +/* 800E08E4 000DD844 80 03 00 10 */ lwz r0, 0x10(r3) +/* 800E08E8 000DD848 28 00 00 00 */ cmplwi r0, 0 +/* 800E08EC 000DD84C 41 82 00 1C */ beq lbl_800E0908 +/* 800E08F0 000DD850 38 7F 02 1C */ addi r3, r31, 0x21c +/* 800E08F4 000DD854 48 26 05 19 */ bl GetObj__6CTokenFv +/* 800E08F8 000DD858 80 03 00 04 */ lwz r0, 4(r3) +/* 800E08FC 000DD85C 38 60 00 01 */ li r3, 1 +/* 800E0900 000DD860 90 1F 02 24 */ stw r0, 0x224(r31) +/* 800E0904 000DD864 48 00 00 08 */ b lbl_800E090C +lbl_800E0908: +/* 800E0908 000DD868 38 60 00 00 */ li r3, 0 +lbl_800E090C: +/* 800E090C 000DD86C 88 1F 02 58 */ lbz r0, 0x258(r31) +/* 800E0910 000DD870 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800E0914 000DD874 98 1F 02 58 */ stb r0, 0x258(r31) +lbl_800E0918: +/* 800E0918 000DD878 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E091C 000DD87C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E0920 000DD880 7C 08 03 A6 */ mtlr r0 +/* 800E0924 000DD884 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E0928 000DD888 4E 80 00 20 */ blr + +.global UpdateGunFx__9CWaveBeamFbfRC13CStateManagerRC12CTransform4f +UpdateGunFx__9CWaveBeamFbfRC13CStateManagerRC12CTransform4f: +/* 800E092C 000DD88C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800E0930 000DD890 7C 08 02 A6 */ mflr r0 +/* 800E0934 000DD894 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800E0938 000DD898 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 800E093C 000DD89C F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 800E0940 000DD8A0 BF 61 00 8C */ stmw r27, 0x8c(r1) +/* 800E0944 000DD8A4 7C 7B 1B 78 */ mr r27, r3 +/* 800E0948 000DD8A8 FF E0 08 90 */ fmr f31, f1 +/* 800E094C 000DD8AC 80 03 01 CC */ lwz r0, 0x1cc(r3) +/* 800E0950 000DD8B0 7C 9C 23 78 */ mr r28, r4 +/* 800E0954 000DD8B4 7C BD 2B 78 */ mr r29, r5 +/* 800E0958 000DD8B8 7C DE 33 78 */ mr r30, r6 +/* 800E095C 000DD8BC 2C 00 00 00 */ cmpwi r0, 0 +/* 800E0960 000DD8C0 41 82 01 50 */ beq lbl_800E0AB0 +/* 800E0964 000DD8C4 88 1B 02 58 */ lbz r0, 0x258(r27) +/* 800E0968 000DD8C8 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800E096C 000DD8CC 41 82 00 30 */ beq lbl_800E099C +/* 800E0970 000DD8D0 C0 3B 02 4C */ lfs f1, 0x24c(r27) +/* 800E0974 000DD8D4 C0 02 8F 80 */ lfs f0, lbl_805AACA0@sda21(r2) +/* 800E0978 000DD8D8 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E097C 000DD8DC 40 80 00 20 */ bge lbl_800E099C +/* 800E0980 000DD8E0 38 60 00 00 */ li r3, 0 +/* 800E0984 000DD8E4 90 7B 01 CC */ stw r3, 0x1cc(r27) +/* 800E0988 000DD8E8 D0 1B 02 4C */ stfs f0, 0x24c(r27) +/* 800E098C 000DD8EC 88 1B 02 58 */ lbz r0, 0x258(r27) +/* 800E0990 000DD8F0 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800E0994 000DD8F4 98 1B 02 58 */ stb r0, 0x258(r27) +/* 800E0998 000DD8F8 48 00 00 F4 */ b lbl_800E0A8C +lbl_800E099C: +/* 800E099C 000DD8FC 80 7B 02 54 */ lwz r3, 0x254(r27) +/* 800E09A0 000DD900 28 03 00 00 */ cmplwi r3, 0 +/* 800E09A4 000DD904 41 82 00 70 */ beq lbl_800E0A14 +/* 800E09A8 000DD908 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 800E09AC 000DD90C 38 81 00 14 */ addi r4, r1, 0x14 +/* 800E09B0 000DD910 C0 3E 00 1C */ lfs f1, 0x1c(r30) +/* 800E09B4 000DD914 C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 800E09B8 000DD918 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800E09BC 000DD91C D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800E09C0 000DD920 D0 41 00 1C */ stfs f2, 0x1c(r1) +/* 800E09C4 000DD924 81 83 00 00 */ lwz r12, 0(r3) +/* 800E09C8 000DD928 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800E09CC 000DD92C 7D 89 03 A6 */ mtctr r12 +/* 800E09D0 000DD930 4E 80 04 21 */ bctrl +/* 800E09D4 000DD934 83 FB 02 54 */ lwz r31, 0x254(r27) +/* 800E09D8 000DD938 7F C4 F3 78 */ mr r4, r30 +/* 800E09DC 000DD93C 38 61 00 50 */ addi r3, r1, 0x50 +/* 800E09E0 000DD940 48 23 22 61 */ bl GetRotation__12CTransform4fCFv +/* 800E09E4 000DD944 7F E3 FB 78 */ mr r3, r31 +/* 800E09E8 000DD948 38 81 00 50 */ addi r4, r1, 0x50 +/* 800E09EC 000DD94C 81 9F 00 00 */ lwz r12, 0(r31) +/* 800E09F0 000DD950 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800E09F4 000DD954 7D 89 03 A6 */ mtctr r12 +/* 800E09F8 000DD958 4E 80 04 21 */ bctrl +/* 800E09FC 000DD95C 80 7B 02 54 */ lwz r3, 0x254(r27) +/* 800E0A00 000DD960 FC 20 F8 90 */ fmr f1, f31 +/* 800E0A04 000DD964 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0A08 000DD968 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800E0A0C 000DD96C 7D 89 03 A6 */ mtctr r12 +/* 800E0A10 000DD970 4E 80 04 21 */ bctrl +lbl_800E0A14: +/* 800E0A14 000DD974 80 7B 02 50 */ lwz r3, 0x250(r27) +/* 800E0A18 000DD978 28 03 00 00 */ cmplwi r3, 0 +/* 800E0A1C 000DD97C 41 82 00 70 */ beq lbl_800E0A8C +/* 800E0A20 000DD980 C0 5E 00 2C */ lfs f2, 0x2c(r30) +/* 800E0A24 000DD984 38 81 00 08 */ addi r4, r1, 8 +/* 800E0A28 000DD988 C0 3E 00 1C */ lfs f1, 0x1c(r30) +/* 800E0A2C 000DD98C C0 1E 00 0C */ lfs f0, 0xc(r30) +/* 800E0A30 000DD990 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800E0A34 000DD994 D0 01 00 08 */ stfs f0, 8(r1) +/* 800E0A38 000DD998 D0 41 00 10 */ stfs f2, 0x10(r1) +/* 800E0A3C 000DD99C 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0A40 000DD9A0 81 8C 00 20 */ lwz r12, 0x20(r12) +/* 800E0A44 000DD9A4 7D 89 03 A6 */ mtctr r12 +/* 800E0A48 000DD9A8 4E 80 04 21 */ bctrl +/* 800E0A4C 000DD9AC 83 FB 02 50 */ lwz r31, 0x250(r27) +/* 800E0A50 000DD9B0 7F C4 F3 78 */ mr r4, r30 +/* 800E0A54 000DD9B4 38 61 00 20 */ addi r3, r1, 0x20 +/* 800E0A58 000DD9B8 48 23 21 E9 */ bl GetRotation__12CTransform4fCFv +/* 800E0A5C 000DD9BC 7F E3 FB 78 */ mr r3, r31 +/* 800E0A60 000DD9C0 38 81 00 20 */ addi r4, r1, 0x20 +/* 800E0A64 000DD9C4 81 9F 00 00 */ lwz r12, 0(r31) +/* 800E0A68 000DD9C8 81 8C 00 1C */ lwz r12, 0x1c(r12) +/* 800E0A6C 000DD9CC 7D 89 03 A6 */ mtctr r12 +/* 800E0A70 000DD9D0 4E 80 04 21 */ bctrl +/* 800E0A74 000DD9D4 80 7B 02 50 */ lwz r3, 0x250(r27) +/* 800E0A78 000DD9D8 FC 20 F8 90 */ fmr f1, f31 +/* 800E0A7C 000DD9DC 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0A80 000DD9E0 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800E0A84 000DD9E4 7D 89 03 A6 */ mtctr r12 +/* 800E0A88 000DD9E8 4E 80 04 21 */ bctrl +lbl_800E0A8C: +/* 800E0A8C 000DD9EC 88 1B 02 58 */ lbz r0, 0x258(r27) +/* 800E0A90 000DD9F0 54 00 D7 FF */ rlwinm. r0, r0, 0x1a, 0x1f, 0x1f +/* 800E0A94 000DD9F4 41 82 00 1C */ beq lbl_800E0AB0 +/* 800E0A98 000DD9F8 C0 3B 02 4C */ lfs f1, 0x24c(r27) +/* 800E0A9C 000DD9FC C0 02 8F 80 */ lfs f0, lbl_805AACA0@sda21(r2) +/* 800E0AA0 000DDA00 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800E0AA4 000DDA04 40 81 00 0C */ ble lbl_800E0AB0 +/* 800E0AA8 000DDA08 EC 01 F8 28 */ fsubs f0, f1, f31 +/* 800E0AAC 000DDA0C D0 1B 02 4C */ stfs f0, 0x24c(r27) +lbl_800E0AB0: +/* 800E0AB0 000DDA10 FC 20 F8 90 */ fmr f1, f31 +/* 800E0AB4 000DDA14 7F 63 DB 78 */ mr r3, r27 +/* 800E0AB8 000DDA18 7F 84 E3 78 */ mr r4, r28 +/* 800E0ABC 000DDA1C 7F A5 EB 78 */ mr r5, r29 +/* 800E0AC0 000DDA20 7F C6 F3 78 */ mr r6, r30 +/* 800E0AC4 000DDA24 48 0D B8 19 */ bl UpdateGunFx__10CGunWeaponFbfRC13CStateManagerRC12CTransform4f +/* 800E0AC8 000DDA28 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 800E0ACC 000DDA2C CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 800E0AD0 000DDA30 BB 61 00 8C */ lmw r27, 0x8c(r1) +/* 800E0AD4 000DDA34 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800E0AD8 000DDA38 7C 08 03 A6 */ mtlr r0 +/* 800E0ADC 000DDA3C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800E0AE0 000DDA40 4E 80 00 20 */ blr + +.global PostRenderGunFx__9CWaveBeamFRC13CStateManagerRC12CTransform4f +PostRenderGunFx__9CWaveBeamFRC13CStateManagerRC12CTransform4f: +/* 800E0AE4 000DDA44 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800E0AE8 000DDA48 7C 08 02 A6 */ mflr r0 +/* 800E0AEC 000DDA4C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800E0AF0 000DDA50 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800E0AF4 000DDA54 7C BF 2B 78 */ mr r31, r5 +/* 800E0AF8 000DDA58 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800E0AFC 000DDA5C 7C 9E 23 78 */ mr r30, r4 +/* 800E0B00 000DDA60 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800E0B04 000DDA64 7C 7D 1B 78 */ mr r29, r3 +/* 800E0B08 000DDA68 80 03 01 CC */ lwz r0, 0x1cc(r3) +/* 800E0B0C 000DDA6C 2C 00 00 00 */ cmpwi r0, 0 +/* 800E0B10 000DDA70 41 82 00 3C */ beq lbl_800E0B4C +/* 800E0B14 000DDA74 80 7D 02 54 */ lwz r3, 0x254(r29) +/* 800E0B18 000DDA78 28 03 00 00 */ cmplwi r3, 0 +/* 800E0B1C 000DDA7C 41 82 00 14 */ beq lbl_800E0B30 +/* 800E0B20 000DDA80 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0B24 000DDA84 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800E0B28 000DDA88 7D 89 03 A6 */ mtctr r12 +/* 800E0B2C 000DDA8C 4E 80 04 21 */ bctrl +lbl_800E0B30: +/* 800E0B30 000DDA90 80 7D 02 50 */ lwz r3, 0x250(r29) +/* 800E0B34 000DDA94 28 03 00 00 */ cmplwi r3, 0 +/* 800E0B38 000DDA98 41 82 00 14 */ beq lbl_800E0B4C +/* 800E0B3C 000DDA9C 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0B40 000DDAA0 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800E0B44 000DDAA4 7D 89 03 A6 */ mtctr r12 +/* 800E0B48 000DDAA8 4E 80 04 21 */ bctrl +lbl_800E0B4C: +/* 800E0B4C 000DDAAC 7F A3 EB 78 */ mr r3, r29 +/* 800E0B50 000DDAB0 7F C4 F3 78 */ mr r4, r30 +/* 800E0B54 000DDAB4 7F E5 FB 78 */ mr r5, r31 +/* 800E0B58 000DDAB8 48 0D B8 CD */ bl PostRenderGunFx__10CGunWeaponFRC13CStateManagerRC12CTransform4f +/* 800E0B5C 000DDABC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800E0B60 000DDAC0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800E0B64 000DDAC4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800E0B68 000DDAC8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800E0B6C 000DDACC 7C 08 03 A6 */ mtlr r0 +/* 800E0B70 000DDAD0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800E0B74 000DDAD4 4E 80 00 20 */ blr + +.global ReInitVariables__9CWaveBeamFv +ReInitVariables__9CWaveBeamFv: +/* 800E0B78 000DDAD8 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E0B7C 000DDADC 7C 08 02 A6 */ mflr r0 +/* 800E0B80 000DDAE0 C0 02 8F 80 */ lfs f0, lbl_805AACA0@sda21(r2) +/* 800E0B84 000DDAE4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E0B88 000DDAE8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E0B8C 000DDAEC 7C 7F 1B 78 */ mr r31, r3 +/* 800E0B90 000DDAF0 D0 03 02 4C */ stfs f0, 0x24c(r3) +/* 800E0B94 000DDAF4 80 63 02 50 */ lwz r3, 0x250(r3) +/* 800E0B98 000DDAF8 28 03 00 00 */ cmplwi r3, 0 +/* 800E0B9C 000DDAFC 41 82 00 18 */ beq lbl_800E0BB4 +/* 800E0BA0 000DDB00 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0BA4 000DDB04 38 80 00 01 */ li r4, 1 +/* 800E0BA8 000DDB08 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E0BAC 000DDB0C 7D 89 03 A6 */ mtctr r12 +/* 800E0BB0 000DDB10 4E 80 04 21 */ bctrl +lbl_800E0BB4: +/* 800E0BB4 000DDB14 38 00 00 00 */ li r0, 0 +/* 800E0BB8 000DDB18 90 1F 02 50 */ stw r0, 0x250(r31) +/* 800E0BBC 000DDB1C 80 7F 02 54 */ lwz r3, 0x254(r31) +/* 800E0BC0 000DDB20 28 03 00 00 */ cmplwi r3, 0 +/* 800E0BC4 000DDB24 41 82 00 18 */ beq lbl_800E0BDC +/* 800E0BC8 000DDB28 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0BCC 000DDB2C 38 80 00 01 */ li r4, 1 +/* 800E0BD0 000DDB30 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E0BD4 000DDB34 7D 89 03 A6 */ mtctr r12 +/* 800E0BD8 000DDB38 4E 80 04 21 */ bctrl +lbl_800E0BDC: +/* 800E0BDC 000DDB3C 38 60 00 00 */ li r3, 0 +/* 800E0BE0 000DDB40 90 7F 02 54 */ stw r3, 0x254(r31) +/* 800E0BE4 000DDB44 88 1F 02 58 */ lbz r0, 0x258(r31) +/* 800E0BE8 000DDB48 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800E0BEC 000DDB4C 98 1F 02 58 */ stb r0, 0x258(r31) +/* 800E0BF0 000DDB50 88 1F 02 58 */ lbz r0, 0x258(r31) +/* 800E0BF4 000DDB54 50 60 36 72 */ rlwimi r0, r3, 6, 0x19, 0x19 +/* 800E0BF8 000DDB58 98 1F 02 58 */ stb r0, 0x258(r31) +/* 800E0BFC 000DDB5C 90 7F 01 CC */ stw r3, 0x1cc(r31) +/* 800E0C00 000DDB60 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E0C04 000DDB64 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E0C08 000DDB68 7C 08 03 A6 */ mtlr r0 +/* 800E0C0C 000DDB6C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E0C10 000DDB70 4E 80 00 20 */ blr + +.global __dt__9CWaveBeamFv +__dt__9CWaveBeamFv: +/* 800E0C14 000DDB74 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800E0C18 000DDB78 7C 08 02 A6 */ mflr r0 +/* 800E0C1C 000DDB7C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800E0C20 000DDB80 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800E0C24 000DDB84 7C 9F 23 78 */ mr r31, r4 +/* 800E0C28 000DDB88 93 C1 00 08 */ stw r30, 8(r1) +/* 800E0C2C 000DDB8C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800E0C30 000DDB90 41 82 00 EC */ beq lbl_800E0D1C +/* 800E0C34 000DDB94 3C 60 80 3E */ lis r3, lbl_803DF7A0@ha +/* 800E0C38 000DDB98 34 1E 02 54 */ addic. r0, r30, 0x254 +/* 800E0C3C 000DDB9C 38 03 F7 A0 */ addi r0, r3, lbl_803DF7A0@l +/* 800E0C40 000DDBA0 90 1E 00 00 */ stw r0, 0(r30) +/* 800E0C44 000DDBA4 41 82 00 24 */ beq lbl_800E0C68 +/* 800E0C48 000DDBA8 80 7E 02 54 */ lwz r3, 0x254(r30) +/* 800E0C4C 000DDBAC 28 03 00 00 */ cmplwi r3, 0 +/* 800E0C50 000DDBB0 41 82 00 18 */ beq lbl_800E0C68 +/* 800E0C54 000DDBB4 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0C58 000DDBB8 38 80 00 01 */ li r4, 1 +/* 800E0C5C 000DDBBC 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E0C60 000DDBC0 7D 89 03 A6 */ mtctr r12 +/* 800E0C64 000DDBC4 4E 80 04 21 */ bctrl +lbl_800E0C68: +/* 800E0C68 000DDBC8 34 1E 02 50 */ addic. r0, r30, 0x250 +/* 800E0C6C 000DDBCC 41 82 00 24 */ beq lbl_800E0C90 +/* 800E0C70 000DDBD0 80 7E 02 50 */ lwz r3, 0x250(r30) +/* 800E0C74 000DDBD4 28 03 00 00 */ cmplwi r3, 0 +/* 800E0C78 000DDBD8 41 82 00 18 */ beq lbl_800E0C90 +/* 800E0C7C 000DDBDC 81 83 00 00 */ lwz r12, 0(r3) +/* 800E0C80 000DDBE0 38 80 00 01 */ li r4, 1 +/* 800E0C84 000DDBE4 81 8C 00 08 */ lwz r12, 8(r12) +/* 800E0C88 000DDBE8 7D 89 03 A6 */ mtctr r12 +/* 800E0C8C 000DDBEC 4E 80 04 21 */ bctrl +lbl_800E0C90: +/* 800E0C90 000DDBF0 34 1E 02 40 */ addic. r0, r30, 0x240 +/* 800E0C94 000DDBF4 41 82 00 18 */ beq lbl_800E0CAC +/* 800E0C98 000DDBF8 34 1E 02 40 */ addic. r0, r30, 0x240 +/* 800E0C9C 000DDBFC 41 82 00 10 */ beq lbl_800E0CAC +/* 800E0CA0 000DDC00 38 7E 02 40 */ addi r3, r30, 0x240 +/* 800E0CA4 000DDC04 38 80 00 00 */ li r4, 0 +/* 800E0CA8 000DDC08 48 26 01 99 */ bl __dt__6CTokenFv +lbl_800E0CAC: +/* 800E0CAC 000DDC0C 34 1E 02 34 */ addic. r0, r30, 0x234 +/* 800E0CB0 000DDC10 41 82 00 18 */ beq lbl_800E0CC8 +/* 800E0CB4 000DDC14 34 1E 02 34 */ addic. r0, r30, 0x234 +/* 800E0CB8 000DDC18 41 82 00 10 */ beq lbl_800E0CC8 +/* 800E0CBC 000DDC1C 38 7E 02 34 */ addi r3, r30, 0x234 +/* 800E0CC0 000DDC20 38 80 00 00 */ li r4, 0 +/* 800E0CC4 000DDC24 48 26 01 7D */ bl __dt__6CTokenFv +lbl_800E0CC8: +/* 800E0CC8 000DDC28 34 1E 02 28 */ addic. r0, r30, 0x228 +/* 800E0CCC 000DDC2C 41 82 00 18 */ beq lbl_800E0CE4 +/* 800E0CD0 000DDC30 34 1E 02 28 */ addic. r0, r30, 0x228 +/* 800E0CD4 000DDC34 41 82 00 10 */ beq lbl_800E0CE4 +/* 800E0CD8 000DDC38 38 7E 02 28 */ addi r3, r30, 0x228 +/* 800E0CDC 000DDC3C 38 80 00 00 */ li r4, 0 +/* 800E0CE0 000DDC40 48 26 01 61 */ bl __dt__6CTokenFv +lbl_800E0CE4: +/* 800E0CE4 000DDC44 34 1E 02 1C */ addic. r0, r30, 0x21c +/* 800E0CE8 000DDC48 41 82 00 18 */ beq lbl_800E0D00 +/* 800E0CEC 000DDC4C 34 1E 02 1C */ addic. r0, r30, 0x21c +/* 800E0CF0 000DDC50 41 82 00 10 */ beq lbl_800E0D00 +/* 800E0CF4 000DDC54 38 7E 02 1C */ addi r3, r30, 0x21c +/* 800E0CF8 000DDC58 38 80 00 00 */ li r4, 0 +/* 800E0CFC 000DDC5C 48 26 01 45 */ bl __dt__6CTokenFv +lbl_800E0D00: +/* 800E0D00 000DDC60 7F C3 F3 78 */ mr r3, r30 +/* 800E0D04 000DDC64 38 80 00 00 */ li r4, 0 +/* 800E0D08 000DDC68 48 0D BF B9 */ bl __dt__10CGunWeaponFv +/* 800E0D0C 000DDC6C 7F E0 07 35 */ extsh. r0, r31 +/* 800E0D10 000DDC70 40 81 00 0C */ ble lbl_800E0D1C +/* 800E0D14 000DDC74 7F C3 F3 78 */ mr r3, r30 +/* 800E0D18 000DDC78 48 23 4C 19 */ bl Free__7CMemoryFPCv +lbl_800E0D1C: +/* 800E0D1C 000DDC7C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800E0D20 000DDC80 7F C3 F3 78 */ mr r3, r30 +/* 800E0D24 000DDC84 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800E0D28 000DDC88 83 C1 00 08 */ lwz r30, 8(r1) +/* 800E0D2C 000DDC8C 7C 08 03 A6 */ mtlr r0 +/* 800E0D30 000DDC90 38 21 00 10 */ addi r1, r1, 0x10 +/* 800E0D34 000DDC94 4E 80 00 20 */ blr + +.global __ct__9CWaveBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +__ct__9CWaveBeamFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f: +/* 800E0D38 000DDC98 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800E0D3C 000DDC9C 7C 08 02 A6 */ mflr r0 +/* 800E0D40 000DDCA0 90 01 00 44 */ stw r0, 0x44(r1) +/* 800E0D44 000DDCA4 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800E0D48 000DDCA8 7C 7F 1B 78 */ mr r31, r3 +/* 800E0D4C 000DDCAC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800E0D50 000DDCB0 A0 06 00 00 */ lhz r0, 0(r6) +/* 800E0D54 000DDCB4 38 C1 00 08 */ addi r6, r1, 8 +/* 800E0D58 000DDCB8 B0 01 00 08 */ sth r0, 8(r1) +/* 800E0D5C 000DDCBC 48 0D C4 55 */ bl __ct__10CGunWeaponFUi11EWeaponType9TUniqueId14EMaterialTypesRC9CVector3f +/* 800E0D60 000DDCC0 3C 60 80 3E */ lis r3, lbl_803DF7A0@ha +/* 800E0D64 000DDCC4 3C 80 80 3D */ lis r4, lbl_803CE568@ha +/* 800E0D68 000DDCC8 38 03 F7 A0 */ addi r0, r3, lbl_803DF7A0@l +/* 800E0D6C 000DDCCC 38 61 00 24 */ addi r3, r1, 0x24 +/* 800E0D70 000DDCD0 90 1F 00 00 */ stw r0, 0(r31) +/* 800E0D74 000DDCD4 38 84 E5 68 */ addi r4, r4, lbl_803CE568@l +/* 800E0D78 000DDCD8 38 A4 00 07 */ addi r5, r4, 7 +/* 800E0D7C 000DDCDC 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800E0D80 000DDCE0 81 84 00 00 */ lwz r12, 0(r4) +/* 800E0D84 000DDCE4 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800E0D88 000DDCE8 7D 89 03 A6 */ mtctr r12 +/* 800E0D8C 000DDCEC 4E 80 04 21 */ bctrl +/* 800E0D90 000DDCF0 3B DF 02 1C */ addi r30, r31, 0x21c +/* 800E0D94 000DDCF4 38 81 00 24 */ addi r4, r1, 0x24 +/* 800E0D98 000DDCF8 7F C3 F3 78 */ mr r3, r30 +/* 800E0D9C 000DDCFC 48 26 01 0D */ bl __ct__6CTokenFRC6CToken +/* 800E0DA0 000DDD00 38 00 00 00 */ li r0, 0 +/* 800E0DA4 000DDD04 38 61 00 24 */ addi r3, r1, 0x24 +/* 800E0DA8 000DDD08 90 1E 00 08 */ stw r0, 8(r30) +/* 800E0DAC 000DDD0C 38 80 FF FF */ li r4, -1 +/* 800E0DB0 000DDD10 48 26 00 91 */ bl __dt__6CTokenFv +/* 800E0DB4 000DDD14 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800E0DB8 000DDD18 3C 60 80 3D */ lis r3, lbl_803CE568@ha +/* 800E0DBC 000DDD1C 38 A3 E5 68 */ addi r5, r3, lbl_803CE568@l +/* 800E0DC0 000DDD20 38 61 00 1C */ addi r3, r1, 0x1c +/* 800E0DC4 000DDD24 81 84 00 00 */ lwz r12, 0(r4) +/* 800E0DC8 000DDD28 38 A5 00 10 */ addi r5, r5, 0x10 +/* 800E0DCC 000DDD2C 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800E0DD0 000DDD30 7D 89 03 A6 */ mtctr r12 +/* 800E0DD4 000DDD34 4E 80 04 21 */ bctrl +/* 800E0DD8 000DDD38 3B DF 02 28 */ addi r30, r31, 0x228 +/* 800E0DDC 000DDD3C 38 81 00 1C */ addi r4, r1, 0x1c +/* 800E0DE0 000DDD40 7F C3 F3 78 */ mr r3, r30 +/* 800E0DE4 000DDD44 48 26 00 C5 */ bl __ct__6CTokenFRC6CToken +/* 800E0DE8 000DDD48 38 00 00 00 */ li r0, 0 +/* 800E0DEC 000DDD4C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800E0DF0 000DDD50 90 1E 00 08 */ stw r0, 8(r30) +/* 800E0DF4 000DDD54 38 80 FF FF */ li r4, -1 +/* 800E0DF8 000DDD58 48 26 00 49 */ bl __dt__6CTokenFv +/* 800E0DFC 000DDD5C 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800E0E00 000DDD60 3C 60 80 3D */ lis r3, lbl_803CE568@ha +/* 800E0E04 000DDD64 38 A3 E5 68 */ addi r5, r3, lbl_803CE568@l +/* 800E0E08 000DDD68 38 61 00 14 */ addi r3, r1, 0x14 +/* 800E0E0C 000DDD6C 81 84 00 00 */ lwz r12, 0(r4) +/* 800E0E10 000DDD70 38 A5 00 1A */ addi r5, r5, 0x1a +/* 800E0E14 000DDD74 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800E0E18 000DDD78 7D 89 03 A6 */ mtctr r12 +/* 800E0E1C 000DDD7C 4E 80 04 21 */ bctrl +/* 800E0E20 000DDD80 3B DF 02 34 */ addi r30, r31, 0x234 +/* 800E0E24 000DDD84 38 81 00 14 */ addi r4, r1, 0x14 +/* 800E0E28 000DDD88 7F C3 F3 78 */ mr r3, r30 +/* 800E0E2C 000DDD8C 48 26 00 7D */ bl __ct__6CTokenFRC6CToken +/* 800E0E30 000DDD90 38 00 00 00 */ li r0, 0 +/* 800E0E34 000DDD94 38 61 00 14 */ addi r3, r1, 0x14 +/* 800E0E38 000DDD98 90 1E 00 08 */ stw r0, 8(r30) +/* 800E0E3C 000DDD9C 38 80 FF FF */ li r4, -1 +/* 800E0E40 000DDDA0 48 26 00 01 */ bl __dt__6CTokenFv +/* 800E0E44 000DDDA4 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800E0E48 000DDDA8 3C 60 80 3D */ lis r3, lbl_803CE568@ha +/* 800E0E4C 000DDDAC 38 A3 E5 68 */ addi r5, r3, lbl_803CE568@l +/* 800E0E50 000DDDB0 38 61 00 0C */ addi r3, r1, 0xc +/* 800E0E54 000DDDB4 81 84 00 00 */ lwz r12, 0(r4) +/* 800E0E58 000DDDB8 38 A5 00 24 */ addi r5, r5, 0x24 +/* 800E0E5C 000DDDBC 81 8C 00 10 */ lwz r12, 0x10(r12) +/* 800E0E60 000DDDC0 7D 89 03 A6 */ mtctr r12 +/* 800E0E64 000DDDC4 4E 80 04 21 */ bctrl +/* 800E0E68 000DDDC8 3B DF 02 40 */ addi r30, r31, 0x240 +/* 800E0E6C 000DDDCC 38 81 00 0C */ addi r4, r1, 0xc +/* 800E0E70 000DDDD0 7F C3 F3 78 */ mr r3, r30 +/* 800E0E74 000DDDD4 48 26 00 35 */ bl __ct__6CTokenFRC6CToken +/* 800E0E78 000DDDD8 38 00 00 00 */ li r0, 0 +/* 800E0E7C 000DDDDC 38 61 00 0C */ addi r3, r1, 0xc +/* 800E0E80 000DDDE0 90 1E 00 08 */ stw r0, 8(r30) +/* 800E0E84 000DDDE4 38 80 FF FF */ li r4, -1 +/* 800E0E88 000DDDE8 48 25 FF B9 */ bl __dt__6CTokenFv +/* 800E0E8C 000DDDEC C0 02 8F 80 */ lfs f0, lbl_805AACA0@sda21(r2) +/* 800E0E90 000DDDF0 38 80 00 00 */ li r4, 0 +/* 800E0E94 000DDDF4 7F E3 FB 78 */ mr r3, r31 +/* 800E0E98 000DDDF8 D0 1F 02 4C */ stfs f0, 0x24c(r31) +/* 800E0E9C 000DDDFC 90 9F 02 50 */ stw r4, 0x250(r31) +/* 800E0EA0 000DDE00 90 9F 02 54 */ stw r4, 0x254(r31) +/* 800E0EA4 000DDE04 88 1F 02 58 */ lbz r0, 0x258(r31) +/* 800E0EA8 000DDE08 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800E0EAC 000DDE0C 98 1F 02 58 */ stb r0, 0x258(r31) +/* 800E0EB0 000DDE10 88 1F 02 58 */ lbz r0, 0x258(r31) +/* 800E0EB4 000DDE14 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 800E0EB8 000DDE18 98 1F 02 58 */ stb r0, 0x258(r31) +/* 800E0EBC 000DDE1C 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800E0EC0 000DDE20 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800E0EC4 000DDE24 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800E0EC8 000DDE28 7C 08 03 A6 */ mtlr r0 +/* 800E0ECC 000DDE2C 38 21 00 40 */ addi r1, r1, 0x40 +/* 800E0ED0 000DDE30 4E 80 00 20 */ blr + +.global __sinit_CWaveBeam_cpp +__sinit_CWaveBeam_cpp: +/* 800E0ED4 000DDE34 C0 02 8F 98 */ lfs f0, lbl_805AACB8@sda21(r2) +/* 800E0ED8 000DDE38 D0 0D A2 F8 */ stfs f0, lbl_805A8EB8@sda21(r13) +/* 800E0EDC 000DDE3C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/ScriptLoader.s b/asm/Kyoto_CWD/ScriptLoader.s new file mode 100644 index 00000000..a0c6ff3e --- /dev/null +++ b/asm/Kyoto_CWD/ScriptLoader.s @@ -0,0 +1,23529 @@ +.include "macros.inc" + +.section .text, "ax" # 0x80003640 - 0x803CB1C0 + +.global LoadEnergyBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadEnergyBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C527C 000C21DC 94 21 FC 00 */ stwu r1, -0x400(r1) +/* 800C5280 000C21E0 7C 08 02 A6 */ mflr r0 +/* 800C5284 000C21E4 90 01 04 04 */ stw r0, 0x404(r1) +/* 800C5288 000C21E8 DB E1 03 F0 */ stfd f31, 0x3f0(r1) +/* 800C528C 000C21EC F3 E1 03 F8 */ psq_st f31, 1016(r1), 0, qr0 +/* 800C5290 000C21F0 DB C1 03 E0 */ stfd f30, 0x3e0(r1) +/* 800C5294 000C21F4 F3 C1 03 E8 */ psq_st f30, 1000(r1), 0, qr0 +/* 800C5298 000C21F8 DB A1 03 D0 */ stfd f29, 0x3d0(r1) +/* 800C529C 000C21FC F3 A1 03 D8 */ psq_st f29, 984(r1), 0, qr0 +/* 800C52A0 000C2200 DB 81 03 C0 */ stfd f28, 0x3c0(r1) +/* 800C52A4 000C2204 F3 81 03 C8 */ psq_st f28, 968(r1), 0, qr0 +/* 800C52A8 000C2208 DB 61 03 B0 */ stfd f27, 0x3b0(r1) +/* 800C52AC 000C220C F3 61 03 B8 */ psq_st f27, 952(r1), 0, qr0 +/* 800C52B0 000C2210 BE A1 03 84 */ stmw r21, 0x384(r1) +/* 800C52B4 000C2214 7C B8 2B 78 */ mr r24, r5 +/* 800C52B8 000C2218 7C 75 1B 78 */ mr r21, r3 +/* 800C52BC 000C221C 2C 18 00 10 */ cmpwi r24, 0x10 +/* 800C52C0 000C2220 7C 96 23 78 */ mr r22, r4 +/* 800C52C4 000C2224 7C D7 33 78 */ mr r23, r6 +/* 800C52C8 000C2228 40 80 00 0C */ bge lbl_800C52D4 +/* 800C52CC 000C222C 38 60 00 00 */ li r3, 0 +/* 800C52D0 000C2230 48 00 03 10 */ b lbl_800C55E0 +lbl_800C52D4: +/* 800C52D4 000C2234 7E A5 AB 78 */ mr r5, r21 +/* 800C52D8 000C2238 38 61 01 F0 */ addi r3, r1, 0x1f0 +/* 800C52DC 000C223C 48 01 51 A1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C52E0 000C2240 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C52E4 000C2244 7E C4 B3 78 */ mr r4, r22 +/* 800C52E8 000C2248 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C52EC 000C224C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C52F0 000C2250 48 04 05 39 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C52F4 000C2254 88 01 00 40 */ lbz r0, 0x40(r1) +/* 800C52F8 000C2258 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 800C52FC 000C225C 28 00 00 00 */ cmplwi r0, 0 +/* 800C5300 000C2260 40 82 00 14 */ bne lbl_800C5314 +/* 800C5304 000C2264 38 61 01 F0 */ addi r3, r1, 0x1f0 +/* 800C5308 000C2268 48 27 87 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C530C 000C226C 38 60 00 00 */ li r3, 0 +/* 800C5310 000C2270 48 00 02 D0 */ b lbl_800C55E0 +lbl_800C5314: +/* 800C5314 000C2274 7E C4 B3 78 */ mr r4, r22 +/* 800C5318 000C2278 38 61 02 3C */ addi r3, r1, 0x23c +/* 800C531C 000C227C 48 04 05 5D */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C5320 000C2280 80 61 03 28 */ lwz r3, 0x328(r1) +/* 800C5324 000C2284 3C 03 00 01 */ addis r0, r3, 1 +/* 800C5328 000C2288 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C532C 000C228C 40 82 00 14 */ bne lbl_800C5340 +/* 800C5330 000C2290 38 61 01 F0 */ addi r3, r1, 0x1f0 +/* 800C5334 000C2294 48 27 87 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C5338 000C2298 38 60 00 00 */ li r3, 0 +/* 800C533C 000C229C 48 00 02 A4 */ b lbl_800C55E0 +lbl_800C5340: +/* 800C5340 000C22A0 7E C4 B3 78 */ mr r4, r22 +/* 800C5344 000C22A4 38 61 01 20 */ addi r3, r1, 0x120 +/* 800C5348 000C22A8 48 01 4A 2D */ bl LoadActorParameters__FR12CInputStream +/* 800C534C 000C22AC 38 61 01 88 */ addi r3, r1, 0x188 +/* 800C5350 000C22B0 38 81 01 20 */ addi r4, r1, 0x120 +/* 800C5354 000C22B4 48 00 02 C9 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C5358 000C22B8 38 61 01 20 */ addi r3, r1, 0x120 +/* 800C535C 000C22BC 38 80 FF FF */ li r4, -1 +/* 800C5360 000C22C0 48 04 12 A9 */ bl __dt__16CActorParametersFv +/* 800C5364 000C22C4 7E C3 B3 78 */ mr r3, r22 +/* 800C5368 000C22C8 48 27 99 1D */ bl ReadLong__12CInputStreamFv +/* 800C536C 000C22CC 7C 79 1B 78 */ mr r25, r3 +/* 800C5370 000C22D0 7E C3 B3 78 */ mr r3, r22 +/* 800C5374 000C22D4 48 27 98 B5 */ bl ReadFloat__12CInputStreamFv +/* 800C5378 000C22D8 FF E0 08 90 */ fmr f31, f1 +/* 800C537C 000C22DC 7E C4 B3 78 */ mr r4, r22 +/* 800C5380 000C22E0 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800C5384 000C22E4 4B FF E1 DD */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C5388 000C22E8 7E C3 B3 78 */ mr r3, r22 +/* 800C538C 000C22EC 48 27 98 9D */ bl ReadFloat__12CInputStreamFv +/* 800C5390 000C22F0 FF C0 08 90 */ fmr f30, f1 +/* 800C5394 000C22F4 7E C3 B3 78 */ mr r3, r22 +/* 800C5398 000C22F8 48 27 98 ED */ bl ReadLong__12CInputStreamFv +/* 800C539C 000C22FC 7C 7A 1B 78 */ mr r26, r3 +/* 800C53A0 000C2300 7E C3 B3 78 */ mr r3, r22 +/* 800C53A4 000C2304 48 27 98 E1 */ bl ReadLong__12CInputStreamFv +/* 800C53A8 000C2308 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 800C53AC 000C230C 48 22 36 05 */ bl TranslateSFXID__11CSfxManagerFUs +/* 800C53B0 000C2310 7C 7B 1B 78 */ mr r27, r3 +/* 800C53B4 000C2314 7E C3 B3 78 */ mr r3, r22 +/* 800C53B8 000C2318 48 27 98 CD */ bl ReadLong__12CInputStreamFv +/* 800C53BC 000C231C 7C 7C 1B 78 */ mr r28, r3 +/* 800C53C0 000C2320 7E C3 B3 78 */ mr r3, r22 +/* 800C53C4 000C2324 48 27 98 C1 */ bl ReadLong__12CInputStreamFv +/* 800C53C8 000C2328 7C 7D 1B 78 */ mr r29, r3 +/* 800C53CC 000C232C 7E C3 B3 78 */ mr r3, r22 +/* 800C53D0 000C2330 48 27 98 B5 */ bl ReadLong__12CInputStreamFv +/* 800C53D4 000C2334 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 800C53D8 000C2338 48 22 35 D9 */ bl TranslateSFXID__11CSfxManagerFUs +/* 800C53DC 000C233C 7C 7E 1B 78 */ mr r30, r3 +/* 800C53E0 000C2340 7E C3 B3 78 */ mr r3, r22 +/* 800C53E4 000C2344 48 27 98 45 */ bl ReadFloat__12CInputStreamFv +/* 800C53E8 000C2348 FF A0 08 90 */ fmr f29, f1 +/* 800C53EC 000C234C 7E C3 B3 78 */ mr r3, r22 +/* 800C53F0 000C2350 48 27 98 39 */ bl ReadFloat__12CInputStreamFv +/* 800C53F4 000C2354 FF 80 08 90 */ fmr f28, f1 +/* 800C53F8 000C2358 7E C3 B3 78 */ mr r3, r22 +/* 800C53FC 000C235C 48 27 98 89 */ bl ReadLong__12CInputStreamFv +/* 800C5400 000C2360 2C 18 00 13 */ cmpwi r24, 0x13 +/* 800C5404 000C2364 7C 7F 1B 78 */ mr r31, r3 +/* 800C5408 000C2368 41 80 00 14 */ blt lbl_800C541C +/* 800C540C 000C236C 7E C4 B3 78 */ mr r4, r22 +/* 800C5410 000C2370 38 61 00 80 */ addi r3, r1, 0x80 +/* 800C5414 000C2374 4B FF E1 4D */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C5418 000C2378 48 00 00 60 */ b lbl_800C5478 +lbl_800C541C: +/* 800C541C 000C237C 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 800C5420 000C2380 38 A0 00 00 */ li r5, 0 +/* 800C5424 000C2384 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 800C5428 000C2388 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) +/* 800C542C 000C238C 98 01 00 3C */ stb r0, 0x3c(r1) +/* 800C5430 000C2390 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 800C5434 000C2394 50 A3 36 72 */ rlwimi r3, r5, 6, 0x19, 0x19 +/* 800C5438 000C2398 38 C0 FF FF */ li r6, -1 +/* 800C543C 000C239C 88 01 00 7C */ lbz r0, 0x7c(r1) +/* 800C5440 000C23A0 50 A0 3E 30 */ rlwimi r0, r5, 7, 0x18, 0x18 +/* 800C5444 000C23A4 54 64 06 3E */ clrlwi r4, r3, 0x18 +/* 800C5448 000C23A8 98 61 00 3C */ stb r3, 0x3c(r1) +/* 800C544C 000C23AC 50 A4 2E B4 */ rlwimi r4, r5, 5, 0x1a, 0x1a +/* 800C5450 000C23B0 38 61 00 64 */ addi r3, r1, 0x64 +/* 800C5454 000C23B4 90 C1 00 38 */ stw r6, 0x38(r1) +/* 800C5458 000C23B8 98 81 00 3C */ stb r4, 0x3c(r1) +/* 800C545C 000C23BC 90 C1 00 64 */ stw r6, 0x64(r1) +/* 800C5460 000C23C0 98 81 00 68 */ stb r4, 0x68(r1) +/* 800C5464 000C23C4 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800C5468 000C23C8 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800C546C 000C23CC D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800C5470 000C23D0 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 800C5474 000C23D4 98 01 00 7C */ stb r0, 0x7c(r1) +lbl_800C5478: +/* 800C5478 000C23D8 80 03 00 00 */ lwz r0, 0(r3) +/* 800C547C 000C23DC 2C 18 00 14 */ cmpwi r24, 0x14 +/* 800C5480 000C23E0 90 01 00 9C */ stw r0, 0x9c(r1) +/* 800C5484 000C23E4 88 03 00 04 */ lbz r0, 4(r3) +/* 800C5488 000C23E8 98 01 00 A0 */ stb r0, 0xa0(r1) +/* 800C548C 000C23EC C0 03 00 08 */ lfs f0, 8(r3) +/* 800C5490 000C23F0 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 800C5494 000C23F4 C0 03 00 0C */ lfs f0, 0xc(r3) +/* 800C5498 000C23F8 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 800C549C 000C23FC C0 03 00 10 */ lfs f0, 0x10(r3) +/* 800C54A0 000C2400 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 800C54A4 000C2404 C0 03 00 14 */ lfs f0, 0x14(r3) +/* 800C54A8 000C2408 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 800C54AC 000C240C 88 03 00 18 */ lbz r0, 0x18(r3) +/* 800C54B0 000C2410 98 01 00 B4 */ stb r0, 0xb4(r1) +/* 800C54B4 000C2414 41 80 00 14 */ blt lbl_800C54C8 +/* 800C54B8 000C2418 7E C3 B3 78 */ mr r3, r22 +/* 800C54BC 000C241C 48 27 97 6D */ bl ReadFloat__12CInputStreamFv +/* 800C54C0 000C2420 FF 60 08 90 */ fmr f27, f1 +/* 800C54C4 000C2424 48 00 00 08 */ b lbl_800C54CC +lbl_800C54C8: +/* 800C54C8 000C2428 C3 62 8E 2C */ lfs f27, lbl_805AAB4C@sda21(r2) +lbl_800C54CC: +/* 800C54CC 000C242C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C54D0 000C2430 3A C0 00 00 */ li r22, 0 +/* 800C54D4 000C2434 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800C54D8 000C2438 38 60 05 F0 */ li r3, 0x5f0 +/* 800C54DC 000C243C 38 84 00 0D */ addi r4, r4, 0xd +/* 800C54E0 000C2440 38 A0 00 00 */ li r5, 0 +/* 800C54E4 000C2444 48 25 03 89 */ bl __nw__FUlPCcPCc +/* 800C54E8 000C2448 7C 78 1B 79 */ or. r24, r3, r3 +/* 800C54EC 000C244C 41 82 00 C8 */ beq lbl_800C55B4 +/* 800C54F0 000C2450 80 E1 03 28 */ lwz r7, 0x328(r1) +/* 800C54F4 000C2454 38 A0 00 01 */ li r5, 1 +/* 800C54F8 000C2458 80 C1 03 2C */ lwz r6, 0x32c(r1) +/* 800C54FC 000C245C 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 800C5500 000C2460 C0 41 02 30 */ lfs f2, 0x230(r1) +/* 800C5504 000C2464 38 81 00 48 */ addi r4, r1, 0x48 +/* 800C5508 000C2468 C0 21 02 34 */ lfs f1, 0x234(r1) +/* 800C550C 000C246C C0 01 02 38 */ lfs f0, 0x238(r1) +/* 800C5510 000C2470 80 01 03 30 */ lwz r0, 0x330(r1) +/* 800C5514 000C2474 90 E1 00 48 */ stw r7, 0x48(r1) +/* 800C5518 000C2478 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 800C551C 000C247C D0 41 00 50 */ stfs f2, 0x50(r1) +/* 800C5520 000C2480 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 800C5524 000C2484 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800C5528 000C2488 98 A1 00 5C */ stb r5, 0x5c(r1) +/* 800C552C 000C248C 90 01 00 60 */ stw r0, 0x60(r1) +/* 800C5530 000C2490 48 05 16 25 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C5534 000C2494 7E A4 AB 78 */ mr r4, r21 +/* 800C5538 000C2498 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C553C 000C249C 3A C0 00 01 */ li r22, 1 +/* 800C5540 000C24A0 4B F8 7B 9D */ bl AllocateUniqueId__13CStateManagerFv +/* 800C5544 000C24A4 A0 61 00 30 */ lhz r3, 0x30(r1) +/* 800C5548 000C24A8 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 800C554C 000C24AC FC 20 F8 90 */ fmr f1, f31 +/* 800C5550 000C24B0 38 01 00 9C */ addi r0, r1, 0x9c +/* 800C5554 000C24B4 B0 61 00 34 */ sth r3, 0x34(r1) +/* 800C5558 000C24B8 FC 40 F0 90 */ fmr f2, f30 +/* 800C555C 000C24BC FC 60 E8 90 */ fmr f3, f29 +/* 800C5560 000C24C0 7F 03 C3 78 */ mr r3, r24 +/* 800C5564 000C24C4 93 21 00 08 */ stw r25, 8(r1) +/* 800C5568 000C24C8 FC 80 E0 90 */ fmr f4, f28 +/* 800C556C 000C24CC FC A0 D8 90 */ fmr f5, f27 +/* 800C5570 000C24D0 7E E6 BB 78 */ mr r6, r23 +/* 800C5574 000C24D4 90 81 00 0C */ stw r4, 0xc(r1) +/* 800C5578 000C24D8 38 81 00 34 */ addi r4, r1, 0x34 +/* 800C557C 000C24DC 38 A1 01 F0 */ addi r5, r1, 0x1f0 +/* 800C5580 000C24E0 93 41 00 10 */ stw r26, 0x10(r1) +/* 800C5584 000C24E4 38 E1 02 00 */ addi r7, r1, 0x200 +/* 800C5588 000C24E8 39 01 00 D4 */ addi r8, r1, 0xd4 +/* 800C558C 000C24EC 93 61 00 14 */ stw r27, 0x14(r1) +/* 800C5590 000C24F0 39 21 01 88 */ addi r9, r1, 0x188 +/* 800C5594 000C24F4 39 41 02 3C */ addi r10, r1, 0x23c +/* 800C5598 000C24F8 93 81 00 18 */ stw r28, 0x18(r1) +/* 800C559C 000C24FC 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 800C55A0 000C2500 93 C1 00 20 */ stw r30, 0x20(r1) +/* 800C55A4 000C2504 93 E1 00 24 */ stw r31, 0x24(r1) +/* 800C55A8 000C2508 90 01 00 28 */ stw r0, 0x28(r1) +/* 800C55AC 000C250C 48 1D A7 61 */ bl __ct__11CEnergyBall +/* 800C55B0 000C2510 7C 78 1B 78 */ mr r24, r3 +lbl_800C55B4: +/* 800C55B4 000C2514 7E C0 07 75 */ extsb. r0, r22 +/* 800C55B8 000C2518 41 82 00 10 */ beq lbl_800C55C8 +/* 800C55BC 000C251C 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 800C55C0 000C2520 38 80 FF FF */ li r4, -1 +/* 800C55C4 000C2524 48 05 14 89 */ bl __dt__10CModelDataFv +lbl_800C55C8: +/* 800C55C8 000C2528 38 61 01 88 */ addi r3, r1, 0x188 +/* 800C55CC 000C252C 38 80 FF FF */ li r4, -1 +/* 800C55D0 000C2530 48 04 10 39 */ bl __dt__16CActorParametersFv +/* 800C55D4 000C2534 38 61 01 F0 */ addi r3, r1, 0x1f0 +/* 800C55D8 000C2538 48 27 85 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C55DC 000C253C 7F 03 C3 78 */ mr r3, r24 +lbl_800C55E0: +/* 800C55E0 000C2540 E3 E1 03 F8 */ psq_l f31, 1016(r1), 0, qr0 +/* 800C55E4 000C2544 CB E1 03 F0 */ lfd f31, 0x3f0(r1) +/* 800C55E8 000C2548 E3 C1 03 E8 */ psq_l f30, 1000(r1), 0, qr0 +/* 800C55EC 000C254C CB C1 03 E0 */ lfd f30, 0x3e0(r1) +/* 800C55F0 000C2550 E3 A1 03 D8 */ psq_l f29, 984(r1), 0, qr0 +/* 800C55F4 000C2554 CB A1 03 D0 */ lfd f29, 0x3d0(r1) +/* 800C55F8 000C2558 E3 81 03 C8 */ psq_l f28, 968(r1), 0, qr0 +/* 800C55FC 000C255C CB 81 03 C0 */ lfd f28, 0x3c0(r1) +/* 800C5600 000C2560 E3 61 03 B8 */ psq_l f27, 952(r1), 0, qr0 +/* 800C5604 000C2564 CB 61 03 B0 */ lfd f27, 0x3b0(r1) +/* 800C5608 000C2568 BA A1 03 84 */ lmw r21, 0x384(r1) +/* 800C560C 000C256C 80 01 04 04 */ lwz r0, 0x404(r1) +/* 800C5610 000C2570 7C 08 03 A6 */ mtlr r0 +/* 800C5614 000C2574 38 21 04 00 */ addi r1, r1, 0x400 +/* 800C5618 000C2578 4E 80 00 20 */ blr + +.global __ct__16CActorParametersFRC16CActorParameters +__ct__16CActorParametersFRC16CActorParameters: +/* 800C561C 000C257C 3C A0 80 3E */ lis r5, lbl_803DFF80@ha +/* 800C5620 000C2580 38 05 FF 80 */ addi r0, r5, lbl_803DFF80@l +/* 800C5624 000C2584 90 03 00 00 */ stw r0, 0(r3) +/* 800C5628 000C2588 88 04 00 04 */ lbz r0, 4(r4) +/* 800C562C 000C258C 98 03 00 04 */ stb r0, 4(r3) +/* 800C5630 000C2590 C0 04 00 08 */ lfs f0, 8(r4) +/* 800C5634 000C2594 D0 03 00 08 */ stfs f0, 8(r3) +/* 800C5638 000C2598 80 04 00 0C */ lwz r0, 0xc(r4) +/* 800C563C 000C259C 90 03 00 0C */ stw r0, 0xc(r3) +/* 800C5640 000C25A0 C0 04 00 10 */ lfs f0, 0x10(r4) +/* 800C5644 000C25A4 D0 03 00 10 */ stfs f0, 0x10(r3) +/* 800C5648 000C25A8 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 800C564C 000C25AC D0 03 00 14 */ stfs f0, 0x14(r3) +/* 800C5650 000C25B0 80 04 00 18 */ lwz r0, 0x18(r4) +/* 800C5654 000C25B4 90 03 00 18 */ stw r0, 0x18(r3) +/* 800C5658 000C25B8 88 04 00 1C */ lbz r0, 0x1c(r4) +/* 800C565C 000C25BC 98 03 00 1C */ stb r0, 0x1c(r3) +/* 800C5660 000C25C0 88 04 00 1D */ lbz r0, 0x1d(r4) +/* 800C5664 000C25C4 98 03 00 1D */ stb r0, 0x1d(r3) +/* 800C5668 000C25C8 80 04 00 20 */ lwz r0, 0x20(r4) +/* 800C566C 000C25CC 90 03 00 20 */ stw r0, 0x20(r3) +/* 800C5670 000C25D0 80 04 00 24 */ lwz r0, 0x24(r4) +/* 800C5674 000C25D4 90 03 00 24 */ stw r0, 0x24(r3) +/* 800C5678 000C25D8 80 04 00 28 */ lwz r0, 0x28(r4) +/* 800C567C 000C25DC 90 03 00 28 */ stw r0, 0x28(r3) +/* 800C5680 000C25E0 C0 04 00 2C */ lfs f0, 0x2c(r4) +/* 800C5684 000C25E4 D0 03 00 2C */ stfs f0, 0x2c(r3) +/* 800C5688 000C25E8 C0 04 00 30 */ lfs f0, 0x30(r4) +/* 800C568C 000C25EC D0 03 00 30 */ stfs f0, 0x30(r3) +/* 800C5690 000C25F0 C0 04 00 34 */ lfs f0, 0x34(r4) +/* 800C5694 000C25F4 D0 03 00 34 */ stfs f0, 0x34(r3) +/* 800C5698 000C25F8 80 04 00 38 */ lwz r0, 0x38(r4) +/* 800C569C 000C25FC 90 03 00 38 */ stw r0, 0x38(r3) +/* 800C56A0 000C2600 80 04 00 3C */ lwz r0, 0x3c(r4) +/* 800C56A4 000C2604 90 03 00 3C */ stw r0, 0x3c(r3) +/* 800C56A8 000C2608 80 04 00 40 */ lwz r0, 0x40(r4) +/* 800C56AC 000C260C 90 03 00 40 */ stw r0, 0x40(r3) +/* 800C56B0 000C2610 80 04 00 44 */ lwz r0, 0x44(r4) +/* 800C56B4 000C2614 90 03 00 44 */ stw r0, 0x44(r3) +/* 800C56B8 000C2618 80 04 00 48 */ lwz r0, 0x48(r4) +/* 800C56BC 000C261C 90 03 00 48 */ stw r0, 0x48(r3) +/* 800C56C0 000C2620 80 04 00 4C */ lwz r0, 0x4c(r4) +/* 800C56C4 000C2624 90 03 00 4C */ stw r0, 0x4c(r3) +/* 800C56C8 000C2628 80 04 00 50 */ lwz r0, 0x50(r4) +/* 800C56CC 000C262C 90 03 00 50 */ stw r0, 0x50(r3) +/* 800C56D0 000C2630 80 04 00 54 */ lwz r0, 0x54(r4) +/* 800C56D4 000C2634 90 03 00 54 */ stw r0, 0x54(r3) +/* 800C56D8 000C2638 88 04 00 58 */ lbz r0, 0x58(r4) +/* 800C56DC 000C263C 98 03 00 58 */ stb r0, 0x58(r3) +/* 800C56E0 000C2640 C0 04 00 5C */ lfs f0, 0x5c(r4) +/* 800C56E4 000C2644 D0 03 00 5C */ stfs f0, 0x5c(r3) +/* 800C56E8 000C2648 C0 04 00 60 */ lfs f0, 0x60(r4) +/* 800C56EC 000C264C D0 03 00 60 */ stfs f0, 0x60(r3) +/* 800C56F0 000C2650 C0 04 00 64 */ lfs f0, 0x64(r4) +/* 800C56F4 000C2654 D0 03 00 64 */ stfs f0, 0x64(r3) +/* 800C56F8 000C2658 4E 80 00 20 */ blr + +.global LoadShadowProjector__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadShadowProjector__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C56FC 000C265C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800C5700 000C2660 7C 08 02 A6 */ mflr r0 +/* 800C5704 000C2664 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800C5708 000C2668 39 61 00 B0 */ addi r11, r1, 0xb0 +/* 800C570C 000C266C 48 2C 42 DD */ bl sub_803899e8 +/* 800C5710 000C2670 BF 41 00 78 */ stmw r26, 0x78(r1) +/* 800C5714 000C2674 2C 05 00 0A */ cmpwi r5, 0xa +/* 800C5718 000C2678 7C 7A 1B 78 */ mr r26, r3 +/* 800C571C 000C267C 7C 9C 23 78 */ mr r28, r4 +/* 800C5720 000C2680 7C DB 33 78 */ mr r27, r6 +/* 800C5724 000C2684 41 82 00 0C */ beq lbl_800C5730 +/* 800C5728 000C2688 38 60 00 00 */ li r3, 0 +/* 800C572C 000C268C 48 00 01 10 */ b lbl_800C583C +lbl_800C5730: +/* 800C5730 000C2690 4B F7 FA B5 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800C5734 000C2694 7C 64 1B 78 */ mr r4, r3 +/* 800C5738 000C2698 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C573C 000C269C 48 27 8A 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800C5740 000C26A0 7F 84 E3 78 */ mr r4, r28 +/* 800C5744 000C26A4 38 61 00 24 */ addi r3, r1, 0x24 +/* 800C5748 000C26A8 48 24 F4 45 */ bl __ct__9CVector3fFR12CInputStream +/* 800C574C 000C26AC 7F 83 E3 78 */ mr r3, r28 +/* 800C5750 000C26B0 48 27 95 8D */ bl ReadBool__12CInputStreamFv +/* 800C5754 000C26B4 7C 60 1B 78 */ mr r0, r3 +/* 800C5758 000C26B8 7F 83 E3 78 */ mr r3, r28 +/* 800C575C 000C26BC 7C 1D 03 78 */ mr r29, r0 +/* 800C5760 000C26C0 48 27 94 C9 */ bl ReadFloat__12CInputStreamFv +/* 800C5764 000C26C4 FF E0 08 90 */ fmr f31, f1 +/* 800C5768 000C26C8 7F 84 E3 78 */ mr r4, r28 +/* 800C576C 000C26CC 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C5770 000C26D0 48 24 F4 1D */ bl __ct__9CVector3fFR12CInputStream +/* 800C5774 000C26D4 7F 83 E3 78 */ mr r3, r28 +/* 800C5778 000C26D8 48 27 94 B1 */ bl ReadFloat__12CInputStreamFv +/* 800C577C 000C26DC FF C0 08 90 */ fmr f30, f1 +/* 800C5780 000C26E0 7F 83 E3 78 */ mr r3, r28 +/* 800C5784 000C26E4 48 27 94 A5 */ bl ReadFloat__12CInputStreamFv +/* 800C5788 000C26E8 FF A0 08 90 */ fmr f29, f1 +/* 800C578C 000C26EC 7F 83 E3 78 */ mr r3, r28 +/* 800C5790 000C26F0 48 27 94 99 */ bl ReadFloat__12CInputStreamFv +/* 800C5794 000C26F4 FF 80 08 90 */ fmr f28, f1 +/* 800C5798 000C26F8 7F 83 E3 78 */ mr r3, r28 +/* 800C579C 000C26FC 48 27 95 41 */ bl ReadBool__12CInputStreamFv +/* 800C57A0 000C2700 7C 60 1B 78 */ mr r0, r3 +/* 800C57A4 000C2704 7F 83 E3 78 */ mr r3, r28 +/* 800C57A8 000C2708 7C 1C 03 78 */ mr r28, r0 +/* 800C57AC 000C270C 48 27 94 D9 */ bl ReadLong__12CInputStreamFv +/* 800C57B0 000C2710 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C57B4 000C2714 7C 7F 1B 78 */ mr r31, r3 +/* 800C57B8 000C2718 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800C57BC 000C271C 38 60 01 18 */ li r3, 0x118 +/* 800C57C0 000C2720 38 84 00 0D */ addi r4, r4, 0xd +/* 800C57C4 000C2724 38 A0 00 00 */ li r5, 0 +/* 800C57C8 000C2728 48 25 00 A5 */ bl __nw__FUlPCcPCc +/* 800C57CC 000C272C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800C57D0 000C2730 41 82 00 60 */ beq lbl_800C5830 +/* 800C57D4 000C2734 7F 44 D3 78 */ mr r4, r26 +/* 800C57D8 000C2738 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C57DC 000C273C 4B F8 79 01 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C57E0 000C2740 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800C57E4 000C2744 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C57E8 000C2748 38 81 00 24 */ addi r4, r1, 0x24 +/* 800C57EC 000C274C B0 01 00 14 */ sth r0, 0x14(r1) +/* 800C57F0 000C2750 48 24 D9 51 */ bl Translate__12CTransform4fFRC9CVector3f +/* 800C57F4 000C2754 FC 20 F8 90 */ fmr f1, f31 +/* 800C57F8 000C2758 93 E1 00 08 */ stw r31, 8(r1) +/* 800C57FC 000C275C FC 40 F0 90 */ fmr f2, f30 +/* 800C5800 000C2760 7F C3 F3 78 */ mr r3, r30 +/* 800C5804 000C2764 FC 60 E8 90 */ fmr f3, f29 +/* 800C5808 000C2768 7F 66 DB 78 */ mr r6, r27 +/* 800C580C 000C276C FC 80 E0 90 */ fmr f4, f28 +/* 800C5810 000C2770 7F A8 EB 78 */ mr r8, r29 +/* 800C5814 000C2774 7F 8A E3 78 */ mr r10, r28 +/* 800C5818 000C2778 38 81 00 14 */ addi r4, r1, 0x14 +/* 800C581C 000C277C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800C5820 000C2780 38 E1 00 40 */ addi r7, r1, 0x40 +/* 800C5824 000C2784 39 21 00 18 */ addi r9, r1, 0x18 +/* 800C5828 000C2788 48 1D 99 59 */ bl "__ct__22CScriptShadowProjectorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC9CVector3fbffffi" +/* 800C582C 000C278C 7C 7E 1B 78 */ mr r30, r3 +lbl_800C5830: +/* 800C5830 000C2790 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C5834 000C2794 48 27 82 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C5838 000C2798 7F C3 F3 78 */ mr r3, r30 +lbl_800C583C: +/* 800C583C 000C279C 39 61 00 B0 */ addi r11, r1, 0xb0 +/* 800C5840 000C27A0 48 2C 41 F5 */ bl sub_80389a34 +/* 800C5844 000C27A4 BB 41 00 78 */ lmw r26, 0x78(r1) +/* 800C5848 000C27A8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800C584C 000C27AC 7C 08 03 A6 */ mtlr r0 +/* 800C5850 000C27B0 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800C5854 000C27B4 4E 80 00 20 */ blr + +.global LoadPhazonHealingNodule__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPhazonHealingNodule__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C5858 000C27B8 94 21 FC F0 */ stwu r1, -0x310(r1) +/* 800C585C 000C27BC 7C 08 02 A6 */ mflr r0 +/* 800C5860 000C27C0 2C 05 00 09 */ cmpwi r5, 9 +/* 800C5864 000C27C4 90 01 03 14 */ stw r0, 0x314(r1) +/* 800C5868 000C27C8 BF 61 02 FC */ stmw r27, 0x2fc(r1) +/* 800C586C 000C27CC 7C 7E 1B 78 */ mr r30, r3 +/* 800C5870 000C27D0 7C 9C 23 78 */ mr r28, r4 +/* 800C5874 000C27D4 7C DF 33 78 */ mr r31, r6 +/* 800C5878 000C27D8 41 82 00 0C */ beq lbl_800C5884 +/* 800C587C 000C27DC 38 60 00 00 */ li r3, 0 +/* 800C5880 000C27E0 48 00 01 B8 */ b lbl_800C5A38 +lbl_800C5884: +/* 800C5884 000C27E4 7F C5 F3 78 */ mr r5, r30 +/* 800C5888 000C27E8 38 61 01 6C */ addi r3, r1, 0x16c +/* 800C588C 000C27EC 48 01 4B F1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C5890 000C27F0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C5894 000C27F4 7F 84 E3 78 */ mr r4, r28 +/* 800C5898 000C27F8 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C589C 000C27FC 38 61 00 1C */ addi r3, r1, 0x1c +/* 800C58A0 000C2800 38 A5 00 14 */ addi r5, r5, 0x14 +/* 800C58A4 000C2804 48 03 FF 85 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C58A8 000C2808 88 01 00 1C */ lbz r0, 0x1c(r1) +/* 800C58AC 000C280C 80 A1 00 20 */ lwz r5, 0x20(r1) +/* 800C58B0 000C2810 28 00 00 00 */ cmplwi r0, 0 +/* 800C58B4 000C2814 40 82 00 14 */ bne lbl_800C58C8 +/* 800C58B8 000C2818 38 61 01 6C */ addi r3, r1, 0x16c +/* 800C58BC 000C281C 48 27 82 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C58C0 000C2820 38 60 00 00 */ li r3, 0 +/* 800C58C4 000C2824 48 00 01 74 */ b lbl_800C5A38 +lbl_800C58C8: +/* 800C58C8 000C2828 7F 84 E3 78 */ mr r4, r28 +/* 800C58CC 000C282C 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 800C58D0 000C2830 48 03 FF A9 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C58D4 000C2834 7F 84 E3 78 */ mr r4, r28 +/* 800C58D8 000C2838 38 61 00 9C */ addi r3, r1, 0x9c +/* 800C58DC 000C283C 48 01 44 99 */ bl LoadActorParameters__FR12CInputStream +/* 800C58E0 000C2840 38 61 01 04 */ addi r3, r1, 0x104 +/* 800C58E4 000C2844 38 81 00 9C */ addi r4, r1, 0x9c +/* 800C58E8 000C2848 4B FF FD 35 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C58EC 000C284C 38 61 00 9C */ addi r3, r1, 0x9c +/* 800C58F0 000C2850 38 80 FF FF */ li r4, -1 +/* 800C58F4 000C2854 48 04 0D 15 */ bl __dt__16CActorParametersFv +/* 800C58F8 000C2858 7F 83 E3 78 */ mr r3, r28 +/* 800C58FC 000C285C 48 27 93 E1 */ bl ReadBool__12CInputStreamFv +/* 800C5900 000C2860 7F 83 E3 78 */ mr r3, r28 +/* 800C5904 000C2864 48 27 93 81 */ bl ReadLong__12CInputStreamFv +/* 800C5908 000C2868 7C 7D 1B 78 */ mr r29, r3 +/* 800C590C 000C286C 7F 84 E3 78 */ mr r4, r28 +/* 800C5910 000C2870 38 61 00 24 */ addi r3, r1, 0x24 +/* 800C5914 000C2874 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800C5918 000C2878 48 27 89 E1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800C591C 000C287C 80 61 02 A4 */ lwz r3, 0x2a4(r1) +/* 800C5920 000C2880 3C 03 00 01 */ addis r0, r3, 1 +/* 800C5924 000C2884 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C5928 000C2888 40 82 00 28 */ bne lbl_800C5950 +/* 800C592C 000C288C 38 61 00 24 */ addi r3, r1, 0x24 +/* 800C5930 000C2890 48 27 81 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C5934 000C2894 38 61 01 04 */ addi r3, r1, 0x104 +/* 800C5938 000C2898 38 80 FF FF */ li r4, -1 +/* 800C593C 000C289C 48 04 0C CD */ bl __dt__16CActorParametersFv +/* 800C5940 000C28A0 38 61 01 6C */ addi r3, r1, 0x16c +/* 800C5944 000C28A4 48 27 81 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C5948 000C28A8 38 60 00 00 */ li r3, 0 +/* 800C594C 000C28AC 48 00 00 EC */ b lbl_800C5A38 +lbl_800C5950: +/* 800C5950 000C28B0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C5954 000C28B4 3B 60 00 00 */ li r27, 0 +/* 800C5958 000C28B8 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800C595C 000C28BC 38 60 05 A0 */ li r3, 0x5a0 +/* 800C5960 000C28C0 38 84 00 0D */ addi r4, r4, 0xd +/* 800C5964 000C28C4 38 A0 00 00 */ li r5, 0 +/* 800C5968 000C28C8 48 24 FF 05 */ bl __nw__FUlPCcPCc +/* 800C596C 000C28CC 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800C5970 000C28D0 41 82 00 94 */ beq lbl_800C5A04 +/* 800C5974 000C28D4 80 E1 02 A4 */ lwz r7, 0x2a4(r1) +/* 800C5978 000C28D8 38 A0 00 01 */ li r5, 1 +/* 800C597C 000C28DC 80 C1 02 A8 */ lwz r6, 0x2a8(r1) +/* 800C5980 000C28E0 38 61 00 50 */ addi r3, r1, 0x50 +/* 800C5984 000C28E4 C0 41 01 AC */ lfs f2, 0x1ac(r1) +/* 800C5988 000C28E8 38 81 00 34 */ addi r4, r1, 0x34 +/* 800C598C 000C28EC C0 21 01 B0 */ lfs f1, 0x1b0(r1) +/* 800C5990 000C28F0 C0 01 01 B4 */ lfs f0, 0x1b4(r1) +/* 800C5994 000C28F4 80 01 02 AC */ lwz r0, 0x2ac(r1) +/* 800C5998 000C28F8 90 E1 00 34 */ stw r7, 0x34(r1) +/* 800C599C 000C28FC 90 C1 00 38 */ stw r6, 0x38(r1) +/* 800C59A0 000C2900 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800C59A4 000C2904 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800C59A8 000C2908 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800C59AC 000C290C 98 A1 00 48 */ stb r5, 0x48(r1) +/* 800C59B0 000C2910 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800C59B4 000C2914 48 05 11 A1 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C59B8 000C2918 7F C4 F3 78 */ mr r4, r30 +/* 800C59BC 000C291C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800C59C0 000C2920 3B 60 00 01 */ li r27, 1 +/* 800C59C4 000C2924 4B F8 77 19 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C59C8 000C2928 A0 81 00 14 */ lhz r4, 0x14(r1) +/* 800C59CC 000C292C 38 01 00 24 */ addi r0, r1, 0x24 +/* 800C59D0 000C2930 7F 83 E3 78 */ mr r3, r28 +/* 800C59D4 000C2934 7F E6 FB 78 */ mr r6, r31 +/* 800C59D8 000C2938 B0 81 00 18 */ sth r4, 0x18(r1) +/* 800C59DC 000C293C 38 81 00 18 */ addi r4, r1, 0x18 +/* 800C59E0 000C2940 38 A1 01 6C */ addi r5, r1, 0x16c +/* 800C59E4 000C2944 38 E1 01 7C */ addi r7, r1, 0x17c +/* 800C59E8 000C2948 93 A1 00 08 */ stw r29, 8(r1) +/* 800C59EC 000C294C 39 01 00 50 */ addi r8, r1, 0x50 +/* 800C59F0 000C2950 39 21 01 04 */ addi r9, r1, 0x104 +/* 800C59F4 000C2954 39 41 01 B8 */ addi r10, r1, 0x1b8 +/* 800C59F8 000C2958 90 01 00 0C */ stw r0, 0xc(r1) +/* 800C59FC 000C295C 48 1C FF 11 */ bl "__ct__20CPhazonHealingNoduleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfo" +/* 800C5A00 000C2960 7C 7C 1B 78 */ mr r28, r3 +lbl_800C5A04: +/* 800C5A04 000C2964 7F 60 07 75 */ extsb. r0, r27 +/* 800C5A08 000C2968 41 82 00 10 */ beq lbl_800C5A18 +/* 800C5A0C 000C296C 38 61 00 50 */ addi r3, r1, 0x50 +/* 800C5A10 000C2970 38 80 FF FF */ li r4, -1 +/* 800C5A14 000C2974 48 05 10 39 */ bl __dt__10CModelDataFv +lbl_800C5A18: +/* 800C5A18 000C2978 38 61 00 24 */ addi r3, r1, 0x24 +/* 800C5A1C 000C297C 48 27 80 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C5A20 000C2980 38 61 01 04 */ addi r3, r1, 0x104 +/* 800C5A24 000C2984 38 80 FF FF */ li r4, -1 +/* 800C5A28 000C2988 48 04 0B E1 */ bl __dt__16CActorParametersFv +/* 800C5A2C 000C298C 38 61 01 6C */ addi r3, r1, 0x16c +/* 800C5A30 000C2990 48 27 80 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C5A34 000C2994 7F 83 E3 78 */ mr r3, r28 +lbl_800C5A38: +/* 800C5A38 000C2998 BB 61 02 FC */ lmw r27, 0x2fc(r1) +/* 800C5A3C 000C299C 80 01 03 14 */ lwz r0, 0x314(r1) +/* 800C5A40 000C29A0 7C 08 03 A6 */ mtlr r0 +/* 800C5A44 000C29A4 38 21 03 10 */ addi r1, r1, 0x310 +/* 800C5A48 000C29A8 4E 80 00 20 */ blr + +.global LoadPhazonPool__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPhazonPool__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C5A4C 000C29AC 94 21 FE 80 */ stwu r1, -0x180(r1) +/* 800C5A50 000C29B0 7C 08 02 A6 */ mflr r0 +/* 800C5A54 000C29B4 90 01 01 84 */ stw r0, 0x184(r1) +/* 800C5A58 000C29B8 DB E1 01 70 */ stfd f31, 0x170(r1) +/* 800C5A5C 000C29BC F3 E1 01 78 */ psq_st f31, 376(r1), 0, qr0 +/* 800C5A60 000C29C0 DB C1 01 60 */ stfd f30, 0x160(r1) +/* 800C5A64 000C29C4 F3 C1 01 68 */ psq_st f30, 360(r1), 0, qr0 +/* 800C5A68 000C29C8 DB A1 01 50 */ stfd f29, 0x150(r1) +/* 800C5A6C 000C29CC F3 A1 01 58 */ psq_st f29, 344(r1), 0, qr0 +/* 800C5A70 000C29D0 DB 81 01 40 */ stfd f28, 0x140(r1) +/* 800C5A74 000C29D4 F3 81 01 48 */ psq_st f28, 328(r1), 0, qr0 +/* 800C5A78 000C29D8 BF 01 01 20 */ stmw r24, 0x120(r1) +/* 800C5A7C 000C29DC 2C 05 00 12 */ cmpwi r5, 0x12 +/* 800C5A80 000C29E0 7C 78 1B 78 */ mr r24, r3 +/* 800C5A84 000C29E4 7C 99 23 78 */ mr r25, r4 +/* 800C5A88 000C29E8 7C DF 33 78 */ mr r31, r6 +/* 800C5A8C 000C29EC 41 82 00 0C */ beq lbl_800C5A98 +/* 800C5A90 000C29F0 38 60 00 00 */ li r3, 0 +/* 800C5A94 000C29F4 48 00 01 DC */ b lbl_800C5C70 +lbl_800C5A98: +/* 800C5A98 000C29F8 7F 05 C3 78 */ mr r5, r24 +/* 800C5A9C 000C29FC 38 61 00 CC */ addi r3, r1, 0xcc +/* 800C5AA0 000C2A00 48 01 49 DD */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C5AA4 000C2A04 7F 23 CB 78 */ mr r3, r25 +/* 800C5AA8 000C2A08 48 27 92 35 */ bl ReadBool__12CInputStreamFv +/* 800C5AAC 000C2A0C 7C 7B 1B 78 */ mr r27, r3 +/* 800C5AB0 000C2A10 7F 23 CB 78 */ mr r3, r25 +/* 800C5AB4 000C2A14 48 27 91 D1 */ bl ReadLong__12CInputStreamFv +/* 800C5AB8 000C2A18 90 61 00 3C */ stw r3, 0x3c(r1) +/* 800C5ABC 000C2A1C 7F 23 CB 78 */ mr r3, r25 +/* 800C5AC0 000C2A20 48 27 91 C5 */ bl ReadLong__12CInputStreamFv +/* 800C5AC4 000C2A24 90 61 00 38 */ stw r3, 0x38(r1) +/* 800C5AC8 000C2A28 7F 23 CB 78 */ mr r3, r25 +/* 800C5ACC 000C2A2C 48 27 91 B9 */ bl ReadLong__12CInputStreamFv +/* 800C5AD0 000C2A30 90 61 00 34 */ stw r3, 0x34(r1) +/* 800C5AD4 000C2A34 7F 23 CB 78 */ mr r3, r25 +/* 800C5AD8 000C2A38 48 27 91 AD */ bl ReadLong__12CInputStreamFv +/* 800C5ADC 000C2A3C 90 61 00 30 */ stw r3, 0x30(r1) +/* 800C5AE0 000C2A40 7F 23 CB 78 */ mr r3, r25 +/* 800C5AE4 000C2A44 48 27 91 A1 */ bl ReadLong__12CInputStreamFv +/* 800C5AE8 000C2A48 7C 7C 1B 78 */ mr r28, r3 +/* 800C5AEC 000C2A4C 7F 24 CB 78 */ mr r4, r25 +/* 800C5AF0 000C2A50 38 61 00 64 */ addi r3, r1, 0x64 +/* 800C5AF4 000C2A54 4B FF DA 6D */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C5AF8 000C2A58 80 C1 00 64 */ lwz r6, 0x64(r1) +/* 800C5AFC 000C2A5C 7F 24 CB 78 */ mr r4, r25 +/* 800C5B00 000C2A60 88 A1 00 68 */ lbz r5, 0x68(r1) +/* 800C5B04 000C2A64 38 61 00 4C */ addi r3, r1, 0x4c +/* 800C5B08 000C2A68 C0 61 00 6C */ lfs f3, 0x6c(r1) +/* 800C5B0C 000C2A6C C0 41 00 70 */ lfs f2, 0x70(r1) +/* 800C5B10 000C2A70 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 800C5B14 000C2A74 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 800C5B18 000C2A78 88 01 00 7C */ lbz r0, 0x7c(r1) +/* 800C5B1C 000C2A7C 90 C1 00 80 */ stw r6, 0x80(r1) +/* 800C5B20 000C2A80 98 A1 00 84 */ stb r5, 0x84(r1) +/* 800C5B24 000C2A84 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 800C5B28 000C2A88 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 800C5B2C 000C2A8C D0 21 00 90 */ stfs f1, 0x90(r1) +/* 800C5B30 000C2A90 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 800C5B34 000C2A94 98 01 00 98 */ stb r0, 0x98(r1) +/* 800C5B38 000C2A98 48 24 F0 55 */ bl __ct__9CVector3fFR12CInputStream +/* 800C5B3C 000C2A9C C0 41 00 4C */ lfs f2, 0x4c(r1) +/* 800C5B40 000C2AA0 7F 23 CB 78 */ mr r3, r25 +/* 800C5B44 000C2AA4 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 800C5B48 000C2AA8 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 800C5B4C 000C2AAC D0 41 00 58 */ stfs f2, 0x58(r1) +/* 800C5B50 000C2AB0 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 800C5B54 000C2AB4 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800C5B58 000C2AB8 48 27 91 2D */ bl ReadLong__12CInputStreamFv +/* 800C5B5C 000C2ABC 7C 7D 1B 78 */ mr r29, r3 +/* 800C5B60 000C2AC0 7F 23 CB 78 */ mr r3, r25 +/* 800C5B64 000C2AC4 48 27 90 C5 */ bl ReadFloat__12CInputStreamFv +/* 800C5B68 000C2AC8 FF E0 08 90 */ fmr f31, f1 +/* 800C5B6C 000C2ACC 7F 23 CB 78 */ mr r3, r25 +/* 800C5B70 000C2AD0 48 27 90 B9 */ bl ReadFloat__12CInputStreamFv +/* 800C5B74 000C2AD4 FF C0 08 90 */ fmr f30, f1 +/* 800C5B78 000C2AD8 7F 23 CB 78 */ mr r3, r25 +/* 800C5B7C 000C2ADC 48 27 90 AD */ bl ReadFloat__12CInputStreamFv +/* 800C5B80 000C2AE0 FF A0 08 90 */ fmr f29, f1 +/* 800C5B84 000C2AE4 7F 23 CB 78 */ mr r3, r25 +/* 800C5B88 000C2AE8 48 27 91 55 */ bl ReadBool__12CInputStreamFv +/* 800C5B8C 000C2AEC 7C 7E 1B 78 */ mr r30, r3 +/* 800C5B90 000C2AF0 7F 23 CB 78 */ mr r3, r25 +/* 800C5B94 000C2AF4 48 27 90 95 */ bl ReadFloat__12CInputStreamFv +/* 800C5B98 000C2AF8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C5B9C 000C2AFC FF 80 08 90 */ fmr f28, f1 +/* 800C5BA0 000C2B00 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800C5BA4 000C2B04 3B 21 01 0C */ addi r25, r1, 0x10c +/* 800C5BA8 000C2B08 38 83 00 0D */ addi r4, r3, 0xd +/* 800C5BAC 000C2B0C 38 A0 00 00 */ li r5, 0 +/* 800C5BB0 000C2B10 38 60 01 E8 */ li r3, 0x1e8 +/* 800C5BB4 000C2B14 48 24 FC B9 */ bl __nw__FUlPCcPCc +/* 800C5BB8 000C2B18 7C 7A 1B 79 */ or. r26, r3, r3 +/* 800C5BBC 000C2B1C 41 82 00 A8 */ beq lbl_800C5C64 +/* 800C5BC0 000C2B20 C0 41 00 E8 */ lfs f2, 0xe8(r1) +/* 800C5BC4 000C2B24 7F 04 C3 78 */ mr r4, r24 +/* 800C5BC8 000C2B28 C0 21 00 F8 */ lfs f1, 0xf8(r1) +/* 800C5BCC 000C2B2C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800C5BD0 000C2B30 C0 01 01 08 */ lfs f0, 0x108(r1) +/* 800C5BD4 000C2B34 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800C5BD8 000C2B38 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800C5BDC 000C2B3C D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800C5BE0 000C2B40 4B F8 74 FD */ bl AllocateUniqueId__13CStateManagerFv +/* 800C5BE4 000C2B44 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 800C5BE8 000C2B48 38 61 00 9C */ addi r3, r1, 0x9c +/* 800C5BEC 000C2B4C 38 81 00 40 */ addi r4, r1, 0x40 +/* 800C5BF0 000C2B50 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 800C5BF4 000C2B54 48 24 D5 4D */ bl Translate__12CTransform4fFRC9CVector3f +/* 800C5BF8 000C2B58 38 01 00 38 */ addi r0, r1, 0x38 +/* 800C5BFC 000C2B5C 38 61 00 34 */ addi r3, r1, 0x34 +/* 800C5C00 000C2B60 90 01 00 08 */ stw r0, 8(r1) +/* 800C5C04 000C2B64 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800C5C08 000C2B68 38 81 00 80 */ addi r4, r1, 0x80 +/* 800C5C0C 000C2B6C 38 01 00 58 */ addi r0, r1, 0x58 +/* 800C5C10 000C2B70 90 61 00 0C */ stw r3, 0xc(r1) +/* 800C5C14 000C2B74 FC 20 F8 90 */ fmr f1, f31 +/* 800C5C18 000C2B78 FC 40 F0 90 */ fmr f2, f30 +/* 800C5C1C 000C2B7C 7F 43 D3 78 */ mr r3, r26 +/* 800C5C20 000C2B80 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800C5C24 000C2B84 FC 60 E8 90 */ fmr f3, f29 +/* 800C5C28 000C2B88 FC 80 E0 90 */ fmr f4, f28 +/* 800C5C2C 000C2B8C 93 81 00 14 */ stw r28, 0x14(r1) +/* 800C5C30 000C2B90 7F E6 FB 78 */ mr r6, r31 +/* 800C5C34 000C2B94 7F 28 CB 78 */ mr r8, r25 +/* 800C5C38 000C2B98 90 81 00 18 */ stw r4, 0x18(r1) +/* 800C5C3C 000C2B9C 7F 69 DB 78 */ mr r9, r27 +/* 800C5C40 000C2BA0 38 81 00 2C */ addi r4, r1, 0x2c +/* 800C5C44 000C2BA4 38 A1 00 CC */ addi r5, r1, 0xcc +/* 800C5C48 000C2BA8 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800C5C4C 000C2BAC 38 E1 00 9C */ addi r7, r1, 0x9c +/* 800C5C50 000C2BB0 39 41 00 3C */ addi r10, r1, 0x3c +/* 800C5C54 000C2BB4 93 A1 00 20 */ stw r29, 0x20(r1) +/* 800C5C58 000C2BB8 93 C1 00 24 */ stw r30, 0x24(r1) +/* 800C5C5C 000C2BBC 48 1C D9 85 */ bl __ct__11CPhazonPoolFv +/* 800C5C60 000C2BC0 7C 7A 1B 78 */ mr r26, r3 +lbl_800C5C64: +/* 800C5C64 000C2BC4 38 61 00 CC */ addi r3, r1, 0xcc +/* 800C5C68 000C2BC8 48 27 7E 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C5C6C 000C2BCC 7F 43 D3 78 */ mr r3, r26 +lbl_800C5C70: +/* 800C5C70 000C2BD0 E3 E1 01 78 */ psq_l f31, 376(r1), 0, qr0 +/* 800C5C74 000C2BD4 CB E1 01 70 */ lfd f31, 0x170(r1) +/* 800C5C78 000C2BD8 E3 C1 01 68 */ psq_l f30, 360(r1), 0, qr0 +/* 800C5C7C 000C2BDC CB C1 01 60 */ lfd f30, 0x160(r1) +/* 800C5C80 000C2BE0 E3 A1 01 58 */ psq_l f29, 344(r1), 0, qr0 +/* 800C5C84 000C2BE4 CB A1 01 50 */ lfd f29, 0x150(r1) +/* 800C5C88 000C2BE8 E3 81 01 48 */ psq_l f28, 328(r1), 0, qr0 +/* 800C5C8C 000C2BEC CB 81 01 40 */ lfd f28, 0x140(r1) +/* 800C5C90 000C2BF0 BB 01 01 20 */ lmw r24, 0x120(r1) +/* 800C5C94 000C2BF4 80 01 01 84 */ lwz r0, 0x184(r1) +/* 800C5C98 000C2BF8 7C 08 03 A6 */ mtlr r0 +/* 800C5C9C 000C2BFC 38 21 01 80 */ addi r1, r1, 0x180 +/* 800C5CA0 000C2C00 4E 80 00 20 */ blr + +.global LoadOmegaPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadOmegaPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C5CA4 000C2C04 94 21 FB D0 */ stwu r1, -0x430(r1) +/* 800C5CA8 000C2C08 7C 08 02 A6 */ mflr r0 +/* 800C5CAC 000C2C0C 80 E2 B5 A0 */ lwz r7, lbl_805AD2C0@sda21(r2) +/* 800C5CB0 000C2C10 90 01 04 34 */ stw r0, 0x434(r1) +/* 800C5CB4 000C2C14 38 07 00 01 */ addi r0, r7, 1 +/* 800C5CB8 000C2C18 BF 21 04 14 */ stmw r25, 0x414(r1) +/* 800C5CBC 000C2C1C 7C BA 2B 78 */ mr r26, r5 +/* 800C5CC0 000C2C20 7C 1A 00 00 */ cmpw r26, r0 +/* 800C5CC4 000C2C24 7C 7E 1B 78 */ mr r30, r3 +/* 800C5CC8 000C2C28 7C 9D 23 78 */ mr r29, r4 +/* 800C5CCC 000C2C2C 7C DF 33 78 */ mr r31, r6 +/* 800C5CD0 000C2C30 40 80 00 0C */ bge lbl_800C5CDC +/* 800C5CD4 000C2C34 38 60 00 00 */ li r3, 0 +/* 800C5CD8 000C2C38 48 00 01 E0 */ b lbl_800C5EB8 +lbl_800C5CDC: +/* 800C5CDC 000C2C3C 7F C5 F3 78 */ mr r5, r30 +/* 800C5CE0 000C2C40 38 61 01 60 */ addi r3, r1, 0x160 +/* 800C5CE4 000C2C44 48 01 47 99 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C5CE8 000C2C48 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C5CEC 000C2C4C 7F A4 EB 78 */ mr r4, r29 +/* 800C5CF0 000C2C50 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C5CF4 000C2C54 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C5CF8 000C2C58 38 A5 00 28 */ addi r5, r5, 0x28 +/* 800C5CFC 000C2C5C 48 03 FB 2D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C5D00 000C2C60 88 01 00 20 */ lbz r0, 0x20(r1) +/* 800C5D04 000C2C64 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 800C5D08 000C2C68 28 00 00 00 */ cmplwi r0, 0 +/* 800C5D0C 000C2C6C 40 82 00 14 */ bne lbl_800C5D20 +/* 800C5D10 000C2C70 38 61 01 60 */ addi r3, r1, 0x160 +/* 800C5D14 000C2C74 48 27 7D CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C5D18 000C2C78 38 60 00 00 */ li r3, 0 +/* 800C5D1C 000C2C7C 48 00 01 9C */ b lbl_800C5EB8 +lbl_800C5D20: +/* 800C5D20 000C2C80 7F A4 EB 78 */ mr r4, r29 +/* 800C5D24 000C2C84 38 61 02 CC */ addi r3, r1, 0x2cc +/* 800C5D28 000C2C88 48 03 FB 51 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C5D2C 000C2C8C 7F A4 EB 78 */ mr r4, r29 +/* 800C5D30 000C2C90 38 61 00 90 */ addi r3, r1, 0x90 +/* 800C5D34 000C2C94 48 01 40 41 */ bl LoadActorParameters__FR12CInputStream +/* 800C5D38 000C2C98 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800C5D3C 000C2C9C 38 81 00 90 */ addi r4, r1, 0x90 +/* 800C5D40 000C2CA0 4B FF F8 DD */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C5D44 000C2CA4 38 61 00 90 */ addi r3, r1, 0x90 +/* 800C5D48 000C2CA8 38 80 FF FF */ li r4, -1 +/* 800C5D4C 000C2CAC 48 04 08 BD */ bl __dt__16CActorParametersFv +/* 800C5D50 000C2CB0 7F A4 EB 78 */ mr r4, r29 +/* 800C5D54 000C2CB4 7F 45 D3 78 */ mr r5, r26 +/* 800C5D58 000C2CB8 38 61 01 AC */ addi r3, r1, 0x1ac +/* 800C5D5C 000C2CBC 48 16 81 01 */ bl __ct__16CElitePirateDataFR12CInputStreami +/* 800C5D60 000C2CC0 80 61 03 B8 */ lwz r3, 0x3b8(r1) +/* 800C5D64 000C2CC4 3C 03 00 01 */ addis r0, r3, 1 +/* 800C5D68 000C2CC8 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C5D6C 000C2CCC 40 82 00 30 */ bne lbl_800C5D9C +/* 800C5D70 000C2CD0 34 61 01 D4 */ addic. r3, r1, 0x1d4 +/* 800C5D74 000C2CD4 41 82 00 0C */ beq lbl_800C5D80 +/* 800C5D78 000C2CD8 38 80 FF FF */ li r4, -1 +/* 800C5D7C 000C2CDC 48 04 08 8D */ bl __dt__16CActorParametersFv +lbl_800C5D80: +/* 800C5D80 000C2CE0 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800C5D84 000C2CE4 38 80 FF FF */ li r4, -1 +/* 800C5D88 000C2CE8 48 04 08 81 */ bl __dt__16CActorParametersFv +/* 800C5D8C 000C2CEC 38 61 01 60 */ addi r3, r1, 0x160 +/* 800C5D90 000C2CF0 48 27 7D 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C5D94 000C2CF4 38 60 00 00 */ li r3, 0 +/* 800C5D98 000C2CF8 48 00 01 20 */ b lbl_800C5EB8 +lbl_800C5D9C: +/* 800C5D9C 000C2CFC 7F A3 EB 78 */ mr r3, r29 +/* 800C5DA0 000C2D00 48 27 8E E5 */ bl ReadLong__12CInputStreamFv +/* 800C5DA4 000C2D04 7C 7B 1B 78 */ mr r27, r3 +/* 800C5DA8 000C2D08 7F A3 EB 78 */ mr r3, r29 +/* 800C5DAC 000C2D0C 48 27 8E D9 */ bl ReadLong__12CInputStreamFv +/* 800C5DB0 000C2D10 7C 7C 1B 78 */ mr r28, r3 +/* 800C5DB4 000C2D14 7F A3 EB 78 */ mr r3, r29 +/* 800C5DB8 000C2D18 48 27 8E CD */ bl ReadLong__12CInputStreamFv +/* 800C5DBC 000C2D1C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C5DC0 000C2D20 7C 7D 1B 78 */ mr r29, r3 +/* 800C5DC4 000C2D24 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800C5DC8 000C2D28 3B 20 00 00 */ li r25, 0 +/* 800C5DCC 000C2D2C 38 83 00 0D */ addi r4, r3, 0xd +/* 800C5DD0 000C2D30 38 60 0B 90 */ li r3, 0xb90 +/* 800C5DD4 000C2D34 38 A0 00 00 */ li r5, 0 +/* 800C5DD8 000C2D38 48 24 FA 95 */ bl __nw__FUlPCcPCc +/* 800C5DDC 000C2D3C 7C 7A 1B 79 */ or. r26, r3, r3 +/* 800C5DE0 000C2D40 41 82 00 9C */ beq lbl_800C5E7C +/* 800C5DE4 000C2D44 80 E1 03 B8 */ lwz r7, 0x3b8(r1) +/* 800C5DE8 000C2D48 38 A0 00 01 */ li r5, 1 +/* 800C5DEC 000C2D4C 80 C1 03 BC */ lwz r6, 0x3bc(r1) +/* 800C5DF0 000C2D50 38 61 00 44 */ addi r3, r1, 0x44 +/* 800C5DF4 000C2D54 C0 41 01 A0 */ lfs f2, 0x1a0(r1) +/* 800C5DF8 000C2D58 38 81 00 28 */ addi r4, r1, 0x28 +/* 800C5DFC 000C2D5C C0 21 01 A4 */ lfs f1, 0x1a4(r1) +/* 800C5E00 000C2D60 C0 01 01 A8 */ lfs f0, 0x1a8(r1) +/* 800C5E04 000C2D64 80 01 03 C0 */ lwz r0, 0x3c0(r1) +/* 800C5E08 000C2D68 90 E1 00 28 */ stw r7, 0x28(r1) +/* 800C5E0C 000C2D6C 90 C1 00 2C */ stw r6, 0x2c(r1) +/* 800C5E10 000C2D70 D0 41 00 30 */ stfs f2, 0x30(r1) +/* 800C5E14 000C2D74 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 800C5E18 000C2D78 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800C5E1C 000C2D7C 98 A1 00 3C */ stb r5, 0x3c(r1) +/* 800C5E20 000C2D80 90 01 00 40 */ stw r0, 0x40(r1) +/* 800C5E24 000C2D84 48 05 0D 31 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C5E28 000C2D88 7F C4 F3 78 */ mr r4, r30 +/* 800C5E2C 000C2D8C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C5E30 000C2D90 3B 20 00 01 */ li r25, 1 +/* 800C5E34 000C2D94 4B F8 72 A9 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C5E38 000C2D98 A0 81 00 18 */ lhz r4, 0x18(r1) +/* 800C5E3C 000C2D9C 38 01 01 AC */ addi r0, r1, 0x1ac +/* 800C5E40 000C2DA0 7F 43 D3 78 */ mr r3, r26 +/* 800C5E44 000C2DA4 7F E6 FB 78 */ mr r6, r31 +/* 800C5E48 000C2DA8 B0 81 00 1C */ sth r4, 0x1c(r1) +/* 800C5E4C 000C2DAC 38 81 00 1C */ addi r4, r1, 0x1c +/* 800C5E50 000C2DB0 38 A1 01 60 */ addi r5, r1, 0x160 +/* 800C5E54 000C2DB4 38 E1 01 70 */ addi r7, r1, 0x170 +/* 800C5E58 000C2DB8 90 01 00 08 */ stw r0, 8(r1) +/* 800C5E5C 000C2DBC 39 01 00 44 */ addi r8, r1, 0x44 +/* 800C5E60 000C2DC0 39 21 02 CC */ addi r9, r1, 0x2cc +/* 800C5E64 000C2DC4 39 41 00 F8 */ addi r10, r1, 0xf8 +/* 800C5E68 000C2DC8 93 61 00 0C */ stw r27, 0xc(r1) +/* 800C5E6C 000C2DCC 93 81 00 10 */ stw r28, 0x10(r1) +/* 800C5E70 000C2DD0 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800C5E74 000C2DD4 48 1C BA 21 */ bl "__ct__12COmegaPirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateDataiii" +/* 800C5E78 000C2DD8 7C 7A 1B 78 */ mr r26, r3 +lbl_800C5E7C: +/* 800C5E7C 000C2DDC 7F 20 07 75 */ extsb. r0, r25 +/* 800C5E80 000C2DE0 41 82 00 10 */ beq lbl_800C5E90 +/* 800C5E84 000C2DE4 38 61 00 44 */ addi r3, r1, 0x44 +/* 800C5E88 000C2DE8 38 80 FF FF */ li r4, -1 +/* 800C5E8C 000C2DEC 48 05 0B C1 */ bl __dt__10CModelDataFv +lbl_800C5E90: +/* 800C5E90 000C2DF0 34 61 01 D4 */ addic. r3, r1, 0x1d4 +/* 800C5E94 000C2DF4 41 82 00 0C */ beq lbl_800C5EA0 +/* 800C5E98 000C2DF8 38 80 FF FF */ li r4, -1 +/* 800C5E9C 000C2DFC 48 04 07 6D */ bl __dt__16CActorParametersFv +lbl_800C5EA0: +/* 800C5EA0 000C2E00 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800C5EA4 000C2E04 38 80 FF FF */ li r4, -1 +/* 800C5EA8 000C2E08 48 04 07 61 */ bl __dt__16CActorParametersFv +/* 800C5EAC 000C2E0C 38 61 01 60 */ addi r3, r1, 0x160 +/* 800C5EB0 000C2E10 48 27 7C 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C5EB4 000C2E14 7F 43 D3 78 */ mr r3, r26 +lbl_800C5EB8: +/* 800C5EB8 000C2E18 BB 21 04 14 */ lmw r25, 0x414(r1) +/* 800C5EBC 000C2E1C 80 01 04 34 */ lwz r0, 0x434(r1) +/* 800C5EC0 000C2E20 7C 08 03 A6 */ mtlr r0 +/* 800C5EC4 000C2E24 38 21 04 30 */ addi r1, r1, 0x430 +/* 800C5EC8 000C2E28 4E 80 00 20 */ blr + +.global LoadMazeNode__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadMazeNode__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C5ECC 000C2E2C 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800C5ED0 000C2E30 7C 08 02 A6 */ mflr r0 +/* 800C5ED4 000C2E34 2C 05 00 0A */ cmpwi r5, 0xa +/* 800C5ED8 000C2E38 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800C5EDC 000C2E3C BF 21 00 94 */ stmw r25, 0x94(r1) +/* 800C5EE0 000C2E40 7C 79 1B 78 */ mr r25, r3 +/* 800C5EE4 000C2E44 7C 9B 23 78 */ mr r27, r4 +/* 800C5EE8 000C2E48 7C DA 33 78 */ mr r26, r6 +/* 800C5EEC 000C2E4C 41 82 00 0C */ beq lbl_800C5EF8 +/* 800C5EF0 000C2E50 38 60 00 00 */ li r3, 0 +/* 800C5EF4 000C2E54 48 00 00 E8 */ b lbl_800C5FDC +lbl_800C5EF8: +/* 800C5EF8 000C2E58 7F 25 CB 78 */ mr r5, r25 +/* 800C5EFC 000C2E5C 38 61 00 44 */ addi r3, r1, 0x44 +/* 800C5F00 000C2E60 48 01 45 C5 */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800C5F04 000C2E64 7F 63 DB 78 */ mr r3, r27 +/* 800C5F08 000C2E68 48 27 8D D5 */ bl ReadBool__12CInputStreamFv +/* 800C5F0C 000C2E6C 7C 7E 1B 78 */ mr r30, r3 +/* 800C5F10 000C2E70 7F 63 DB 78 */ mr r3, r27 +/* 800C5F14 000C2E74 48 27 8D 71 */ bl ReadLong__12CInputStreamFv +/* 800C5F18 000C2E78 7C 7D 1B 78 */ mr r29, r3 +/* 800C5F1C 000C2E7C 7F 63 DB 78 */ mr r3, r27 +/* 800C5F20 000C2E80 48 27 8D 65 */ bl ReadLong__12CInputStreamFv +/* 800C5F24 000C2E84 7C 7C 1B 78 */ mr r28, r3 +/* 800C5F28 000C2E88 7F 63 DB 78 */ mr r3, r27 +/* 800C5F2C 000C2E8C 48 27 8D 59 */ bl ReadLong__12CInputStreamFv +/* 800C5F30 000C2E90 7C 7F 1B 78 */ mr r31, r3 +/* 800C5F34 000C2E94 7F 64 DB 78 */ mr r4, r27 +/* 800C5F38 000C2E98 38 61 00 38 */ addi r3, r1, 0x38 +/* 800C5F3C 000C2E9C 48 24 EC 51 */ bl __ct__9CVector3fFR12CInputStream +/* 800C5F40 000C2EA0 7F 64 DB 78 */ mr r4, r27 +/* 800C5F44 000C2EA4 38 61 00 2C */ addi r3, r1, 0x2c +/* 800C5F48 000C2EA8 48 24 EC 45 */ bl __ct__9CVector3fFR12CInputStream +/* 800C5F4C 000C2EAC 7F 64 DB 78 */ mr r4, r27 +/* 800C5F50 000C2EB0 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C5F54 000C2EB4 48 24 EC 39 */ bl __ct__9CVector3fFR12CInputStream +/* 800C5F58 000C2EB8 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C5F5C 000C2EBC 38 60 01 40 */ li r3, 0x140 +/* 800C5F60 000C2EC0 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800C5F64 000C2EC4 38 A0 00 00 */ li r5, 0 +/* 800C5F68 000C2EC8 38 84 00 0D */ addi r4, r4, 0xd +/* 800C5F6C 000C2ECC 48 24 F9 01 */ bl __nw__FUlPCcPCc +/* 800C5F70 000C2ED0 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800C5F74 000C2ED4 41 82 00 5C */ beq lbl_800C5FD0 +/* 800C5F78 000C2ED8 7F 24 CB 78 */ mr r4, r25 +/* 800C5F7C 000C2EDC 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C5F80 000C2EE0 4B F8 71 5D */ bl AllocateUniqueId__13CStateManagerFv +/* 800C5F84 000C2EE4 A0 61 00 18 */ lhz r3, 0x18(r1) +/* 800C5F88 000C2EE8 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800C5F8C 000C2EEC 39 61 00 2C */ addi r11, r1, 0x2c +/* 800C5F90 000C2EF0 38 01 00 20 */ addi r0, r1, 0x20 +/* 800C5F94 000C2EF4 B0 61 00 1C */ sth r3, 0x1c(r1) +/* 800C5F98 000C2EF8 7F 63 DB 78 */ mr r3, r27 +/* 800C5F9C 000C2EFC 7F 46 D3 78 */ mr r6, r26 +/* 800C5FA0 000C2F00 7F C8 F3 78 */ mr r8, r30 +/* 800C5FA4 000C2F04 93 E1 00 08 */ stw r31, 8(r1) +/* 800C5FA8 000C2F08 7F A9 EB 78 */ mr r9, r29 +/* 800C5FAC 000C2F0C 7F 8A E3 78 */ mr r10, r28 +/* 800C5FB0 000C2F10 38 81 00 1C */ addi r4, r1, 0x1c +/* 800C5FB4 000C2F14 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800C5FB8 000C2F18 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800C5FBC 000C2F1C 38 E1 00 54 */ addi r7, r1, 0x54 +/* 800C5FC0 000C2F20 91 61 00 10 */ stw r11, 0x10(r1) +/* 800C5FC4 000C2F24 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C5FC8 000C2F28 48 1C 36 A5 */ bl "__ct__15CScriptMazeNodeF9TUniqueIdQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUiUiUiRC9CVector3fRC9CVector3fRC9CVector3f" +/* 800C5FCC 000C2F2C 7C 7B 1B 78 */ mr r27, r3 +lbl_800C5FD0: +/* 800C5FD0 000C2F30 38 61 00 44 */ addi r3, r1, 0x44 +/* 800C5FD4 000C2F34 48 27 7B 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C5FD8 000C2F38 7F 63 DB 78 */ mr r3, r27 +lbl_800C5FDC: +/* 800C5FDC 000C2F3C BB 21 00 94 */ lmw r25, 0x94(r1) +/* 800C5FE0 000C2F40 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800C5FE4 000C2F44 7C 08 03 A6 */ mtlr r0 +/* 800C5FE8 000C2F48 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800C5FEC 000C2F4C 4E 80 00 20 */ blr + +.global LoadMetroidPrimeEssence__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadMetroidPrimeEssence__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C5FF0 000C2F50 94 21 FC 90 */ stwu r1, -0x370(r1) +/* 800C5FF4 000C2F54 7C 08 02 A6 */ mflr r0 +/* 800C5FF8 000C2F58 2C 05 00 0B */ cmpwi r5, 0xb +/* 800C5FFC 000C2F5C 90 01 03 74 */ stw r0, 0x374(r1) +/* 800C6000 000C2F60 BE E1 03 4C */ stmw r23, 0x34c(r1) +/* 800C6004 000C2F64 7C 79 1B 78 */ mr r25, r3 +/* 800C6008 000C2F68 7C 97 23 78 */ mr r23, r4 +/* 800C600C 000C2F6C 7C DA 33 78 */ mr r26, r6 +/* 800C6010 000C2F70 41 82 00 0C */ beq lbl_800C601C +/* 800C6014 000C2F74 38 60 00 00 */ li r3, 0 +/* 800C6018 000C2F78 48 00 02 30 */ b lbl_800C6248 +lbl_800C601C: +/* 800C601C 000C2F7C 7F 25 CB 78 */ mr r5, r25 +/* 800C6020 000C2F80 38 61 01 BC */ addi r3, r1, 0x1bc +/* 800C6024 000C2F84 48 01 44 59 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C6028 000C2F88 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C602C 000C2F8C 7E E4 BB 78 */ mr r4, r23 +/* 800C6030 000C2F90 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C6034 000C2F94 38 61 00 28 */ addi r3, r1, 0x28 +/* 800C6038 000C2F98 38 A5 00 35 */ addi r5, r5, 0x35 +/* 800C603C 000C2F9C 48 03 F7 ED */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C6040 000C2FA0 88 01 00 28 */ lbz r0, 0x28(r1) +/* 800C6044 000C2FA4 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 800C6048 000C2FA8 28 00 00 00 */ cmplwi r0, 0 +/* 800C604C 000C2FAC 40 82 00 14 */ bne lbl_800C6060 +/* 800C6050 000C2FB0 38 61 01 BC */ addi r3, r1, 0x1bc +/* 800C6054 000C2FB4 48 27 7A 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C6058 000C2FB8 38 60 00 00 */ li r3, 0 +/* 800C605C 000C2FBC 48 00 01 EC */ b lbl_800C6248 +lbl_800C6060: +/* 800C6060 000C2FC0 7E E4 BB 78 */ mr r4, r23 +/* 800C6064 000C2FC4 38 61 02 08 */ addi r3, r1, 0x208 +/* 800C6068 000C2FC8 48 03 F8 11 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C606C 000C2FCC 80 61 02 F4 */ lwz r3, 0x2f4(r1) +/* 800C6070 000C2FD0 3C 03 00 01 */ addis r0, r3, 1 +/* 800C6074 000C2FD4 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C6078 000C2FD8 40 82 00 14 */ bne lbl_800C608C +/* 800C607C 000C2FDC 38 61 01 BC */ addi r3, r1, 0x1bc +/* 800C6080 000C2FE0 48 27 7A 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C6084 000C2FE4 38 60 00 00 */ li r3, 0 +/* 800C6088 000C2FE8 48 00 01 C0 */ b lbl_800C6248 +lbl_800C608C: +/* 800C608C 000C2FEC 7E E4 BB 78 */ mr r4, r23 +/* 800C6090 000C2FF0 38 61 00 EC */ addi r3, r1, 0xec +/* 800C6094 000C2FF4 48 01 3C E1 */ bl LoadActorParameters__FR12CInputStream +/* 800C6098 000C2FF8 38 61 01 54 */ addi r3, r1, 0x154 +/* 800C609C 000C2FFC 38 81 00 EC */ addi r4, r1, 0xec +/* 800C60A0 000C3000 4B FF F5 7D */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C60A4 000C3004 38 61 00 EC */ addi r3, r1, 0xec +/* 800C60A8 000C3008 38 80 FF FF */ li r4, -1 +/* 800C60AC 000C300C 48 04 05 5D */ bl __dt__16CActorParametersFv +/* 800C60B0 000C3010 7E E3 BB 78 */ mr r3, r23 +/* 800C60B4 000C3014 48 27 8B D1 */ bl ReadLong__12CInputStreamFv +/* 800C60B8 000C3018 7C 7C 1B 78 */ mr r28, r3 +/* 800C60BC 000C301C 7E E4 BB 78 */ mr r4, r23 +/* 800C60C0 000C3020 38 61 00 68 */ addi r3, r1, 0x68 +/* 800C60C4 000C3024 4B FF D4 9D */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C60C8 000C3028 80 A1 00 68 */ lwz r5, 0x68(r1) +/* 800C60CC 000C302C 7E E3 BB 78 */ mr r3, r23 +/* 800C60D0 000C3030 88 81 00 6C */ lbz r4, 0x6c(r1) +/* 800C60D4 000C3034 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 800C60D8 000C3038 C0 41 00 74 */ lfs f2, 0x74(r1) +/* 800C60DC 000C303C C0 21 00 78 */ lfs f1, 0x78(r1) +/* 800C60E0 000C3040 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 800C60E4 000C3044 88 01 00 80 */ lbz r0, 0x80(r1) +/* 800C60E8 000C3048 90 A1 00 84 */ stw r5, 0x84(r1) +/* 800C60EC 000C304C 98 81 00 88 */ stb r4, 0x88(r1) +/* 800C60F0 000C3050 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 800C60F4 000C3054 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 800C60F8 000C3058 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 800C60FC 000C305C D0 01 00 98 */ stfs f0, 0x98(r1) +/* 800C6100 000C3060 98 01 00 9C */ stb r0, 0x9c(r1) +/* 800C6104 000C3064 48 27 8B 81 */ bl ReadLong__12CInputStreamFv +/* 800C6108 000C3068 7C 7D 1B 78 */ mr r29, r3 +/* 800C610C 000C306C 7E E3 BB 78 */ mr r3, r23 +/* 800C6110 000C3070 48 27 8B 75 */ bl ReadLong__12CInputStreamFv +/* 800C6114 000C3074 7C 7E 1B 78 */ mr r30, r3 +/* 800C6118 000C3078 7E E3 BB 78 */ mr r3, r23 +/* 800C611C 000C307C 48 27 8B 69 */ bl ReadLong__12CInputStreamFv +/* 800C6120 000C3080 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C6124 000C3084 7C 7F 1B 78 */ mr r31, r3 +/* 800C6128 000C3088 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800C612C 000C308C 3A E0 00 00 */ li r23, 0 +/* 800C6130 000C3090 38 83 00 0D */ addi r4, r3, 0xd +/* 800C6134 000C3094 38 60 07 10 */ li r3, 0x710 +/* 800C6138 000C3098 38 A0 00 00 */ li r5, 0 +/* 800C613C 000C309C 48 24 F7 31 */ bl __nw__FUlPCcPCc +/* 800C6140 000C30A0 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800C6144 000C30A4 41 82 00 D8 */ beq lbl_800C621C +/* 800C6148 000C30A8 82 E1 00 84 */ lwz r23, 0x84(r1) +/* 800C614C 000C30AC 38 A0 00 01 */ li r5, 1 +/* 800C6150 000C30B0 83 01 00 88 */ lwz r24, 0x88(r1) +/* 800C6154 000C30B4 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800C6158 000C30B8 81 81 00 8C */ lwz r12, 0x8c(r1) +/* 800C615C 000C30BC 38 81 00 30 */ addi r4, r1, 0x30 +/* 800C6160 000C30C0 81 61 00 90 */ lwz r11, 0x90(r1) +/* 800C6164 000C30C4 81 41 00 94 */ lwz r10, 0x94(r1) +/* 800C6168 000C30C8 81 21 00 98 */ lwz r9, 0x98(r1) +/* 800C616C 000C30CC 81 01 00 9C */ lwz r8, 0x9c(r1) +/* 800C6170 000C30D0 80 E1 02 F4 */ lwz r7, 0x2f4(r1) +/* 800C6174 000C30D4 80 C1 02 F8 */ lwz r6, 0x2f8(r1) +/* 800C6178 000C30D8 C0 41 01 FC */ lfs f2, 0x1fc(r1) +/* 800C617C 000C30DC C0 21 02 00 */ lfs f1, 0x200(r1) +/* 800C6180 000C30E0 C0 01 02 04 */ lfs f0, 0x204(r1) +/* 800C6184 000C30E4 80 01 02 FC */ lwz r0, 0x2fc(r1) +/* 800C6188 000C30E8 92 E1 00 4C */ stw r23, 0x4c(r1) +/* 800C618C 000C30EC 93 01 00 50 */ stw r24, 0x50(r1) +/* 800C6190 000C30F0 91 81 00 54 */ stw r12, 0x54(r1) +/* 800C6194 000C30F4 91 61 00 58 */ stw r11, 0x58(r1) +/* 800C6198 000C30F8 91 41 00 5C */ stw r10, 0x5c(r1) +/* 800C619C 000C30FC 91 21 00 60 */ stw r9, 0x60(r1) +/* 800C61A0 000C3100 91 01 00 64 */ stw r8, 0x64(r1) +/* 800C61A4 000C3104 90 E1 00 30 */ stw r7, 0x30(r1) +/* 800C61A8 000C3108 90 C1 00 34 */ stw r6, 0x34(r1) +/* 800C61AC 000C310C D0 41 00 38 */ stfs f2, 0x38(r1) +/* 800C61B0 000C3110 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800C61B4 000C3114 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800C61B8 000C3118 98 A1 00 44 */ stb r5, 0x44(r1) +/* 800C61BC 000C311C 90 01 00 48 */ stw r0, 0x48(r1) +/* 800C61C0 000C3120 48 05 09 95 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C61C4 000C3124 7F 24 CB 78 */ mr r4, r25 +/* 800C61C8 000C3128 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C61CC 000C312C 3A E0 00 01 */ li r23, 1 +/* 800C61D0 000C3130 4B F8 6F 0D */ bl AllocateUniqueId__13CStateManagerFv +/* 800C61D4 000C3134 A0 81 00 20 */ lhz r4, 0x20(r1) +/* 800C61D8 000C3138 38 01 00 4C */ addi r0, r1, 0x4c +/* 800C61DC 000C313C 7F 63 DB 78 */ mr r3, r27 +/* 800C61E0 000C3140 7F 46 D3 78 */ mr r6, r26 +/* 800C61E4 000C3144 B0 81 00 24 */ sth r4, 0x24(r1) +/* 800C61E8 000C3148 38 81 00 24 */ addi r4, r1, 0x24 +/* 800C61EC 000C314C 38 A1 01 BC */ addi r5, r1, 0x1bc +/* 800C61F0 000C3150 38 E1 01 CC */ addi r7, r1, 0x1cc +/* 800C61F4 000C3154 93 81 00 08 */ stw r28, 8(r1) +/* 800C61F8 000C3158 39 01 00 A0 */ addi r8, r1, 0xa0 +/* 800C61FC 000C315C 39 21 02 08 */ addi r9, r1, 0x208 +/* 800C6200 000C3160 39 41 01 54 */ addi r10, r1, 0x154 +/* 800C6204 000C3164 90 01 00 0C */ stw r0, 0xc(r1) +/* 800C6208 000C3168 93 A1 00 10 */ stw r29, 0x10(r1) +/* 800C620C 000C316C 93 C1 00 14 */ stw r30, 0x14(r1) +/* 800C6210 000C3170 93 E1 00 18 */ stw r31, 0x18(r1) +/* 800C6214 000C3174 48 1B 9F A5 */ bl __ct__20CMetroidPrimeEssence +/* 800C6218 000C3178 7C 7B 1B 78 */ mr r27, r3 +lbl_800C621C: +/* 800C621C 000C317C 7E E0 07 75 */ extsb. r0, r23 +/* 800C6220 000C3180 41 82 00 10 */ beq lbl_800C6230 +/* 800C6224 000C3184 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800C6228 000C3188 38 80 FF FF */ li r4, -1 +/* 800C622C 000C318C 48 05 08 21 */ bl __dt__10CModelDataFv +lbl_800C6230: +/* 800C6230 000C3190 38 61 01 54 */ addi r3, r1, 0x154 +/* 800C6234 000C3194 38 80 FF FF */ li r4, -1 +/* 800C6238 000C3198 48 04 03 D1 */ bl __dt__16CActorParametersFv +/* 800C623C 000C319C 38 61 01 BC */ addi r3, r1, 0x1bc +/* 800C6240 000C31A0 48 27 78 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C6244 000C31A4 7F 63 DB 78 */ mr r3, r27 +lbl_800C6248: +/* 800C6248 000C31A8 BA E1 03 4C */ lmw r23, 0x34c(r1) +/* 800C624C 000C31AC 80 01 03 74 */ lwz r0, 0x374(r1) +/* 800C6250 000C31B0 7C 08 03 A6 */ mtlr r0 +/* 800C6254 000C31B4 38 21 03 70 */ addi r1, r1, 0x370 +/* 800C6258 000C31B8 4E 80 00 20 */ blr + +.global LoadWorldLightFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadWorldLightFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C625C 000C31BC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800C6260 000C31C0 7C 08 02 A6 */ mflr r0 +/* 800C6264 000C31C4 90 01 00 74 */ stw r0, 0x74(r1) +/* 800C6268 000C31C8 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 800C626C 000C31CC F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 800C6270 000C31D0 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 800C6274 000C31D4 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 800C6278 000C31D8 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800C627C 000C31DC 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800C6280 000C31E0 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800C6284 000C31E4 93 81 00 40 */ stw r28, 0x40(r1) +/* 800C6288 000C31E8 2C 05 00 04 */ cmpwi r5, 4 +/* 800C628C 000C31EC 7C 7F 1B 78 */ mr r31, r3 +/* 800C6290 000C31F0 7C 9D 23 78 */ mr r29, r4 +/* 800C6294 000C31F4 7C DC 33 78 */ mr r28, r6 +/* 800C6298 000C31F8 41 82 00 0C */ beq lbl_800C62A4 +/* 800C629C 000C31FC 38 60 00 00 */ li r3, 0 +/* 800C62A0 000C3200 48 00 00 FC */ b lbl_800C639C +lbl_800C62A4: +/* 800C62A4 000C3204 4B F7 EF 41 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800C62A8 000C3208 7C 64 1B 78 */ mr r4, r3 +/* 800C62AC 000C320C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C62B0 000C3210 48 27 7E B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800C62B4 000C3214 7F A3 EB 78 */ mr r3, r29 +/* 800C62B8 000C3218 48 27 8A 25 */ bl ReadBool__12CInputStreamFv +/* 800C62BC 000C321C 7C 7E 1B 78 */ mr r30, r3 +/* 800C62C0 000C3220 7F A3 EB 78 */ mr r3, r29 +/* 800C62C4 000C3224 48 27 89 65 */ bl ReadFloat__12CInputStreamFv +/* 800C62C8 000C3228 FF E0 08 90 */ fmr f31, f1 +/* 800C62CC 000C322C 7F A3 EB 78 */ mr r3, r29 +/* 800C62D0 000C3230 48 27 89 59 */ bl ReadFloat__12CInputStreamFv +/* 800C62D4 000C3234 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C62D8 000C3238 FF C0 08 90 */ fmr f30, f1 +/* 800C62DC 000C323C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800C62E0 000C3240 38 A0 00 00 */ li r5, 0 +/* 800C62E4 000C3244 38 60 00 64 */ li r3, 0x64 +/* 800C62E8 000C3248 38 84 00 0D */ addi r4, r4, 0xd +/* 800C62EC 000C324C 48 24 F5 81 */ bl __nw__FUlPCcPCc +/* 800C62F0 000C3250 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800C62F4 000C3254 41 82 00 9C */ beq lbl_800C6390 +/* 800C62F8 000C3258 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800C62FC 000C325C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C6300 000C3260 FC 40 08 90 */ fmr f2, f1 +/* 800C6304 000C3264 48 24 DE FD */ bl __ct__9CVector2fFff +/* 800C6308 000C3268 80 A3 00 00 */ lwz r5, 0(r3) +/* 800C630C 000C326C 7F E4 FB 78 */ mr r4, r31 +/* 800C6310 000C3270 80 03 00 04 */ lwz r0, 4(r3) +/* 800C6314 000C3274 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C6318 000C3278 90 A1 00 28 */ stw r5, 0x28(r1) +/* 800C631C 000C327C 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800C6320 000C3280 4B F8 6D BD */ bl AllocateUniqueId__13CStateManagerFv +/* 800C6324 000C3284 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800C6328 000C3288 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C632C 000C328C A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800C6330 000C3290 FC 40 08 90 */ fmr f2, f1 +/* 800C6334 000C3294 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800C6338 000C3298 48 24 DE C9 */ bl __ct__9CVector2fFff +/* 800C633C 000C329C 7C 7F 1B 78 */ mr r31, r3 +/* 800C6340 000C32A0 48 28 3C 75 */ bl Black__6CColorFv +/* 800C6344 000C32A4 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800C6348 000C32A8 38 00 00 00 */ li r0, 0 +/* 800C634C 000C32AC 90 01 00 08 */ stw r0, 8(r1) +/* 800C6350 000C32B0 57 C0 06 3E */ clrlwi r0, r30, 0x18 +/* 800C6354 000C32B4 FC 40 08 90 */ fmr f2, f1 +/* 800C6358 000C32B8 7C 68 1B 78 */ mr r8, r3 +/* 800C635C 000C32BC FC 60 08 90 */ fmr f3, f1 +/* 800C6360 000C32C0 90 01 00 0C */ stw r0, 0xc(r1) +/* 800C6364 000C32C4 FC 80 F8 90 */ fmr f4, f31 +/* 800C6368 000C32C8 7F A3 EB 78 */ mr r3, r29 +/* 800C636C 000C32CC FC A0 F0 90 */ fmr f5, f30 +/* 800C6370 000C32D0 7F 86 E3 78 */ mr r6, r28 +/* 800C6374 000C32D4 7F E9 FB 78 */ mr r9, r31 +/* 800C6378 000C32D8 38 81 00 14 */ addi r4, r1, 0x14 +/* 800C637C 000C32DC 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800C6380 000C32E0 39 41 00 28 */ addi r10, r1, 0x28 +/* 800C6384 000C32E4 38 E0 00 00 */ li r7, 0 +/* 800C6388 000C32E8 48 08 6E D1 */ bl "__ct__18CScriptDistanceFogF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC11ERglFogModeRC6CColorRC9CVector2ff9CVector2fbbffff" +/* 800C638C 000C32EC 7C 7D 1B 78 */ mr r29, r3 +lbl_800C6390: +/* 800C6390 000C32F0 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C6394 000C32F4 48 27 77 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C6398 000C32F8 7F A3 EB 78 */ mr r3, r29 +lbl_800C639C: +/* 800C639C 000C32FC E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 800C63A0 000C3300 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 800C63A4 000C3304 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 800C63A8 000C3308 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 800C63AC 000C330C 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800C63B0 000C3310 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800C63B4 000C3314 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 800C63B8 000C3318 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800C63BC 000C331C 83 81 00 40 */ lwz r28, 0x40(r1) +/* 800C63C0 000C3320 7C 08 03 A6 */ mtlr r0 +/* 800C63C4 000C3324 38 21 00 70 */ addi r1, r1, 0x70 +/* 800C63C8 000C3328 4E 80 00 20 */ blr + +.global LoadScriptBeam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadScriptBeam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C63CC 000C332C 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 800C63D0 000C3330 7C 08 02 A6 */ mflr r0 +/* 800C63D4 000C3334 2C 05 00 07 */ cmpwi r5, 7 +/* 800C63D8 000C3338 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800C63DC 000C333C BF 21 00 D4 */ stmw r25, 0xd4(r1) +/* 800C63E0 000C3340 7C 7B 1B 78 */ mr r27, r3 +/* 800C63E4 000C3344 7C 9F 23 78 */ mr r31, r4 +/* 800C63E8 000C3348 7C DC 33 78 */ mr r28, r6 +/* 800C63EC 000C334C 41 82 00 0C */ beq lbl_800C63F8 +/* 800C63F0 000C3350 38 60 00 00 */ li r3, 0 +/* 800C63F4 000C3354 48 00 01 48 */ b lbl_800C653C +lbl_800C63F8: +/* 800C63F8 000C3358 7F 65 DB 78 */ mr r5, r27 +/* 800C63FC 000C335C 38 61 00 4C */ addi r3, r1, 0x4c +/* 800C6400 000C3360 48 01 40 C5 */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800C6404 000C3364 7F E3 FB 78 */ mr r3, r31 +/* 800C6408 000C3368 48 27 88 D5 */ bl ReadBool__12CInputStreamFv +/* 800C640C 000C336C 7C 7E 1B 78 */ mr r30, r3 +/* 800C6410 000C3370 7F E3 FB 78 */ mr r3, r31 +/* 800C6414 000C3374 48 27 88 71 */ bl ReadLong__12CInputStreamFv +/* 800C6418 000C3378 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800C641C 000C337C 7C 7D 1B 78 */ mr r29, r3 +/* 800C6420 000C3380 7F A4 EB 78 */ mr r4, r29 +/* 800C6424 000C3384 38 65 00 04 */ addi r3, r5, 4 +/* 800C6428 000C3388 48 27 58 A5 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800C642C 000C338C 28 03 00 00 */ cmplwi r3, 0 +/* 800C6430 000C3390 40 82 00 14 */ bne lbl_800C6444 +/* 800C6434 000C3394 38 61 00 4C */ addi r3, r1, 0x4c +/* 800C6438 000C3398 48 27 76 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C643C 000C339C 38 60 00 00 */ li r3, 0 +/* 800C6440 000C33A0 48 00 00 FC */ b lbl_800C653C +lbl_800C6444: +/* 800C6444 000C33A4 7F E4 FB 78 */ mr r4, r31 +/* 800C6448 000C33A8 38 61 00 8C */ addi r3, r1, 0x8c +/* 800C644C 000C33AC 48 00 01 05 */ bl __ct__9CBeamInfoFR12CInputStream +/* 800C6450 000C33B0 7F E4 FB 78 */ mr r4, r31 +/* 800C6454 000C33B4 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C6458 000C33B8 4B FF D1 09 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C645C 000C33BC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C6460 000C33C0 3B 40 00 00 */ li r26, 0 +/* 800C6464 000C33C4 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800C6468 000C33C8 3B 20 00 00 */ li r25, 0 +/* 800C646C 000C33CC 38 83 00 0D */ addi r4, r3, 0xd +/* 800C6470 000C33D0 38 60 01 58 */ li r3, 0x158 +/* 800C6474 000C33D4 38 A0 00 00 */ li r5, 0 +/* 800C6478 000C33D8 48 24 F3 F5 */ bl __nw__FUlPCcPCc +/* 800C647C 000C33DC 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800C6480 000C33E0 41 82 00 88 */ beq lbl_800C6508 +/* 800C6484 000C33E4 7F 64 DB 78 */ mr r4, r27 +/* 800C6488 000C33E8 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C648C 000C33EC 4B F8 6C 51 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C6490 000C33F0 A0 A1 00 10 */ lhz r5, 0x10(r1) +/* 800C6494 000C33F4 3C 60 57 50 */ lis r3, 0x57505343@ha +/* 800C6498 000C33F8 38 03 53 43 */ addi r0, r3, 0x57505343@l +/* 800C649C 000C33FC 93 A1 00 2C */ stw r29, 0x2c(r1) +/* 800C64A0 000C3400 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800C64A4 000C3404 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C64A8 000C3408 B0 A1 00 14 */ sth r5, 0x14(r1) +/* 800C64AC 000C340C 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800C64B0 000C3410 90 01 00 28 */ stw r0, 0x28(r1) +/* 800C64B4 000C3414 81 84 00 00 */ lwz r12, 0(r4) +/* 800C64B8 000C3418 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800C64BC 000C341C 7D 89 03 A6 */ mtctr r12 +/* 800C64C0 000C3420 4E 80 04 21 */ bctrl +/* 800C64C4 000C3424 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C64C8 000C3428 38 81 00 20 */ addi r4, r1, 0x20 +/* 800C64CC 000C342C 3B 40 00 01 */ li r26, 1 +/* 800C64D0 000C3430 48 27 A9 D9 */ bl __ct__6CTokenFRC6CToken +/* 800C64D4 000C3434 38 01 00 30 */ addi r0, r1, 0x30 +/* 800C64D8 000C3438 7F E3 FB 78 */ mr r3, r31 +/* 800C64DC 000C343C 90 01 00 08 */ stw r0, 8(r1) +/* 800C64E0 000C3440 7F 86 E3 78 */ mr r6, r28 +/* 800C64E4 000C3444 7F C8 F3 78 */ mr r8, r30 +/* 800C64E8 000C3448 38 81 00 14 */ addi r4, r1, 0x14 +/* 800C64EC 000C344C 38 A1 00 4C */ addi r5, r1, 0x4c +/* 800C64F0 000C3450 38 E1 00 5C */ addi r7, r1, 0x5c +/* 800C64F4 000C3454 39 21 00 18 */ addi r9, r1, 0x18 +/* 800C64F8 000C3458 39 41 00 8C */ addi r10, r1, 0x8c +/* 800C64FC 000C345C 3B 20 00 01 */ li r25, 1 +/* 800C6500 000C3460 48 1B 64 81 */ bl "__ct__11CScriptBeamF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC34TLockedToken<18CWeaponDescription>RC9CBeamInfoRC11CDamageInfo" +/* 800C6504 000C3464 7C 7F 1B 78 */ mr r31, r3 +lbl_800C6508: +/* 800C6508 000C3468 7F 20 07 75 */ extsb. r0, r25 +/* 800C650C 000C346C 41 82 00 10 */ beq lbl_800C651C +/* 800C6510 000C3470 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C6514 000C3474 38 80 00 00 */ li r4, 0 +/* 800C6518 000C3478 48 27 A9 29 */ bl __dt__6CTokenFv +lbl_800C651C: +/* 800C651C 000C347C 7F 40 07 75 */ extsb. r0, r26 +/* 800C6520 000C3480 41 82 00 10 */ beq lbl_800C6530 +/* 800C6524 000C3484 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C6528 000C3488 38 80 FF FF */ li r4, -1 +/* 800C652C 000C348C 48 27 A9 15 */ bl __dt__6CTokenFv +lbl_800C6530: +/* 800C6530 000C3490 38 61 00 4C */ addi r3, r1, 0x4c +/* 800C6534 000C3494 48 27 75 AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C6538 000C3498 7F E3 FB 78 */ mr r3, r31 +lbl_800C653C: +/* 800C653C 000C349C BB 21 00 D4 */ lmw r25, 0xd4(r1) +/* 800C6540 000C34A0 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 800C6544 000C34A4 7C 08 03 A6 */ mtlr r0 +/* 800C6548 000C34A8 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 800C654C 000C34AC 4E 80 00 20 */ blr + +.global __ct__9CBeamInfoFR12CInputStream +__ct__9CBeamInfoFR12CInputStream: +/* 800C6550 000C34B0 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800C6554 000C34B4 7C 08 02 A6 */ mflr r0 +/* 800C6558 000C34B8 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C655C 000C34BC 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800C6560 000C34C0 7C 9F 23 78 */ mr r31, r4 +/* 800C6564 000C34C4 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800C6568 000C34C8 7C 7E 1B 78 */ mr r30, r3 +/* 800C656C 000C34CC 7F E3 FB 78 */ mr r3, r31 +/* 800C6570 000C34D0 48 27 87 15 */ bl ReadLong__12CInputStreamFv +/* 800C6574 000C34D4 90 7E 00 00 */ stw r3, 0(r30) +/* 800C6578 000C34D8 7F E3 FB 78 */ mr r3, r31 +/* 800C657C 000C34DC 48 27 87 09 */ bl ReadLong__12CInputStreamFv +/* 800C6580 000C34E0 90 7E 00 04 */ stw r3, 4(r30) +/* 800C6584 000C34E4 7F E3 FB 78 */ mr r3, r31 +/* 800C6588 000C34E8 48 27 86 FD */ bl ReadLong__12CInputStreamFv +/* 800C658C 000C34EC 90 7E 00 08 */ stw r3, 8(r30) +/* 800C6590 000C34F0 7F E3 FB 78 */ mr r3, r31 +/* 800C6594 000C34F4 48 27 86 F1 */ bl ReadLong__12CInputStreamFv +/* 800C6598 000C34F8 90 7E 00 0C */ stw r3, 0xc(r30) +/* 800C659C 000C34FC 7F E3 FB 78 */ mr r3, r31 +/* 800C65A0 000C3500 48 27 86 E5 */ bl ReadLong__12CInputStreamFv +/* 800C65A4 000C3504 90 7E 00 10 */ stw r3, 0x10(r30) +/* 800C65A8 000C3508 7F E3 FB 78 */ mr r3, r31 +/* 800C65AC 000C350C 48 27 86 D9 */ bl ReadLong__12CInputStreamFv +/* 800C65B0 000C3510 90 7E 00 14 */ stw r3, 0x14(r30) +/* 800C65B4 000C3514 7F E3 FB 78 */ mr r3, r31 +/* 800C65B8 000C3518 48 27 86 71 */ bl ReadFloat__12CInputStreamFv +/* 800C65BC 000C351C FC 00 08 1E */ fctiwz f0, f1 +/* 800C65C0 000C3520 7F E3 FB 78 */ mr r3, r31 +/* 800C65C4 000C3524 D8 01 00 08 */ stfd f0, 8(r1) +/* 800C65C8 000C3528 80 01 00 0C */ lwz r0, 0xc(r1) +/* 800C65CC 000C352C 90 1E 00 18 */ stw r0, 0x18(r30) +/* 800C65D0 000C3530 48 27 86 59 */ bl ReadFloat__12CInputStreamFv +/* 800C65D4 000C3534 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 800C65D8 000C3538 7F E3 FB 78 */ mr r3, r31 +/* 800C65DC 000C353C 48 27 86 4D */ bl ReadFloat__12CInputStreamFv +/* 800C65E0 000C3540 D0 3E 00 20 */ stfs f1, 0x20(r30) +/* 800C65E4 000C3544 7F E3 FB 78 */ mr r3, r31 +/* 800C65E8 000C3548 48 27 86 41 */ bl ReadFloat__12CInputStreamFv +/* 800C65EC 000C354C D0 3E 00 24 */ stfs f1, 0x24(r30) +/* 800C65F0 000C3550 7F E3 FB 78 */ mr r3, r31 +/* 800C65F4 000C3554 48 27 86 35 */ bl ReadFloat__12CInputStreamFv +/* 800C65F8 000C3558 D0 3E 00 28 */ stfs f1, 0x28(r30) +/* 800C65FC 000C355C 7F E3 FB 78 */ mr r3, r31 +/* 800C6600 000C3560 48 27 86 29 */ bl ReadFloat__12CInputStreamFv +/* 800C6604 000C3564 D0 3E 00 2C */ stfs f1, 0x2c(r30) +/* 800C6608 000C3568 7F E3 FB 78 */ mr r3, r31 +/* 800C660C 000C356C 48 27 86 1D */ bl ReadFloat__12CInputStreamFv +/* 800C6610 000C3570 D0 3E 00 30 */ stfs f1, 0x30(r30) +/* 800C6614 000C3574 7F E3 FB 78 */ mr r3, r31 +/* 800C6618 000C3578 48 27 86 11 */ bl ReadFloat__12CInputStreamFv +/* 800C661C 000C357C D0 3E 00 34 */ stfs f1, 0x34(r30) +/* 800C6620 000C3580 7F E3 FB 78 */ mr r3, r31 +/* 800C6624 000C3584 48 27 86 05 */ bl ReadFloat__12CInputStreamFv +/* 800C6628 000C3588 D0 3E 00 38 */ stfs f1, 0x38(r30) +/* 800C662C 000C358C 7F E4 FB 78 */ mr r4, r31 +/* 800C6630 000C3590 38 7E 00 3C */ addi r3, r30, 0x3c +/* 800C6634 000C3594 48 29 CE 19 */ bl __ct__6CColorFR12CInputStream +/* 800C6638 000C3598 7F E4 FB 78 */ mr r4, r31 +/* 800C663C 000C359C 38 7E 00 40 */ addi r3, r30, 0x40 +/* 800C6640 000C35A0 48 29 CE 0D */ bl __ct__6CColorFR12CInputStream +/* 800C6644 000C35A4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800C6648 000C35A8 7F C3 F3 78 */ mr r3, r30 +/* 800C664C 000C35AC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800C6650 000C35B0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800C6654 000C35B4 7C 08 03 A6 */ mtlr r0 +/* 800C6658 000C35B8 38 21 00 20 */ addi r1, r1, 0x20 +/* 800C665C 000C35BC 4E 80 00 20 */ blr + +.global LoadMetroidPrimeRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadMetroidPrimeRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C6660 000C35C0 94 21 F1 10 */ stwu r1, -0xef0(r1) +/* 800C6664 000C35C4 7C 08 02 A6 */ mflr r0 +/* 800C6668 000C35C8 90 01 0E F4 */ stw r0, 0xef4(r1) +/* 800C666C 000C35CC DB E1 0E E0 */ stfd f31, 0xee0(r1) +/* 800C6670 000C35D0 F3 E1 0E E8 */ psq_st f31, -280(r1), 0, qr0 +/* 800C6674 000C35D4 DB C1 0E D0 */ stfd f30, 0xed0(r1) +/* 800C6678 000C35D8 F3 C1 0E D8 */ psq_st f30, -296(r1), 0, qr0 +/* 800C667C 000C35DC DB A1 0E C0 */ stfd f29, 0xec0(r1) +/* 800C6680 000C35E0 F3 A1 0E C8 */ psq_st f29, -312(r1), 0, qr0 +/* 800C6684 000C35E4 BE A1 0E 94 */ stmw r21, 0xe94(r1) +/* 800C6688 000C35E8 2C 05 00 16 */ cmpwi r5, 0x16 +/* 800C668C 000C35EC 7C 75 1B 78 */ mr r21, r3 +/* 800C6690 000C35F0 7C 98 23 78 */ mr r24, r4 +/* 800C6694 000C35F4 7C D6 33 78 */ mr r22, r6 +/* 800C6698 000C35F8 41 82 00 0C */ beq lbl_800C66A4 +/* 800C669C 000C35FC 38 60 00 00 */ li r3, 0 +/* 800C66A0 000C3600 48 00 06 C0 */ b lbl_800C6D60 +lbl_800C66A4: +/* 800C66A4 000C3604 7F 03 C3 78 */ mr r3, r24 +/* 800C66A8 000C3608 48 27 85 DD */ bl ReadLong__12CInputStreamFv +/* 800C66AC 000C360C 2C 03 00 03 */ cmpwi r3, 3 +/* 800C66B0 000C3610 41 82 00 0C */ beq lbl_800C66BC +/* 800C66B4 000C3614 38 60 00 00 */ li r3, 0 +/* 800C66B8 000C3618 48 00 06 A8 */ b lbl_800C6D60 +lbl_800C66BC: +/* 800C66BC 000C361C 7F 04 C3 78 */ mr r4, r24 +/* 800C66C0 000C3620 7E A5 AB 78 */ mr r5, r21 +/* 800C66C4 000C3624 38 61 01 38 */ addi r3, r1, 0x138 +/* 800C66C8 000C3628 48 01 3D B5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C66CC 000C362C 7F 03 C3 78 */ mr r3, r24 +/* 800C66D0 000C3630 48 27 86 0D */ bl ReadBool__12CInputStreamFv +/* 800C66D4 000C3634 7C 79 1B 78 */ mr r25, r3 +/* 800C66D8 000C3638 7F 03 C3 78 */ mr r3, r24 +/* 800C66DC 000C363C 48 27 85 4D */ bl ReadFloat__12CInputStreamFv +/* 800C66E0 000C3640 FF E0 08 90 */ fmr f31, f1 +/* 800C66E4 000C3644 7F 03 C3 78 */ mr r3, r24 +/* 800C66E8 000C3648 48 27 85 41 */ bl ReadFloat__12CInputStreamFv +/* 800C66EC 000C364C FF C0 08 90 */ fmr f30, f1 +/* 800C66F0 000C3650 7F 03 C3 78 */ mr r3, r24 +/* 800C66F4 000C3654 48 27 85 35 */ bl ReadFloat__12CInputStreamFv +/* 800C66F8 000C3658 FF A0 08 90 */ fmr f29, f1 +/* 800C66FC 000C365C 7F 03 C3 78 */ mr r3, r24 +/* 800C6700 000C3660 48 27 85 85 */ bl ReadLong__12CInputStreamFv +/* 800C6704 000C3664 7C 7A 1B 78 */ mr r26, r3 +/* 800C6708 000C3668 7F 03 C3 78 */ mr r3, r24 +/* 800C670C 000C366C 48 27 85 D1 */ bl ReadBool__12CInputStreamFv +/* 800C6710 000C3670 7C 7B 1B 78 */ mr r27, r3 +/* 800C6714 000C3674 7F 03 C3 78 */ mr r3, r24 +/* 800C6718 000C3678 48 27 85 6D */ bl ReadLong__12CInputStreamFv +/* 800C671C 000C367C 7C 7C 1B 78 */ mr r28, r3 +/* 800C6720 000C3680 7F 04 C3 78 */ mr r4, r24 +/* 800C6724 000C3684 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C6728 000C3688 48 10 D1 1D */ bl __ct__11CHealthInfoFR12CInputStream +/* 800C672C 000C368C 7F 04 C3 78 */ mr r4, r24 +/* 800C6730 000C3690 38 61 00 38 */ addi r3, r1, 0x38 +/* 800C6734 000C3694 48 10 D1 11 */ bl __ct__11CHealthInfoFR12CInputStream +/* 800C6738 000C3698 7F 03 C3 78 */ mr r3, r24 +/* 800C673C 000C369C 48 27 85 49 */ bl ReadLong__12CInputStreamFv +/* 800C6740 000C36A0 7C 7D 1B 78 */ mr r29, r3 +/* 800C6744 000C36A4 7F 04 C3 78 */ mr r4, r24 +/* 800C6748 000C36A8 38 61 00 FC */ addi r3, r1, 0xfc +/* 800C674C 000C36AC 48 1B 5A F1 */ bl __ct__18SPrimeExoRoomParmsFR12CInputStream +/* 800C6750 000C36B0 7F 04 C3 78 */ mr r4, r24 +/* 800C6754 000C36B4 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800C6758 000C36B8 48 1B 5A E5 */ bl __ct__18SPrimeExoRoomParmsFR12CInputStream +/* 800C675C 000C36BC 7F 04 C3 78 */ mr r4, r24 +/* 800C6760 000C36C0 38 61 00 84 */ addi r3, r1, 0x84 +/* 800C6764 000C36C4 48 1B 5A D9 */ bl __ct__18SPrimeExoRoomParmsFR12CInputStream +/* 800C6768 000C36C8 7F 04 C3 78 */ mr r4, r24 +/* 800C676C 000C36CC 38 61 00 48 */ addi r3, r1, 0x48 +/* 800C6770 000C36D0 48 1B 5A CD */ bl __ct__18SPrimeExoRoomParmsFR12CInputStream +/* 800C6774 000C36D4 38 60 00 00 */ li r3, 0 +/* 800C6778 000C36D8 3A E1 01 88 */ addi r23, r1, 0x188 +/* 800C677C 000C36DC 1C 03 00 3C */ mulli r0, r3, 0x3c +/* 800C6780 000C36E0 90 61 01 84 */ stw r3, 0x184(r1) +/* 800C6784 000C36E4 7C 77 02 15 */ add. r3, r23, r0 +/* 800C6788 000C36E8 41 82 00 40 */ beq lbl_800C67C8 +/* 800C678C 000C36EC 80 01 00 FC */ lwz r0, 0xfc(r1) +/* 800C6790 000C36F0 38 A1 01 00 */ addi r5, r1, 0x100 +/* 800C6794 000C36F4 38 83 00 04 */ addi r4, r3, 4 +/* 800C6798 000C36F8 90 03 00 00 */ stw r0, 0(r3) +/* 800C679C 000C36FC 80 03 00 00 */ lwz r0, 0(r3) +/* 800C67A0 000C3700 7C 09 03 A6 */ mtctr r0 +/* 800C67A4 000C3704 2C 00 00 00 */ cmpwi r0, 0 +/* 800C67A8 000C3708 40 81 00 20 */ ble lbl_800C67C8 +lbl_800C67AC: +/* 800C67AC 000C370C 28 04 00 00 */ cmplwi r4, 0 +/* 800C67B0 000C3710 41 82 00 0C */ beq lbl_800C67BC +/* 800C67B4 000C3714 C0 05 00 00 */ lfs f0, 0(r5) +/* 800C67B8 000C3718 D0 04 00 00 */ stfs f0, 0(r4) +lbl_800C67BC: +/* 800C67BC 000C371C 38 84 00 04 */ addi r4, r4, 4 +/* 800C67C0 000C3720 38 A5 00 04 */ addi r5, r5, 4 +/* 800C67C4 000C3724 42 00 FF E8 */ bdnz lbl_800C67AC +lbl_800C67C8: +/* 800C67C8 000C3728 80 61 01 84 */ lwz r3, 0x184(r1) +/* 800C67CC 000C372C 38 63 00 01 */ addi r3, r3, 1 +/* 800C67D0 000C3730 1C 03 00 3C */ mulli r0, r3, 0x3c +/* 800C67D4 000C3734 90 61 01 84 */ stw r3, 0x184(r1) +/* 800C67D8 000C3738 7C 77 02 15 */ add. r3, r23, r0 +/* 800C67DC 000C373C 41 82 00 40 */ beq lbl_800C681C +/* 800C67E0 000C3740 80 01 00 C0 */ lwz r0, 0xc0(r1) +/* 800C67E4 000C3744 38 A1 00 C4 */ addi r5, r1, 0xc4 +/* 800C67E8 000C3748 38 83 00 04 */ addi r4, r3, 4 +/* 800C67EC 000C374C 90 03 00 00 */ stw r0, 0(r3) +/* 800C67F0 000C3750 80 03 00 00 */ lwz r0, 0(r3) +/* 800C67F4 000C3754 7C 09 03 A6 */ mtctr r0 +/* 800C67F8 000C3758 2C 00 00 00 */ cmpwi r0, 0 +/* 800C67FC 000C375C 40 81 00 20 */ ble lbl_800C681C +lbl_800C6800: +/* 800C6800 000C3760 28 04 00 00 */ cmplwi r4, 0 +/* 800C6804 000C3764 41 82 00 0C */ beq lbl_800C6810 +/* 800C6808 000C3768 C0 05 00 00 */ lfs f0, 0(r5) +/* 800C680C 000C376C D0 04 00 00 */ stfs f0, 0(r4) +lbl_800C6810: +/* 800C6810 000C3770 38 84 00 04 */ addi r4, r4, 4 +/* 800C6814 000C3774 38 A5 00 04 */ addi r5, r5, 4 +/* 800C6818 000C3778 42 00 FF E8 */ bdnz lbl_800C6800 +lbl_800C681C: +/* 800C681C 000C377C 80 61 01 84 */ lwz r3, 0x184(r1) +/* 800C6820 000C3780 38 63 00 01 */ addi r3, r3, 1 +/* 800C6824 000C3784 1C 03 00 3C */ mulli r0, r3, 0x3c +/* 800C6828 000C3788 90 61 01 84 */ stw r3, 0x184(r1) +/* 800C682C 000C378C 7C 77 02 15 */ add. r3, r23, r0 +/* 800C6830 000C3790 41 82 00 40 */ beq lbl_800C6870 +/* 800C6834 000C3794 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800C6838 000C3798 38 A1 00 88 */ addi r5, r1, 0x88 +/* 800C683C 000C379C 38 83 00 04 */ addi r4, r3, 4 +/* 800C6840 000C37A0 90 03 00 00 */ stw r0, 0(r3) +/* 800C6844 000C37A4 80 03 00 00 */ lwz r0, 0(r3) +/* 800C6848 000C37A8 7C 09 03 A6 */ mtctr r0 +/* 800C684C 000C37AC 2C 00 00 00 */ cmpwi r0, 0 +/* 800C6850 000C37B0 40 81 00 20 */ ble lbl_800C6870 +lbl_800C6854: +/* 800C6854 000C37B4 28 04 00 00 */ cmplwi r4, 0 +/* 800C6858 000C37B8 41 82 00 0C */ beq lbl_800C6864 +/* 800C685C 000C37BC C0 05 00 00 */ lfs f0, 0(r5) +/* 800C6860 000C37C0 D0 04 00 00 */ stfs f0, 0(r4) +lbl_800C6864: +/* 800C6864 000C37C4 38 84 00 04 */ addi r4, r4, 4 +/* 800C6868 000C37C8 38 A5 00 04 */ addi r5, r5, 4 +/* 800C686C 000C37CC 42 00 FF E8 */ bdnz lbl_800C6854 +lbl_800C6870: +/* 800C6870 000C37D0 80 61 01 84 */ lwz r3, 0x184(r1) +/* 800C6874 000C37D4 38 63 00 01 */ addi r3, r3, 1 +/* 800C6878 000C37D8 1C 03 00 3C */ mulli r0, r3, 0x3c +/* 800C687C 000C37DC 90 61 01 84 */ stw r3, 0x184(r1) +/* 800C6880 000C37E0 7C 77 02 15 */ add. r3, r23, r0 +/* 800C6884 000C37E4 41 82 00 40 */ beq lbl_800C68C4 +/* 800C6888 000C37E8 80 01 00 48 */ lwz r0, 0x48(r1) +/* 800C688C 000C37EC 38 A1 00 4C */ addi r5, r1, 0x4c +/* 800C6890 000C37F0 38 83 00 04 */ addi r4, r3, 4 +/* 800C6894 000C37F4 90 03 00 00 */ stw r0, 0(r3) +/* 800C6898 000C37F8 80 03 00 00 */ lwz r0, 0(r3) +/* 800C689C 000C37FC 7C 09 03 A6 */ mtctr r0 +/* 800C68A0 000C3800 2C 00 00 00 */ cmpwi r0, 0 +/* 800C68A4 000C3804 40 81 00 20 */ ble lbl_800C68C4 +lbl_800C68A8: +/* 800C68A8 000C3808 28 04 00 00 */ cmplwi r4, 0 +/* 800C68AC 000C380C 41 82 00 0C */ beq lbl_800C68B8 +/* 800C68B0 000C3810 C0 05 00 00 */ lfs f0, 0(r5) +/* 800C68B4 000C3814 D0 04 00 00 */ stfs f0, 0(r4) +lbl_800C68B8: +/* 800C68B8 000C3818 38 84 00 04 */ addi r4, r4, 4 +/* 800C68BC 000C381C 38 A5 00 04 */ addi r5, r5, 4 +/* 800C68C0 000C3820 42 00 FF E8 */ bdnz lbl_800C68A8 +lbl_800C68C4: +/* 800C68C4 000C3824 80 81 01 84 */ lwz r4, 0x184(r1) +/* 800C68C8 000C3828 7F 03 C3 78 */ mr r3, r24 +/* 800C68CC 000C382C 38 04 00 01 */ addi r0, r4, 1 +/* 800C68D0 000C3830 90 01 01 84 */ stw r0, 0x184(r1) +/* 800C68D4 000C3834 48 27 83 B1 */ bl ReadLong__12CInputStreamFv +/* 800C68D8 000C3838 7C 7E 1B 78 */ mr r30, r3 +/* 800C68DC 000C383C 7F 03 C3 78 */ mr r3, r24 +/* 800C68E0 000C3840 48 27 83 A5 */ bl ReadLong__12CInputStreamFv +/* 800C68E4 000C3844 7C 7F 1B 78 */ mr r31, r3 +/* 800C68E8 000C3848 7F 04 C3 78 */ mr r4, r24 +/* 800C68EC 000C384C 38 61 02 78 */ addi r3, r1, 0x278 +/* 800C68F0 000C3850 48 1B AE A1 */ bl __ct__19SPrimeExoParametersFR12CInputStream +/* 800C68F4 000C3854 80 61 03 68 */ lwz r3, 0x368(r1) +/* 800C68F8 000C3858 3C 03 00 01 */ addis r0, r3, 1 +/* 800C68FC 000C385C 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C6900 000C3860 40 82 01 E8 */ bne lbl_800C6AE8 +/* 800C6904 000C3864 38 61 02 78 */ addi r3, r1, 0x278 +/* 800C6908 000C3868 38 80 FF FF */ li r4, -1 +/* 800C690C 000C386C 48 00 04 81 */ bl sub_800c6d8c +/* 800C6910 000C3870 38 60 00 00 */ li r3, 0 +/* 800C6914 000C3874 48 00 00 70 */ b lbl_800C6984 +lbl_800C6918: +/* 800C6918 000C3878 28 17 00 00 */ cmplwi r23, 0 +/* 800C691C 000C387C 41 82 00 60 */ beq lbl_800C697C +/* 800C6920 000C3880 41 82 00 5C */ beq lbl_800C697C +/* 800C6924 000C3884 80 D7 00 00 */ lwz r6, 0(r23) +/* 800C6928 000C3888 38 80 00 00 */ li r4, 0 +/* 800C692C 000C388C 2C 06 00 00 */ cmpwi r6, 0 +/* 800C6930 000C3890 40 81 00 44 */ ble lbl_800C6974 +/* 800C6934 000C3894 2C 06 00 08 */ cmpwi r6, 8 +/* 800C6938 000C3898 38 A6 FF F8 */ addi r5, r6, -8 +/* 800C693C 000C389C 40 81 00 20 */ ble lbl_800C695C +/* 800C6940 000C38A0 38 05 00 07 */ addi r0, r5, 7 +/* 800C6944 000C38A4 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C6948 000C38A8 7C 09 03 A6 */ mtctr r0 +/* 800C694C 000C38AC 2C 05 00 00 */ cmpwi r5, 0 +/* 800C6950 000C38B0 40 81 00 0C */ ble lbl_800C695C +lbl_800C6954: +/* 800C6954 000C38B4 38 84 00 08 */ addi r4, r4, 8 +/* 800C6958 000C38B8 42 00 FF FC */ bdnz lbl_800C6954 +lbl_800C695C: +/* 800C695C 000C38BC 7C 04 30 50 */ subf r0, r4, r6 +/* 800C6960 000C38C0 7C 09 03 A6 */ mtctr r0 +/* 800C6964 000C38C4 7C 04 30 00 */ cmpw r4, r6 +/* 800C6968 000C38C8 40 80 00 0C */ bge lbl_800C6974 +lbl_800C696C: +/* 800C696C 000C38CC 38 84 00 01 */ addi r4, r4, 1 +/* 800C6970 000C38D0 42 00 FF FC */ bdnz lbl_800C696C +lbl_800C6974: +/* 800C6974 000C38D4 38 00 00 00 */ li r0, 0 +/* 800C6978 000C38D8 90 17 00 00 */ stw r0, 0(r23) +lbl_800C697C: +/* 800C697C 000C38DC 3A F7 00 3C */ addi r23, r23, 0x3c +/* 800C6980 000C38E0 38 63 00 01 */ addi r3, r3, 1 +lbl_800C6984: +/* 800C6984 000C38E4 80 01 01 84 */ lwz r0, 0x184(r1) +/* 800C6988 000C38E8 7C 03 00 00 */ cmpw r3, r0 +/* 800C698C 000C38EC 41 80 FF 8C */ blt lbl_800C6918 +/* 800C6990 000C38F0 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 800C6994 000C38F4 38 60 00 00 */ li r3, 0 +/* 800C6998 000C38F8 90 61 01 84 */ stw r3, 0x184(r1) +/* 800C699C 000C38FC 2C 05 00 00 */ cmpwi r5, 0 +/* 800C69A0 000C3900 40 81 00 40 */ ble lbl_800C69E0 +/* 800C69A4 000C3904 2C 05 00 08 */ cmpwi r5, 8 +/* 800C69A8 000C3908 38 85 FF F8 */ addi r4, r5, -8 +/* 800C69AC 000C390C 40 81 00 20 */ ble lbl_800C69CC +/* 800C69B0 000C3910 38 04 00 07 */ addi r0, r4, 7 +/* 800C69B4 000C3914 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C69B8 000C3918 7C 09 03 A6 */ mtctr r0 +/* 800C69BC 000C391C 2C 04 00 00 */ cmpwi r4, 0 +/* 800C69C0 000C3920 40 81 00 0C */ ble lbl_800C69CC +lbl_800C69C4: +/* 800C69C4 000C3924 38 63 00 08 */ addi r3, r3, 8 +/* 800C69C8 000C3928 42 00 FF FC */ bdnz lbl_800C69C4 +lbl_800C69CC: +/* 800C69CC 000C392C 7C 03 28 50 */ subf r0, r3, r5 +/* 800C69D0 000C3930 7C 09 03 A6 */ mtctr r0 +/* 800C69D4 000C3934 7C 03 28 00 */ cmpw r3, r5 +/* 800C69D8 000C3938 40 80 00 08 */ bge lbl_800C69E0 +lbl_800C69DC: +/* 800C69DC 000C393C 42 00 00 00 */ bdnz lbl_800C69DC +lbl_800C69E0: +/* 800C69E0 000C3940 80 A1 00 84 */ lwz r5, 0x84(r1) +/* 800C69E4 000C3944 38 60 00 00 */ li r3, 0 +/* 800C69E8 000C3948 90 61 00 48 */ stw r3, 0x48(r1) +/* 800C69EC 000C394C 2C 05 00 00 */ cmpwi r5, 0 +/* 800C69F0 000C3950 40 81 00 40 */ ble lbl_800C6A30 +/* 800C69F4 000C3954 2C 05 00 08 */ cmpwi r5, 8 +/* 800C69F8 000C3958 38 85 FF F8 */ addi r4, r5, -8 +/* 800C69FC 000C395C 40 81 00 20 */ ble lbl_800C6A1C +/* 800C6A00 000C3960 38 04 00 07 */ addi r0, r4, 7 +/* 800C6A04 000C3964 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C6A08 000C3968 7C 09 03 A6 */ mtctr r0 +/* 800C6A0C 000C396C 2C 04 00 00 */ cmpwi r4, 0 +/* 800C6A10 000C3970 40 81 00 0C */ ble lbl_800C6A1C +lbl_800C6A14: +/* 800C6A14 000C3974 38 63 00 08 */ addi r3, r3, 8 +/* 800C6A18 000C3978 42 00 FF FC */ bdnz lbl_800C6A14 +lbl_800C6A1C: +/* 800C6A1C 000C397C 7C 03 28 50 */ subf r0, r3, r5 +/* 800C6A20 000C3980 7C 09 03 A6 */ mtctr r0 +/* 800C6A24 000C3984 7C 03 28 00 */ cmpw r3, r5 +/* 800C6A28 000C3988 40 80 00 08 */ bge lbl_800C6A30 +lbl_800C6A2C: +/* 800C6A2C 000C398C 42 00 00 00 */ bdnz lbl_800C6A2C +lbl_800C6A30: +/* 800C6A30 000C3990 80 A1 00 C0 */ lwz r5, 0xc0(r1) +/* 800C6A34 000C3994 38 60 00 00 */ li r3, 0 +/* 800C6A38 000C3998 90 61 00 84 */ stw r3, 0x84(r1) +/* 800C6A3C 000C399C 2C 05 00 00 */ cmpwi r5, 0 +/* 800C6A40 000C39A0 40 81 00 40 */ ble lbl_800C6A80 +/* 800C6A44 000C39A4 2C 05 00 08 */ cmpwi r5, 8 +/* 800C6A48 000C39A8 38 85 FF F8 */ addi r4, r5, -8 +/* 800C6A4C 000C39AC 40 81 00 20 */ ble lbl_800C6A6C +/* 800C6A50 000C39B0 38 04 00 07 */ addi r0, r4, 7 +/* 800C6A54 000C39B4 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C6A58 000C39B8 7C 09 03 A6 */ mtctr r0 +/* 800C6A5C 000C39BC 2C 04 00 00 */ cmpwi r4, 0 +/* 800C6A60 000C39C0 40 81 00 0C */ ble lbl_800C6A6C +lbl_800C6A64: +/* 800C6A64 000C39C4 38 63 00 08 */ addi r3, r3, 8 +/* 800C6A68 000C39C8 42 00 FF FC */ bdnz lbl_800C6A64 +lbl_800C6A6C: +/* 800C6A6C 000C39CC 7C 03 28 50 */ subf r0, r3, r5 +/* 800C6A70 000C39D0 7C 09 03 A6 */ mtctr r0 +/* 800C6A74 000C39D4 7C 03 28 00 */ cmpw r3, r5 +/* 800C6A78 000C39D8 40 80 00 08 */ bge lbl_800C6A80 +lbl_800C6A7C: +/* 800C6A7C 000C39DC 42 00 00 00 */ bdnz lbl_800C6A7C +lbl_800C6A80: +/* 800C6A80 000C39E0 80 A1 00 FC */ lwz r5, 0xfc(r1) +/* 800C6A84 000C39E4 38 60 00 00 */ li r3, 0 +/* 800C6A88 000C39E8 90 61 00 C0 */ stw r3, 0xc0(r1) +/* 800C6A8C 000C39EC 2C 05 00 00 */ cmpwi r5, 0 +/* 800C6A90 000C39F0 40 81 00 40 */ ble lbl_800C6AD0 +/* 800C6A94 000C39F4 2C 05 00 08 */ cmpwi r5, 8 +/* 800C6A98 000C39F8 38 85 FF F8 */ addi r4, r5, -8 +/* 800C6A9C 000C39FC 40 81 00 20 */ ble lbl_800C6ABC +/* 800C6AA0 000C3A00 38 04 00 07 */ addi r0, r4, 7 +/* 800C6AA4 000C3A04 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C6AA8 000C3A08 7C 09 03 A6 */ mtctr r0 +/* 800C6AAC 000C3A0C 2C 04 00 00 */ cmpwi r4, 0 +/* 800C6AB0 000C3A10 40 81 00 0C */ ble lbl_800C6ABC +lbl_800C6AB4: +/* 800C6AB4 000C3A14 38 63 00 08 */ addi r3, r3, 8 +/* 800C6AB8 000C3A18 42 00 FF FC */ bdnz lbl_800C6AB4 +lbl_800C6ABC: +/* 800C6ABC 000C3A1C 7C 03 28 50 */ subf r0, r3, r5 +/* 800C6AC0 000C3A20 7C 09 03 A6 */ mtctr r0 +/* 800C6AC4 000C3A24 7C 03 28 00 */ cmpw r3, r5 +/* 800C6AC8 000C3A28 40 80 00 08 */ bge lbl_800C6AD0 +lbl_800C6ACC: +/* 800C6ACC 000C3A2C 42 00 00 00 */ bdnz lbl_800C6ACC +lbl_800C6AD0: +/* 800C6AD0 000C3A30 38 00 00 00 */ li r0, 0 +/* 800C6AD4 000C3A34 38 61 01 38 */ addi r3, r1, 0x138 +/* 800C6AD8 000C3A38 90 01 00 FC */ stw r0, 0xfc(r1) +/* 800C6ADC 000C3A3C 48 27 70 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C6AE0 000C3A40 38 60 00 00 */ li r3, 0 +/* 800C6AE4 000C3A44 48 00 02 7C */ b lbl_800C6D60 +lbl_800C6AE8: +/* 800C6AE8 000C3A48 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C6AEC 000C3A4C 38 60 0D AC */ li r3, 0xdac +/* 800C6AF0 000C3A50 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800C6AF4 000C3A54 38 A0 00 00 */ li r5, 0 +/* 800C6AF8 000C3A58 38 84 00 0D */ addi r4, r4, 0xd +/* 800C6AFC 000C3A5C 48 24 ED 71 */ bl __nw__FUlPCcPCc +/* 800C6B00 000C3A60 7C 78 1B 79 */ or. r24, r3, r3 +/* 800C6B04 000C3A64 41 82 00 7C */ beq lbl_800C6B80 +/* 800C6B08 000C3A68 7E A4 AB 78 */ mr r4, r21 +/* 800C6B0C 000C3A6C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C6B10 000C3A70 4B F8 65 CD */ bl AllocateUniqueId__13CStateManagerFv +/* 800C6B14 000C3A74 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 800C6B18 000C3A78 39 41 00 40 */ addi r10, r1, 0x40 +/* 800C6B1C 000C3A7C 39 61 00 38 */ addi r11, r1, 0x38 +/* 800C6B20 000C3A80 FC 20 F8 90 */ fmr f1, f31 +/* 800C6B24 000C3A84 B0 01 00 34 */ sth r0, 0x34(r1) +/* 800C6B28 000C3A88 FC 40 F0 90 */ fmr f2, f30 +/* 800C6B2C 000C3A8C FC 60 E8 90 */ fmr f3, f29 +/* 800C6B30 000C3A90 38 01 01 84 */ addi r0, r1, 0x184 +/* 800C6B34 000C3A94 93 41 00 08 */ stw r26, 8(r1) +/* 800C6B38 000C3A98 7F 03 C3 78 */ mr r3, r24 +/* 800C6B3C 000C3A9C 7E C6 B3 78 */ mr r6, r22 +/* 800C6B40 000C3AA0 93 61 00 0C */ stw r27, 0xc(r1) +/* 800C6B44 000C3AA4 7F 27 CB 78 */ mr r7, r25 +/* 800C6B48 000C3AA8 38 81 00 34 */ addi r4, r1, 0x34 +/* 800C6B4C 000C3AAC 93 81 00 10 */ stw r28, 0x10(r1) +/* 800C6B50 000C3AB0 38 A1 01 38 */ addi r5, r1, 0x138 +/* 800C6B54 000C3AB4 39 01 01 48 */ addi r8, r1, 0x148 +/* 800C6B58 000C3AB8 39 21 01 78 */ addi r9, r1, 0x178 +/* 800C6B5C 000C3ABC 91 41 00 14 */ stw r10, 0x14(r1) +/* 800C6B60 000C3AC0 39 41 02 78 */ addi r10, r1, 0x278 +/* 800C6B64 000C3AC4 91 61 00 18 */ stw r11, 0x18(r1) +/* 800C6B68 000C3AC8 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 800C6B6C 000C3ACC 93 C1 00 20 */ stw r30, 0x20(r1) +/* 800C6B70 000C3AD0 93 E1 00 24 */ stw r31, 0x24(r1) +/* 800C6B74 000C3AD4 90 01 00 28 */ stw r0, 0x28(r1) +/* 800C6B78 000C3AD8 48 1B 9D ED */ bl "__ct__18CMetroidPrimeRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RC11CEntityInfobRC12CTransform4fRC9CVector3fRC14SPrimeExoParmsibiRC11CHealthInfoRC11CHealthInfoiiiQ24rstl44reserved_vector<23SPrimeExoRoomParameters,4>" +/* 800C6B7C 000C3ADC 7C 78 1B 78 */ mr r24, r3 +lbl_800C6B80: +/* 800C6B80 000C3AE0 38 61 02 78 */ addi r3, r1, 0x278 +/* 800C6B84 000C3AE4 38 80 FF FF */ li r4, -1 +/* 800C6B88 000C3AE8 48 00 02 05 */ bl sub_800c6d8c +/* 800C6B8C 000C3AEC 38 60 00 00 */ li r3, 0 +/* 800C6B90 000C3AF0 48 00 00 70 */ b lbl_800C6C00 +lbl_800C6B94: +/* 800C6B94 000C3AF4 28 17 00 00 */ cmplwi r23, 0 +/* 800C6B98 000C3AF8 41 82 00 60 */ beq lbl_800C6BF8 +/* 800C6B9C 000C3AFC 41 82 00 5C */ beq lbl_800C6BF8 +/* 800C6BA0 000C3B00 80 D7 00 00 */ lwz r6, 0(r23) +/* 800C6BA4 000C3B04 38 80 00 00 */ li r4, 0 +/* 800C6BA8 000C3B08 2C 06 00 00 */ cmpwi r6, 0 +/* 800C6BAC 000C3B0C 40 81 00 44 */ ble lbl_800C6BF0 +/* 800C6BB0 000C3B10 2C 06 00 08 */ cmpwi r6, 8 +/* 800C6BB4 000C3B14 38 A6 FF F8 */ addi r5, r6, -8 +/* 800C6BB8 000C3B18 40 81 00 20 */ ble lbl_800C6BD8 +/* 800C6BBC 000C3B1C 38 05 00 07 */ addi r0, r5, 7 +/* 800C6BC0 000C3B20 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C6BC4 000C3B24 7C 09 03 A6 */ mtctr r0 +/* 800C6BC8 000C3B28 2C 05 00 00 */ cmpwi r5, 0 +/* 800C6BCC 000C3B2C 40 81 00 0C */ ble lbl_800C6BD8 +lbl_800C6BD0: +/* 800C6BD0 000C3B30 38 84 00 08 */ addi r4, r4, 8 +/* 800C6BD4 000C3B34 42 00 FF FC */ bdnz lbl_800C6BD0 +lbl_800C6BD8: +/* 800C6BD8 000C3B38 7C 04 30 50 */ subf r0, r4, r6 +/* 800C6BDC 000C3B3C 7C 09 03 A6 */ mtctr r0 +/* 800C6BE0 000C3B40 7C 04 30 00 */ cmpw r4, r6 +/* 800C6BE4 000C3B44 40 80 00 0C */ bge lbl_800C6BF0 +lbl_800C6BE8: +/* 800C6BE8 000C3B48 38 84 00 01 */ addi r4, r4, 1 +/* 800C6BEC 000C3B4C 42 00 FF FC */ bdnz lbl_800C6BE8 +lbl_800C6BF0: +/* 800C6BF0 000C3B50 38 00 00 00 */ li r0, 0 +/* 800C6BF4 000C3B54 90 17 00 00 */ stw r0, 0(r23) +lbl_800C6BF8: +/* 800C6BF8 000C3B58 3A F7 00 3C */ addi r23, r23, 0x3c +/* 800C6BFC 000C3B5C 38 63 00 01 */ addi r3, r3, 1 +lbl_800C6C00: +/* 800C6C00 000C3B60 80 01 01 84 */ lwz r0, 0x184(r1) +/* 800C6C04 000C3B64 7C 03 00 00 */ cmpw r3, r0 +/* 800C6C08 000C3B68 41 80 FF 8C */ blt lbl_800C6B94 +/* 800C6C0C 000C3B6C 80 A1 00 48 */ lwz r5, 0x48(r1) +/* 800C6C10 000C3B70 38 60 00 00 */ li r3, 0 +/* 800C6C14 000C3B74 90 61 01 84 */ stw r3, 0x184(r1) +/* 800C6C18 000C3B78 2C 05 00 00 */ cmpwi r5, 0 +/* 800C6C1C 000C3B7C 40 81 00 40 */ ble lbl_800C6C5C +/* 800C6C20 000C3B80 2C 05 00 08 */ cmpwi r5, 8 +/* 800C6C24 000C3B84 38 85 FF F8 */ addi r4, r5, -8 +/* 800C6C28 000C3B88 40 81 00 20 */ ble lbl_800C6C48 +/* 800C6C2C 000C3B8C 38 04 00 07 */ addi r0, r4, 7 +/* 800C6C30 000C3B90 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C6C34 000C3B94 7C 09 03 A6 */ mtctr r0 +/* 800C6C38 000C3B98 2C 04 00 00 */ cmpwi r4, 0 +/* 800C6C3C 000C3B9C 40 81 00 0C */ ble lbl_800C6C48 +lbl_800C6C40: +/* 800C6C40 000C3BA0 38 63 00 08 */ addi r3, r3, 8 +/* 800C6C44 000C3BA4 42 00 FF FC */ bdnz lbl_800C6C40 +lbl_800C6C48: +/* 800C6C48 000C3BA8 7C 03 28 50 */ subf r0, r3, r5 +/* 800C6C4C 000C3BAC 7C 09 03 A6 */ mtctr r0 +/* 800C6C50 000C3BB0 7C 03 28 00 */ cmpw r3, r5 +/* 800C6C54 000C3BB4 40 80 00 08 */ bge lbl_800C6C5C +lbl_800C6C58: +/* 800C6C58 000C3BB8 42 00 00 00 */ bdnz lbl_800C6C58 +lbl_800C6C5C: +/* 800C6C5C 000C3BBC 80 A1 00 84 */ lwz r5, 0x84(r1) +/* 800C6C60 000C3BC0 38 60 00 00 */ li r3, 0 +/* 800C6C64 000C3BC4 90 61 00 48 */ stw r3, 0x48(r1) +/* 800C6C68 000C3BC8 2C 05 00 00 */ cmpwi r5, 0 +/* 800C6C6C 000C3BCC 40 81 00 40 */ ble lbl_800C6CAC +/* 800C6C70 000C3BD0 2C 05 00 08 */ cmpwi r5, 8 +/* 800C6C74 000C3BD4 38 85 FF F8 */ addi r4, r5, -8 +/* 800C6C78 000C3BD8 40 81 00 20 */ ble lbl_800C6C98 +/* 800C6C7C 000C3BDC 38 04 00 07 */ addi r0, r4, 7 +/* 800C6C80 000C3BE0 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C6C84 000C3BE4 7C 09 03 A6 */ mtctr r0 +/* 800C6C88 000C3BE8 2C 04 00 00 */ cmpwi r4, 0 +/* 800C6C8C 000C3BEC 40 81 00 0C */ ble lbl_800C6C98 +lbl_800C6C90: +/* 800C6C90 000C3BF0 38 63 00 08 */ addi r3, r3, 8 +/* 800C6C94 000C3BF4 42 00 FF FC */ bdnz lbl_800C6C90 +lbl_800C6C98: +/* 800C6C98 000C3BF8 7C 03 28 50 */ subf r0, r3, r5 +/* 800C6C9C 000C3BFC 7C 09 03 A6 */ mtctr r0 +/* 800C6CA0 000C3C00 7C 03 28 00 */ cmpw r3, r5 +/* 800C6CA4 000C3C04 40 80 00 08 */ bge lbl_800C6CAC +lbl_800C6CA8: +/* 800C6CA8 000C3C08 42 00 00 00 */ bdnz lbl_800C6CA8 +lbl_800C6CAC: +/* 800C6CAC 000C3C0C 80 A1 00 C0 */ lwz r5, 0xc0(r1) +/* 800C6CB0 000C3C10 38 60 00 00 */ li r3, 0 +/* 800C6CB4 000C3C14 90 61 00 84 */ stw r3, 0x84(r1) +/* 800C6CB8 000C3C18 2C 05 00 00 */ cmpwi r5, 0 +/* 800C6CBC 000C3C1C 40 81 00 40 */ ble lbl_800C6CFC +/* 800C6CC0 000C3C20 2C 05 00 08 */ cmpwi r5, 8 +/* 800C6CC4 000C3C24 38 85 FF F8 */ addi r4, r5, -8 +/* 800C6CC8 000C3C28 40 81 00 20 */ ble lbl_800C6CE8 +/* 800C6CCC 000C3C2C 38 04 00 07 */ addi r0, r4, 7 +/* 800C6CD0 000C3C30 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C6CD4 000C3C34 7C 09 03 A6 */ mtctr r0 +/* 800C6CD8 000C3C38 2C 04 00 00 */ cmpwi r4, 0 +/* 800C6CDC 000C3C3C 40 81 00 0C */ ble lbl_800C6CE8 +lbl_800C6CE0: +/* 800C6CE0 000C3C40 38 63 00 08 */ addi r3, r3, 8 +/* 800C6CE4 000C3C44 42 00 FF FC */ bdnz lbl_800C6CE0 +lbl_800C6CE8: +/* 800C6CE8 000C3C48 7C 03 28 50 */ subf r0, r3, r5 +/* 800C6CEC 000C3C4C 7C 09 03 A6 */ mtctr r0 +/* 800C6CF0 000C3C50 7C 03 28 00 */ cmpw r3, r5 +/* 800C6CF4 000C3C54 40 80 00 08 */ bge lbl_800C6CFC +lbl_800C6CF8: +/* 800C6CF8 000C3C58 42 00 00 00 */ bdnz lbl_800C6CF8 +lbl_800C6CFC: +/* 800C6CFC 000C3C5C 80 A1 00 FC */ lwz r5, 0xfc(r1) +/* 800C6D00 000C3C60 38 60 00 00 */ li r3, 0 +/* 800C6D04 000C3C64 90 61 00 C0 */ stw r3, 0xc0(r1) +/* 800C6D08 000C3C68 2C 05 00 00 */ cmpwi r5, 0 +/* 800C6D0C 000C3C6C 40 81 00 40 */ ble lbl_800C6D4C +/* 800C6D10 000C3C70 2C 05 00 08 */ cmpwi r5, 8 +/* 800C6D14 000C3C74 38 85 FF F8 */ addi r4, r5, -8 +/* 800C6D18 000C3C78 40 81 00 20 */ ble lbl_800C6D38 +/* 800C6D1C 000C3C7C 38 04 00 07 */ addi r0, r4, 7 +/* 800C6D20 000C3C80 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C6D24 000C3C84 7C 09 03 A6 */ mtctr r0 +/* 800C6D28 000C3C88 2C 04 00 00 */ cmpwi r4, 0 +/* 800C6D2C 000C3C8C 40 81 00 0C */ ble lbl_800C6D38 +lbl_800C6D30: +/* 800C6D30 000C3C90 38 63 00 08 */ addi r3, r3, 8 +/* 800C6D34 000C3C94 42 00 FF FC */ bdnz lbl_800C6D30 +lbl_800C6D38: +/* 800C6D38 000C3C98 7C 03 28 50 */ subf r0, r3, r5 +/* 800C6D3C 000C3C9C 7C 09 03 A6 */ mtctr r0 +/* 800C6D40 000C3CA0 7C 03 28 00 */ cmpw r3, r5 +/* 800C6D44 000C3CA4 40 80 00 08 */ bge lbl_800C6D4C +lbl_800C6D48: +/* 800C6D48 000C3CA8 42 00 00 00 */ bdnz lbl_800C6D48 +lbl_800C6D4C: +/* 800C6D4C 000C3CAC 38 00 00 00 */ li r0, 0 +/* 800C6D50 000C3CB0 38 61 01 38 */ addi r3, r1, 0x138 +/* 800C6D54 000C3CB4 90 01 00 FC */ stw r0, 0xfc(r1) +/* 800C6D58 000C3CB8 48 27 6D 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C6D5C 000C3CBC 7F 03 C3 78 */ mr r3, r24 +lbl_800C6D60: +/* 800C6D60 000C3CC0 E3 E1 0E E8 */ psq_l f31, -280(r1), 0, qr0 +/* 800C6D64 000C3CC4 CB E1 0E E0 */ lfd f31, 0xee0(r1) +/* 800C6D68 000C3CC8 E3 C1 0E D8 */ psq_l f30, -296(r1), 0, qr0 +/* 800C6D6C 000C3CCC CB C1 0E D0 */ lfd f30, 0xed0(r1) +/* 800C6D70 000C3CD0 E3 A1 0E C8 */ psq_l f29, -312(r1), 0, qr0 +/* 800C6D74 000C3CD4 CB A1 0E C0 */ lfd f29, 0xec0(r1) +/* 800C6D78 000C3CD8 BA A1 0E 94 */ lmw r21, 0xe94(r1) +/* 800C6D7C 000C3CDC 80 01 0E F4 */ lwz r0, 0xef4(r1) +/* 800C6D80 000C3CE0 7C 08 03 A6 */ mtlr r0 +/* 800C6D84 000C3CE4 38 21 0E F0 */ addi r1, r1, 0xef0 +/* 800C6D88 000C3CE8 4E 80 00 20 */ blr + +.global sub_800c6d8c +sub_800c6d8c: +/* 800C6D8C 000C3CEC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C6D90 000C3CF0 7C 08 02 A6 */ mflr r0 +/* 800C6D94 000C3CF4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C6D98 000C3CF8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800C6D9C 000C3CFC 7C 9F 23 78 */ mr r31, r4 +/* 800C6DA0 000C3D00 93 C1 00 08 */ stw r30, 8(r1) +/* 800C6DA4 000C3D04 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800C6DA8 000C3D08 41 82 02 90 */ beq lbl_800C7038 +/* 800C6DAC 000C3D0C 34 1E 0A 2C */ addic. r0, r30, 0xa2c +/* 800C6DB0 000C3D10 41 82 00 58 */ beq lbl_800C6E08 +/* 800C6DB4 000C3D14 80 BE 0A 2C */ lwz r5, 0xa2c(r30) +/* 800C6DB8 000C3D18 38 60 00 00 */ li r3, 0 +/* 800C6DBC 000C3D1C 2C 05 00 00 */ cmpwi r5, 0 +/* 800C6DC0 000C3D20 40 81 00 40 */ ble lbl_800C6E00 +/* 800C6DC4 000C3D24 2C 05 00 08 */ cmpwi r5, 8 +/* 800C6DC8 000C3D28 38 85 FF F8 */ addi r4, r5, -8 +/* 800C6DCC 000C3D2C 40 81 00 20 */ ble lbl_800C6DEC +/* 800C6DD0 000C3D30 38 04 00 07 */ addi r0, r4, 7 +/* 800C6DD4 000C3D34 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C6DD8 000C3D38 7C 09 03 A6 */ mtctr r0 +/* 800C6DDC 000C3D3C 2C 04 00 00 */ cmpwi r4, 0 +/* 800C6DE0 000C3D40 40 81 00 0C */ ble lbl_800C6DEC +lbl_800C6DE4: +/* 800C6DE4 000C3D44 38 63 00 08 */ addi r3, r3, 8 +/* 800C6DE8 000C3D48 42 00 FF FC */ bdnz lbl_800C6DE4 +lbl_800C6DEC: +/* 800C6DEC 000C3D4C 7C 03 28 50 */ subf r0, r3, r5 +/* 800C6DF0 000C3D50 7C 09 03 A6 */ mtctr r0 +/* 800C6DF4 000C3D54 7C 03 28 00 */ cmpw r3, r5 +/* 800C6DF8 000C3D58 40 80 00 08 */ bge lbl_800C6E00 +lbl_800C6DFC: +/* 800C6DFC 000C3D5C 42 00 00 00 */ bdnz lbl_800C6DFC +lbl_800C6E00: +/* 800C6E00 000C3D60 38 00 00 00 */ li r0, 0 +/* 800C6E04 000C3D64 90 1E 0A 2C */ stw r0, 0xa2c(r30) +lbl_800C6E08: +/* 800C6E08 000C3D68 34 1E 09 48 */ addic. r0, r30, 0x948 +/* 800C6E0C 000C3D6C 41 82 00 40 */ beq lbl_800C6E4C +/* 800C6E10 000C3D70 34 1E 09 C8 */ addic. r0, r30, 0x9c8 +/* 800C6E14 000C3D74 41 82 00 10 */ beq lbl_800C6E24 +/* 800C6E18 000C3D78 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6E1C 000C3D7C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6E20 000C3D80 90 1E 09 C8 */ stw r0, 0x9c8(r30) +lbl_800C6E24: +/* 800C6E24 000C3D84 34 1E 09 8C */ addic. r0, r30, 0x98c +/* 800C6E28 000C3D88 41 82 00 10 */ beq lbl_800C6E38 +/* 800C6E2C 000C3D8C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6E30 000C3D90 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6E34 000C3D94 90 1E 09 8C */ stw r0, 0x98c(r30) +lbl_800C6E38: +/* 800C6E38 000C3D98 34 1E 09 50 */ addic. r0, r30, 0x950 +/* 800C6E3C 000C3D9C 41 82 00 10 */ beq lbl_800C6E4C +/* 800C6E40 000C3DA0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6E44 000C3DA4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6E48 000C3DA8 90 1E 09 50 */ stw r0, 0x950(r30) +lbl_800C6E4C: +/* 800C6E4C 000C3DAC 34 1E 08 F0 */ addic. r0, r30, 0x8f0 +/* 800C6E50 000C3DB0 41 82 00 14 */ beq lbl_800C6E64 +/* 800C6E54 000C3DB4 34 7E 08 F4 */ addic. r3, r30, 0x8f4 +/* 800C6E58 000C3DB8 41 82 00 0C */ beq lbl_800C6E64 +/* 800C6E5C 000C3DBC 38 80 00 00 */ li r4, 0 +/* 800C6E60 000C3DC0 48 27 9F E1 */ bl __dt__6CTokenFv +lbl_800C6E64: +/* 800C6E64 000C3DC4 34 1E 08 1C */ addic. r0, r30, 0x81c +/* 800C6E68 000C3DC8 41 82 00 40 */ beq lbl_800C6EA8 +/* 800C6E6C 000C3DCC 34 1E 08 9C */ addic. r0, r30, 0x89c +/* 800C6E70 000C3DD0 41 82 00 10 */ beq lbl_800C6E80 +/* 800C6E74 000C3DD4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6E78 000C3DD8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6E7C 000C3DDC 90 1E 08 9C */ stw r0, 0x89c(r30) +lbl_800C6E80: +/* 800C6E80 000C3DE0 34 1E 08 60 */ addic. r0, r30, 0x860 +/* 800C6E84 000C3DE4 41 82 00 10 */ beq lbl_800C6E94 +/* 800C6E88 000C3DE8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6E8C 000C3DEC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6E90 000C3DF0 90 1E 08 60 */ stw r0, 0x860(r30) +lbl_800C6E94: +/* 800C6E94 000C3DF4 34 1E 08 24 */ addic. r0, r30, 0x824 +/* 800C6E98 000C3DF8 41 82 00 10 */ beq lbl_800C6EA8 +/* 800C6E9C 000C3DFC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6EA0 000C3E00 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6EA4 000C3E04 90 1E 08 24 */ stw r0, 0x824(r30) +lbl_800C6EA8: +/* 800C6EA8 000C3E08 34 1E 07 28 */ addic. r0, r30, 0x728 +/* 800C6EAC 000C3E0C 41 82 00 40 */ beq lbl_800C6EEC +/* 800C6EB0 000C3E10 34 1E 07 A8 */ addic. r0, r30, 0x7a8 +/* 800C6EB4 000C3E14 41 82 00 10 */ beq lbl_800C6EC4 +/* 800C6EB8 000C3E18 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6EBC 000C3E1C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6EC0 000C3E20 90 1E 07 A8 */ stw r0, 0x7a8(r30) +lbl_800C6EC4: +/* 800C6EC4 000C3E24 34 1E 07 6C */ addic. r0, r30, 0x76c +/* 800C6EC8 000C3E28 41 82 00 10 */ beq lbl_800C6ED8 +/* 800C6ECC 000C3E2C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6ED0 000C3E30 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6ED4 000C3E34 90 1E 07 6C */ stw r0, 0x76c(r30) +lbl_800C6ED8: +/* 800C6ED8 000C3E38 34 1E 07 30 */ addic. r0, r30, 0x730 +/* 800C6EDC 000C3E3C 41 82 00 10 */ beq lbl_800C6EEC +/* 800C6EE0 000C3E40 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6EE4 000C3E44 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6EE8 000C3E48 90 1E 07 30 */ stw r0, 0x730(r30) +lbl_800C6EEC: +/* 800C6EEC 000C3E4C 34 1E 04 64 */ addic. r0, r30, 0x464 +/* 800C6EF0 000C3E50 41 82 00 58 */ beq lbl_800C6F48 +/* 800C6EF4 000C3E54 80 BE 04 64 */ lwz r5, 0x464(r30) +/* 800C6EF8 000C3E58 38 60 00 00 */ li r3, 0 +/* 800C6EFC 000C3E5C 2C 05 00 00 */ cmpwi r5, 0 +/* 800C6F00 000C3E60 40 81 00 40 */ ble lbl_800C6F40 +/* 800C6F04 000C3E64 2C 05 00 08 */ cmpwi r5, 8 +/* 800C6F08 000C3E68 38 85 FF F8 */ addi r4, r5, -8 +/* 800C6F0C 000C3E6C 40 81 00 20 */ ble lbl_800C6F2C +/* 800C6F10 000C3E70 38 04 00 07 */ addi r0, r4, 7 +/* 800C6F14 000C3E74 54 00 E8 FE */ srwi r0, r0, 3 +/* 800C6F18 000C3E78 7C 09 03 A6 */ mtctr r0 +/* 800C6F1C 000C3E7C 2C 04 00 00 */ cmpwi r4, 0 +/* 800C6F20 000C3E80 40 81 00 0C */ ble lbl_800C6F2C +lbl_800C6F24: +/* 800C6F24 000C3E84 38 63 00 08 */ addi r3, r3, 8 +/* 800C6F28 000C3E88 42 00 FF FC */ bdnz lbl_800C6F24 +lbl_800C6F2C: +/* 800C6F2C 000C3E8C 7C 03 28 50 */ subf r0, r3, r5 +/* 800C6F30 000C3E90 7C 09 03 A6 */ mtctr r0 +/* 800C6F34 000C3E94 7C 03 28 00 */ cmpw r3, r5 +/* 800C6F38 000C3E98 40 80 00 08 */ bge lbl_800C6F40 +lbl_800C6F3C: +/* 800C6F3C 000C3E9C 42 00 00 00 */ bdnz lbl_800C6F3C +lbl_800C6F40: +/* 800C6F40 000C3EA0 38 00 00 00 */ li r0, 0 +/* 800C6F44 000C3EA4 90 1E 04 64 */ stw r0, 0x464(r30) +lbl_800C6F48: +/* 800C6F48 000C3EA8 34 1E 03 50 */ addic. r0, r30, 0x350 +/* 800C6F4C 000C3EAC 41 82 00 40 */ beq lbl_800C6F8C +/* 800C6F50 000C3EB0 34 1E 03 D0 */ addic. r0, r30, 0x3d0 +/* 800C6F54 000C3EB4 41 82 00 10 */ beq lbl_800C6F64 +/* 800C6F58 000C3EB8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6F5C 000C3EBC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6F60 000C3EC0 90 1E 03 D0 */ stw r0, 0x3d0(r30) +lbl_800C6F64: +/* 800C6F64 000C3EC4 34 1E 03 94 */ addic. r0, r30, 0x394 +/* 800C6F68 000C3EC8 41 82 00 10 */ beq lbl_800C6F78 +/* 800C6F6C 000C3ECC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6F70 000C3ED0 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6F74 000C3ED4 90 1E 03 94 */ stw r0, 0x394(r30) +lbl_800C6F78: +/* 800C6F78 000C3ED8 34 1E 03 58 */ addic. r0, r30, 0x358 +/* 800C6F7C 000C3EDC 41 82 00 10 */ beq lbl_800C6F8C +/* 800C6F80 000C3EE0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6F84 000C3EE4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6F88 000C3EE8 90 1E 03 58 */ stw r0, 0x358(r30) +lbl_800C6F8C: +/* 800C6F8C 000C3EEC 34 1E 02 7C */ addic. r0, r30, 0x27c +/* 800C6F90 000C3EF0 41 82 00 40 */ beq lbl_800C6FD0 +/* 800C6F94 000C3EF4 34 1E 02 FC */ addic. r0, r30, 0x2fc +/* 800C6F98 000C3EF8 41 82 00 10 */ beq lbl_800C6FA8 +/* 800C6F9C 000C3EFC 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6FA0 000C3F00 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6FA4 000C3F04 90 1E 02 FC */ stw r0, 0x2fc(r30) +lbl_800C6FA8: +/* 800C6FA8 000C3F08 34 1E 02 C0 */ addic. r0, r30, 0x2c0 +/* 800C6FAC 000C3F0C 41 82 00 10 */ beq lbl_800C6FBC +/* 800C6FB0 000C3F10 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6FB4 000C3F14 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6FB8 000C3F18 90 1E 02 C0 */ stw r0, 0x2c0(r30) +lbl_800C6FBC: +/* 800C6FBC 000C3F1C 34 1E 02 84 */ addic. r0, r30, 0x284 +/* 800C6FC0 000C3F20 41 82 00 10 */ beq lbl_800C6FD0 +/* 800C6FC4 000C3F24 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6FC8 000C3F28 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6FCC 000C3F2C 90 1E 02 84 */ stw r0, 0x284(r30) +lbl_800C6FD0: +/* 800C6FD0 000C3F30 34 1E 01 A8 */ addic. r0, r30, 0x1a8 +/* 800C6FD4 000C3F34 41 82 00 40 */ beq lbl_800C7014 +/* 800C6FD8 000C3F38 34 1E 02 28 */ addic. r0, r30, 0x228 +/* 800C6FDC 000C3F3C 41 82 00 10 */ beq lbl_800C6FEC +/* 800C6FE0 000C3F40 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6FE4 000C3F44 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6FE8 000C3F48 90 1E 02 28 */ stw r0, 0x228(r30) +lbl_800C6FEC: +/* 800C6FEC 000C3F4C 34 1E 01 EC */ addic. r0, r30, 0x1ec +/* 800C6FF0 000C3F50 41 82 00 10 */ beq lbl_800C7000 +/* 800C6FF4 000C3F54 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C6FF8 000C3F58 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C6FFC 000C3F5C 90 1E 01 EC */ stw r0, 0x1ec(r30) +lbl_800C7000: +/* 800C7000 000C3F60 34 1E 01 B0 */ addic. r0, r30, 0x1b0 +/* 800C7004 000C3F64 41 82 00 10 */ beq lbl_800C7014 +/* 800C7008 000C3F68 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800C700C 000C3F6C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800C7010 000C3F70 90 1E 01 B0 */ stw r0, 0x1b0(r30) +lbl_800C7014: +/* 800C7014 000C3F74 34 1E 01 3C */ addic. r0, r30, 0x13c +/* 800C7018 000C3F78 41 82 00 10 */ beq lbl_800C7028 +/* 800C701C 000C3F7C 38 7E 01 3C */ addi r3, r30, 0x13c +/* 800C7020 000C3F80 38 80 FF FF */ li r4, -1 +/* 800C7024 000C3F84 48 03 F5 E5 */ bl __dt__16CActorParametersFv +lbl_800C7028: +/* 800C7028 000C3F88 7F E0 07 35 */ extsh. r0, r31 +/* 800C702C 000C3F8C 40 81 00 0C */ ble lbl_800C7038 +/* 800C7030 000C3F90 7F C3 F3 78 */ mr r3, r30 +/* 800C7034 000C3F94 48 24 E8 FD */ bl Free__7CMemoryFPCv +lbl_800C7038: +/* 800C7038 000C3F98 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800C703C 000C3F9C 7F C3 F3 78 */ mr r3, r30 +/* 800C7040 000C3FA0 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800C7044 000C3FA4 83 C1 00 08 */ lwz r30, 8(r1) +/* 800C7048 000C3FA8 7C 08 03 A6 */ mtlr r0 +/* 800C704C 000C3FAC 38 21 00 10 */ addi r1, r1, 0x10 +/* 800C7050 000C3FB0 4E 80 00 20 */ blr + +.global LoadBurrower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadBurrower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C7054 000C3FB4 94 21 FC A0 */ stwu r1, -0x360(r1) +/* 800C7058 000C3FB8 7C 08 02 A6 */ mflr r0 +/* 800C705C 000C3FBC 2C 05 00 0D */ cmpwi r5, 0xd +/* 800C7060 000C3FC0 90 01 03 64 */ stw r0, 0x364(r1) +/* 800C7064 000C3FC4 BF 41 03 48 */ stmw r26, 0x348(r1) +/* 800C7068 000C3FC8 7C 7E 1B 78 */ mr r30, r3 +/* 800C706C 000C3FCC 7C 9B 23 78 */ mr r27, r4 +/* 800C7070 000C3FD0 7C DF 33 78 */ mr r31, r6 +/* 800C7074 000C3FD4 41 82 00 0C */ beq lbl_800C7080 +/* 800C7078 000C3FD8 38 60 00 00 */ li r3, 0 +/* 800C707C 000C3FDC 48 00 02 28 */ b lbl_800C72A4 +lbl_800C7080: +/* 800C7080 000C3FE0 7F C5 F3 78 */ mr r5, r30 +/* 800C7084 000C3FE4 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 800C7088 000C3FE8 48 01 33 F5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C708C 000C3FEC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C7090 000C3FF0 7F 64 DB 78 */ mr r4, r27 +/* 800C7094 000C3FF4 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C7098 000C3FF8 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C709C 000C3FFC 38 A5 00 35 */ addi r5, r5, 0x35 +/* 800C70A0 000C4000 48 03 E7 89 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C70A4 000C4004 88 01 00 40 */ lbz r0, 0x40(r1) +/* 800C70A8 000C4008 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 800C70AC 000C400C 28 00 00 00 */ cmplwi r0, 0 +/* 800C70B0 000C4010 40 82 00 14 */ bne lbl_800C70C4 +/* 800C70B4 000C4014 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 800C70B8 000C4018 48 27 6A 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C70BC 000C401C 38 60 00 00 */ li r3, 0 +/* 800C70C0 000C4020 48 00 01 E4 */ b lbl_800C72A4 +lbl_800C70C4: +/* 800C70C4 000C4024 7F 64 DB 78 */ mr r4, r27 +/* 800C70C8 000C4028 38 61 02 04 */ addi r3, r1, 0x204 +/* 800C70CC 000C402C 48 03 E7 AD */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C70D0 000C4030 80 61 02 F0 */ lwz r3, 0x2f0(r1) +/* 800C70D4 000C4034 3C 03 00 01 */ addis r0, r3, 1 +/* 800C70D8 000C4038 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C70DC 000C403C 40 82 00 14 */ bne lbl_800C70F0 +/* 800C70E0 000C4040 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 800C70E4 000C4044 48 27 69 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C70E8 000C4048 38 60 00 00 */ li r3, 0 +/* 800C70EC 000C404C 48 00 01 B8 */ b lbl_800C72A4 +lbl_800C70F0: +/* 800C70F0 000C4050 7F 64 DB 78 */ mr r4, r27 +/* 800C70F4 000C4054 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800C70F8 000C4058 48 01 2C 7D */ bl LoadActorParameters__FR12CInputStream +/* 800C70FC 000C405C 38 61 01 50 */ addi r3, r1, 0x150 +/* 800C7100 000C4060 38 81 00 E8 */ addi r4, r1, 0xe8 +/* 800C7104 000C4064 4B FF E5 19 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C7108 000C4068 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800C710C 000C406C 38 80 FF FF */ li r4, -1 +/* 800C7110 000C4070 48 03 F4 F9 */ bl __dt__16CActorParametersFv +/* 800C7114 000C4074 7F 63 DB 78 */ mr r3, r27 +/* 800C7118 000C4078 48 27 7B 6D */ bl ReadLong__12CInputStreamFv +/* 800C711C 000C407C 90 61 00 3C */ stw r3, 0x3c(r1) +/* 800C7120 000C4080 7F 63 DB 78 */ mr r3, r27 +/* 800C7124 000C4084 48 27 7B 61 */ bl ReadLong__12CInputStreamFv +/* 800C7128 000C4088 90 61 00 38 */ stw r3, 0x38(r1) +/* 800C712C 000C408C 7F 63 DB 78 */ mr r3, r27 +/* 800C7130 000C4090 48 27 7B 55 */ bl ReadLong__12CInputStreamFv +/* 800C7134 000C4094 90 61 00 34 */ stw r3, 0x34(r1) +/* 800C7138 000C4098 7F 64 DB 78 */ mr r4, r27 +/* 800C713C 000C409C 38 61 00 64 */ addi r3, r1, 0x64 +/* 800C7140 000C40A0 4B FF C4 21 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C7144 000C40A4 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 800C7148 000C40A8 7F 63 DB 78 */ mr r3, r27 +/* 800C714C 000C40AC 88 81 00 68 */ lbz r4, 0x68(r1) +/* 800C7150 000C40B0 C0 61 00 6C */ lfs f3, 0x6c(r1) +/* 800C7154 000C40B4 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 800C7158 000C40B8 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 800C715C 000C40BC C0 01 00 78 */ lfs f0, 0x78(r1) +/* 800C7160 000C40C0 88 01 00 7C */ lbz r0, 0x7c(r1) +/* 800C7164 000C40C4 90 A1 00 80 */ stw r5, 0x80(r1) +/* 800C7168 000C40C8 98 81 00 84 */ stb r4, 0x84(r1) +/* 800C716C 000C40CC D0 61 00 88 */ stfs f3, 0x88(r1) +/* 800C7170 000C40D0 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 800C7174 000C40D4 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 800C7178 000C40D8 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 800C717C 000C40DC 98 01 00 98 */ stb r0, 0x98(r1) +/* 800C7180 000C40E0 48 27 7B 05 */ bl ReadLong__12CInputStreamFv +/* 800C7184 000C40E4 90 61 00 30 */ stw r3, 0x30(r1) +/* 800C7188 000C40E8 7F 63 DB 78 */ mr r3, r27 +/* 800C718C 000C40EC 48 27 7A F9 */ bl ReadLong__12CInputStreamFv +/* 800C7190 000C40F0 7C 7C 1B 78 */ mr r28, r3 +/* 800C7194 000C40F4 7F 63 DB 78 */ mr r3, r27 +/* 800C7198 000C40F8 48 27 7A ED */ bl ReadLong__12CInputStreamFv +/* 800C719C 000C40FC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C71A0 000C4100 7C 7D 1B 78 */ mr r29, r3 +/* 800C71A4 000C4104 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800C71A8 000C4108 3B 40 00 00 */ li r26, 0 +/* 800C71AC 000C410C 38 83 00 0D */ addi r4, r3, 0xd +/* 800C71B0 000C4110 38 60 06 B0 */ li r3, 0x6b0 +/* 800C71B4 000C4114 38 A0 00 00 */ li r5, 0 +/* 800C71B8 000C4118 48 24 E6 B5 */ bl __nw__FUlPCcPCc +/* 800C71BC 000C411C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800C71C0 000C4120 41 82 00 B8 */ beq lbl_800C7278 +/* 800C71C4 000C4124 80 E1 02 F0 */ lwz r7, 0x2f0(r1) +/* 800C71C8 000C4128 38 A0 00 01 */ li r5, 1 +/* 800C71CC 000C412C 80 C1 02 F4 */ lwz r6, 0x2f4(r1) +/* 800C71D0 000C4130 38 61 00 9C */ addi r3, r1, 0x9c +/* 800C71D4 000C4134 C0 41 01 F8 */ lfs f2, 0x1f8(r1) +/* 800C71D8 000C4138 38 81 00 48 */ addi r4, r1, 0x48 +/* 800C71DC 000C413C C0 21 01 FC */ lfs f1, 0x1fc(r1) +/* 800C71E0 000C4140 C0 01 02 00 */ lfs f0, 0x200(r1) +/* 800C71E4 000C4144 80 01 02 F8 */ lwz r0, 0x2f8(r1) +/* 800C71E8 000C4148 90 E1 00 48 */ stw r7, 0x48(r1) +/* 800C71EC 000C414C 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 800C71F0 000C4150 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 800C71F4 000C4154 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 800C71F8 000C4158 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800C71FC 000C415C 98 A1 00 5C */ stb r5, 0x5c(r1) +/* 800C7200 000C4160 90 01 00 60 */ stw r0, 0x60(r1) +/* 800C7204 000C4164 48 04 F9 51 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C7208 000C4168 7F C4 F3 78 */ mr r4, r30 +/* 800C720C 000C416C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800C7210 000C4170 3B 40 00 01 */ li r26, 1 +/* 800C7214 000C4174 4B F8 5E C9 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C7218 000C4178 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 800C721C 000C417C 38 81 00 3C */ addi r4, r1, 0x3c +/* 800C7220 000C4180 38 E1 00 38 */ addi r7, r1, 0x38 +/* 800C7224 000C4184 39 41 00 34 */ addi r10, r1, 0x34 +/* 800C7228 000C4188 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 800C722C 000C418C 39 61 00 80 */ addi r11, r1, 0x80 +/* 800C7230 000C4190 38 01 00 30 */ addi r0, r1, 0x30 +/* 800C7234 000C4194 7F 63 DB 78 */ mr r3, r27 +/* 800C7238 000C4198 90 81 00 08 */ stw r4, 8(r1) +/* 800C723C 000C419C 7F E6 FB 78 */ mr r6, r31 +/* 800C7240 000C41A0 38 81 00 2C */ addi r4, r1, 0x2c +/* 800C7244 000C41A4 38 A1 01 B8 */ addi r5, r1, 0x1b8 +/* 800C7248 000C41A8 90 E1 00 0C */ stw r7, 0xc(r1) +/* 800C724C 000C41AC 38 E1 01 C8 */ addi r7, r1, 0x1c8 +/* 800C7250 000C41B0 39 01 00 9C */ addi r8, r1, 0x9c +/* 800C7254 000C41B4 39 21 02 04 */ addi r9, r1, 0x204 +/* 800C7258 000C41B8 91 41 00 10 */ stw r10, 0x10(r1) +/* 800C725C 000C41BC 39 41 01 50 */ addi r10, r1, 0x150 +/* 800C7260 000C41C0 91 61 00 14 */ stw r11, 0x14(r1) +/* 800C7264 000C41C4 90 01 00 18 */ stw r0, 0x18(r1) +/* 800C7268 000C41C8 93 81 00 1C */ stw r28, 0x1c(r1) +/* 800C726C 000C41CC 93 A1 00 20 */ stw r29, 0x20(r1) +/* 800C7270 000C41D0 48 1A 98 95 */ bl __ct__9CBurrower +/* 800C7274 000C41D4 7C 7B 1B 78 */ mr r27, r3 +lbl_800C7278: +/* 800C7278 000C41D8 7F 40 07 75 */ extsb. r0, r26 +/* 800C727C 000C41DC 41 82 00 10 */ beq lbl_800C728C +/* 800C7280 000C41E0 38 61 00 9C */ addi r3, r1, 0x9c +/* 800C7284 000C41E4 38 80 FF FF */ li r4, -1 +/* 800C7288 000C41E8 48 04 F7 C5 */ bl __dt__10CModelDataFv +lbl_800C728C: +/* 800C728C 000C41EC 38 61 01 50 */ addi r3, r1, 0x150 +/* 800C7290 000C41F0 38 80 FF FF */ li r4, -1 +/* 800C7294 000C41F4 48 03 F3 75 */ bl __dt__16CActorParametersFv +/* 800C7298 000C41F8 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 800C729C 000C41FC 48 27 68 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C72A0 000C4200 7F 63 DB 78 */ mr r3, r27 +lbl_800C72A4: +/* 800C72A4 000C4204 BB 41 03 48 */ lmw r26, 0x348(r1) +/* 800C72A8 000C4208 80 01 03 64 */ lwz r0, 0x364(r1) +/* 800C72AC 000C420C 7C 08 03 A6 */ mtlr r0 +/* 800C72B0 000C4210 38 21 03 60 */ addi r1, r1, 0x360 +/* 800C72B4 000C4214 4E 80 00 20 */ blr + +.global LoadThermalHeatFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadThermalHeatFader__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C72B8 000C4218 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800C72BC 000C421C 7C 08 02 A6 */ mflr r0 +/* 800C72C0 000C4220 90 01 00 74 */ stw r0, 0x74(r1) +/* 800C72C4 000C4224 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 800C72C8 000C4228 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 800C72CC 000C422C DB C1 00 50 */ stfd f30, 0x50(r1) +/* 800C72D0 000C4230 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 800C72D4 000C4234 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800C72D8 000C4238 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800C72DC 000C423C 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800C72E0 000C4240 93 81 00 40 */ stw r28, 0x40(r1) +/* 800C72E4 000C4244 2C 05 00 04 */ cmpwi r5, 4 +/* 800C72E8 000C4248 7C 7F 1B 78 */ mr r31, r3 +/* 800C72EC 000C424C 7C 9D 23 78 */ mr r29, r4 +/* 800C72F0 000C4250 7C DC 33 78 */ mr r28, r6 +/* 800C72F4 000C4254 41 82 00 0C */ beq lbl_800C7300 +/* 800C72F8 000C4258 38 60 00 00 */ li r3, 0 +/* 800C72FC 000C425C 48 00 00 FC */ b lbl_800C73F8 +lbl_800C7300: +/* 800C7300 000C4260 4B F7 DE E5 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800C7304 000C4264 7C 64 1B 78 */ mr r4, r3 +/* 800C7308 000C4268 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C730C 000C426C 48 27 6E 55 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800C7310 000C4270 7F A3 EB 78 */ mr r3, r29 +/* 800C7314 000C4274 48 27 79 C9 */ bl ReadBool__12CInputStreamFv +/* 800C7318 000C4278 7C 7E 1B 78 */ mr r30, r3 +/* 800C731C 000C427C 7F A3 EB 78 */ mr r3, r29 +/* 800C7320 000C4280 48 27 79 09 */ bl ReadFloat__12CInputStreamFv +/* 800C7324 000C4284 FF E0 08 90 */ fmr f31, f1 +/* 800C7328 000C4288 7F A3 EB 78 */ mr r3, r29 +/* 800C732C 000C428C 48 27 78 FD */ bl ReadFloat__12CInputStreamFv +/* 800C7330 000C4290 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C7334 000C4294 FF C0 08 90 */ fmr f30, f1 +/* 800C7338 000C4298 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800C733C 000C429C 38 A0 00 00 */ li r5, 0 +/* 800C7340 000C42A0 38 60 00 64 */ li r3, 0x64 +/* 800C7344 000C42A4 38 84 00 0D */ addi r4, r4, 0xd +/* 800C7348 000C42A8 48 24 E5 25 */ bl __nw__FUlPCcPCc +/* 800C734C 000C42AC 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800C7350 000C42B0 41 82 00 9C */ beq lbl_800C73EC +/* 800C7354 000C42B4 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800C7358 000C42B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C735C 000C42BC FC 40 08 90 */ fmr f2, f1 +/* 800C7360 000C42C0 48 24 CE A1 */ bl __ct__9CVector2fFff +/* 800C7364 000C42C4 80 A3 00 00 */ lwz r5, 0(r3) +/* 800C7368 000C42C8 7F E4 FB 78 */ mr r4, r31 +/* 800C736C 000C42CC 80 03 00 04 */ lwz r0, 4(r3) +/* 800C7370 000C42D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C7374 000C42D4 90 A1 00 28 */ stw r5, 0x28(r1) +/* 800C7378 000C42D8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800C737C 000C42DC 4B F8 5D 61 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C7380 000C42E0 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800C7384 000C42E4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C7388 000C42E8 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800C738C 000C42EC FC 40 08 90 */ fmr f2, f1 +/* 800C7390 000C42F0 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800C7394 000C42F4 48 24 CE 6D */ bl __ct__9CVector2fFff +/* 800C7398 000C42F8 7C 7F 1B 78 */ mr r31, r3 +/* 800C739C 000C42FC 48 28 2C 19 */ bl Black__6CColorFv +/* 800C73A0 000C4300 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800C73A4 000C4304 38 00 00 00 */ li r0, 0 +/* 800C73A8 000C4308 90 01 00 08 */ stw r0, 8(r1) +/* 800C73AC 000C430C 57 C0 06 3E */ clrlwi r0, r30, 0x18 +/* 800C73B0 000C4310 FC 40 F8 90 */ fmr f2, f31 +/* 800C73B4 000C4314 7C 68 1B 78 */ mr r8, r3 +/* 800C73B8 000C4318 FC 60 F0 90 */ fmr f3, f30 +/* 800C73BC 000C431C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800C73C0 000C4320 FC 80 08 90 */ fmr f4, f1 +/* 800C73C4 000C4324 7F A3 EB 78 */ mr r3, r29 +/* 800C73C8 000C4328 FC A0 08 90 */ fmr f5, f1 +/* 800C73CC 000C432C 7F 86 E3 78 */ mr r6, r28 +/* 800C73D0 000C4330 7F E9 FB 78 */ mr r9, r31 +/* 800C73D4 000C4334 38 81 00 14 */ addi r4, r1, 0x14 +/* 800C73D8 000C4338 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800C73DC 000C433C 39 41 00 28 */ addi r10, r1, 0x28 +/* 800C73E0 000C4340 38 E0 00 00 */ li r7, 0 +/* 800C73E4 000C4344 48 08 5E 75 */ bl "__ct__18CScriptDistanceFogF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC11ERglFogModeRC6CColorRC9CVector2ff9CVector2fbbffff" +/* 800C73E8 000C4348 7C 7D 1B 78 */ mr r29, r3 +lbl_800C73EC: +/* 800C73EC 000C434C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C73F0 000C4350 48 27 66 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C73F4 000C4354 7F A3 EB 78 */ mr r3, r29 +lbl_800C73F8: +/* 800C73F8 000C4358 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 800C73FC 000C435C CB E1 00 60 */ lfd f31, 0x60(r1) +/* 800C7400 000C4360 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 800C7404 000C4364 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 800C7408 000C4368 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800C740C 000C436C 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800C7410 000C4370 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 800C7414 000C4374 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800C7418 000C4378 83 81 00 40 */ lwz r28, 0x40(r1) +/* 800C741C 000C437C 7C 08 03 A6 */ mtlr r0 +/* 800C7420 000C4380 38 21 00 70 */ addi r1, r1, 0x70 +/* 800C7424 000C4384 4E 80 00 20 */ blr + +.global LoadSeedling__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSeedling__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C7428 000C4388 94 21 FC 50 */ stwu r1, -0x3b0(r1) +/* 800C742C 000C438C 7C 08 02 A6 */ mflr r0 +/* 800C7430 000C4390 90 01 03 B4 */ stw r0, 0x3b4(r1) +/* 800C7434 000C4394 DB E1 03 A0 */ stfd f31, 0x3a0(r1) +/* 800C7438 000C4398 F3 E1 03 A8 */ psq_st f31, 936(r1), 0, qr0 +/* 800C743C 000C439C DB C1 03 90 */ stfd f30, 0x390(r1) +/* 800C7440 000C43A0 F3 C1 03 98 */ psq_st f30, 920(r1), 0, qr0 +/* 800C7444 000C43A4 DB A1 03 80 */ stfd f29, 0x380(r1) +/* 800C7448 000C43A8 F3 A1 03 88 */ psq_st f29, 904(r1), 0, qr0 +/* 800C744C 000C43AC DB 81 03 70 */ stfd f28, 0x370(r1) +/* 800C7450 000C43B0 F3 81 03 78 */ psq_st f28, 888(r1), 0, qr0 +/* 800C7454 000C43B4 93 E1 03 6C */ stw r31, 0x36c(r1) +/* 800C7458 000C43B8 93 C1 03 68 */ stw r30, 0x368(r1) +/* 800C745C 000C43BC 93 A1 03 64 */ stw r29, 0x364(r1) +/* 800C7460 000C43C0 93 81 03 60 */ stw r28, 0x360(r1) +/* 800C7464 000C43C4 2C 05 00 0E */ cmpwi r5, 0xe +/* 800C7468 000C43C8 7C 7E 1B 78 */ mr r30, r3 +/* 800C746C 000C43CC 7C 9D 23 78 */ mr r29, r4 +/* 800C7470 000C43D0 7C DF 33 78 */ mr r31, r6 +/* 800C7474 000C43D4 41 82 00 0C */ beq lbl_800C7480 +/* 800C7478 000C43D8 38 60 00 00 */ li r3, 0 +/* 800C747C 000C43DC 48 00 02 6C */ b lbl_800C76E8 +lbl_800C7480: +/* 800C7480 000C43E0 7F C5 F3 78 */ mr r5, r30 +/* 800C7484 000C43E4 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 800C7488 000C43E8 48 01 2F F5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C748C 000C43EC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C7490 000C43F0 7F A4 EB 78 */ mr r4, r29 +/* 800C7494 000C43F4 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C7498 000C43F8 38 61 00 28 */ addi r3, r1, 0x28 +/* 800C749C 000C43FC 38 A5 00 3E */ addi r5, r5, 0x3e +/* 800C74A0 000C4400 48 03 E3 89 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C74A4 000C4404 88 01 00 28 */ lbz r0, 0x28(r1) +/* 800C74A8 000C4408 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 800C74AC 000C440C 28 00 00 00 */ cmplwi r0, 0 +/* 800C74B0 000C4410 40 82 00 14 */ bne lbl_800C74C4 +/* 800C74B4 000C4414 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 800C74B8 000C4418 48 27 66 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C74BC 000C441C 38 60 00 00 */ li r3, 0 +/* 800C74C0 000C4420 48 00 02 28 */ b lbl_800C76E8 +lbl_800C74C4: +/* 800C74C4 000C4424 7F A4 EB 78 */ mr r4, r29 +/* 800C74C8 000C4428 38 61 02 24 */ addi r3, r1, 0x224 +/* 800C74CC 000C442C 48 03 E3 AD */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C74D0 000C4430 80 61 03 10 */ lwz r3, 0x310(r1) +/* 800C74D4 000C4434 3C 03 00 01 */ addis r0, r3, 1 +/* 800C74D8 000C4438 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C74DC 000C443C 40 82 00 14 */ bne lbl_800C74F0 +/* 800C74E0 000C4440 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 800C74E4 000C4444 48 27 65 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C74E8 000C4448 38 60 00 00 */ li r3, 0 +/* 800C74EC 000C444C 48 00 01 FC */ b lbl_800C76E8 +lbl_800C74F0: +/* 800C74F0 000C4450 7F A4 EB 78 */ mr r4, r29 +/* 800C74F4 000C4454 38 61 01 08 */ addi r3, r1, 0x108 +/* 800C74F8 000C4458 48 01 28 7D */ bl LoadActorParameters__FR12CInputStream +/* 800C74FC 000C445C 38 61 01 70 */ addi r3, r1, 0x170 +/* 800C7500 000C4460 38 81 01 08 */ addi r4, r1, 0x108 +/* 800C7504 000C4464 4B FF E1 19 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C7508 000C4468 38 61 01 08 */ addi r3, r1, 0x108 +/* 800C750C 000C446C 38 80 FF FF */ li r4, -1 +/* 800C7510 000C4470 48 03 F0 F9 */ bl __dt__16CActorParametersFv +/* 800C7514 000C4474 7F A3 EB 78 */ mr r3, r29 +/* 800C7518 000C4478 48 27 77 6D */ bl ReadLong__12CInputStreamFv +/* 800C751C 000C447C 90 61 00 24 */ stw r3, 0x24(r1) +/* 800C7520 000C4480 7F A3 EB 78 */ mr r3, r29 +/* 800C7524 000C4484 48 27 77 61 */ bl ReadLong__12CInputStreamFv +/* 800C7528 000C4488 90 61 00 20 */ stw r3, 0x20(r1) +/* 800C752C 000C448C 7F A4 EB 78 */ mr r4, r29 +/* 800C7530 000C4490 38 61 00 68 */ addi r3, r1, 0x68 +/* 800C7534 000C4494 4B FF C0 2D */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C7538 000C4498 80 C1 00 68 */ lwz r6, 0x68(r1) +/* 800C753C 000C449C 7F A4 EB 78 */ mr r4, r29 +/* 800C7540 000C44A0 88 A1 00 6C */ lbz r5, 0x6c(r1) +/* 800C7544 000C44A4 38 61 00 4C */ addi r3, r1, 0x4c +/* 800C7548 000C44A8 C0 61 00 70 */ lfs f3, 0x70(r1) +/* 800C754C 000C44AC C0 41 00 74 */ lfs f2, 0x74(r1) +/* 800C7550 000C44B0 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 800C7554 000C44B4 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 800C7558 000C44B8 88 01 00 80 */ lbz r0, 0x80(r1) +/* 800C755C 000C44BC 90 C1 00 A0 */ stw r6, 0xa0(r1) +/* 800C7560 000C44C0 98 A1 00 A4 */ stb r5, 0xa4(r1) +/* 800C7564 000C44C4 D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 800C7568 000C44C8 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 800C756C 000C44CC D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 800C7570 000C44D0 D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 800C7574 000C44D4 98 01 00 B8 */ stb r0, 0xb8(r1) +/* 800C7578 000C44D8 4B FF BF E9 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C757C 000C44DC 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 800C7580 000C44E0 7F A3 EB 78 */ mr r3, r29 +/* 800C7584 000C44E4 88 81 00 50 */ lbz r4, 0x50(r1) +/* 800C7588 000C44E8 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 800C758C 000C44EC C0 41 00 58 */ lfs f2, 0x58(r1) +/* 800C7590 000C44F0 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 800C7594 000C44F4 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800C7598 000C44F8 88 01 00 64 */ lbz r0, 0x64(r1) +/* 800C759C 000C44FC 90 A1 00 84 */ stw r5, 0x84(r1) +/* 800C75A0 000C4500 98 81 00 88 */ stb r4, 0x88(r1) +/* 800C75A4 000C4504 D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 800C75A8 000C4508 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 800C75AC 000C450C D0 21 00 94 */ stfs f1, 0x94(r1) +/* 800C75B0 000C4510 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 800C75B4 000C4514 98 01 00 9C */ stb r0, 0x9c(r1) +/* 800C75B8 000C4518 48 27 76 71 */ bl ReadFloat__12CInputStreamFv +/* 800C75BC 000C451C FF E0 08 90 */ fmr f31, f1 +/* 800C75C0 000C4520 7F A3 EB 78 */ mr r3, r29 +/* 800C75C4 000C4524 48 27 76 65 */ bl ReadFloat__12CInputStreamFv +/* 800C75C8 000C4528 FF C0 08 90 */ fmr f30, f1 +/* 800C75CC 000C452C 7F A3 EB 78 */ mr r3, r29 +/* 800C75D0 000C4530 48 27 76 59 */ bl ReadFloat__12CInputStreamFv +/* 800C75D4 000C4534 FF A0 08 90 */ fmr f29, f1 +/* 800C75D8 000C4538 7F A3 EB 78 */ mr r3, r29 +/* 800C75DC 000C453C 48 27 76 4D */ bl ReadFloat__12CInputStreamFv +/* 800C75E0 000C4540 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C75E4 000C4544 FF 80 08 90 */ fmr f28, f1 +/* 800C75E8 000C4548 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800C75EC 000C454C 3B 80 00 00 */ li r28, 0 +/* 800C75F0 000C4550 38 83 00 0D */ addi r4, r3, 0xd +/* 800C75F4 000C4554 38 A0 00 00 */ li r5, 0 +/* 800C75F8 000C4558 38 60 07 28 */ li r3, 0x728 +/* 800C75FC 000C455C 48 24 E2 71 */ bl __nw__FUlPCcPCc +/* 800C7600 000C4560 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800C7604 000C4564 41 82 00 B8 */ beq lbl_800C76BC +/* 800C7608 000C4568 80 E1 03 10 */ lwz r7, 0x310(r1) +/* 800C760C 000C456C 38 A0 00 01 */ li r5, 1 +/* 800C7610 000C4570 80 C1 03 14 */ lwz r6, 0x314(r1) +/* 800C7614 000C4574 38 61 00 BC */ addi r3, r1, 0xbc +/* 800C7618 000C4578 C0 41 02 18 */ lfs f2, 0x218(r1) +/* 800C761C 000C457C 38 81 00 30 */ addi r4, r1, 0x30 +/* 800C7620 000C4580 C0 21 02 1C */ lfs f1, 0x21c(r1) +/* 800C7624 000C4584 C0 01 02 20 */ lfs f0, 0x220(r1) +/* 800C7628 000C4588 80 01 03 18 */ lwz r0, 0x318(r1) +/* 800C762C 000C458C 90 E1 00 30 */ stw r7, 0x30(r1) +/* 800C7630 000C4590 90 C1 00 34 */ stw r6, 0x34(r1) +/* 800C7634 000C4594 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 800C7638 000C4598 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800C763C 000C459C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800C7640 000C45A0 98 A1 00 44 */ stb r5, 0x44(r1) +/* 800C7644 000C45A4 90 01 00 48 */ stw r0, 0x48(r1) +/* 800C7648 000C45A8 48 04 F5 0D */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C764C 000C45AC 7F C4 F3 78 */ mr r4, r30 +/* 800C7650 000C45B0 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C7654 000C45B4 3B 80 00 01 */ li r28, 1 +/* 800C7658 000C45B8 4B F8 5A 85 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C765C 000C45BC A0 01 00 18 */ lhz r0, 0x18(r1) +/* 800C7660 000C45C0 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800C7664 000C45C4 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C7668 000C45C8 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 800C766C 000C45CC B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800C7670 000C45D0 FC 20 F8 90 */ fmr f1, f31 +/* 800C7674 000C45D4 FC 40 F0 90 */ fmr f2, f30 +/* 800C7678 000C45D8 38 01 00 84 */ addi r0, r1, 0x84 +/* 800C767C 000C45DC 90 A1 00 08 */ stw r5, 8(r1) +/* 800C7680 000C45E0 FC 60 E8 90 */ fmr f3, f29 +/* 800C7684 000C45E4 FC 80 E0 90 */ fmr f4, f28 +/* 800C7688 000C45E8 90 61 00 0C */ stw r3, 0xc(r1) +/* 800C768C 000C45EC 7F A3 EB 78 */ mr r3, r29 +/* 800C7690 000C45F0 7F E6 FB 78 */ mr r6, r31 +/* 800C7694 000C45F4 90 81 00 10 */ stw r4, 0x10(r1) +/* 800C7698 000C45F8 38 81 00 1C */ addi r4, r1, 0x1c +/* 800C769C 000C45FC 38 A1 01 D8 */ addi r5, r1, 0x1d8 +/* 800C76A0 000C4600 38 E1 01 E8 */ addi r7, r1, 0x1e8 +/* 800C76A4 000C4604 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C76A8 000C4608 39 01 00 BC */ addi r8, r1, 0xbc +/* 800C76AC 000C460C 39 21 02 24 */ addi r9, r1, 0x224 +/* 800C76B0 000C4610 39 41 01 70 */ addi r10, r1, 0x170 +/* 800C76B4 000C4614 48 19 F8 95 */ bl __ct__9CSeedlingF +/* 800C76B8 000C4618 7C 7D 1B 78 */ mr r29, r3 +lbl_800C76BC: +/* 800C76BC 000C461C 7F 80 07 75 */ extsb. r0, r28 +/* 800C76C0 000C4620 41 82 00 10 */ beq lbl_800C76D0 +/* 800C76C4 000C4624 38 61 00 BC */ addi r3, r1, 0xbc +/* 800C76C8 000C4628 38 80 FF FF */ li r4, -1 +/* 800C76CC 000C462C 48 04 F3 81 */ bl __dt__10CModelDataFv +lbl_800C76D0: +/* 800C76D0 000C4630 38 61 01 70 */ addi r3, r1, 0x170 +/* 800C76D4 000C4634 38 80 FF FF */ li r4, -1 +/* 800C76D8 000C4638 48 03 EF 31 */ bl __dt__16CActorParametersFv +/* 800C76DC 000C463C 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 800C76E0 000C4640 48 27 64 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C76E4 000C4644 7F A3 EB 78 */ mr r3, r29 +lbl_800C76E8: +/* 800C76E8 000C4648 E3 E1 03 A8 */ psq_l f31, 936(r1), 0, qr0 +/* 800C76EC 000C464C CB E1 03 A0 */ lfd f31, 0x3a0(r1) +/* 800C76F0 000C4650 E3 C1 03 98 */ psq_l f30, 920(r1), 0, qr0 +/* 800C76F4 000C4654 CB C1 03 90 */ lfd f30, 0x390(r1) +/* 800C76F8 000C4658 E3 A1 03 88 */ psq_l f29, 904(r1), 0, qr0 +/* 800C76FC 000C465C CB A1 03 80 */ lfd f29, 0x380(r1) +/* 800C7700 000C4660 E3 81 03 78 */ psq_l f28, 888(r1), 0, qr0 +/* 800C7704 000C4664 CB 81 03 70 */ lfd f28, 0x370(r1) +/* 800C7708 000C4668 83 E1 03 6C */ lwz r31, 0x36c(r1) +/* 800C770C 000C466C 83 C1 03 68 */ lwz r30, 0x368(r1) +/* 800C7710 000C4670 83 A1 03 64 */ lwz r29, 0x364(r1) +/* 800C7714 000C4674 80 01 03 B4 */ lwz r0, 0x3b4(r1) +/* 800C7718 000C4678 83 81 03 60 */ lwz r28, 0x360(r1) +/* 800C771C 000C467C 7C 08 03 A6 */ mtlr r0 +/* 800C7720 000C4680 38 21 03 B0 */ addi r1, r1, 0x3b0 +/* 800C7724 000C4684 4E 80 00 20 */ blr + +.global LoadTryclops__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadTryclops__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C7728 000C4688 94 21 FC D0 */ stwu r1, -0x330(r1) +/* 800C772C 000C468C 7C 08 02 A6 */ mflr r0 +/* 800C7730 000C4690 90 01 03 34 */ stw r0, 0x334(r1) +/* 800C7734 000C4694 DB E1 03 20 */ stfd f31, 0x320(r1) +/* 800C7738 000C4698 F3 E1 03 28 */ psq_st f31, 808(r1), 0, qr0 +/* 800C773C 000C469C DB C1 03 10 */ stfd f30, 0x310(r1) +/* 800C7740 000C46A0 F3 C1 03 18 */ psq_st f30, 792(r1), 0, qr0 +/* 800C7744 000C46A4 DB A1 03 00 */ stfd f29, 0x300(r1) +/* 800C7748 000C46A8 F3 A1 03 08 */ psq_st f29, 776(r1), 0, qr0 +/* 800C774C 000C46AC DB 81 02 F0 */ stfd f28, 0x2f0(r1) +/* 800C7750 000C46B0 F3 81 02 F8 */ psq_st f28, 760(r1), 0, qr0 +/* 800C7754 000C46B4 93 E1 02 EC */ stw r31, 0x2ec(r1) +/* 800C7758 000C46B8 93 C1 02 E8 */ stw r30, 0x2e8(r1) +/* 800C775C 000C46BC 93 A1 02 E4 */ stw r29, 0x2e4(r1) +/* 800C7760 000C46C0 93 81 02 E0 */ stw r28, 0x2e0(r1) +/* 800C7764 000C46C4 2C 05 00 0A */ cmpwi r5, 0xa +/* 800C7768 000C46C8 7C 7D 1B 78 */ mr r29, r3 +/* 800C776C 000C46CC 7C 9F 23 78 */ mr r31, r4 +/* 800C7770 000C46D0 7C DE 33 78 */ mr r30, r6 +/* 800C7774 000C46D4 41 82 00 0C */ beq lbl_800C7780 +/* 800C7778 000C46D8 38 60 00 00 */ li r3, 0 +/* 800C777C 000C46DC 48 00 01 AC */ b lbl_800C7928 +lbl_800C7780: +/* 800C7780 000C46E0 7F A5 EB 78 */ mr r5, r29 +/* 800C7784 000C46E4 38 61 01 50 */ addi r3, r1, 0x150 +/* 800C7788 000C46E8 48 01 2C F5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C778C 000C46EC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C7790 000C46F0 7F E4 FB 78 */ mr r4, r31 +/* 800C7794 000C46F4 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C7798 000C46F8 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C779C 000C46FC 38 A5 00 47 */ addi r5, r5, 0x47 +/* 800C77A0 000C4700 48 03 E0 89 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C77A4 000C4704 88 01 00 10 */ lbz r0, 0x10(r1) +/* 800C77A8 000C4708 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 800C77AC 000C470C 28 00 00 00 */ cmplwi r0, 0 +/* 800C77B0 000C4710 40 82 00 14 */ bne lbl_800C77C4 +/* 800C77B4 000C4714 38 61 01 50 */ addi r3, r1, 0x150 +/* 800C77B8 000C4718 48 27 63 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C77BC 000C471C 38 60 00 00 */ li r3, 0 +/* 800C77C0 000C4720 48 00 01 68 */ b lbl_800C7928 +lbl_800C77C4: +/* 800C77C4 000C4724 7F E4 FB 78 */ mr r4, r31 +/* 800C77C8 000C4728 38 61 01 9C */ addi r3, r1, 0x19c +/* 800C77CC 000C472C 48 03 E0 AD */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C77D0 000C4730 80 61 02 88 */ lwz r3, 0x288(r1) +/* 800C77D4 000C4734 3C 03 00 01 */ addis r0, r3, 1 +/* 800C77D8 000C4738 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C77DC 000C473C 40 82 00 14 */ bne lbl_800C77F0 +/* 800C77E0 000C4740 38 61 01 50 */ addi r3, r1, 0x150 +/* 800C77E4 000C4744 48 27 62 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C77E8 000C4748 38 60 00 00 */ li r3, 0 +/* 800C77EC 000C474C 48 00 01 3C */ b lbl_800C7928 +lbl_800C77F0: +/* 800C77F0 000C4750 7F E4 FB 78 */ mr r4, r31 +/* 800C77F4 000C4754 38 61 00 80 */ addi r3, r1, 0x80 +/* 800C77F8 000C4758 48 01 25 7D */ bl LoadActorParameters__FR12CInputStream +/* 800C77FC 000C475C 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800C7800 000C4760 38 81 00 80 */ addi r4, r1, 0x80 +/* 800C7804 000C4764 4B FF DE 19 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C7808 000C4768 38 61 00 80 */ addi r3, r1, 0x80 +/* 800C780C 000C476C 38 80 FF FF */ li r4, -1 +/* 800C7810 000C4770 48 03 ED F9 */ bl __dt__16CActorParametersFv +/* 800C7814 000C4774 7F E3 FB 78 */ mr r3, r31 +/* 800C7818 000C4778 48 27 74 11 */ bl ReadFloat__12CInputStreamFv +/* 800C781C 000C477C FF E0 08 90 */ fmr f31, f1 +/* 800C7820 000C4780 7F E3 FB 78 */ mr r3, r31 +/* 800C7824 000C4784 48 27 74 05 */ bl ReadFloat__12CInputStreamFv +/* 800C7828 000C4788 FF C0 08 90 */ fmr f30, f1 +/* 800C782C 000C478C 7F E3 FB 78 */ mr r3, r31 +/* 800C7830 000C4790 48 27 73 F9 */ bl ReadFloat__12CInputStreamFv +/* 800C7834 000C4794 FF A0 08 90 */ fmr f29, f1 +/* 800C7838 000C4798 7F E3 FB 78 */ mr r3, r31 +/* 800C783C 000C479C 48 27 73 ED */ bl ReadFloat__12CInputStreamFv +/* 800C7840 000C47A0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C7844 000C47A4 FF 80 08 90 */ fmr f28, f1 +/* 800C7848 000C47A8 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800C784C 000C47AC 3B 80 00 00 */ li r28, 0 +/* 800C7850 000C47B0 38 83 00 0D */ addi r4, r3, 0xd +/* 800C7854 000C47B4 38 A0 00 00 */ li r5, 0 +/* 800C7858 000C47B8 38 60 06 A0 */ li r3, 0x6a0 +/* 800C785C 000C47BC 48 24 E0 11 */ bl __nw__FUlPCcPCc +/* 800C7860 000C47C0 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800C7864 000C47C4 41 82 00 98 */ beq lbl_800C78FC +/* 800C7868 000C47C8 80 E1 02 88 */ lwz r7, 0x288(r1) +/* 800C786C 000C47CC 38 A0 00 01 */ li r5, 1 +/* 800C7870 000C47D0 80 C1 02 8C */ lwz r6, 0x28c(r1) +/* 800C7874 000C47D4 38 61 00 34 */ addi r3, r1, 0x34 +/* 800C7878 000C47D8 C0 41 01 90 */ lfs f2, 0x190(r1) +/* 800C787C 000C47DC 38 81 00 18 */ addi r4, r1, 0x18 +/* 800C7880 000C47E0 C0 21 01 94 */ lfs f1, 0x194(r1) +/* 800C7884 000C47E4 C0 01 01 98 */ lfs f0, 0x198(r1) +/* 800C7888 000C47E8 80 01 02 90 */ lwz r0, 0x290(r1) +/* 800C788C 000C47EC 90 E1 00 18 */ stw r7, 0x18(r1) +/* 800C7890 000C47F0 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 800C7894 000C47F4 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 800C7898 000C47F8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800C789C 000C47FC D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800C78A0 000C4800 98 A1 00 2C */ stb r5, 0x2c(r1) +/* 800C78A4 000C4804 90 01 00 30 */ stw r0, 0x30(r1) +/* 800C78A8 000C4808 48 04 F2 AD */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C78AC 000C480C 7F A4 EB 78 */ mr r4, r29 +/* 800C78B0 000C4810 38 61 00 08 */ addi r3, r1, 8 +/* 800C78B4 000C4814 3B 80 00 01 */ li r28, 1 +/* 800C78B8 000C4818 4B F8 58 25 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C78BC 000C481C A0 01 00 08 */ lhz r0, 8(r1) +/* 800C78C0 000C4820 FC 20 F8 90 */ fmr f1, f31 +/* 800C78C4 000C4824 FC 40 F0 90 */ fmr f2, f30 +/* 800C78C8 000C4828 7F E3 FB 78 */ mr r3, r31 +/* 800C78CC 000C482C FC 60 E8 90 */ fmr f3, f29 +/* 800C78D0 000C4830 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800C78D4 000C4834 FC 80 E0 90 */ fmr f4, f28 +/* 800C78D8 000C4838 7F C6 F3 78 */ mr r6, r30 +/* 800C78DC 000C483C 38 81 00 0C */ addi r4, r1, 0xc +/* 800C78E0 000C4840 38 A1 01 50 */ addi r5, r1, 0x150 +/* 800C78E4 000C4844 38 E1 01 60 */ addi r7, r1, 0x160 +/* 800C78E8 000C4848 39 01 00 34 */ addi r8, r1, 0x34 +/* 800C78EC 000C484C 39 21 01 9C */ addi r9, r1, 0x19c +/* 800C78F0 000C4850 39 41 00 E8 */ addi r10, r1, 0xe8 +/* 800C78F4 000C4854 48 19 94 75 */ bl __ct__9CTryclops +/* 800C78F8 000C4858 7C 7F 1B 78 */ mr r31, r3 +lbl_800C78FC: +/* 800C78FC 000C485C 7F 80 07 75 */ extsb. r0, r28 +/* 800C7900 000C4860 41 82 00 10 */ beq lbl_800C7910 +/* 800C7904 000C4864 38 61 00 34 */ addi r3, r1, 0x34 +/* 800C7908 000C4868 38 80 FF FF */ li r4, -1 +/* 800C790C 000C486C 48 04 F1 41 */ bl __dt__10CModelDataFv +lbl_800C7910: +/* 800C7910 000C4870 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800C7914 000C4874 38 80 FF FF */ li r4, -1 +/* 800C7918 000C4878 48 03 EC F1 */ bl __dt__16CActorParametersFv +/* 800C791C 000C487C 38 61 01 50 */ addi r3, r1, 0x150 +/* 800C7920 000C4880 48 27 61 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C7924 000C4884 7F E3 FB 78 */ mr r3, r31 +lbl_800C7928: +/* 800C7928 000C4888 E3 E1 03 28 */ psq_l f31, 808(r1), 0, qr0 +/* 800C792C 000C488C CB E1 03 20 */ lfd f31, 0x320(r1) +/* 800C7930 000C4890 E3 C1 03 18 */ psq_l f30, 792(r1), 0, qr0 +/* 800C7934 000C4894 CB C1 03 10 */ lfd f30, 0x310(r1) +/* 800C7938 000C4898 E3 A1 03 08 */ psq_l f29, 776(r1), 0, qr0 +/* 800C793C 000C489C CB A1 03 00 */ lfd f29, 0x300(r1) +/* 800C7940 000C48A0 E3 81 02 F8 */ psq_l f28, 760(r1), 0, qr0 +/* 800C7944 000C48A4 CB 81 02 F0 */ lfd f28, 0x2f0(r1) +/* 800C7948 000C48A8 83 E1 02 EC */ lwz r31, 0x2ec(r1) +/* 800C794C 000C48AC 83 C1 02 E8 */ lwz r30, 0x2e8(r1) +/* 800C7950 000C48B0 83 A1 02 E4 */ lwz r29, 0x2e4(r1) +/* 800C7954 000C48B4 80 01 03 34 */ lwz r0, 0x334(r1) +/* 800C7958 000C48B8 83 81 02 E0 */ lwz r28, 0x2e0(r1) +/* 800C795C 000C48BC 7C 08 03 A6 */ mtlr r0 +/* 800C7960 000C48C0 38 21 03 30 */ addi r1, r1, 0x330 +/* 800C7964 000C48C4 4E 80 00 20 */ blr + +.global LoadPuffer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPuffer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C7968 000C48C8 94 21 FC 80 */ stwu r1, -0x380(r1) +/* 800C796C 000C48CC 7C 08 02 A6 */ mflr r0 +/* 800C7970 000C48D0 90 01 03 84 */ stw r0, 0x384(r1) +/* 800C7974 000C48D4 DB E1 03 70 */ stfd f31, 0x370(r1) +/* 800C7978 000C48D8 F3 E1 03 78 */ psq_st f31, 888(r1), 0, qr0 +/* 800C797C 000C48DC DB C1 03 60 */ stfd f30, 0x360(r1) +/* 800C7980 000C48E0 F3 C1 03 68 */ psq_st f30, 872(r1), 0, qr0 +/* 800C7984 000C48E4 BE C1 03 38 */ stmw r22, 0x338(r1) +/* 800C7988 000C48E8 2C 05 00 10 */ cmpwi r5, 0x10 +/* 800C798C 000C48EC 7C 78 1B 78 */ mr r24, r3 +/* 800C7990 000C48F0 7C 97 23 78 */ mr r23, r4 +/* 800C7994 000C48F4 7C D9 33 78 */ mr r25, r6 +/* 800C7998 000C48F8 41 82 00 0C */ beq lbl_800C79A4 +/* 800C799C 000C48FC 38 60 00 00 */ li r3, 0 +/* 800C79A0 000C4900 48 00 02 14 */ b lbl_800C7BB4 +lbl_800C79A4: +/* 800C79A4 000C4904 7F 05 C3 78 */ mr r5, r24 +/* 800C79A8 000C4908 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800C79AC 000C490C 48 01 2A D1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C79B0 000C4910 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C79B4 000C4914 7E E4 BB 78 */ mr r4, r23 +/* 800C79B8 000C4918 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C79BC 000C491C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C79C0 000C4920 38 A5 00 50 */ addi r5, r5, 0x50 +/* 800C79C4 000C4924 48 03 DE 65 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C79C8 000C4928 88 01 00 30 */ lbz r0, 0x30(r1) +/* 800C79CC 000C492C 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 800C79D0 000C4930 28 00 00 00 */ cmplwi r0, 0 +/* 800C79D4 000C4934 40 82 00 14 */ bne lbl_800C79E8 +/* 800C79D8 000C4938 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800C79DC 000C493C 48 27 61 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C79E0 000C4940 38 60 00 00 */ li r3, 0 +/* 800C79E4 000C4944 48 00 01 D0 */ b lbl_800C7BB4 +lbl_800C79E8: +/* 800C79E8 000C4948 7E E4 BB 78 */ mr r4, r23 +/* 800C79EC 000C494C 38 61 01 F4 */ addi r3, r1, 0x1f4 +/* 800C79F0 000C4950 48 03 DE 89 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C79F4 000C4954 80 61 02 E0 */ lwz r3, 0x2e0(r1) +/* 800C79F8 000C4958 3C 03 00 01 */ addis r0, r3, 1 +/* 800C79FC 000C495C 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C7A00 000C4960 40 82 00 14 */ bne lbl_800C7A14 +/* 800C7A04 000C4964 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800C7A08 000C4968 48 27 60 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C7A0C 000C496C 38 60 00 00 */ li r3, 0 +/* 800C7A10 000C4970 48 00 01 A4 */ b lbl_800C7BB4 +lbl_800C7A14: +/* 800C7A14 000C4974 7E E4 BB 78 */ mr r4, r23 +/* 800C7A18 000C4978 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800C7A1C 000C497C 48 01 23 59 */ bl LoadActorParameters__FR12CInputStream +/* 800C7A20 000C4980 38 61 01 40 */ addi r3, r1, 0x140 +/* 800C7A24 000C4984 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 800C7A28 000C4988 4B FF DB F5 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C7A2C 000C498C 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800C7A30 000C4990 38 80 FF FF */ li r4, -1 +/* 800C7A34 000C4994 48 03 EB D5 */ bl __dt__16CActorParametersFv +/* 800C7A38 000C4998 7E E3 BB 78 */ mr r3, r23 +/* 800C7A3C 000C499C 48 27 71 ED */ bl ReadFloat__12CInputStreamFv +/* 800C7A40 000C49A0 FF E0 08 90 */ fmr f31, f1 +/* 800C7A44 000C49A4 7E E3 BB 78 */ mr r3, r23 +/* 800C7A48 000C49A8 48 27 72 3D */ bl ReadLong__12CInputStreamFv +/* 800C7A4C 000C49AC 7C 7B 1B 78 */ mr r27, r3 +/* 800C7A50 000C49B0 7E E4 BB 78 */ mr r4, r23 +/* 800C7A54 000C49B4 38 61 00 70 */ addi r3, r1, 0x70 +/* 800C7A58 000C49B8 4B FF BB 09 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C7A5C 000C49BC 7E E3 BB 78 */ mr r3, r23 +/* 800C7A60 000C49C0 48 27 72 25 */ bl ReadLong__12CInputStreamFv +/* 800C7A64 000C49C4 7C 7C 1B 78 */ mr r28, r3 +/* 800C7A68 000C49C8 7E E3 BB 78 */ mr r3, r23 +/* 800C7A6C 000C49CC 48 27 71 BD */ bl ReadFloat__12CInputStreamFv +/* 800C7A70 000C49D0 FF C0 08 90 */ fmr f30, f1 +/* 800C7A74 000C49D4 7E E3 BB 78 */ mr r3, r23 +/* 800C7A78 000C49D8 48 27 72 65 */ bl ReadBool__12CInputStreamFv +/* 800C7A7C 000C49DC 7C 7D 1B 78 */ mr r29, r3 +/* 800C7A80 000C49E0 7E E3 BB 78 */ mr r3, r23 +/* 800C7A84 000C49E4 48 27 72 59 */ bl ReadBool__12CInputStreamFv +/* 800C7A88 000C49E8 7C 7E 1B 78 */ mr r30, r3 +/* 800C7A8C 000C49EC 7E E3 BB 78 */ mr r3, r23 +/* 800C7A90 000C49F0 48 27 72 4D */ bl ReadBool__12CInputStreamFv +/* 800C7A94 000C49F4 7C 7F 1B 78 */ mr r31, r3 +/* 800C7A98 000C49F8 7E E4 BB 78 */ mr r4, r23 +/* 800C7A9C 000C49FC 38 61 00 54 */ addi r3, r1, 0x54 +/* 800C7AA0 000C4A00 4B FF BA C1 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C7AA4 000C4A04 7E E3 BB 78 */ mr r3, r23 +/* 800C7AA8 000C4A08 48 27 71 DD */ bl ReadLong__12CInputStreamFv +/* 800C7AAC 000C4A0C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C7AB0 000C4A10 54 7A 04 3E */ clrlwi r26, r3, 0x10 +/* 800C7AB4 000C4A14 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800C7AB8 000C4A18 3A C0 00 00 */ li r22, 0 +/* 800C7ABC 000C4A1C 38 83 00 0D */ addi r4, r3, 0xd +/* 800C7AC0 000C4A20 38 60 06 80 */ li r3, 0x680 +/* 800C7AC4 000C4A24 38 A0 00 00 */ li r5, 0 +/* 800C7AC8 000C4A28 48 24 DD A5 */ bl __nw__FUlPCcPCc +/* 800C7ACC 000C4A2C 7C 77 1B 79 */ or. r23, r3, r3 +/* 800C7AD0 000C4A30 41 82 00 B8 */ beq lbl_800C7B88 +/* 800C7AD4 000C4A34 80 E1 02 E0 */ lwz r7, 0x2e0(r1) +/* 800C7AD8 000C4A38 38 A0 00 01 */ li r5, 1 +/* 800C7ADC 000C4A3C 80 C1 02 E4 */ lwz r6, 0x2e4(r1) +/* 800C7AE0 000C4A40 38 61 00 8C */ addi r3, r1, 0x8c +/* 800C7AE4 000C4A44 C0 41 01 E8 */ lfs f2, 0x1e8(r1) +/* 800C7AE8 000C4A48 38 81 00 38 */ addi r4, r1, 0x38 +/* 800C7AEC 000C4A4C C0 21 01 EC */ lfs f1, 0x1ec(r1) +/* 800C7AF0 000C4A50 C0 01 01 F0 */ lfs f0, 0x1f0(r1) +/* 800C7AF4 000C4A54 80 01 02 E8 */ lwz r0, 0x2e8(r1) +/* 800C7AF8 000C4A58 90 E1 00 38 */ stw r7, 0x38(r1) +/* 800C7AFC 000C4A5C 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 800C7B00 000C4A60 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800C7B04 000C4A64 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800C7B08 000C4A68 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800C7B0C 000C4A6C 98 A1 00 4C */ stb r5, 0x4c(r1) +/* 800C7B10 000C4A70 90 01 00 50 */ stw r0, 0x50(r1) +/* 800C7B14 000C4A74 48 04 F0 41 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C7B18 000C4A78 7F 04 C3 78 */ mr r4, r24 +/* 800C7B1C 000C4A7C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800C7B20 000C4A80 3A C0 00 01 */ li r22, 1 +/* 800C7B24 000C4A84 4B F8 55 B9 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C7B28 000C4A88 A0 61 00 28 */ lhz r3, 0x28(r1) +/* 800C7B2C 000C4A8C 38 E1 00 70 */ addi r7, r1, 0x70 +/* 800C7B30 000C4A90 38 01 00 54 */ addi r0, r1, 0x54 +/* 800C7B34 000C4A94 FC 20 F8 90 */ fmr f1, f31 +/* 800C7B38 000C4A98 B0 61 00 2C */ sth r3, 0x2c(r1) +/* 800C7B3C 000C4A9C FC 40 F0 90 */ fmr f2, f30 +/* 800C7B40 000C4AA0 7E E3 BB 78 */ mr r3, r23 +/* 800C7B44 000C4AA4 7F 26 CB 78 */ mr r6, r25 +/* 800C7B48 000C4AA8 93 61 00 08 */ stw r27, 8(r1) +/* 800C7B4C 000C4AAC 38 81 00 2C */ addi r4, r1, 0x2c +/* 800C7B50 000C4AB0 38 A1 01 A8 */ addi r5, r1, 0x1a8 +/* 800C7B54 000C4AB4 90 E1 00 0C */ stw r7, 0xc(r1) +/* 800C7B58 000C4AB8 38 E1 01 B8 */ addi r7, r1, 0x1b8 +/* 800C7B5C 000C4ABC 39 01 00 8C */ addi r8, r1, 0x8c +/* 800C7B60 000C4AC0 39 21 01 40 */ addi r9, r1, 0x140 +/* 800C7B64 000C4AC4 93 81 00 10 */ stw r28, 0x10(r1) +/* 800C7B68 000C4AC8 39 41 01 F4 */ addi r10, r1, 0x1f4 +/* 800C7B6C 000C4ACC 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800C7B70 000C4AD0 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800C7B74 000C4AD4 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800C7B78 000C4AD8 90 01 00 20 */ stw r0, 0x20(r1) +/* 800C7B7C 000C4ADC 93 41 00 24 */ stw r26, 0x24(r1) +/* 800C7B80 000C4AE0 48 19 4E 6D */ bl __ct__7CPuffer +/* 800C7B84 000C4AE4 7C 77 1B 78 */ mr r23, r3 +lbl_800C7B88: +/* 800C7B88 000C4AE8 7E C0 07 75 */ extsb. r0, r22 +/* 800C7B8C 000C4AEC 41 82 00 10 */ beq lbl_800C7B9C +/* 800C7B90 000C4AF0 38 61 00 8C */ addi r3, r1, 0x8c +/* 800C7B94 000C4AF4 38 80 FF FF */ li r4, -1 +/* 800C7B98 000C4AF8 48 04 EE B5 */ bl __dt__10CModelDataFv +lbl_800C7B9C: +/* 800C7B9C 000C4AFC 38 61 01 40 */ addi r3, r1, 0x140 +/* 800C7BA0 000C4B00 38 80 FF FF */ li r4, -1 +/* 800C7BA4 000C4B04 48 03 EA 65 */ bl __dt__16CActorParametersFv +/* 800C7BA8 000C4B08 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800C7BAC 000C4B0C 48 27 5F 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C7BB0 000C4B10 7E E3 BB 78 */ mr r3, r23 +lbl_800C7BB4: +/* 800C7BB4 000C4B14 E3 E1 03 78 */ psq_l f31, 888(r1), 0, qr0 +/* 800C7BB8 000C4B18 CB E1 03 70 */ lfd f31, 0x370(r1) +/* 800C7BBC 000C4B1C E3 C1 03 68 */ psq_l f30, 872(r1), 0, qr0 +/* 800C7BC0 000C4B20 CB C1 03 60 */ lfd f30, 0x360(r1) +/* 800C7BC4 000C4B24 BA C1 03 38 */ lmw r22, 0x338(r1) +/* 800C7BC8 000C4B28 80 01 03 84 */ lwz r0, 0x384(r1) +/* 800C7BCC 000C4B2C 7C 08 03 A6 */ mtlr r0 +/* 800C7BD0 000C4B30 38 21 03 80 */ addi r1, r1, 0x380 +/* 800C7BD4 000C4B34 4E 80 00 20 */ blr + +.global LoadRidley__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadRidley__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C7BD8 000C4B38 94 21 FD 00 */ stwu r1, -0x300(r1) +/* 800C7BDC 000C4B3C 7C 08 02 A6 */ mflr r0 +/* 800C7BE0 000C4B40 90 01 03 04 */ stw r0, 0x304(r1) +/* 800C7BE4 000C4B44 80 02 B9 08 */ lwz r0, lbl_805AD628@sda21(r2) +/* 800C7BE8 000C4B48 BF 41 02 E8 */ stmw r26, 0x2e8(r1) +/* 800C7BEC 000C4B4C 7C BE 2B 78 */ mr r30, r5 +/* 800C7BF0 000C4B50 7C 1E 00 00 */ cmpw r30, r0 +/* 800C7BF4 000C4B54 7C 7C 1B 78 */ mr r28, r3 +/* 800C7BF8 000C4B58 7C 9D 23 78 */ mr r29, r4 +/* 800C7BFC 000C4B5C 7C DF 33 78 */ mr r31, r6 +/* 800C7C00 000C4B60 40 80 00 0C */ bge lbl_800C7C0C +/* 800C7C04 000C4B64 38 60 00 00 */ li r3, 0 +/* 800C7C08 000C4B68 48 00 01 80 */ b lbl_800C7D88 +lbl_800C7C0C: +/* 800C7C0C 000C4B6C 7F 85 E3 78 */ mr r5, r28 +/* 800C7C10 000C4B70 38 61 01 58 */ addi r3, r1, 0x158 +/* 800C7C14 000C4B74 48 01 28 69 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C7C18 000C4B78 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C7C1C 000C4B7C 7F A4 EB 78 */ mr r4, r29 +/* 800C7C20 000C4B80 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C7C24 000C4B84 38 61 00 18 */ addi r3, r1, 0x18 +/* 800C7C28 000C4B88 38 A5 00 57 */ addi r5, r5, 0x57 +/* 800C7C2C 000C4B8C 48 03 DB FD */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C7C30 000C4B90 88 01 00 18 */ lbz r0, 0x18(r1) +/* 800C7C34 000C4B94 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800C7C38 000C4B98 28 00 00 00 */ cmplwi r0, 0 +/* 800C7C3C 000C4B9C 40 82 00 14 */ bne lbl_800C7C50 +/* 800C7C40 000C4BA0 38 61 01 58 */ addi r3, r1, 0x158 +/* 800C7C44 000C4BA4 48 27 5E 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C7C48 000C4BA8 38 60 00 00 */ li r3, 0 +/* 800C7C4C 000C4BAC 48 00 01 3C */ b lbl_800C7D88 +lbl_800C7C50: +/* 800C7C50 000C4BB0 7F A4 EB 78 */ mr r4, r29 +/* 800C7C54 000C4BB4 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800C7C58 000C4BB8 48 03 DC 21 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C7C5C 000C4BBC 7F A4 EB 78 */ mr r4, r29 +/* 800C7C60 000C4BC0 38 61 00 88 */ addi r3, r1, 0x88 +/* 800C7C64 000C4BC4 48 01 21 11 */ bl LoadActorParameters__FR12CInputStream +/* 800C7C68 000C4BC8 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800C7C6C 000C4BCC 38 81 00 88 */ addi r4, r1, 0x88 +/* 800C7C70 000C4BD0 4B FF D9 AD */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C7C74 000C4BD4 38 61 00 88 */ addi r3, r1, 0x88 +/* 800C7C78 000C4BD8 38 80 FF FF */ li r4, -1 +/* 800C7C7C 000C4BDC 48 03 E9 8D */ bl __dt__16CActorParametersFv +/* 800C7C80 000C4BE0 80 61 02 90 */ lwz r3, 0x290(r1) +/* 800C7C84 000C4BE4 3C 03 00 01 */ addis r0, r3, 1 +/* 800C7C88 000C4BE8 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C7C8C 000C4BEC 40 82 00 20 */ bne lbl_800C7CAC +/* 800C7C90 000C4BF0 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800C7C94 000C4BF4 38 80 FF FF */ li r4, -1 +/* 800C7C98 000C4BF8 48 03 E9 71 */ bl __dt__16CActorParametersFv +/* 800C7C9C 000C4BFC 38 61 01 58 */ addi r3, r1, 0x158 +/* 800C7CA0 000C4C00 48 27 5E 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C7CA4 000C4C04 38 60 00 00 */ li r3, 0 +/* 800C7CA8 000C4C08 48 00 00 E0 */ b lbl_800C7D88 +lbl_800C7CAC: +/* 800C7CAC 000C4C0C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C7CB0 000C4C10 3B 40 00 00 */ li r26, 0 +/* 800C7CB4 000C4C14 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800C7CB8 000C4C18 38 60 0D 18 */ li r3, 0xd18 +/* 800C7CBC 000C4C1C 38 84 00 0D */ addi r4, r4, 0xd +/* 800C7CC0 000C4C20 38 A0 00 00 */ li r5, 0 +/* 800C7CC4 000C4C24 48 24 DB A9 */ bl __nw__FUlPCcPCc +/* 800C7CC8 000C4C28 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800C7CCC 000C4C2C 41 82 00 90 */ beq lbl_800C7D5C +/* 800C7CD0 000C4C30 80 E1 02 90 */ lwz r7, 0x290(r1) +/* 800C7CD4 000C4C34 38 A0 00 01 */ li r5, 1 +/* 800C7CD8 000C4C38 80 C1 02 94 */ lwz r6, 0x294(r1) +/* 800C7CDC 000C4C3C 38 61 00 3C */ addi r3, r1, 0x3c +/* 800C7CE0 000C4C40 C0 41 01 98 */ lfs f2, 0x198(r1) +/* 800C7CE4 000C4C44 38 81 00 20 */ addi r4, r1, 0x20 +/* 800C7CE8 000C4C48 C0 21 01 9C */ lfs f1, 0x19c(r1) +/* 800C7CEC 000C4C4C C0 01 01 A0 */ lfs f0, 0x1a0(r1) +/* 800C7CF0 000C4C50 80 01 02 98 */ lwz r0, 0x298(r1) +/* 800C7CF4 000C4C54 90 E1 00 20 */ stw r7, 0x20(r1) +/* 800C7CF8 000C4C58 90 C1 00 24 */ stw r6, 0x24(r1) +/* 800C7CFC 000C4C5C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 800C7D00 000C4C60 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800C7D04 000C4C64 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800C7D08 000C4C68 98 A1 00 34 */ stb r5, 0x34(r1) +/* 800C7D0C 000C4C6C 90 01 00 38 */ stw r0, 0x38(r1) +/* 800C7D10 000C4C70 48 04 EE 45 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C7D14 000C4C74 7F 84 E3 78 */ mr r4, r28 +/* 800C7D18 000C4C78 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C7D1C 000C4C7C 3B 40 00 01 */ li r26, 1 +/* 800C7D20 000C4C80 4B F8 53 BD */ bl AllocateUniqueId__13CStateManagerFv +/* 800C7D24 000C4C84 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800C7D28 000C4C88 7F 63 DB 78 */ mr r3, r27 +/* 800C7D2C 000C4C8C 7F E6 FB 78 */ mr r6, r31 +/* 800C7D30 000C4C90 38 81 00 14 */ addi r4, r1, 0x14 +/* 800C7D34 000C4C94 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800C7D38 000C4C98 38 A1 01 58 */ addi r5, r1, 0x158 +/* 800C7D3C 000C4C9C 38 E1 01 68 */ addi r7, r1, 0x168 +/* 800C7D40 000C4CA0 39 01 00 3C */ addi r8, r1, 0x3c +/* 800C7D44 000C4CA4 93 A1 00 08 */ stw r29, 8(r1) +/* 800C7D48 000C4CA8 39 21 01 A4 */ addi r9, r1, 0x1a4 +/* 800C7D4C 000C4CAC 39 41 00 F0 */ addi r10, r1, 0xf0 +/* 800C7D50 000C4CB0 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800C7D54 000C4CB4 48 19 1F D5 */ bl "__ct__7CRidleyF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CAABoxRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CInputStreamUi" +/* 800C7D58 000C4CB8 7C 7B 1B 78 */ mr r27, r3 +lbl_800C7D5C: +/* 800C7D5C 000C4CBC 7F 40 07 75 */ extsb. r0, r26 +/* 800C7D60 000C4CC0 41 82 00 10 */ beq lbl_800C7D70 +/* 800C7D64 000C4CC4 38 61 00 3C */ addi r3, r1, 0x3c +/* 800C7D68 000C4CC8 38 80 FF FF */ li r4, -1 +/* 800C7D6C 000C4CCC 48 04 EC E1 */ bl __dt__10CModelDataFv +lbl_800C7D70: +/* 800C7D70 000C4CD0 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800C7D74 000C4CD4 38 80 FF FF */ li r4, -1 +/* 800C7D78 000C4CD8 48 03 E8 91 */ bl __dt__16CActorParametersFv +/* 800C7D7C 000C4CDC 38 61 01 58 */ addi r3, r1, 0x158 +/* 800C7D80 000C4CE0 48 27 5D 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C7D84 000C4CE4 7F 63 DB 78 */ mr r3, r27 +lbl_800C7D88: +/* 800C7D88 000C4CE8 BB 41 02 E8 */ lmw r26, 0x2e8(r1) +/* 800C7D8C 000C4CEC 80 01 03 04 */ lwz r0, 0x304(r1) +/* 800C7D90 000C4CF0 7C 08 03 A6 */ mtlr r0 +/* 800C7D94 000C4CF4 38 21 03 00 */ addi r1, r1, 0x300 +/* 800C7D98 000C4CF8 4E 80 00 20 */ blr + +.global LoadIceZoomer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadIceZoomer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C7D9C 000C4CFC 94 21 FB B0 */ stwu r1, -0x450(r1) +/* 800C7DA0 000C4D00 7C 08 02 A6 */ mflr r0 +/* 800C7DA4 000C4D04 90 01 04 54 */ stw r0, 0x454(r1) +/* 800C7DA8 000C4D08 DB E1 04 40 */ stfd f31, 0x440(r1) +/* 800C7DAC 000C4D0C F3 E1 04 48 */ psq_st f31, 1096(r1), 0, qr0 +/* 800C7DB0 000C4D10 DB C1 04 30 */ stfd f30, 0x430(r1) +/* 800C7DB4 000C4D14 F3 C1 04 38 */ psq_st f30, 1080(r1), 0, qr0 +/* 800C7DB8 000C4D18 DB A1 04 20 */ stfd f29, 0x420(r1) +/* 800C7DBC 000C4D1C F3 A1 04 28 */ psq_st f29, 1064(r1), 0, qr0 +/* 800C7DC0 000C4D20 DB 81 04 10 */ stfd f28, 0x410(r1) +/* 800C7DC4 000C4D24 F3 81 04 18 */ psq_st f28, 1048(r1), 0, qr0 +/* 800C7DC8 000C4D28 DB 61 04 00 */ stfd f27, 0x400(r1) +/* 800C7DCC 000C4D2C F3 61 04 08 */ psq_st f27, 1032(r1), 0, qr0 +/* 800C7DD0 000C4D30 DB 41 03 F0 */ stfd f26, 0x3f0(r1) +/* 800C7DD4 000C4D34 F3 41 03 F8 */ psq_st f26, 1016(r1), 0, qr0 +/* 800C7DD8 000C4D38 DB 21 03 E0 */ stfd f25, 0x3e0(r1) +/* 800C7DDC 000C4D3C F3 21 03 E8 */ psq_st f25, 1000(r1), 0, qr0 +/* 800C7DE0 000C4D40 BF 01 03 C0 */ stmw r24, 0x3c0(r1) +/* 800C7DE4 000C4D44 2C 05 00 10 */ cmpwi r5, 0x10 +/* 800C7DE8 000C4D48 7C 7B 1B 78 */ mr r27, r3 +/* 800C7DEC 000C4D4C 7C 99 23 78 */ mr r25, r4 +/* 800C7DF0 000C4D50 7C DC 33 78 */ mr r28, r6 +/* 800C7DF4 000C4D54 41 82 00 0C */ beq lbl_800C7E00 +/* 800C7DF8 000C4D58 38 60 00 00 */ li r3, 0 +/* 800C7DFC 000C4D5C 48 00 02 DC */ b lbl_800C80D8 +lbl_800C7E00: +/* 800C7E00 000C4D60 7F 65 DB 78 */ mr r5, r27 +/* 800C7E04 000C4D64 38 61 02 34 */ addi r3, r1, 0x234 +/* 800C7E08 000C4D68 48 01 26 75 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C7E0C 000C4D6C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C7E10 000C4D70 7F 24 CB 78 */ mr r4, r25 +/* 800C7E14 000C4D74 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C7E18 000C4D78 38 61 00 70 */ addi r3, r1, 0x70 +/* 800C7E1C 000C4D7C 38 A5 00 5E */ addi r5, r5, 0x5e +/* 800C7E20 000C4D80 48 03 DA 09 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C7E24 000C4D84 88 01 00 70 */ lbz r0, 0x70(r1) +/* 800C7E28 000C4D88 80 A1 00 74 */ lwz r5, 0x74(r1) +/* 800C7E2C 000C4D8C 28 00 00 00 */ cmplwi r0, 0 +/* 800C7E30 000C4D90 40 82 00 14 */ bne lbl_800C7E44 +/* 800C7E34 000C4D94 38 61 02 34 */ addi r3, r1, 0x234 +/* 800C7E38 000C4D98 48 27 5C A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C7E3C 000C4D9C 38 60 00 00 */ li r3, 0 +/* 800C7E40 000C4DA0 48 00 02 98 */ b lbl_800C80D8 +lbl_800C7E44: +/* 800C7E44 000C4DA4 7F 24 CB 78 */ mr r4, r25 +/* 800C7E48 000C4DA8 38 61 02 80 */ addi r3, r1, 0x280 +/* 800C7E4C 000C4DAC 48 03 DA 2D */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C7E50 000C4DB0 7F 24 CB 78 */ mr r4, r25 +/* 800C7E54 000C4DB4 38 61 00 FC */ addi r3, r1, 0xfc +/* 800C7E58 000C4DB8 48 01 1F 1D */ bl LoadActorParameters__FR12CInputStream +/* 800C7E5C 000C4DBC 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800C7E60 000C4DC0 38 81 00 FC */ addi r4, r1, 0xfc +/* 800C7E64 000C4DC4 4B FF D7 B9 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C7E68 000C4DC8 38 61 00 FC */ addi r3, r1, 0xfc +/* 800C7E6C 000C4DCC 38 80 FF FF */ li r4, -1 +/* 800C7E70 000C4DD0 48 03 E7 99 */ bl __dt__16CActorParametersFv +/* 800C7E74 000C4DD4 80 61 03 6C */ lwz r3, 0x36c(r1) +/* 800C7E78 000C4DD8 3C 03 00 01 */ addis r0, r3, 1 +/* 800C7E7C 000C4DDC 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C7E80 000C4DE0 40 82 00 20 */ bne lbl_800C7EA0 +/* 800C7E84 000C4DE4 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800C7E88 000C4DE8 38 80 FF FF */ li r4, -1 +/* 800C7E8C 000C4DEC 48 03 E7 7D */ bl __dt__16CActorParametersFv +/* 800C7E90 000C4DF0 38 61 02 34 */ addi r3, r1, 0x234 +/* 800C7E94 000C4DF4 48 27 5C 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C7E98 000C4DF8 38 60 00 00 */ li r3, 0 +/* 800C7E9C 000C4DFC 48 00 02 3C */ b lbl_800C80D8 +lbl_800C7EA0: +/* 800C7EA0 000C4E00 7F 23 CB 78 */ mr r3, r25 +/* 800C7EA4 000C4E04 48 27 6D 85 */ bl ReadFloat__12CInputStreamFv +/* 800C7EA8 000C4E08 FF 80 08 90 */ fmr f28, f1 +/* 800C7EAC 000C4E0C 7F 23 CB 78 */ mr r3, r25 +/* 800C7EB0 000C4E10 48 27 6D 79 */ bl ReadFloat__12CInputStreamFv +/* 800C7EB4 000C4E14 FF 60 08 90 */ fmr f27, f1 +/* 800C7EB8 000C4E18 7F 23 CB 78 */ mr r3, r25 +/* 800C7EBC 000C4E1C 48 27 6D 6D */ bl ReadFloat__12CInputStreamFv +/* 800C7EC0 000C4E20 FF 40 08 90 */ fmr f26, f1 +/* 800C7EC4 000C4E24 7F 23 CB 78 */ mr r3, r25 +/* 800C7EC8 000C4E28 48 27 6D 61 */ bl ReadFloat__12CInputStreamFv +/* 800C7ECC 000C4E2C FF 20 08 90 */ fmr f25, f1 +/* 800C7ED0 000C4E30 7F 23 CB 78 */ mr r3, r25 +/* 800C7ED4 000C4E34 48 27 6D 55 */ bl ReadFloat__12CInputStreamFv +/* 800C7ED8 000C4E38 FF A0 08 90 */ fmr f29, f1 +/* 800C7EDC 000C4E3C 7F 23 CB 78 */ mr r3, r25 +/* 800C7EE0 000C4E40 48 27 6D 49 */ bl ReadFloat__12CInputStreamFv +/* 800C7EE4 000C4E44 FF C0 08 90 */ fmr f30, f1 +/* 800C7EE8 000C4E48 7F 23 CB 78 */ mr r3, r25 +/* 800C7EEC 000C4E4C 48 27 6D 99 */ bl ReadLong__12CInputStreamFv +/* 800C7EF0 000C4E50 7C 7E 1B 78 */ mr r30, r3 +/* 800C7EF4 000C4E54 7F 23 CB 78 */ mr r3, r25 +/* 800C7EF8 000C4E58 48 27 6D 8D */ bl ReadLong__12CInputStreamFv +/* 800C7EFC 000C4E5C 7C 7F 1B 78 */ mr r31, r3 +/* 800C7F00 000C4E60 7F 24 CB 78 */ mr r4, r25 +/* 800C7F04 000C4E64 38 61 01 64 */ addi r3, r1, 0x164 +/* 800C7F08 000C4E68 48 03 AC 51 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800C7F0C 000C4E6C 7F 23 CB 78 */ mr r3, r25 +/* 800C7F10 000C4E70 48 27 6D 19 */ bl ReadFloat__12CInputStreamFv +/* 800C7F14 000C4E74 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C7F18 000C4E78 FF E0 08 90 */ fmr f31, f1 +/* 800C7F1C 000C4E7C 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800C7F20 000C4E80 3B 00 00 00 */ li r24, 0 +/* 800C7F24 000C4E84 38 83 00 0D */ addi r4, r3, 0xd +/* 800C7F28 000C4E88 38 60 07 48 */ li r3, 0x748 +/* 800C7F2C 000C4E8C 38 A0 00 00 */ li r5, 0 +/* 800C7F30 000C4E90 48 24 D9 3D */ bl __nw__FUlPCcPCc +/* 800C7F34 000C4E94 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800C7F38 000C4E98 41 82 01 74 */ beq lbl_800C80AC +/* 800C7F3C 000C4E9C 39 40 00 00 */ li r10, 0 +/* 800C7F40 000C4EA0 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 800C7F44 000C4EA4 51 40 3E 30 */ rlwimi r0, r10, 7, 0x18, 0x18 +/* 800C7F48 000C4EA8 C0 62 8E 28 */ lfs f3, lbl_805AAB48@sda21(r2) +/* 800C7F4C 000C4EAC 98 01 00 6C */ stb r0, 0x6c(r1) +/* 800C7F50 000C4EB0 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 800C7F54 000C4EB4 51 40 36 72 */ rlwimi r0, r10, 6, 0x19, 0x19 +/* 800C7F58 000C4EB8 89 01 00 AC */ lbz r8, 0xac(r1) +/* 800C7F5C 000C4EBC 80 E1 03 6C */ lwz r7, 0x36c(r1) +/* 800C7F60 000C4EC0 54 09 06 3E */ clrlwi r9, r0, 0x18 +/* 800C7F64 000C4EC4 98 01 00 6C */ stb r0, 0x6c(r1) +/* 800C7F68 000C4EC8 51 49 2E B4 */ rlwimi r9, r10, 5, 0x1a, 0x1a +/* 800C7F6C 000C4ECC 80 C1 03 70 */ lwz r6, 0x370(r1) +/* 800C7F70 000C4ED0 51 48 3E 30 */ rlwimi r8, r10, 7, 0x18, 0x18 +/* 800C7F74 000C4ED4 C0 41 02 74 */ lfs f2, 0x274(r1) +/* 800C7F78 000C4ED8 38 A0 00 01 */ li r5, 1 +/* 800C7F7C 000C4EDC C0 21 02 78 */ lfs f1, 0x278(r1) +/* 800C7F80 000C4EE0 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800C7F84 000C4EE4 C0 01 02 7C */ lfs f0, 0x27c(r1) +/* 800C7F88 000C4EE8 38 81 00 78 */ addi r4, r1, 0x78 +/* 800C7F8C 000C4EEC 80 01 03 74 */ lwz r0, 0x374(r1) +/* 800C7F90 000C4EF0 91 41 00 68 */ stw r10, 0x68(r1) +/* 800C7F94 000C4EF4 99 21 00 6C */ stb r9, 0x6c(r1) +/* 800C7F98 000C4EF8 91 41 00 94 */ stw r10, 0x94(r1) +/* 800C7F9C 000C4EFC 99 21 00 98 */ stb r9, 0x98(r1) +/* 800C7FA0 000C4F00 D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 800C7FA4 000C4F04 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 800C7FA8 000C4F08 D0 61 00 A4 */ stfs f3, 0xa4(r1) +/* 800C7FAC 000C4F0C D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 800C7FB0 000C4F10 99 01 00 AC */ stb r8, 0xac(r1) +/* 800C7FB4 000C4F14 90 E1 00 78 */ stw r7, 0x78(r1) +/* 800C7FB8 000C4F18 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 800C7FBC 000C4F1C D0 41 00 80 */ stfs f2, 0x80(r1) +/* 800C7FC0 000C4F20 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 800C7FC4 000C4F24 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800C7FC8 000C4F28 98 A1 00 8C */ stb r5, 0x8c(r1) +/* 800C7FCC 000C4F2C 90 01 00 90 */ stw r0, 0x90(r1) +/* 800C7FD0 000C4F30 48 04 EB 85 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C7FD4 000C4F34 7F 64 DB 78 */ mr r4, r27 +/* 800C7FD8 000C4F38 38 61 00 60 */ addi r3, r1, 0x60 +/* 800C7FDC 000C4F3C 3B 00 00 01 */ li r24, 1 +/* 800C7FE0 000C4F40 4B F8 50 FD */ bl AllocateUniqueId__13CStateManagerFv +/* 800C7FE4 000C4F44 A0 61 00 60 */ lhz r3, 0x60(r1) +/* 800C7FE8 000C4F48 38 00 00 06 */ li r0, 6 +/* 800C7FEC 000C4F4C C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800C7FF0 000C4F50 3B 40 00 00 */ li r26, 0 +/* 800C7FF4 000C4F54 B0 61 00 64 */ sth r3, 0x64(r1) +/* 800C7FF8 000C4F58 3B 60 00 03 */ li r27, 3 +/* 800C7FFC 000C4F5C C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800C8000 000C4F60 39 81 01 64 */ addi r12, r1, 0x164 +/* 800C8004 000C4F64 90 01 00 08 */ stw r0, 8(r1) +/* 800C8008 000C4F68 39 61 00 94 */ addi r11, r1, 0x94 +/* 800C800C 000C4F6C A3 22 C5 FC */ lhz r25, lbl_805AE31C@sda21(r2) +/* 800C8010 000C4F70 FC 40 E0 90 */ fmr f2, f28 +/* 800C8014 000C4F74 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800C8018 000C4F78 FC 60 D8 90 */ fmr f3, f27 +/* 800C801C 000C4F7C 38 01 01 CC */ addi r0, r1, 0x1cc +/* 800C8020 000C4F80 FC 80 D0 90 */ fmr f4, f26 +/* 800C8024 000C4F84 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800C8028 000C4F88 FC A0 C8 90 */ fmr f5, f25 +/* 800C802C 000C4F8C C0 C2 8E 30 */ lfs f6, lbl_805AAB50@sda21(r2) +/* 800C8030 000C4F90 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800C8034 000C4F94 FD 00 08 90 */ fmr f8, f1 +/* 800C8038 000C4F98 C0 E2 8E 34 */ lfs f7, lbl_805AAB54@sda21(r2) +/* 800C803C 000C4F9C 7F A3 EB 78 */ mr r3, r29 +/* 800C8040 000C4FA0 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800C8044 000C4FA4 7F 87 E3 78 */ mr r7, r28 +/* 800C8048 000C4FA8 38 81 00 64 */ addi r4, r1, 0x64 +/* 800C804C 000C4FAC 38 A1 02 34 */ addi r5, r1, 0x234 +/* 800C8050 000C4FB0 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800C8054 000C4FB4 39 01 02 44 */ addi r8, r1, 0x244 +/* 800C8058 000C4FB8 39 21 00 B0 */ addi r9, r1, 0xb0 +/* 800C805C 000C4FBC 39 41 02 80 */ addi r10, r1, 0x280 +/* 800C8060 000C4FC0 D3 C1 00 20 */ stfs f30, 0x20(r1) +/* 800C8064 000C4FC4 38 C0 00 00 */ li r6, 0 +/* 800C8068 000C4FC8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800C806C 000C4FCC D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800C8070 000C4FD0 D3 A1 00 2C */ stfs f29, 0x2c(r1) +/* 800C8074 000C4FD4 D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800C8078 000C4FD8 93 41 00 34 */ stw r26, 0x34(r1) +/* 800C807C 000C4FDC 93 61 00 38 */ stw r27, 0x38(r1) +/* 800C8080 000C4FE0 91 81 00 3C */ stw r12, 0x3c(r1) +/* 800C8084 000C4FE4 91 61 00 40 */ stw r11, 0x40(r1) +/* 800C8088 000C4FE8 93 21 00 44 */ stw r25, 0x44(r1) +/* 800C808C 000C4FEC 93 21 00 48 */ stw r25, 0x48(r1) +/* 800C8090 000C4FF0 93 21 00 4C */ stw r25, 0x4c(r1) +/* 800C8094 000C4FF4 93 C1 00 50 */ stw r30, 0x50(r1) +/* 800C8098 000C4FF8 93 E1 00 54 */ stw r31, 0x54(r1) +/* 800C809C 000C4FFC D3 E1 00 58 */ stfs f31, 0x58(r1) +/* 800C80A0 000C5000 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800C80A4 000C5004 48 09 23 C1 */ bl "__ct__9CParasiteF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfo9EBodyTypefffffffffffffffffbUiRC10Something1RC10Something2UsUsUsUiUifRC16CActorParameters" +/* 800C80A8 000C5008 7C 7D 1B 78 */ mr r29, r3 +lbl_800C80AC: +/* 800C80AC 000C500C 7F 00 07 75 */ extsb. r0, r24 +/* 800C80B0 000C5010 41 82 00 10 */ beq lbl_800C80C0 +/* 800C80B4 000C5014 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800C80B8 000C5018 38 80 FF FF */ li r4, -1 +/* 800C80BC 000C501C 48 04 E9 91 */ bl __dt__10CModelDataFv +lbl_800C80C0: +/* 800C80C0 000C5020 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800C80C4 000C5024 38 80 FF FF */ li r4, -1 +/* 800C80C8 000C5028 48 03 E5 41 */ bl __dt__16CActorParametersFv +/* 800C80CC 000C502C 38 61 02 34 */ addi r3, r1, 0x234 +/* 800C80D0 000C5030 48 27 5A 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C80D4 000C5034 7F A3 EB 78 */ mr r3, r29 +lbl_800C80D8: +/* 800C80D8 000C5038 E3 E1 04 48 */ psq_l f31, 1096(r1), 0, qr0 +/* 800C80DC 000C503C CB E1 04 40 */ lfd f31, 0x440(r1) +/* 800C80E0 000C5040 E3 C1 04 38 */ psq_l f30, 1080(r1), 0, qr0 +/* 800C80E4 000C5044 CB C1 04 30 */ lfd f30, 0x430(r1) +/* 800C80E8 000C5048 E3 A1 04 28 */ psq_l f29, 1064(r1), 0, qr0 +/* 800C80EC 000C504C CB A1 04 20 */ lfd f29, 0x420(r1) +/* 800C80F0 000C5050 E3 81 04 18 */ psq_l f28, 1048(r1), 0, qr0 +/* 800C80F4 000C5054 CB 81 04 10 */ lfd f28, 0x410(r1) +/* 800C80F8 000C5058 E3 61 04 08 */ psq_l f27, 1032(r1), 0, qr0 +/* 800C80FC 000C505C CB 61 04 00 */ lfd f27, 0x400(r1) +/* 800C8100 000C5060 E3 41 03 F8 */ psq_l f26, 1016(r1), 0, qr0 +/* 800C8104 000C5064 CB 41 03 F0 */ lfd f26, 0x3f0(r1) +/* 800C8108 000C5068 E3 21 03 E8 */ psq_l f25, 1000(r1), 0, qr0 +/* 800C810C 000C506C CB 21 03 E0 */ lfd f25, 0x3e0(r1) +/* 800C8110 000C5070 BB 01 03 C0 */ lmw r24, 0x3c0(r1) +/* 800C8114 000C5074 80 01 04 54 */ lwz r0, 0x454(r1) +/* 800C8118 000C5078 7C 08 03 A6 */ mtlr r0 +/* 800C811C 000C507C 38 21 04 50 */ addi r1, r1, 0x450 +/* 800C8120 000C5080 4E 80 00 20 */ blr + +.global LoadAtomicBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadAtomicBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C8124 000C5084 94 21 FB F0 */ stwu r1, -0x410(r1) +/* 800C8128 000C5088 7C 08 02 A6 */ mflr r0 +/* 800C812C 000C508C 90 01 04 14 */ stw r0, 0x414(r1) +/* 800C8130 000C5090 DB E1 04 00 */ stfd f31, 0x400(r1) +/* 800C8134 000C5094 F3 E1 04 08 */ psq_st f31, 1032(r1), 0, qr0 +/* 800C8138 000C5098 DB C1 03 F0 */ stfd f30, 0x3f0(r1) +/* 800C813C 000C509C F3 C1 03 F8 */ psq_st f30, 1016(r1), 0, qr0 +/* 800C8140 000C50A0 DB A1 03 E0 */ stfd f29, 0x3e0(r1) +/* 800C8144 000C50A4 F3 A1 03 E8 */ psq_st f29, 1000(r1), 0, qr0 +/* 800C8148 000C50A8 DB 81 03 D0 */ stfd f28, 0x3d0(r1) +/* 800C814C 000C50AC F3 81 03 D8 */ psq_st f28, 984(r1), 0, qr0 +/* 800C8150 000C50B0 DB 61 03 C0 */ stfd f27, 0x3c0(r1) +/* 800C8154 000C50B4 F3 61 03 C8 */ psq_st f27, 968(r1), 0, qr0 +/* 800C8158 000C50B8 DB 41 03 B0 */ stfd f26, 0x3b0(r1) +/* 800C815C 000C50BC F3 41 03 B8 */ psq_st f26, 952(r1), 0, qr0 +/* 800C8160 000C50C0 DB 21 03 A0 */ stfd f25, 0x3a0(r1) +/* 800C8164 000C50C4 F3 21 03 A8 */ psq_st f25, 936(r1), 0, qr0 +/* 800C8168 000C50C8 BE C1 03 78 */ stmw r22, 0x378(r1) +/* 800C816C 000C50CC 2C 05 00 15 */ cmpwi r5, 0x15 +/* 800C8170 000C50D0 7C 78 1B 78 */ mr r24, r3 +/* 800C8174 000C50D4 7C 97 23 78 */ mr r23, r4 +/* 800C8178 000C50D8 7C D9 33 78 */ mr r25, r6 +/* 800C817C 000C50DC 41 82 00 0C */ beq lbl_800C8188 +/* 800C8180 000C50E0 38 60 00 00 */ li r3, 0 +/* 800C8184 000C50E4 48 00 02 64 */ b lbl_800C83E8 +lbl_800C8188: +/* 800C8188 000C50E8 7F 05 C3 78 */ mr r5, r24 +/* 800C818C 000C50EC 38 61 01 F4 */ addi r3, r1, 0x1f4 +/* 800C8190 000C50F0 48 01 22 ED */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C8194 000C50F4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C8198 000C50F8 7E E4 BB 78 */ mr r4, r23 +/* 800C819C 000C50FC 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C81A0 000C5100 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C81A4 000C5104 38 A5 00 68 */ addi r5, r5, 0x68 +/* 800C81A8 000C5108 48 03 D6 81 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C81AC 000C510C 88 01 00 30 */ lbz r0, 0x30(r1) +/* 800C81B0 000C5110 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 800C81B4 000C5114 28 00 00 00 */ cmplwi r0, 0 +/* 800C81B8 000C5118 40 82 00 14 */ bne lbl_800C81CC +/* 800C81BC 000C511C 38 61 01 F4 */ addi r3, r1, 0x1f4 +/* 800C81C0 000C5120 48 27 59 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C81C4 000C5124 38 60 00 00 */ li r3, 0 +/* 800C81C8 000C5128 48 00 02 20 */ b lbl_800C83E8 +lbl_800C81CC: +/* 800C81CC 000C512C 7E E4 BB 78 */ mr r4, r23 +/* 800C81D0 000C5130 38 61 02 40 */ addi r3, r1, 0x240 +/* 800C81D4 000C5134 48 03 D6 A5 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C81D8 000C5138 80 61 03 2C */ lwz r3, 0x32c(r1) +/* 800C81DC 000C513C 3C 03 00 01 */ addis r0, r3, 1 +/* 800C81E0 000C5140 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C81E4 000C5144 40 82 00 14 */ bne lbl_800C81F8 +/* 800C81E8 000C5148 38 61 01 F4 */ addi r3, r1, 0x1f4 +/* 800C81EC 000C514C 48 27 58 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C81F0 000C5150 38 60 00 00 */ li r3, 0 +/* 800C81F4 000C5154 48 00 01 F4 */ b lbl_800C83E8 +lbl_800C81F8: +/* 800C81F8 000C5158 7E E4 BB 78 */ mr r4, r23 +/* 800C81FC 000C515C 38 61 00 BC */ addi r3, r1, 0xbc +/* 800C8200 000C5160 48 01 1B 75 */ bl LoadActorParameters__FR12CInputStream +/* 800C8204 000C5164 38 61 01 8C */ addi r3, r1, 0x18c +/* 800C8208 000C5168 38 81 00 BC */ addi r4, r1, 0xbc +/* 800C820C 000C516C 4B FF D4 11 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C8210 000C5170 38 61 00 BC */ addi r3, r1, 0xbc +/* 800C8214 000C5174 38 80 FF FF */ li r4, -1 +/* 800C8218 000C5178 48 03 E3 F1 */ bl __dt__16CActorParametersFv +/* 800C821C 000C517C 7E E3 BB 78 */ mr r3, r23 +/* 800C8220 000C5180 48 27 6A 65 */ bl ReadLong__12CInputStreamFv +/* 800C8224 000C5184 7C 7D 1B 78 */ mr r29, r3 +/* 800C8228 000C5188 7E E3 BB 78 */ mr r3, r23 +/* 800C822C 000C518C 48 27 6A 59 */ bl ReadLong__12CInputStreamFv +/* 800C8230 000C5190 7C 7E 1B 78 */ mr r30, r3 +/* 800C8234 000C5194 7E E4 BB 78 */ mr r4, r23 +/* 800C8238 000C5198 38 61 00 54 */ addi r3, r1, 0x54 +/* 800C823C 000C519C 4B FF B3 25 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C8240 000C51A0 7E E3 BB 78 */ mr r3, r23 +/* 800C8244 000C51A4 48 27 6A 41 */ bl ReadLong__12CInputStreamFv +/* 800C8248 000C51A8 7C 7F 1B 78 */ mr r31, r3 +/* 800C824C 000C51AC 7E E3 BB 78 */ mr r3, r23 +/* 800C8250 000C51B0 48 27 69 D9 */ bl ReadFloat__12CInputStreamFv +/* 800C8254 000C51B4 FF E0 08 90 */ fmr f31, f1 +/* 800C8258 000C51B8 7E E3 BB 78 */ mr r3, r23 +/* 800C825C 000C51BC 48 27 69 CD */ bl ReadFloat__12CInputStreamFv +/* 800C8260 000C51C0 FF C0 08 90 */ fmr f30, f1 +/* 800C8264 000C51C4 7E E3 BB 78 */ mr r3, r23 +/* 800C8268 000C51C8 48 27 69 C1 */ bl ReadFloat__12CInputStreamFv +/* 800C826C 000C51CC FF A0 08 90 */ fmr f29, f1 +/* 800C8270 000C51D0 7E E4 BB 78 */ mr r4, r23 +/* 800C8274 000C51D4 38 61 01 24 */ addi r3, r1, 0x124 +/* 800C8278 000C51D8 48 03 A8 E1 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800C827C 000C51DC 7E E3 BB 78 */ mr r3, r23 +/* 800C8280 000C51E0 48 27 69 A9 */ bl ReadFloat__12CInputStreamFv +/* 800C8284 000C51E4 FF 80 08 90 */ fmr f28, f1 +/* 800C8288 000C51E8 7E E3 BB 78 */ mr r3, r23 +/* 800C828C 000C51EC 48 27 69 9D */ bl ReadFloat__12CInputStreamFv +/* 800C8290 000C51F0 FF 60 08 90 */ fmr f27, f1 +/* 800C8294 000C51F4 7E E3 BB 78 */ mr r3, r23 +/* 800C8298 000C51F8 48 27 69 91 */ bl ReadFloat__12CInputStreamFv +/* 800C829C 000C51FC FF 40 08 90 */ fmr f26, f1 +/* 800C82A0 000C5200 7E E3 BB 78 */ mr r3, r23 +/* 800C82A4 000C5204 48 27 69 E1 */ bl ReadLong__12CInputStreamFv +/* 800C82A8 000C5208 54 7C 04 3E */ clrlwi r28, r3, 0x10 +/* 800C82AC 000C520C 7E E3 BB 78 */ mr r3, r23 +/* 800C82B0 000C5210 48 27 69 D5 */ bl ReadLong__12CInputStreamFv +/* 800C82B4 000C5214 54 7B 04 3E */ clrlwi r27, r3, 0x10 +/* 800C82B8 000C5218 7E E3 BB 78 */ mr r3, r23 +/* 800C82BC 000C521C 48 27 69 C9 */ bl ReadLong__12CInputStreamFv +/* 800C82C0 000C5220 54 7A 04 3E */ clrlwi r26, r3, 0x10 +/* 800C82C4 000C5224 7E E3 BB 78 */ mr r3, r23 +/* 800C82C8 000C5228 48 27 69 61 */ bl ReadFloat__12CInputStreamFv +/* 800C82CC 000C522C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C82D0 000C5230 FF 20 08 90 */ fmr f25, f1 +/* 800C82D4 000C5234 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800C82D8 000C5238 3A C0 00 00 */ li r22, 0 +/* 800C82DC 000C523C 38 83 00 0D */ addi r4, r3, 0xd +/* 800C82E0 000C5240 38 A0 00 00 */ li r5, 0 +/* 800C82E4 000C5244 38 60 06 58 */ li r3, 0x658 +/* 800C82E8 000C5248 48 24 D5 85 */ bl __nw__FUlPCcPCc +/* 800C82EC 000C524C 7C 77 1B 79 */ or. r23, r3, r3 +/* 800C82F0 000C5250 41 82 00 CC */ beq lbl_800C83BC +/* 800C82F4 000C5254 80 E1 03 2C */ lwz r7, 0x32c(r1) +/* 800C82F8 000C5258 38 A0 00 01 */ li r5, 1 +/* 800C82FC 000C525C 80 C1 03 30 */ lwz r6, 0x330(r1) +/* 800C8300 000C5260 38 61 00 70 */ addi r3, r1, 0x70 +/* 800C8304 000C5264 C0 41 02 34 */ lfs f2, 0x234(r1) +/* 800C8308 000C5268 38 81 00 38 */ addi r4, r1, 0x38 +/* 800C830C 000C526C C0 21 02 38 */ lfs f1, 0x238(r1) +/* 800C8310 000C5270 C0 01 02 3C */ lfs f0, 0x23c(r1) +/* 800C8314 000C5274 80 01 03 34 */ lwz r0, 0x334(r1) +/* 800C8318 000C5278 90 E1 00 38 */ stw r7, 0x38(r1) +/* 800C831C 000C527C 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 800C8320 000C5280 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800C8324 000C5284 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800C8328 000C5288 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800C832C 000C528C 98 A1 00 4C */ stb r5, 0x4c(r1) +/* 800C8330 000C5290 90 01 00 50 */ stw r0, 0x50(r1) +/* 800C8334 000C5294 48 04 E8 21 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C8338 000C5298 7F 04 C3 78 */ mr r4, r24 +/* 800C833C 000C529C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800C8340 000C52A0 3A C0 00 01 */ li r22, 1 +/* 800C8344 000C52A4 4B F8 4D 99 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C8348 000C52A8 A0 61 00 28 */ lhz r3, 0x28(r1) +/* 800C834C 000C52AC 38 A1 00 54 */ addi r5, r1, 0x54 +/* 800C8350 000C52B0 38 01 01 24 */ addi r0, r1, 0x124 +/* 800C8354 000C52B4 FC 20 F8 90 */ fmr f1, f31 +/* 800C8358 000C52B8 B0 61 00 2C */ sth r3, 0x2c(r1) +/* 800C835C 000C52BC FC 40 F0 90 */ fmr f2, f30 +/* 800C8360 000C52C0 FC 60 C8 90 */ fmr f3, f25 +/* 800C8364 000C52C4 7E E3 BB 78 */ mr r3, r23 +/* 800C8368 000C52C8 93 A1 00 08 */ stw r29, 8(r1) +/* 800C836C 000C52CC FC 80 E8 90 */ fmr f4, f29 +/* 800C8370 000C52D0 7F 26 CB 78 */ mr r6, r25 +/* 800C8374 000C52D4 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800C8378 000C52D8 FC A0 E0 90 */ fmr f5, f28 +/* 800C837C 000C52DC 38 81 00 2C */ addi r4, r1, 0x2c +/* 800C8380 000C52E0 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800C8384 000C52E4 FC C0 D8 90 */ fmr f6, f27 +/* 800C8388 000C52E8 38 A1 01 F4 */ addi r5, r1, 0x1f4 +/* 800C838C 000C52EC 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800C8390 000C52F0 FC E0 D0 90 */ fmr f7, f26 +/* 800C8394 000C52F4 38 E1 02 04 */ addi r7, r1, 0x204 +/* 800C8398 000C52F8 90 01 00 18 */ stw r0, 0x18(r1) +/* 800C839C 000C52FC 39 01 00 70 */ addi r8, r1, 0x70 +/* 800C83A0 000C5300 39 21 01 8C */ addi r9, r1, 0x18c +/* 800C83A4 000C5304 93 81 00 1C */ stw r28, 0x1c(r1) +/* 800C83A8 000C5308 39 41 02 40 */ addi r10, r1, 0x240 +/* 800C83AC 000C530C 93 61 00 20 */ stw r27, 0x20(r1) +/* 800C83B0 000C5310 93 41 00 24 */ stw r26, 0x24(r1) +/* 800C83B4 000C5314 48 18 94 79 */ bl __ct__11CAtomicBeta +/* 800C83B8 000C5318 7C 77 1B 78 */ mr r23, r3 +lbl_800C83BC: +/* 800C83BC 000C531C 7E C0 07 75 */ extsb. r0, r22 +/* 800C83C0 000C5320 41 82 00 10 */ beq lbl_800C83D0 +/* 800C83C4 000C5324 38 61 00 70 */ addi r3, r1, 0x70 +/* 800C83C8 000C5328 38 80 FF FF */ li r4, -1 +/* 800C83CC 000C532C 48 04 E6 81 */ bl __dt__10CModelDataFv +lbl_800C83D0: +/* 800C83D0 000C5330 38 61 01 8C */ addi r3, r1, 0x18c +/* 800C83D4 000C5334 38 80 FF FF */ li r4, -1 +/* 800C83D8 000C5338 48 03 E2 31 */ bl __dt__16CActorParametersFv +/* 800C83DC 000C533C 38 61 01 F4 */ addi r3, r1, 0x1f4 +/* 800C83E0 000C5340 48 27 57 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C83E4 000C5344 7E E3 BB 78 */ mr r3, r23 +lbl_800C83E8: +/* 800C83E8 000C5348 E3 E1 04 08 */ psq_l f31, 1032(r1), 0, qr0 +/* 800C83EC 000C534C CB E1 04 00 */ lfd f31, 0x400(r1) +/* 800C83F0 000C5350 E3 C1 03 F8 */ psq_l f30, 1016(r1), 0, qr0 +/* 800C83F4 000C5354 CB C1 03 F0 */ lfd f30, 0x3f0(r1) +/* 800C83F8 000C5358 E3 A1 03 E8 */ psq_l f29, 1000(r1), 0, qr0 +/* 800C83FC 000C535C CB A1 03 E0 */ lfd f29, 0x3e0(r1) +/* 800C8400 000C5360 E3 81 03 D8 */ psq_l f28, 984(r1), 0, qr0 +/* 800C8404 000C5364 CB 81 03 D0 */ lfd f28, 0x3d0(r1) +/* 800C8408 000C5368 E3 61 03 C8 */ psq_l f27, 968(r1), 0, qr0 +/* 800C840C 000C536C CB 61 03 C0 */ lfd f27, 0x3c0(r1) +/* 800C8410 000C5370 E3 41 03 B8 */ psq_l f26, 952(r1), 0, qr0 +/* 800C8414 000C5374 CB 41 03 B0 */ lfd f26, 0x3b0(r1) +/* 800C8418 000C5378 E3 21 03 A8 */ psq_l f25, 936(r1), 0, qr0 +/* 800C841C 000C537C CB 21 03 A0 */ lfd f25, 0x3a0(r1) +/* 800C8420 000C5380 BA C1 03 78 */ lmw r22, 0x378(r1) +/* 800C8424 000C5384 80 01 04 14 */ lwz r0, 0x414(r1) +/* 800C8428 000C5388 7C 08 03 A6 */ mtlr r0 +/* 800C842C 000C538C 38 21 04 10 */ addi r1, r1, 0x410 +/* 800C8430 000C5390 4E 80 00 20 */ blr + +.global LoadAmbientAI__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadAmbientAI__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C8434 000C5394 94 21 FC E0 */ stwu r1, -0x320(r1) +/* 800C8438 000C5398 7C 08 02 A6 */ mflr r0 +/* 800C843C 000C539C 90 01 03 24 */ stw r0, 0x324(r1) +/* 800C8440 000C53A0 DB E1 03 10 */ stfd f31, 0x310(r1) +/* 800C8444 000C53A4 F3 E1 03 18 */ psq_st f31, 792(r1), 0, qr0 +/* 800C8448 000C53A8 DB C1 03 00 */ stfd f30, 0x300(r1) +/* 800C844C 000C53AC F3 C1 03 08 */ psq_st f30, 776(r1), 0, qr0 +/* 800C8450 000C53B0 DB A1 02 F0 */ stfd f29, 0x2f0(r1) +/* 800C8454 000C53B4 F3 A1 02 F8 */ psq_st f29, 760(r1), 0, qr0 +/* 800C8458 000C53B8 BE C1 02 C8 */ stmw r22, 0x2c8(r1) +/* 800C845C 000C53BC 2C 05 00 10 */ cmpwi r5, 0x10 +/* 800C8460 000C53C0 7C 77 1B 78 */ mr r23, r3 +/* 800C8464 000C53C4 7C 96 23 78 */ mr r22, r4 +/* 800C8468 000C53C8 7C D8 33 78 */ mr r24, r6 +/* 800C846C 000C53CC 41 82 00 0C */ beq lbl_800C8478 +/* 800C8470 000C53D0 38 60 00 00 */ li r3, 0 +/* 800C8474 000C53D4 48 00 03 70 */ b lbl_800C87E4 +lbl_800C8478: +/* 800C8478 000C53D8 7E E5 BB 78 */ mr r5, r23 +/* 800C847C 000C53DC 38 61 02 7C */ addi r3, r1, 0x27c +/* 800C8480 000C53E0 48 01 1F FD */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C8484 000C53E4 7E C4 B3 78 */ mr r4, r22 +/* 800C8488 000C53E8 38 61 00 58 */ addi r3, r1, 0x58 +/* 800C848C 000C53EC 48 24 C7 01 */ bl __ct__9CVector3fFR12CInputStream +/* 800C8490 000C53F0 7E C4 B3 78 */ mr r4, r22 +/* 800C8494 000C53F4 38 61 00 4C */ addi r3, r1, 0x4c +/* 800C8498 000C53F8 48 24 C6 F5 */ bl __ct__9CVector3fFR12CInputStream +/* 800C849C 000C53FC 7E C3 B3 78 */ mr r3, r22 +/* 800C84A0 000C5400 48 27 67 89 */ bl ReadFloat__12CInputStreamFv +/* 800C84A4 000C5404 FF E0 08 90 */ fmr f31, f1 +/* 800C84A8 000C5408 7E C4 B3 78 */ mr r4, r22 +/* 800C84AC 000C540C 38 61 00 38 */ addi r3, r1, 0x38 +/* 800C84B0 000C5410 48 10 B3 95 */ bl __ct__11CHealthInfoFR12CInputStream +/* 800C84B4 000C5414 7E C4 B3 78 */ mr r4, r22 +/* 800C84B8 000C5418 38 61 02 14 */ addi r3, r1, 0x214 +/* 800C84BC 000C541C 48 03 A6 9D */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800C84C0 000C5420 7E C4 B3 78 */ mr r4, r22 +/* 800C84C4 000C5424 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C84C8 000C5428 48 01 1F 45 */ bl LoadAnimationParameters__FR12CInputStream +/* 800C84CC 000C542C 83 81 00 40 */ lwz r28, 0x40(r1) +/* 800C84D0 000C5430 7E C4 B3 78 */ mr r4, r22 +/* 800C84D4 000C5434 83 61 00 44 */ lwz r27, 0x44(r1) +/* 800C84D8 000C5438 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800C84DC 000C543C 83 41 00 48 */ lwz r26, 0x48(r1) +/* 800C84E0 000C5440 48 01 18 95 */ bl LoadActorParameters__FR12CInputStream +/* 800C84E4 000C5444 38 61 01 AC */ addi r3, r1, 0x1ac +/* 800C84E8 000C5448 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 800C84EC 000C544C 4B FF D1 31 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C84F0 000C5450 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800C84F4 000C5454 38 80 FF FF */ li r4, -1 +/* 800C84F8 000C5458 48 03 E1 11 */ bl __dt__16CActorParametersFv +/* 800C84FC 000C545C 7E C3 B3 78 */ mr r3, r22 +/* 800C8500 000C5460 48 27 67 29 */ bl ReadFloat__12CInputStreamFv +/* 800C8504 000C5464 FF C0 08 90 */ fmr f30, f1 +/* 800C8508 000C5468 7E C3 B3 78 */ mr r3, r22 +/* 800C850C 000C546C 48 27 67 1D */ bl ReadFloat__12CInputStreamFv +/* 800C8510 000C5470 FF A0 08 90 */ fmr f29, f1 +/* 800C8514 000C5474 7E C3 B3 78 */ mr r3, r22 +/* 800C8518 000C5478 48 27 67 6D */ bl ReadLong__12CInputStreamFv +/* 800C851C 000C547C 7C 7D 1B 78 */ mr r29, r3 +/* 800C8520 000C5480 7E C3 B3 78 */ mr r3, r22 +/* 800C8524 000C5484 48 27 67 61 */ bl ReadLong__12CInputStreamFv +/* 800C8528 000C5488 7C 7E 1B 78 */ mr r30, r3 +/* 800C852C 000C548C 7E C3 B3 78 */ mr r3, r22 +/* 800C8530 000C5490 48 27 67 AD */ bl ReadBool__12CInputStreamFv +/* 800C8534 000C5494 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800C8538 000C5498 7C 7F 1B 78 */ mr r31, r3 +/* 800C853C 000C549C 7F 84 E3 78 */ mr r4, r28 +/* 800C8540 000C54A0 38 65 00 04 */ addi r3, r5, 4 +/* 800C8544 000C54A4 48 27 37 89 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800C8548 000C54A8 28 03 00 00 */ cmplwi r3, 0 +/* 800C854C 000C54AC 40 82 00 20 */ bne lbl_800C856C +/* 800C8550 000C54B0 38 61 01 AC */ addi r3, r1, 0x1ac +/* 800C8554 000C54B4 38 80 FF FF */ li r4, -1 +/* 800C8558 000C54B8 48 03 E0 B1 */ bl __dt__16CActorParametersFv +/* 800C855C 000C54BC 38 61 02 7C */ addi r3, r1, 0x27c +/* 800C8560 000C54C0 48 27 55 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C8564 000C54C4 38 60 00 00 */ li r3, 0 +/* 800C8568 000C54C8 48 00 02 7C */ b lbl_800C87E4 +lbl_800C856C: +/* 800C856C 000C54CC 80 18 00 00 */ lwz r0, 0(r24) +/* 800C8570 000C54D0 3B 21 02 8C */ addi r25, r1, 0x28c +/* 800C8574 000C54D4 7E E4 BB 78 */ mr r4, r23 +/* 800C8578 000C54D8 38 61 00 98 */ addi r3, r1, 0x98 +/* 800C857C 000C54DC 90 01 00 28 */ stw r0, 0x28(r1) +/* 800C8580 000C54E0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800C8584 000C54E4 38 C1 00 58 */ addi r6, r1, 0x58 +/* 800C8588 000C54E8 38 E1 00 4C */ addi r7, r1, 0x4c +/* 800C858C 000C54EC 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800C8590 000C54F0 48 01 21 8D */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f +/* 800C8594 000C54F4 C0 A1 00 98 */ lfs f5, 0x98(r1) +/* 800C8598 000C54F8 38 00 00 00 */ li r0, 0 +/* 800C859C 000C54FC C0 81 00 9C */ lfs f4, 0x9c(r1) +/* 800C85A0 000C5500 38 60 00 00 */ li r3, 0 +/* 800C85A4 000C5504 C0 61 00 A0 */ lfs f3, 0xa0(r1) +/* 800C85A8 000C5508 38 80 00 01 */ li r4, 1 +/* 800C85AC 000C550C C0 41 00 A4 */ lfs f2, 0xa4(r1) +/* 800C85B0 000C5510 C0 21 00 A8 */ lfs f1, 0xa8(r1) +/* 800C85B4 000C5514 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 800C85B8 000C5518 80 AD 86 FC */ lwz r5, lbl_805A72BC@sda21(r13) +/* 800C85BC 000C551C D0 A1 00 B0 */ stfs f5, 0xb0(r1) +/* 800C85C0 000C5520 D0 81 00 B4 */ stfs f4, 0xb4(r1) +/* 800C85C4 000C5524 D0 61 00 B8 */ stfs f3, 0xb8(r1) +/* 800C85C8 000C5528 D0 41 00 BC */ stfs f2, 0xbc(r1) +/* 800C85CC 000C552C D0 21 00 C0 */ stfs f1, 0xc0(r1) +/* 800C85D0 000C5530 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 800C85D4 000C5534 90 01 00 34 */ stw r0, 0x34(r1) +/* 800C85D8 000C5538 90 01 00 30 */ stw r0, 0x30(r1) +/* 800C85DC 000C553C 48 2C 19 19 */ bl __shl2i +/* 800C85E0 000C5540 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800C85E4 000C5544 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 800C85E8 000C5548 7C 00 1B 78 */ or r0, r0, r3 +/* 800C85EC 000C554C 80 AD 87 00 */ lwz r5, lbl_805A72C0@sda21(r13) +/* 800C85F0 000C5550 7C C4 23 78 */ or r4, r6, r4 +/* 800C85F4 000C5554 90 01 00 30 */ stw r0, 0x30(r1) +/* 800C85F8 000C5558 38 60 00 00 */ li r3, 0 +/* 800C85FC 000C555C 90 81 00 34 */ stw r4, 0x34(r1) +/* 800C8600 000C5560 38 80 00 01 */ li r4, 1 +/* 800C8604 000C5564 48 2C 18 F1 */ bl __shl2i +/* 800C8608 000C5568 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800C860C 000C556C 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 800C8610 000C5570 7C 00 1B 78 */ or r0, r0, r3 +/* 800C8614 000C5574 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800C8618 000C5578 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800C861C 000C557C 7C A3 23 78 */ or r3, r5, r4 +/* 800C8620 000C5580 90 61 00 34 */ stw r3, 0x34(r1) +/* 800C8624 000C5584 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C8628 000C5588 90 01 00 30 */ stw r0, 0x30(r1) +/* 800C862C 000C558C 40 80 00 0C */ bge lbl_800C8638 +/* 800C8630 000C5590 3A C0 00 01 */ li r22, 1 +/* 800C8634 000C5594 48 00 00 30 */ b lbl_800C8664 +lbl_800C8638: +/* 800C8638 000C5598 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 800C863C 000C559C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C8640 000C55A0 40 80 00 0C */ bge lbl_800C864C +/* 800C8644 000C55A4 3A C0 00 01 */ li r22, 1 +/* 800C8648 000C55A8 48 00 00 1C */ b lbl_800C8664 +lbl_800C864C: +/* 800C864C 000C55AC C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800C8650 000C55B0 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C8654 000C55B4 40 80 00 0C */ bge lbl_800C8660 +/* 800C8658 000C55B8 3A C0 00 01 */ li r22, 1 +/* 800C865C 000C55BC 48 00 00 08 */ b lbl_800C8664 +lbl_800C8660: +/* 800C8660 000C55C0 3A C0 00 00 */ li r22, 0 +lbl_800C8664: +/* 800C8664 000C55C4 C0 41 02 BC */ lfs f2, 0x2bc(r1) +/* 800C8668 000C55C8 38 00 00 01 */ li r0, 1 +/* 800C866C 000C55CC C0 21 02 C0 */ lfs f1, 0x2c0(r1) +/* 800C8670 000C55D0 38 61 01 60 */ addi r3, r1, 0x160 +/* 800C8674 000C55D4 C0 01 02 C4 */ lfs f0, 0x2c4(r1) +/* 800C8678 000C55D8 38 81 00 7C */ addi r4, r1, 0x7c +/* 800C867C 000C55DC 93 81 00 7C */ stw r28, 0x7c(r1) +/* 800C8680 000C55E0 93 61 00 80 */ stw r27, 0x80(r1) +/* 800C8684 000C55E4 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 800C8688 000C55E8 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 800C868C 000C55EC D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 800C8690 000C55F0 98 01 00 90 */ stb r0, 0x90(r1) +/* 800C8694 000C55F4 93 41 00 94 */ stw r26, 0x94(r1) +/* 800C8698 000C55F8 48 04 E4 BD */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C869C 000C55FC 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800C86A0 000C5600 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 800C86A4 000C5604 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800C86A8 000C5608 38 00 00 00 */ li r0, 0 +/* 800C86AC 000C560C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800C86B0 000C5610 40 82 00 28 */ bne lbl_800C86D8 +/* 800C86B4 000C5614 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 800C86B8 000C5618 C0 03 00 04 */ lfs f0, 4(r3) +/* 800C86BC 000C561C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800C86C0 000C5620 40 82 00 18 */ bne lbl_800C86D8 +/* 800C86C4 000C5624 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 800C86C8 000C5628 C0 03 00 08 */ lfs f0, 8(r3) +/* 800C86CC 000C562C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800C86D0 000C5630 40 82 00 08 */ bne lbl_800C86D8 +/* 800C86D4 000C5634 38 00 00 01 */ li r0, 1 +lbl_800C86D8: +/* 800C86D8 000C5638 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800C86DC 000C563C 40 82 00 0C */ bne lbl_800C86E8 +/* 800C86E0 000C5640 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 800C86E4 000C5644 41 82 00 50 */ beq lbl_800C8734 +lbl_800C86E8: +/* 800C86E8 000C5648 7F 24 CB 78 */ mr r4, r25 +/* 800C86EC 000C564C 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800C86F0 000C5650 48 24 A5 51 */ bl GetRotation__12CTransform4fCFv +/* 800C86F4 000C5654 38 61 00 64 */ addi r3, r1, 0x64 +/* 800C86F8 000C5658 38 81 01 60 */ addi r4, r1, 0x160 +/* 800C86FC 000C565C 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 800C8700 000C5660 48 04 D0 B5 */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 800C8704 000C5664 80 E1 00 64 */ lwz r7, 0x64(r1) +/* 800C8708 000C5668 80 C1 00 68 */ lwz r6, 0x68(r1) +/* 800C870C 000C566C 80 A1 00 6C */ lwz r5, 0x6c(r1) +/* 800C8710 000C5670 80 81 00 70 */ lwz r4, 0x70(r1) +/* 800C8714 000C5674 80 61 00 74 */ lwz r3, 0x74(r1) +/* 800C8718 000C5678 80 01 00 78 */ lwz r0, 0x78(r1) +/* 800C871C 000C567C 90 E1 00 B0 */ stw r7, 0xb0(r1) +/* 800C8720 000C5680 90 C1 00 B4 */ stw r6, 0xb4(r1) +/* 800C8724 000C5684 90 A1 00 B8 */ stw r5, 0xb8(r1) +/* 800C8728 000C5688 90 81 00 BC */ stw r4, 0xbc(r1) +/* 800C872C 000C568C 90 61 00 C0 */ stw r3, 0xc0(r1) +/* 800C8730 000C5690 90 01 00 C4 */ stw r0, 0xc4(r1) +lbl_800C8734: +/* 800C8734 000C5694 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C8738 000C5698 38 60 02 F0 */ li r3, 0x2f0 +/* 800C873C 000C569C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800C8740 000C56A0 38 A0 00 00 */ li r5, 0 +/* 800C8744 000C56A4 38 84 00 0D */ addi r4, r4, 0xd +/* 800C8748 000C56A8 48 24 D1 25 */ bl __nw__FUlPCcPCc +/* 800C874C 000C56AC 7C 76 1B 79 */ or. r22, r3, r3 +/* 800C8750 000C56B0 41 82 00 70 */ beq lbl_800C87C0 +/* 800C8754 000C56B4 7E E4 BB 78 */ mr r4, r23 +/* 800C8758 000C56B8 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C875C 000C56BC 4B F8 49 81 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C8760 000C56C0 A0 61 00 20 */ lhz r3, 0x20(r1) +/* 800C8764 000C56C4 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800C8768 000C56C8 38 81 02 14 */ addi r4, r1, 0x214 +/* 800C876C 000C56CC 38 01 01 AC */ addi r0, r1, 0x1ac +/* 800C8770 000C56D0 B0 61 00 24 */ sth r3, 0x24(r1) +/* 800C8774 000C56D4 FC 20 F8 90 */ fmr f1, f31 +/* 800C8778 000C56D8 FC 40 F0 90 */ fmr f2, f30 +/* 800C877C 000C56DC 7E C3 B3 78 */ mr r3, r22 +/* 800C8780 000C56E0 90 A1 00 08 */ stw r5, 8(r1) +/* 800C8784 000C56E4 FC 60 E8 90 */ fmr f3, f29 +/* 800C8788 000C56E8 7F 06 C3 78 */ mr r6, r24 +/* 800C878C 000C56EC 90 81 00 0C */ stw r4, 0xc(r1) +/* 800C8790 000C56F0 7F 27 CB 78 */ mr r7, r25 +/* 800C8794 000C56F4 38 81 00 24 */ addi r4, r1, 0x24 +/* 800C8798 000C56F8 90 01 00 10 */ stw r0, 0x10(r1) +/* 800C879C 000C56FC 38 A1 02 7C */ addi r5, r1, 0x27c +/* 800C87A0 000C5700 39 01 01 60 */ addi r8, r1, 0x160 +/* 800C87A4 000C5704 39 21 00 B0 */ addi r9, r1, 0xb0 +/* 800C87A8 000C5708 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800C87AC 000C570C 39 41 00 30 */ addi r10, r1, 0x30 +/* 800C87B0 000C5710 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800C87B4 000C5714 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800C87B8 000C5718 48 18 38 49 */ bl __ct__10CAmbientAI +/* 800C87BC 000C571C 7C 76 1B 78 */ mr r22, r3 +lbl_800C87C0: +/* 800C87C0 000C5720 38 61 01 60 */ addi r3, r1, 0x160 +/* 800C87C4 000C5724 38 80 FF FF */ li r4, -1 +/* 800C87C8 000C5728 48 04 E2 85 */ bl __dt__10CModelDataFv +/* 800C87CC 000C572C 38 61 01 AC */ addi r3, r1, 0x1ac +/* 800C87D0 000C5730 38 80 FF FF */ li r4, -1 +/* 800C87D4 000C5734 48 03 DE 35 */ bl __dt__16CActorParametersFv +/* 800C87D8 000C5738 38 61 02 7C */ addi r3, r1, 0x27c +/* 800C87DC 000C573C 48 27 53 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C87E0 000C5740 7E C3 B3 78 */ mr r3, r22 +lbl_800C87E4: +/* 800C87E4 000C5744 E3 E1 03 18 */ psq_l f31, 792(r1), 0, qr0 +/* 800C87E8 000C5748 CB E1 03 10 */ lfd f31, 0x310(r1) +/* 800C87EC 000C574C E3 C1 03 08 */ psq_l f30, 776(r1), 0, qr0 +/* 800C87F0 000C5750 CB C1 03 00 */ lfd f30, 0x300(r1) +/* 800C87F4 000C5754 E3 A1 02 F8 */ psq_l f29, 760(r1), 0, qr0 +/* 800C87F8 000C5758 CB A1 02 F0 */ lfd f29, 0x2f0(r1) +/* 800C87FC 000C575C BA C1 02 C8 */ lmw r22, 0x2c8(r1) +/* 800C8800 000C5760 80 01 03 24 */ lwz r0, 0x324(r1) +/* 800C8804 000C5764 7C 08 03 A6 */ mtlr r0 +/* 800C8808 000C5768 38 21 03 20 */ addi r1, r1, 0x320 +/* 800C880C 000C576C 4E 80 00 20 */ blr + +.global LoadRumbleEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadRumbleEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C8810 000C5770 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 800C8814 000C5774 7C 08 02 A6 */ mflr r0 +/* 800C8818 000C5778 90 01 01 04 */ stw r0, 0x104(r1) +/* 800C881C 000C577C DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 800C8820 000C5780 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 800C8824 000C5784 BF 01 00 D0 */ stmw r24, 0xd0(r1) +/* 800C8828 000C5788 2C 05 00 06 */ cmpwi r5, 6 +/* 800C882C 000C578C 7C 7B 1B 78 */ mr r27, r3 +/* 800C8830 000C5790 7C 98 23 78 */ mr r24, r4 +/* 800C8834 000C5794 7C DA 33 78 */ mr r26, r6 +/* 800C8838 000C5798 41 82 00 0C */ beq lbl_800C8844 +/* 800C883C 000C579C 38 60 00 00 */ li r3, 0 +/* 800C8840 000C57A0 48 00 01 C8 */ b lbl_800C8A08 +lbl_800C8844: +/* 800C8844 000C57A4 4B F7 C9 A1 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800C8848 000C57A8 7C 64 1B 78 */ mr r4, r3 +/* 800C884C 000C57AC 38 61 00 5C */ addi r3, r1, 0x5c +/* 800C8850 000C57B0 48 27 59 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800C8854 000C57B4 7F 04 C3 78 */ mr r4, r24 +/* 800C8858 000C57B8 38 61 00 50 */ addi r3, r1, 0x50 +/* 800C885C 000C57BC 48 24 C3 31 */ bl __ct__9CVector3fFR12CInputStream +/* 800C8860 000C57C0 7F 03 C3 78 */ mr r3, r24 +/* 800C8864 000C57C4 48 27 64 79 */ bl ReadBool__12CInputStreamFv +/* 800C8868 000C57C8 7C 7D 1B 78 */ mr r29, r3 +/* 800C886C 000C57CC 7F 03 C3 78 */ mr r3, r24 +/* 800C8870 000C57D0 48 27 63 B9 */ bl ReadFloat__12CInputStreamFv +/* 800C8874 000C57D4 FF E0 08 90 */ fmr f31, f1 +/* 800C8878 000C57D8 7F 03 C3 78 */ mr r3, r24 +/* 800C887C 000C57DC 48 27 64 09 */ bl ReadLong__12CInputStreamFv +/* 800C8880 000C57E0 7C 7E 1B 78 */ mr r30, r3 +/* 800C8884 000C57E4 7F 03 C3 78 */ mr r3, r24 +/* 800C8888 000C57E8 48 01 13 75 */ bl LoadParameterFlags__FR12CInputStream +/* 800C888C 000C57EC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C8890 000C57F0 7C 7F 1B 78 */ mr r31, r3 +/* 800C8894 000C57F4 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800C8898 000C57F8 3B 20 00 00 */ li r25, 0 +/* 800C889C 000C57FC 38 83 00 0D */ addi r4, r3, 0xd +/* 800C88A0 000C5800 38 60 01 F8 */ li r3, 0x1f8 +/* 800C88A4 000C5804 38 A0 00 00 */ li r5, 0 +/* 800C88A8 000C5808 48 24 CF C5 */ bl __nw__FUlPCcPCc +/* 800C88AC 000C580C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800C88B0 000C5810 41 82 01 3C */ beq lbl_800C89EC +/* 800C88B4 000C5814 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 800C88B8 000C5818 38 C0 00 00 */ li r6, 0 +/* 800C88BC 000C581C 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 800C88C0 000C5820 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) +/* 800C88C4 000C5824 98 01 00 3C */ stb r0, 0x3c(r1) +/* 800C88C8 000C5828 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 800C88CC 000C582C 50 C4 36 72 */ rlwimi r4, r6, 6, 0x19, 0x19 +/* 800C88D0 000C5830 38 E0 FF FF */ li r7, -1 +/* 800C88D4 000C5834 88 01 00 84 */ lbz r0, 0x84(r1) +/* 800C88D8 000C5838 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 800C88DC 000C583C 54 85 06 3E */ clrlwi r5, r4, 0x18 +/* 800C88E0 000C5840 98 81 00 3C */ stb r4, 0x3c(r1) +/* 800C88E4 000C5844 50 C5 2E B4 */ rlwimi r5, r6, 5, 0x1a, 0x1a +/* 800C88E8 000C5848 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C88EC 000C584C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800C88F0 000C5850 90 E1 00 38 */ stw r7, 0x38(r1) +/* 800C88F4 000C5854 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C88F8 000C5858 98 A1 00 3C */ stb r5, 0x3c(r1) +/* 800C88FC 000C585C 38 84 00 74 */ addi r4, r4, 0x74 +/* 800C8900 000C5860 90 E1 00 6C */ stw r7, 0x6c(r1) +/* 800C8904 000C5864 98 A1 00 70 */ stb r5, 0x70(r1) +/* 800C8908 000C5868 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800C890C 000C586C D0 01 00 78 */ stfs f0, 0x78(r1) +/* 800C8910 000C5870 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 800C8914 000C5874 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 800C8918 000C5878 98 01 00 84 */ stb r0, 0x84(r1) +/* 800C891C 000C587C 4B F3 C3 9D */ bl string_l__4rstlFPCc +/* 800C8920 000C5880 7F 64 DB 78 */ mr r4, r27 +/* 800C8924 000C5884 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C8928 000C5888 3B 20 00 01 */ li r25, 1 +/* 800C892C 000C588C 4B F8 47 B1 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C8930 000C5890 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 800C8934 000C5894 A3 62 C5 FC */ lhz r27, lbl_805AE31C@sda21(r2) +/* 800C8938 000C5898 B0 01 00 34 */ sth r0, 0x34(r1) +/* 800C893C 000C589C 48 28 16 79 */ bl Black__6CColorFv +/* 800C8940 000C58A0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800C8944 000C58A4 7C 78 1B 78 */ mr r24, r3 +/* 800C8948 000C58A8 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 800C894C 000C58AC 38 61 00 88 */ addi r3, r1, 0x88 +/* 800C8950 000C58B0 38 A1 00 50 */ addi r5, r1, 0x50 +/* 800C8954 000C58B4 48 01 1C 91 */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f +/* 800C8958 000C58B8 93 01 00 08 */ stw r24, 8(r1) +/* 800C895C 000C58BC 3C 00 43 30 */ lis r0, 0x4330 +/* 800C8960 000C58C0 57 A3 06 3E */ clrlwi r3, r29, 0x18 +/* 800C8964 000C58C4 6F CB 80 00 */ xoris r11, r30, 0x8000 +/* 800C8968 000C58C8 90 61 00 0C */ stw r3, 0xc(r1) +/* 800C896C 000C58CC 38 A1 00 6C */ addi r5, r1, 0x6c +/* 800C8970 000C58D0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800C8974 000C58D4 38 80 FF FF */ li r4, -1 +/* 800C8978 000C58D8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800C897C 000C58DC 39 43 66 A0 */ addi r10, r3, skZero3f@l +/* 800C8980 000C58E0 C8 42 8E 40 */ lfd f2, lbl_805AAB60@sda21(r2) +/* 800C8984 000C58E4 FC 20 F8 90 */ fmr f1, f31 +/* 800C8988 000C58E8 90 81 00 14 */ stw r4, 0x14(r1) +/* 800C898C 000C58EC 7F 83 E3 78 */ mr r3, r28 +/* 800C8990 000C58F0 C8 62 8E 48 */ lfd f3, lbl_805AAB68@sda21(r2) +/* 800C8994 000C58F4 7F 46 D3 78 */ mr r6, r26 +/* 800C8998 000C58F8 90 81 00 18 */ stw r4, 0x18(r1) +/* 800C899C 000C58FC C0 82 8E 28 */ lfs f4, lbl_805AAB48@sda21(r2) +/* 800C89A0 000C5900 38 A1 00 5C */ addi r5, r1, 0x5c +/* 800C89A4 000C5904 90 81 00 1C */ stw r4, 0x1c(r1) +/* 800C89A8 000C5908 38 81 00 34 */ addi r4, r1, 0x34 +/* 800C89AC 000C590C 38 E1 00 88 */ addi r7, r1, 0x88 +/* 800C89B0 000C5910 39 21 00 40 */ addi r9, r1, 0x40 +/* 800C89B4 000C5914 93 61 00 20 */ stw r27, 0x20(r1) +/* 800C89B8 000C5918 39 00 00 32 */ li r8, 0x32 +/* 800C89BC 000C591C 93 61 00 24 */ stw r27, 0x24(r1) +/* 800C89C0 000C5920 91 61 00 BC */ stw r11, 0xbc(r1) +/* 800C89C4 000C5924 90 01 00 B8 */ stw r0, 0xb8(r1) +/* 800C89C8 000C5928 C8 01 00 B8 */ lfd f0, 0xb8(r1) +/* 800C89CC 000C592C 93 E1 00 C4 */ stw r31, 0xc4(r1) +/* 800C89D0 000C5930 EC 40 10 28 */ fsubs f2, f0, f2 +/* 800C89D4 000C5934 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 800C89D8 000C5938 C8 01 00 C0 */ lfd f0, 0xc0(r1) +/* 800C89DC 000C593C 93 61 00 28 */ stw r27, 0x28(r1) +/* 800C89E0 000C5940 EC 60 18 28 */ fsubs f3, f0, f3 +/* 800C89E4 000C5944 48 08 A1 DD */ bl "__ct__22CScriptSpecialFunctionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ222CScriptSpecialFunction16ESpecialFunctionRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffffRC9CVector3fRC6CColorbRC11CDamageInfoUiUiUiUsUsUs" +/* 800C89E8 000C5948 7C 7C 1B 78 */ mr r28, r3 +lbl_800C89EC: +/* 800C89EC 000C594C 7F 20 07 75 */ extsb. r0, r25 +/* 800C89F0 000C5950 41 82 00 0C */ beq lbl_800C89FC +/* 800C89F4 000C5954 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C89F8 000C5958 48 27 50 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800C89FC: +/* 800C89FC 000C595C 38 61 00 5C */ addi r3, r1, 0x5c +/* 800C8A00 000C5960 48 27 50 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C8A04 000C5964 7F 83 E3 78 */ mr r3, r28 +lbl_800C8A08: +/* 800C8A08 000C5968 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 800C8A0C 000C596C CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 800C8A10 000C5970 BB 01 00 D0 */ lmw r24, 0xd0(r1) +/* 800C8A14 000C5974 80 01 01 04 */ lwz r0, 0x104(r1) +/* 800C8A18 000C5978 7C 08 03 A6 */ mtlr r0 +/* 800C8A1C 000C597C 38 21 01 00 */ addi r1, r1, 0x100 +/* 800C8A20 000C5980 4E 80 00 20 */ blr + +.global LoadAtomicAlpha__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadAtomicAlpha__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C8A24 000C5984 94 21 FC A0 */ stwu r1, -0x360(r1) +/* 800C8A28 000C5988 7C 08 02 A6 */ mflr r0 +/* 800C8A2C 000C598C 90 01 03 64 */ stw r0, 0x364(r1) +/* 800C8A30 000C5990 DB E1 03 50 */ stfd f31, 0x350(r1) +/* 800C8A34 000C5994 F3 E1 03 58 */ psq_st f31, 856(r1), 0, qr0 +/* 800C8A38 000C5998 DB C1 03 40 */ stfd f30, 0x340(r1) +/* 800C8A3C 000C599C F3 C1 03 48 */ psq_st f30, 840(r1), 0, qr0 +/* 800C8A40 000C59A0 DB A1 03 30 */ stfd f29, 0x330(r1) +/* 800C8A44 000C59A4 F3 A1 03 38 */ psq_st f29, 824(r1), 0, qr0 +/* 800C8A48 000C59A8 BF 01 03 10 */ stmw r24, 0x310(r1) +/* 800C8A4C 000C59AC 2C 05 00 0E */ cmpwi r5, 0xe +/* 800C8A50 000C59B0 7C 7E 1B 78 */ mr r30, r3 +/* 800C8A54 000C59B4 7C 99 23 78 */ mr r25, r4 +/* 800C8A58 000C59B8 7C DF 33 78 */ mr r31, r6 +/* 800C8A5C 000C59BC 41 82 00 0C */ beq lbl_800C8A68 +/* 800C8A60 000C59C0 38 60 00 00 */ li r3, 0 +/* 800C8A64 000C59C4 48 00 01 EC */ b lbl_800C8C50 +lbl_800C8A68: +/* 800C8A68 000C59C8 7F C5 F3 78 */ mr r5, r30 +/* 800C8A6C 000C59CC 38 61 01 84 */ addi r3, r1, 0x184 +/* 800C8A70 000C59D0 48 01 1A 0D */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C8A74 000C59D4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C8A78 000C59D8 7F 24 CB 78 */ mr r4, r25 +/* 800C8A7C 000C59DC 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C8A80 000C59E0 38 61 00 28 */ addi r3, r1, 0x28 +/* 800C8A84 000C59E4 48 03 CD A5 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C8A88 000C59E8 88 01 00 28 */ lbz r0, 0x28(r1) +/* 800C8A8C 000C59EC 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 800C8A90 000C59F0 28 00 00 00 */ cmplwi r0, 0 +/* 800C8A94 000C59F4 40 82 00 14 */ bne lbl_800C8AA8 +/* 800C8A98 000C59F8 38 61 01 84 */ addi r3, r1, 0x184 +/* 800C8A9C 000C59FC 48 27 50 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C8AA0 000C5A00 38 60 00 00 */ li r3, 0 +/* 800C8AA4 000C5A04 48 00 01 AC */ b lbl_800C8C50 +lbl_800C8AA8: +/* 800C8AA8 000C5A08 7F 24 CB 78 */ mr r4, r25 +/* 800C8AAC 000C5A0C 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 800C8AB0 000C5A10 48 03 CD C9 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C8AB4 000C5A14 80 61 02 BC */ lwz r3, 0x2bc(r1) +/* 800C8AB8 000C5A18 3C 03 00 01 */ addis r0, r3, 1 +/* 800C8ABC 000C5A1C 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C8AC0 000C5A20 40 82 00 14 */ bne lbl_800C8AD4 +/* 800C8AC4 000C5A24 38 61 01 84 */ addi r3, r1, 0x184 +/* 800C8AC8 000C5A28 48 27 50 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C8ACC 000C5A2C 38 60 00 00 */ li r3, 0 +/* 800C8AD0 000C5A30 48 00 01 80 */ b lbl_800C8C50 +lbl_800C8AD4: +/* 800C8AD4 000C5A34 7F 24 CB 78 */ mr r4, r25 +/* 800C8AD8 000C5A38 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800C8ADC 000C5A3C 48 01 12 99 */ bl LoadActorParameters__FR12CInputStream +/* 800C8AE0 000C5A40 38 61 01 1C */ addi r3, r1, 0x11c +/* 800C8AE4 000C5A44 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 800C8AE8 000C5A48 4B FF CB 35 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C8AEC 000C5A4C 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800C8AF0 000C5A50 38 80 FF FF */ li r4, -1 +/* 800C8AF4 000C5A54 48 03 DB 15 */ bl __dt__16CActorParametersFv +/* 800C8AF8 000C5A58 7F 23 CB 78 */ mr r3, r25 +/* 800C8AFC 000C5A5C 48 27 61 89 */ bl ReadLong__12CInputStreamFv +/* 800C8B00 000C5A60 7C 7A 1B 78 */ mr r26, r3 +/* 800C8B04 000C5A64 7F 23 CB 78 */ mr r3, r25 +/* 800C8B08 000C5A68 48 27 61 7D */ bl ReadLong__12CInputStreamFv +/* 800C8B0C 000C5A6C 7C 7B 1B 78 */ mr r27, r3 +/* 800C8B10 000C5A70 7F 24 CB 78 */ mr r4, r25 +/* 800C8B14 000C5A74 38 61 00 4C */ addi r3, r1, 0x4c +/* 800C8B18 000C5A78 4B FF AA 49 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C8B1C 000C5A7C 7F 23 CB 78 */ mr r3, r25 +/* 800C8B20 000C5A80 48 27 61 09 */ bl ReadFloat__12CInputStreamFv +/* 800C8B24 000C5A84 FF E0 08 90 */ fmr f31, f1 +/* 800C8B28 000C5A88 7F 23 CB 78 */ mr r3, r25 +/* 800C8B2C 000C5A8C 48 27 60 FD */ bl ReadFloat__12CInputStreamFv +/* 800C8B30 000C5A90 FF C0 08 90 */ fmr f30, f1 +/* 800C8B34 000C5A94 7F 23 CB 78 */ mr r3, r25 +/* 800C8B38 000C5A98 48 27 60 F1 */ bl ReadFloat__12CInputStreamFv +/* 800C8B3C 000C5A9C FF A0 08 90 */ fmr f29, f1 +/* 800C8B40 000C5AA0 7F 23 CB 78 */ mr r3, r25 +/* 800C8B44 000C5AA4 48 27 61 99 */ bl ReadBool__12CInputStreamFv +/* 800C8B48 000C5AA8 7C 7C 1B 78 */ mr r28, r3 +/* 800C8B4C 000C5AAC 7F 23 CB 78 */ mr r3, r25 +/* 800C8B50 000C5AB0 48 27 61 8D */ bl ReadBool__12CInputStreamFv +/* 800C8B54 000C5AB4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C8B58 000C5AB8 7C 7D 1B 78 */ mr r29, r3 +/* 800C8B5C 000C5ABC 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800C8B60 000C5AC0 3B 00 00 00 */ li r24, 0 +/* 800C8B64 000C5AC4 38 83 00 0D */ addi r4, r3, 0xd +/* 800C8B68 000C5AC8 38 60 07 40 */ li r3, 0x740 +/* 800C8B6C 000C5ACC 38 A0 00 00 */ li r5, 0 +/* 800C8B70 000C5AD0 48 24 CC FD */ bl __nw__FUlPCcPCc +/* 800C8B74 000C5AD4 7C 79 1B 79 */ or. r25, r3, r3 +/* 800C8B78 000C5AD8 41 82 00 AC */ beq lbl_800C8C24 +/* 800C8B7C 000C5ADC 80 E1 02 BC */ lwz r7, 0x2bc(r1) +/* 800C8B80 000C5AE0 38 A0 00 01 */ li r5, 1 +/* 800C8B84 000C5AE4 80 C1 02 C0 */ lwz r6, 0x2c0(r1) +/* 800C8B88 000C5AE8 38 61 00 68 */ addi r3, r1, 0x68 +/* 800C8B8C 000C5AEC C0 41 01 C4 */ lfs f2, 0x1c4(r1) +/* 800C8B90 000C5AF0 38 81 00 30 */ addi r4, r1, 0x30 +/* 800C8B94 000C5AF4 C0 21 01 C8 */ lfs f1, 0x1c8(r1) +/* 800C8B98 000C5AF8 C0 01 01 CC */ lfs f0, 0x1cc(r1) +/* 800C8B9C 000C5AFC 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 800C8BA0 000C5B00 90 E1 00 30 */ stw r7, 0x30(r1) +/* 800C8BA4 000C5B04 90 C1 00 34 */ stw r6, 0x34(r1) +/* 800C8BA8 000C5B08 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 800C8BAC 000C5B0C D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800C8BB0 000C5B10 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800C8BB4 000C5B14 98 A1 00 44 */ stb r5, 0x44(r1) +/* 800C8BB8 000C5B18 90 01 00 48 */ stw r0, 0x48(r1) +/* 800C8BBC 000C5B1C 48 04 DF 99 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C8BC0 000C5B20 7F C4 F3 78 */ mr r4, r30 +/* 800C8BC4 000C5B24 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C8BC8 000C5B28 3B 00 00 01 */ li r24, 1 +/* 800C8BCC 000C5B2C 4B F8 45 11 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C8BD0 000C5B30 A0 81 00 20 */ lhz r4, 0x20(r1) +/* 800C8BD4 000C5B34 38 01 00 4C */ addi r0, r1, 0x4c +/* 800C8BD8 000C5B38 FC 20 F8 90 */ fmr f1, f31 +/* 800C8BDC 000C5B3C 7F 23 CB 78 */ mr r3, r25 +/* 800C8BE0 000C5B40 B0 81 00 24 */ sth r4, 0x24(r1) +/* 800C8BE4 000C5B44 FC 40 F0 90 */ fmr f2, f30 +/* 800C8BE8 000C5B48 FC 60 E8 90 */ fmr f3, f29 +/* 800C8BEC 000C5B4C 7F E6 FB 78 */ mr r6, r31 +/* 800C8BF0 000C5B50 93 41 00 08 */ stw r26, 8(r1) +/* 800C8BF4 000C5B54 38 81 00 24 */ addi r4, r1, 0x24 +/* 800C8BF8 000C5B58 38 A1 01 84 */ addi r5, r1, 0x184 +/* 800C8BFC 000C5B5C 38 E1 01 94 */ addi r7, r1, 0x194 +/* 800C8C00 000C5B60 90 01 00 0C */ stw r0, 0xc(r1) +/* 800C8C04 000C5B64 39 01 00 68 */ addi r8, r1, 0x68 +/* 800C8C08 000C5B68 39 21 01 1C */ addi r9, r1, 0x11c +/* 800C8C0C 000C5B6C 39 41 01 D0 */ addi r10, r1, 0x1d0 +/* 800C8C10 000C5B70 93 61 00 10 */ stw r27, 0x10(r1) +/* 800C8C14 000C5B74 93 81 00 14 */ stw r28, 0x14(r1) +/* 800C8C18 000C5B78 93 A1 00 18 */ stw r29, 0x18(r1) +/* 800C8C1C 000C5B7C 48 17 CA 85 */ bl __ct__12CAtomicAlpha +/* 800C8C20 000C5B80 7C 79 1B 78 */ mr r25, r3 +lbl_800C8C24: +/* 800C8C24 000C5B84 7F 00 07 75 */ extsb. r0, r24 +/* 800C8C28 000C5B88 41 82 00 10 */ beq lbl_800C8C38 +/* 800C8C2C 000C5B8C 38 61 00 68 */ addi r3, r1, 0x68 +/* 800C8C30 000C5B90 38 80 FF FF */ li r4, -1 +/* 800C8C34 000C5B94 48 04 DE 19 */ bl __dt__10CModelDataFv +lbl_800C8C38: +/* 800C8C38 000C5B98 38 61 01 1C */ addi r3, r1, 0x11c +/* 800C8C3C 000C5B9C 38 80 FF FF */ li r4, -1 +/* 800C8C40 000C5BA0 48 03 D9 C9 */ bl __dt__16CActorParametersFv +/* 800C8C44 000C5BA4 38 61 01 84 */ addi r3, r1, 0x184 +/* 800C8C48 000C5BA8 48 27 4E 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C8C4C 000C5BAC 7F 23 CB 78 */ mr r3, r25 +lbl_800C8C50: +/* 800C8C50 000C5BB0 E3 E1 03 58 */ psq_l f31, 856(r1), 0, qr0 +/* 800C8C54 000C5BB4 CB E1 03 50 */ lfd f31, 0x350(r1) +/* 800C8C58 000C5BB8 E3 C1 03 48 */ psq_l f30, 840(r1), 0, qr0 +/* 800C8C5C 000C5BBC CB C1 03 40 */ lfd f30, 0x340(r1) +/* 800C8C60 000C5BC0 E3 A1 03 38 */ psq_l f29, 824(r1), 0, qr0 +/* 800C8C64 000C5BC4 CB A1 03 30 */ lfd f29, 0x330(r1) +/* 800C8C68 000C5BC8 BB 01 03 10 */ lmw r24, 0x310(r1) +/* 800C8C6C 000C5BCC 80 01 03 64 */ lwz r0, 0x364(r1) +/* 800C8C70 000C5BD0 7C 08 03 A6 */ mtlr r0 +/* 800C8C74 000C5BD4 38 21 03 60 */ addi r1, r1, 0x360 +/* 800C8C78 000C5BD8 4E 80 00 20 */ blr + +.global LoadGeemer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadGeemer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C8C7C 000C5BDC 94 21 FC 10 */ stwu r1, -0x3f0(r1) +/* 800C8C80 000C5BE0 7C 08 02 A6 */ mflr r0 +/* 800C8C84 000C5BE4 90 01 03 F4 */ stw r0, 0x3f4(r1) +/* 800C8C88 000C5BE8 DB E1 03 E0 */ stfd f31, 0x3e0(r1) +/* 800C8C8C 000C5BEC F3 E1 03 E8 */ psq_st f31, 1000(r1), 0, qr0 +/* 800C8C90 000C5BF0 DB C1 03 D0 */ stfd f30, 0x3d0(r1) +/* 800C8C94 000C5BF4 F3 C1 03 D8 */ psq_st f30, 984(r1), 0, qr0 +/* 800C8C98 000C5BF8 DB A1 03 C0 */ stfd f29, 0x3c0(r1) +/* 800C8C9C 000C5BFC F3 A1 03 C8 */ psq_st f29, 968(r1), 0, qr0 +/* 800C8CA0 000C5C00 DB 81 03 B0 */ stfd f28, 0x3b0(r1) +/* 800C8CA4 000C5C04 F3 81 03 B8 */ psq_st f28, 952(r1), 0, qr0 +/* 800C8CA8 000C5C08 DB 61 03 A0 */ stfd f27, 0x3a0(r1) +/* 800C8CAC 000C5C0C F3 61 03 A8 */ psq_st f27, 936(r1), 0, qr0 +/* 800C8CB0 000C5C10 DB 41 03 90 */ stfd f26, 0x390(r1) +/* 800C8CB4 000C5C14 F3 41 03 98 */ psq_st f26, 920(r1), 0, qr0 +/* 800C8CB8 000C5C18 DB 21 03 80 */ stfd f25, 0x380(r1) +/* 800C8CBC 000C5C1C F3 21 03 88 */ psq_st f25, 904(r1), 0, qr0 +/* 800C8CC0 000C5C20 BE E1 03 5C */ stmw r23, 0x35c(r1) +/* 800C8CC4 000C5C24 2C 05 00 10 */ cmpwi r5, 0x10 +/* 800C8CC8 000C5C28 7C 7A 1B 78 */ mr r26, r3 +/* 800C8CCC 000C5C2C 7C 97 23 78 */ mr r23, r4 +/* 800C8CD0 000C5C30 7C DB 33 78 */ mr r27, r6 +/* 800C8CD4 000C5C34 41 82 00 0C */ beq lbl_800C8CE0 +/* 800C8CD8 000C5C38 38 60 00 00 */ li r3, 0 +/* 800C8CDC 000C5C3C 48 00 02 E0 */ b lbl_800C8FBC +lbl_800C8CE0: +/* 800C8CE0 000C5C40 7F 45 D3 78 */ mr r5, r26 +/* 800C8CE4 000C5C44 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800C8CE8 000C5C48 48 01 17 95 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C8CEC 000C5C4C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C8CF0 000C5C50 7E E4 BB 78 */ mr r4, r23 +/* 800C8CF4 000C5C54 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C8CF8 000C5C58 38 61 00 70 */ addi r3, r1, 0x70 +/* 800C8CFC 000C5C5C 38 A5 00 75 */ addi r5, r5, 0x75 +/* 800C8D00 000C5C60 48 03 CB 29 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C8D04 000C5C64 88 01 00 70 */ lbz r0, 0x70(r1) +/* 800C8D08 000C5C68 80 A1 00 74 */ lwz r5, 0x74(r1) +/* 800C8D0C 000C5C6C 28 00 00 00 */ cmplwi r0, 0 +/* 800C8D10 000C5C70 40 82 00 14 */ bne lbl_800C8D24 +/* 800C8D14 000C5C74 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800C8D18 000C5C78 48 27 4D C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C8D1C 000C5C7C 38 60 00 00 */ li r3, 0 +/* 800C8D20 000C5C80 48 00 02 9C */ b lbl_800C8FBC +lbl_800C8D24: +/* 800C8D24 000C5C84 7E E4 BB 78 */ mr r4, r23 +/* 800C8D28 000C5C88 38 61 02 18 */ addi r3, r1, 0x218 +/* 800C8D2C 000C5C8C 48 03 CB 4D */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C8D30 000C5C90 7E E4 BB 78 */ mr r4, r23 +/* 800C8D34 000C5C94 38 61 00 FC */ addi r3, r1, 0xfc +/* 800C8D38 000C5C98 48 01 10 3D */ bl LoadActorParameters__FR12CInputStream +/* 800C8D3C 000C5C9C 38 61 01 64 */ addi r3, r1, 0x164 +/* 800C8D40 000C5CA0 38 81 00 FC */ addi r4, r1, 0xfc +/* 800C8D44 000C5CA4 4B FF C8 D9 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C8D48 000C5CA8 38 61 00 FC */ addi r3, r1, 0xfc +/* 800C8D4C 000C5CAC 38 80 FF FF */ li r4, -1 +/* 800C8D50 000C5CB0 48 03 D8 B9 */ bl __dt__16CActorParametersFv +/* 800C8D54 000C5CB4 80 61 03 04 */ lwz r3, 0x304(r1) +/* 800C8D58 000C5CB8 3C 03 00 01 */ addis r0, r3, 1 +/* 800C8D5C 000C5CBC 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C8D60 000C5CC0 40 82 00 20 */ bne lbl_800C8D80 +/* 800C8D64 000C5CC4 38 61 01 64 */ addi r3, r1, 0x164 +/* 800C8D68 000C5CC8 38 80 FF FF */ li r4, -1 +/* 800C8D6C 000C5CCC 48 03 D8 9D */ bl __dt__16CActorParametersFv +/* 800C8D70 000C5CD0 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800C8D74 000C5CD4 48 27 4D 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C8D78 000C5CD8 38 60 00 00 */ li r3, 0 +/* 800C8D7C 000C5CDC 48 00 02 40 */ b lbl_800C8FBC +lbl_800C8D80: +/* 800C8D80 000C5CE0 7E E3 BB 78 */ mr r3, r23 +/* 800C8D84 000C5CE4 48 27 5E A5 */ bl ReadFloat__12CInputStreamFv +/* 800C8D88 000C5CE8 FF 80 08 90 */ fmr f28, f1 +/* 800C8D8C 000C5CEC 7E E3 BB 78 */ mr r3, r23 +/* 800C8D90 000C5CF0 48 27 5E 99 */ bl ReadFloat__12CInputStreamFv +/* 800C8D94 000C5CF4 FF 60 08 90 */ fmr f27, f1 +/* 800C8D98 000C5CF8 7E E3 BB 78 */ mr r3, r23 +/* 800C8D9C 000C5CFC 48 27 5E 8D */ bl ReadFloat__12CInputStreamFv +/* 800C8DA0 000C5D00 FF 40 08 90 */ fmr f26, f1 +/* 800C8DA4 000C5D04 7E E3 BB 78 */ mr r3, r23 +/* 800C8DA8 000C5D08 48 27 5E 81 */ bl ReadFloat__12CInputStreamFv +/* 800C8DAC 000C5D0C FF 20 08 90 */ fmr f25, f1 +/* 800C8DB0 000C5D10 7E E3 BB 78 */ mr r3, r23 +/* 800C8DB4 000C5D14 48 27 5E 75 */ bl ReadFloat__12CInputStreamFv +/* 800C8DB8 000C5D18 FF A0 08 90 */ fmr f29, f1 +/* 800C8DBC 000C5D1C 7E E3 BB 78 */ mr r3, r23 +/* 800C8DC0 000C5D20 48 27 5E 69 */ bl ReadFloat__12CInputStreamFv +/* 800C8DC4 000C5D24 FF C0 08 90 */ fmr f30, f1 +/* 800C8DC8 000C5D28 7E E3 BB 78 */ mr r3, r23 +/* 800C8DCC 000C5D2C 48 27 5E 5D */ bl ReadFloat__12CInputStreamFv +/* 800C8DD0 000C5D30 FF E0 08 90 */ fmr f31, f1 +/* 800C8DD4 000C5D34 7E E3 BB 78 */ mr r3, r23 +/* 800C8DD8 000C5D38 48 27 5E AD */ bl ReadLong__12CInputStreamFv +/* 800C8DDC 000C5D3C 54 7E 04 3E */ clrlwi r30, r3, 0x10 +/* 800C8DE0 000C5D40 7E E3 BB 78 */ mr r3, r23 +/* 800C8DE4 000C5D44 48 27 5E A1 */ bl ReadLong__12CInputStreamFv +/* 800C8DE8 000C5D48 54 7D 04 3E */ clrlwi r29, r3, 0x10 +/* 800C8DEC 000C5D4C 7E E3 BB 78 */ mr r3, r23 +/* 800C8DF0 000C5D50 48 27 5E 95 */ bl ReadLong__12CInputStreamFv +/* 800C8DF4 000C5D54 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C8DF8 000C5D58 54 7C 04 3E */ clrlwi r28, r3, 0x10 +/* 800C8DFC 000C5D5C 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800C8E00 000C5D60 3B 20 00 00 */ li r25, 0 +/* 800C8E04 000C5D64 38 83 00 0D */ addi r4, r3, 0xd +/* 800C8E08 000C5D68 38 60 07 48 */ li r3, 0x748 +/* 800C8E0C 000C5D6C 38 A0 00 00 */ li r5, 0 +/* 800C8E10 000C5D70 48 24 CA 5D */ bl __nw__FUlPCcPCc +/* 800C8E14 000C5D74 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800C8E18 000C5D78 41 82 01 78 */ beq lbl_800C8F90 +/* 800C8E1C 000C5D7C 39 40 00 00 */ li r10, 0 +/* 800C8E20 000C5D80 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 800C8E24 000C5D84 51 40 3E 30 */ rlwimi r0, r10, 7, 0x18, 0x18 +/* 800C8E28 000C5D88 C0 62 8E 28 */ lfs f3, lbl_805AAB48@sda21(r2) +/* 800C8E2C 000C5D8C 98 01 00 6C */ stb r0, 0x6c(r1) +/* 800C8E30 000C5D90 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 800C8E34 000C5D94 51 40 36 72 */ rlwimi r0, r10, 6, 0x19, 0x19 +/* 800C8E38 000C5D98 89 01 00 AC */ lbz r8, 0xac(r1) +/* 800C8E3C 000C5D9C 80 E1 03 04 */ lwz r7, 0x304(r1) +/* 800C8E40 000C5DA0 54 09 06 3E */ clrlwi r9, r0, 0x18 +/* 800C8E44 000C5DA4 98 01 00 6C */ stb r0, 0x6c(r1) +/* 800C8E48 000C5DA8 51 49 2E B4 */ rlwimi r9, r10, 5, 0x1a, 0x1a +/* 800C8E4C 000C5DAC 80 C1 03 08 */ lwz r6, 0x308(r1) +/* 800C8E50 000C5DB0 51 48 3E 30 */ rlwimi r8, r10, 7, 0x18, 0x18 +/* 800C8E54 000C5DB4 C0 41 02 0C */ lfs f2, 0x20c(r1) +/* 800C8E58 000C5DB8 38 A0 00 01 */ li r5, 1 +/* 800C8E5C 000C5DBC C0 21 02 10 */ lfs f1, 0x210(r1) +/* 800C8E60 000C5DC0 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800C8E64 000C5DC4 C0 01 02 14 */ lfs f0, 0x214(r1) +/* 800C8E68 000C5DC8 38 81 00 78 */ addi r4, r1, 0x78 +/* 800C8E6C 000C5DCC 80 01 03 0C */ lwz r0, 0x30c(r1) +/* 800C8E70 000C5DD0 91 41 00 68 */ stw r10, 0x68(r1) +/* 800C8E74 000C5DD4 99 21 00 6C */ stb r9, 0x6c(r1) +/* 800C8E78 000C5DD8 91 41 00 94 */ stw r10, 0x94(r1) +/* 800C8E7C 000C5DDC 99 21 00 98 */ stb r9, 0x98(r1) +/* 800C8E80 000C5DE0 D0 61 00 9C */ stfs f3, 0x9c(r1) +/* 800C8E84 000C5DE4 D0 61 00 A0 */ stfs f3, 0xa0(r1) +/* 800C8E88 000C5DE8 D0 61 00 A4 */ stfs f3, 0xa4(r1) +/* 800C8E8C 000C5DEC D0 61 00 A8 */ stfs f3, 0xa8(r1) +/* 800C8E90 000C5DF0 99 01 00 AC */ stb r8, 0xac(r1) +/* 800C8E94 000C5DF4 90 E1 00 78 */ stw r7, 0x78(r1) +/* 800C8E98 000C5DF8 90 C1 00 7C */ stw r6, 0x7c(r1) +/* 800C8E9C 000C5DFC D0 41 00 80 */ stfs f2, 0x80(r1) +/* 800C8EA0 000C5E00 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 800C8EA4 000C5E04 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800C8EA8 000C5E08 98 A1 00 8C */ stb r5, 0x8c(r1) +/* 800C8EAC 000C5E0C 90 01 00 90 */ stw r0, 0x90(r1) +/* 800C8EB0 000C5E10 48 04 DC A5 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C8EB4 000C5E14 7F 44 D3 78 */ mr r4, r26 +/* 800C8EB8 000C5E18 38 61 00 60 */ addi r3, r1, 0x60 +/* 800C8EBC 000C5E1C 3B 20 00 01 */ li r25, 1 +/* 800C8EC0 000C5E20 4B F8 42 1D */ bl AllocateUniqueId__13CStateManagerFv +/* 800C8EC4 000C5E24 A0 81 00 60 */ lhz r4, 0x60(r1) +/* 800C8EC8 000C5E28 3C 60 80 57 */ lis r3, lbl_8056D578@ha +/* 800C8ECC 000C5E2C C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800C8ED0 000C5E30 3B 43 D5 78 */ addi r26, r3, lbl_8056D578@l +/* 800C8ED4 000C5E34 B0 81 00 64 */ sth r4, 0x64(r1) +/* 800C8ED8 000C5E38 38 00 00 06 */ li r0, 6 +/* 800C8EDC 000C5E3C C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800C8EE0 000C5E40 3A E0 00 00 */ li r23, 0 +/* 800C8EE4 000C5E44 90 01 00 08 */ stw r0, 8(r1) +/* 800C8EE8 000C5E48 3B 00 00 02 */ li r24, 2 +/* 800C8EEC 000C5E4C 39 81 00 94 */ addi r12, r1, 0x94 +/* 800C8EF0 000C5E50 39 60 FF FF */ li r11, -1 +/* 800C8EF4 000C5E54 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800C8EF8 000C5E58 FC 40 E0 90 */ fmr f2, f28 +/* 800C8EFC 000C5E5C 38 01 01 64 */ addi r0, r1, 0x164 +/* 800C8F00 000C5E60 FC 60 D8 90 */ fmr f3, f27 +/* 800C8F04 000C5E64 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800C8F08 000C5E68 FC 80 D0 90 */ fmr f4, f26 +/* 800C8F0C 000C5E6C FC A0 C8 90 */ fmr f5, f25 +/* 800C8F10 000C5E70 D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800C8F14 000C5E74 FD 00 08 90 */ fmr f8, f1 +/* 800C8F18 000C5E78 C0 C2 8E 30 */ lfs f6, lbl_805AAB50@sda21(r2) +/* 800C8F1C 000C5E7C 7F E3 FB 78 */ mr r3, r31 +/* 800C8F20 000C5E80 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800C8F24 000C5E84 C0 E2 8E 34 */ lfs f7, lbl_805AAB54@sda21(r2) +/* 800C8F28 000C5E88 7F 67 DB 78 */ mr r7, r27 +/* 800C8F2C 000C5E8C D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800C8F30 000C5E90 38 81 00 64 */ addi r4, r1, 0x64 +/* 800C8F34 000C5E94 38 A1 01 CC */ addi r5, r1, 0x1cc +/* 800C8F38 000C5E98 39 01 01 DC */ addi r8, r1, 0x1dc +/* 800C8F3C 000C5E9C D3 E1 00 20 */ stfs f31, 0x20(r1) +/* 800C8F40 000C5EA0 39 21 00 B0 */ addi r9, r1, 0xb0 +/* 800C8F44 000C5EA4 39 41 02 18 */ addi r10, r1, 0x218 +/* 800C8F48 000C5EA8 38 C0 00 00 */ li r6, 0 +/* 800C8F4C 000C5EAC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800C8F50 000C5EB0 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800C8F54 000C5EB4 D3 A1 00 2C */ stfs f29, 0x2c(r1) +/* 800C8F58 000C5EB8 D3 C1 00 30 */ stfs f30, 0x30(r1) +/* 800C8F5C 000C5EBC 92 E1 00 34 */ stw r23, 0x34(r1) +/* 800C8F60 000C5EC0 93 01 00 38 */ stw r24, 0x38(r1) +/* 800C8F64 000C5EC4 93 41 00 3C */ stw r26, 0x3c(r1) +/* 800C8F68 000C5EC8 91 81 00 40 */ stw r12, 0x40(r1) +/* 800C8F6C 000C5ECC 93 C1 00 44 */ stw r30, 0x44(r1) +/* 800C8F70 000C5ED0 93 A1 00 48 */ stw r29, 0x48(r1) +/* 800C8F74 000C5ED4 93 81 00 4C */ stw r28, 0x4c(r1) +/* 800C8F78 000C5ED8 91 61 00 50 */ stw r11, 0x50(r1) +/* 800C8F7C 000C5EDC 91 61 00 54 */ stw r11, 0x54(r1) +/* 800C8F80 000C5EE0 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800C8F84 000C5EE4 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800C8F88 000C5EE8 48 09 14 DD */ bl "__ct__9CParasiteF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfo9EBodyTypefffffffffffffffffbUiRC10Something1RC10Something2UsUsUsUiUifRC16CActorParameters" +/* 800C8F8C 000C5EEC 7C 7F 1B 78 */ mr r31, r3 +lbl_800C8F90: +/* 800C8F90 000C5EF0 7F 20 07 75 */ extsb. r0, r25 +/* 800C8F94 000C5EF4 41 82 00 10 */ beq lbl_800C8FA4 +/* 800C8F98 000C5EF8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800C8F9C 000C5EFC 38 80 FF FF */ li r4, -1 +/* 800C8FA0 000C5F00 48 04 DA AD */ bl __dt__10CModelDataFv +lbl_800C8FA4: +/* 800C8FA4 000C5F04 38 61 01 64 */ addi r3, r1, 0x164 +/* 800C8FA8 000C5F08 38 80 FF FF */ li r4, -1 +/* 800C8FAC 000C5F0C 48 03 D6 5D */ bl __dt__16CActorParametersFv +/* 800C8FB0 000C5F10 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800C8FB4 000C5F14 48 27 4B 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C8FB8 000C5F18 7F E3 FB 78 */ mr r3, r31 +lbl_800C8FBC: +/* 800C8FBC 000C5F1C E3 E1 03 E8 */ psq_l f31, 1000(r1), 0, qr0 +/* 800C8FC0 000C5F20 CB E1 03 E0 */ lfd f31, 0x3e0(r1) +/* 800C8FC4 000C5F24 E3 C1 03 D8 */ psq_l f30, 984(r1), 0, qr0 +/* 800C8FC8 000C5F28 CB C1 03 D0 */ lfd f30, 0x3d0(r1) +/* 800C8FCC 000C5F2C E3 A1 03 C8 */ psq_l f29, 968(r1), 0, qr0 +/* 800C8FD0 000C5F30 CB A1 03 C0 */ lfd f29, 0x3c0(r1) +/* 800C8FD4 000C5F34 E3 81 03 B8 */ psq_l f28, 952(r1), 0, qr0 +/* 800C8FD8 000C5F38 CB 81 03 B0 */ lfd f28, 0x3b0(r1) +/* 800C8FDC 000C5F3C E3 61 03 A8 */ psq_l f27, 936(r1), 0, qr0 +/* 800C8FE0 000C5F40 CB 61 03 A0 */ lfd f27, 0x3a0(r1) +/* 800C8FE4 000C5F44 E3 41 03 98 */ psq_l f26, 920(r1), 0, qr0 +/* 800C8FE8 000C5F48 CB 41 03 90 */ lfd f26, 0x390(r1) +/* 800C8FEC 000C5F4C E3 21 03 88 */ psq_l f25, 904(r1), 0, qr0 +/* 800C8FF0 000C5F50 CB 21 03 80 */ lfd f25, 0x380(r1) +/* 800C8FF4 000C5F54 BA E1 03 5C */ lmw r23, 0x35c(r1) +/* 800C8FF8 000C5F58 80 01 03 F4 */ lwz r0, 0x3f4(r1) +/* 800C8FFC 000C5F5C 7C 08 03 A6 */ mtlr r0 +/* 800C9000 000C5F60 38 21 03 F0 */ addi r1, r1, 0x3f0 +/* 800C9004 000C5F64 4E 80 00 20 */ blr + +.global LoadOcculus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadOcculus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C9008 000C5F68 94 21 FB C0 */ stwu r1, -0x440(r1) +/* 800C900C 000C5F6C 7C 08 02 A6 */ mflr r0 +/* 800C9010 000C5F70 90 01 04 44 */ stw r0, 0x444(r1) +/* 800C9014 000C5F74 DB E1 04 30 */ stfd f31, 0x430(r1) +/* 800C9018 000C5F78 F3 E1 04 38 */ psq_st f31, 1080(r1), 0, qr0 +/* 800C901C 000C5F7C DB C1 04 20 */ stfd f30, 0x420(r1) +/* 800C9020 000C5F80 F3 C1 04 28 */ psq_st f30, 1064(r1), 0, qr0 +/* 800C9024 000C5F84 DB A1 04 10 */ stfd f29, 0x410(r1) +/* 800C9028 000C5F88 F3 A1 04 18 */ psq_st f29, 1048(r1), 0, qr0 +/* 800C902C 000C5F8C DB 81 04 00 */ stfd f28, 0x400(r1) +/* 800C9030 000C5F90 F3 81 04 08 */ psq_st f28, 1032(r1), 0, qr0 +/* 800C9034 000C5F94 DB 61 03 F0 */ stfd f27, 0x3f0(r1) +/* 800C9038 000C5F98 F3 61 03 F8 */ psq_st f27, 1016(r1), 0, qr0 +/* 800C903C 000C5F9C DB 41 03 E0 */ stfd f26, 0x3e0(r1) +/* 800C9040 000C5FA0 F3 41 03 E8 */ psq_st f26, 1000(r1), 0, qr0 +/* 800C9044 000C5FA4 DB 21 03 D0 */ stfd f25, 0x3d0(r1) +/* 800C9048 000C5FA8 F3 21 03 D8 */ psq_st f25, 984(r1), 0, qr0 +/* 800C904C 000C5FAC BF 21 03 B4 */ stmw r25, 0x3b4(r1) +/* 800C9050 000C5FB0 2C 05 00 0F */ cmpwi r5, 0xf +/* 800C9054 000C5FB4 7C 7C 1B 78 */ mr r28, r3 +/* 800C9058 000C5FB8 7C 9A 23 78 */ mr r26, r4 +/* 800C905C 000C5FBC 7C DF 33 78 */ mr r31, r6 +/* 800C9060 000C5FC0 41 82 00 0C */ beq lbl_800C906C +/* 800C9064 000C5FC4 38 60 00 00 */ li r3, 0 +/* 800C9068 000C5FC8 48 00 02 80 */ b lbl_800C92E8 +lbl_800C906C: +/* 800C906C 000C5FCC 7F 85 E3 78 */ mr r5, r28 +/* 800C9070 000C5FD0 38 61 02 2C */ addi r3, r1, 0x22c +/* 800C9074 000C5FD4 48 01 14 09 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C9078 000C5FD8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C907C 000C5FDC 7F 44 D3 78 */ mr r4, r26 +/* 800C9080 000C5FE0 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C9084 000C5FE4 38 61 00 68 */ addi r3, r1, 0x68 +/* 800C9088 000C5FE8 38 A5 00 7C */ addi r5, r5, 0x7c +/* 800C908C 000C5FEC 48 03 C7 9D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C9090 000C5FF0 88 01 00 68 */ lbz r0, 0x68(r1) +/* 800C9094 000C5FF4 80 A1 00 6C */ lwz r5, 0x6c(r1) +/* 800C9098 000C5FF8 28 00 00 00 */ cmplwi r0, 0 +/* 800C909C 000C5FFC 40 82 00 14 */ bne lbl_800C90B0 +/* 800C90A0 000C6000 38 61 02 2C */ addi r3, r1, 0x22c +/* 800C90A4 000C6004 48 27 4A 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C90A8 000C6008 38 60 00 00 */ li r3, 0 +/* 800C90AC 000C600C 48 00 02 3C */ b lbl_800C92E8 +lbl_800C90B0: +/* 800C90B0 000C6010 7F 44 D3 78 */ mr r4, r26 +/* 800C90B4 000C6014 38 61 02 78 */ addi r3, r1, 0x278 +/* 800C90B8 000C6018 48 03 C7 C1 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C90BC 000C601C 7F 44 D3 78 */ mr r4, r26 +/* 800C90C0 000C6020 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 800C90C4 000C6024 48 01 0C B1 */ bl LoadActorParameters__FR12CInputStream +/* 800C90C8 000C6028 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 800C90CC 000C602C 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 800C90D0 000C6030 4B FF C5 4D */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C90D4 000C6034 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 800C90D8 000C6038 38 80 FF FF */ li r4, -1 +/* 800C90DC 000C603C 48 03 D5 2D */ bl __dt__16CActorParametersFv +/* 800C90E0 000C6040 80 61 03 64 */ lwz r3, 0x364(r1) +/* 800C90E4 000C6044 3C 03 00 01 */ addis r0, r3, 1 +/* 800C90E8 000C6048 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C90EC 000C604C 40 82 00 20 */ bne lbl_800C910C +/* 800C90F0 000C6050 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 800C90F4 000C6054 38 80 FF FF */ li r4, -1 +/* 800C90F8 000C6058 48 03 D5 11 */ bl __dt__16CActorParametersFv +/* 800C90FC 000C605C 38 61 02 2C */ addi r3, r1, 0x22c +/* 800C9100 000C6060 48 27 49 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C9104 000C6064 38 60 00 00 */ li r3, 0 +/* 800C9108 000C6068 48 00 01 E0 */ b lbl_800C92E8 +lbl_800C910C: +/* 800C910C 000C606C 7F 43 D3 78 */ mr r3, r26 +/* 800C9110 000C6070 48 27 5B 19 */ bl ReadFloat__12CInputStreamFv +/* 800C9114 000C6074 FF 80 08 90 */ fmr f28, f1 +/* 800C9118 000C6078 7F 43 D3 78 */ mr r3, r26 +/* 800C911C 000C607C 48 27 5B 0D */ bl ReadFloat__12CInputStreamFv +/* 800C9120 000C6080 FF 60 08 90 */ fmr f27, f1 +/* 800C9124 000C6084 7F 43 D3 78 */ mr r3, r26 +/* 800C9128 000C6088 48 27 5B 01 */ bl ReadFloat__12CInputStreamFv +/* 800C912C 000C608C FF 40 08 90 */ fmr f26, f1 +/* 800C9130 000C6090 7F 43 D3 78 */ mr r3, r26 +/* 800C9134 000C6094 48 27 5A F5 */ bl ReadFloat__12CInputStreamFv +/* 800C9138 000C6098 FF 20 08 90 */ fmr f25, f1 +/* 800C913C 000C609C 7F 43 D3 78 */ mr r3, r26 +/* 800C9140 000C60A0 48 27 5A E9 */ bl ReadFloat__12CInputStreamFv +/* 800C9144 000C60A4 FF A0 08 90 */ fmr f29, f1 +/* 800C9148 000C60A8 7F 43 D3 78 */ mr r3, r26 +/* 800C914C 000C60AC 48 27 5A DD */ bl ReadFloat__12CInputStreamFv +/* 800C9150 000C60B0 FF C0 08 90 */ fmr f30, f1 +/* 800C9154 000C60B4 7F 44 D3 78 */ mr r4, r26 +/* 800C9158 000C60B8 38 61 01 5C */ addi r3, r1, 0x15c +/* 800C915C 000C60BC 48 03 99 FD */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800C9160 000C60C0 7F 43 D3 78 */ mr r3, r26 +/* 800C9164 000C60C4 48 27 5A C5 */ bl ReadFloat__12CInputStreamFv +/* 800C9168 000C60C8 FF E0 08 90 */ fmr f31, f1 +/* 800C916C 000C60CC 7F 44 D3 78 */ mr r4, r26 +/* 800C9170 000C60D0 38 61 00 8C */ addi r3, r1, 0x8c +/* 800C9174 000C60D4 4B FF A3 ED */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C9178 000C60D8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C917C 000C60DC 3B 20 00 00 */ li r25, 0 +/* 800C9180 000C60E0 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800C9184 000C60E4 38 60 07 48 */ li r3, 0x748 +/* 800C9188 000C60E8 38 84 00 0D */ addi r4, r4, 0xd +/* 800C918C 000C60EC 38 A0 00 00 */ li r5, 0 +/* 800C9190 000C60F0 48 24 C6 DD */ bl __nw__FUlPCcPCc +/* 800C9194 000C60F4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800C9198 000C60F8 41 82 01 24 */ beq lbl_800C92BC +/* 800C919C 000C60FC 80 E1 03 64 */ lwz r7, 0x364(r1) +/* 800C91A0 000C6100 38 A0 00 01 */ li r5, 1 +/* 800C91A4 000C6104 80 C1 03 68 */ lwz r6, 0x368(r1) +/* 800C91A8 000C6108 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800C91AC 000C610C C0 41 02 6C */ lfs f2, 0x26c(r1) +/* 800C91B0 000C6110 38 81 00 70 */ addi r4, r1, 0x70 +/* 800C91B4 000C6114 C0 21 02 70 */ lfs f1, 0x270(r1) +/* 800C91B8 000C6118 C0 01 02 74 */ lfs f0, 0x274(r1) +/* 800C91BC 000C611C 80 01 03 6C */ lwz r0, 0x36c(r1) +/* 800C91C0 000C6120 90 E1 00 70 */ stw r7, 0x70(r1) +/* 800C91C4 000C6124 90 C1 00 74 */ stw r6, 0x74(r1) +/* 800C91C8 000C6128 D0 41 00 78 */ stfs f2, 0x78(r1) +/* 800C91CC 000C612C D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 800C91D0 000C6130 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 800C91D4 000C6134 98 A1 00 84 */ stb r5, 0x84(r1) +/* 800C91D8 000C6138 90 01 00 88 */ stw r0, 0x88(r1) +/* 800C91DC 000C613C 48 04 D9 79 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C91E0 000C6140 7F 84 E3 78 */ mr r4, r28 +/* 800C91E4 000C6144 38 61 00 60 */ addi r3, r1, 0x60 +/* 800C91E8 000C6148 3B 20 00 01 */ li r25, 1 +/* 800C91EC 000C614C 4B F8 3E F1 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C91F0 000C6150 A0 61 00 60 */ lhz r3, 0x60(r1) +/* 800C91F4 000C6154 38 00 00 06 */ li r0, 6 +/* 800C91F8 000C6158 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800C91FC 000C615C 3B 80 00 00 */ li r28, 0 +/* 800C9200 000C6160 B0 61 00 64 */ sth r3, 0x64(r1) +/* 800C9204 000C6164 3B A0 00 01 */ li r29, 1 +/* 800C9208 000C6168 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800C920C 000C616C 3B C1 01 5C */ addi r30, r1, 0x15c +/* 800C9210 000C6170 90 01 00 08 */ stw r0, 8(r1) +/* 800C9214 000C6174 39 81 00 8C */ addi r12, r1, 0x8c +/* 800C9218 000C6178 A3 42 C5 FC */ lhz r26, lbl_805AE31C@sda21(r2) +/* 800C921C 000C617C 39 60 FF FF */ li r11, -1 +/* 800C9220 000C6180 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800C9224 000C6184 FC 40 E0 90 */ fmr f2, f28 +/* 800C9228 000C6188 38 01 01 C4 */ addi r0, r1, 0x1c4 +/* 800C922C 000C618C FC 60 D8 90 */ fmr f3, f27 +/* 800C9230 000C6190 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800C9234 000C6194 FC 80 D0 90 */ fmr f4, f26 +/* 800C9238 000C6198 FC A0 C8 90 */ fmr f5, f25 +/* 800C923C 000C619C D0 21 00 14 */ stfs f1, 0x14(r1) +/* 800C9240 000C61A0 FD 00 08 90 */ fmr f8, f1 +/* 800C9244 000C61A4 C0 C2 8E 30 */ lfs f6, lbl_805AAB50@sda21(r2) +/* 800C9248 000C61A8 7F 63 DB 78 */ mr r3, r27 +/* 800C924C 000C61AC D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800C9250 000C61B0 C0 E2 8E 34 */ lfs f7, lbl_805AAB54@sda21(r2) +/* 800C9254 000C61B4 7F E7 FB 78 */ mr r7, r31 +/* 800C9258 000C61B8 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800C925C 000C61BC 38 81 00 64 */ addi r4, r1, 0x64 +/* 800C9260 000C61C0 38 A1 02 2C */ addi r5, r1, 0x22c +/* 800C9264 000C61C4 39 01 02 3C */ addi r8, r1, 0x23c +/* 800C9268 000C61C8 D3 E1 00 20 */ stfs f31, 0x20(r1) +/* 800C926C 000C61CC 39 21 00 A8 */ addi r9, r1, 0xa8 +/* 800C9270 000C61D0 39 41 02 78 */ addi r10, r1, 0x278 +/* 800C9274 000C61D4 38 C0 00 00 */ li r6, 0 +/* 800C9278 000C61D8 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800C927C 000C61DC D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800C9280 000C61E0 D3 A1 00 2C */ stfs f29, 0x2c(r1) +/* 800C9284 000C61E4 D3 C1 00 30 */ stfs f30, 0x30(r1) +/* 800C9288 000C61E8 93 81 00 34 */ stw r28, 0x34(r1) +/* 800C928C 000C61EC 93 A1 00 38 */ stw r29, 0x38(r1) +/* 800C9290 000C61F0 93 C1 00 3C */ stw r30, 0x3c(r1) +/* 800C9294 000C61F4 91 81 00 40 */ stw r12, 0x40(r1) +/* 800C9298 000C61F8 93 41 00 44 */ stw r26, 0x44(r1) +/* 800C929C 000C61FC 93 41 00 48 */ stw r26, 0x48(r1) +/* 800C92A0 000C6200 93 41 00 4C */ stw r26, 0x4c(r1) +/* 800C92A4 000C6204 91 61 00 50 */ stw r11, 0x50(r1) +/* 800C92A8 000C6208 91 61 00 54 */ stw r11, 0x54(r1) +/* 800C92AC 000C620C D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800C92B0 000C6210 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800C92B4 000C6214 48 09 11 B1 */ bl "__ct__9CParasiteF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfo9EBodyTypefffffffffffffffffbUiRC10Something1RC10Something2UsUsUsUiUifRC16CActorParameters" +/* 800C92B8 000C6218 7C 7B 1B 78 */ mr r27, r3 +lbl_800C92BC: +/* 800C92BC 000C621C 7F 20 07 75 */ extsb. r0, r25 +/* 800C92C0 000C6220 41 82 00 10 */ beq lbl_800C92D0 +/* 800C92C4 000C6224 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800C92C8 000C6228 38 80 FF FF */ li r4, -1 +/* 800C92CC 000C622C 48 04 D7 81 */ bl __dt__10CModelDataFv +lbl_800C92D0: +/* 800C92D0 000C6230 38 61 01 C4 */ addi r3, r1, 0x1c4 +/* 800C92D4 000C6234 38 80 FF FF */ li r4, -1 +/* 800C92D8 000C6238 48 03 D3 31 */ bl __dt__16CActorParametersFv +/* 800C92DC 000C623C 38 61 02 2C */ addi r3, r1, 0x22c +/* 800C92E0 000C6240 48 27 48 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C92E4 000C6244 7F 63 DB 78 */ mr r3, r27 +lbl_800C92E8: +/* 800C92E8 000C6248 E3 E1 04 38 */ psq_l f31, 1080(r1), 0, qr0 +/* 800C92EC 000C624C CB E1 04 30 */ lfd f31, 0x430(r1) +/* 800C92F0 000C6250 E3 C1 04 28 */ psq_l f30, 1064(r1), 0, qr0 +/* 800C92F4 000C6254 CB C1 04 20 */ lfd f30, 0x420(r1) +/* 800C92F8 000C6258 E3 A1 04 18 */ psq_l f29, 1048(r1), 0, qr0 +/* 800C92FC 000C625C CB A1 04 10 */ lfd f29, 0x410(r1) +/* 800C9300 000C6260 E3 81 04 08 */ psq_l f28, 1032(r1), 0, qr0 +/* 800C9304 000C6264 CB 81 04 00 */ lfd f28, 0x400(r1) +/* 800C9308 000C6268 E3 61 03 F8 */ psq_l f27, 1016(r1), 0, qr0 +/* 800C930C 000C626C CB 61 03 F0 */ lfd f27, 0x3f0(r1) +/* 800C9310 000C6270 E3 41 03 E8 */ psq_l f26, 1000(r1), 0, qr0 +/* 800C9314 000C6274 CB 41 03 E0 */ lfd f26, 0x3e0(r1) +/* 800C9318 000C6278 E3 21 03 D8 */ psq_l f25, 984(r1), 0, qr0 +/* 800C931C 000C627C CB 21 03 D0 */ lfd f25, 0x3d0(r1) +/* 800C9320 000C6280 BB 21 03 B4 */ lmw r25, 0x3b4(r1) +/* 800C9324 000C6284 80 01 04 44 */ lwz r0, 0x444(r1) +/* 800C9328 000C6288 7C 08 03 A6 */ mtlr r0 +/* 800C932C 000C628C 38 21 04 40 */ addi r1, r1, 0x440 +/* 800C9330 000C6290 4E 80 00 20 */ blr + +.global LoadActorContraption__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadActorContraption__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C9334 000C6294 94 21 FC B0 */ stwu r1, -0x350(r1) +/* 800C9338 000C6298 7C 08 02 A6 */ mflr r0 +/* 800C933C 000C629C 90 01 03 54 */ stw r0, 0x354(r1) +/* 800C9340 000C62A0 DB E1 03 40 */ stfd f31, 0x340(r1) +/* 800C9344 000C62A4 F3 E1 03 48 */ psq_st f31, 840(r1), 0, qr0 +/* 800C9348 000C62A8 DB C1 03 30 */ stfd f30, 0x330(r1) +/* 800C934C 000C62AC F3 C1 03 38 */ psq_st f30, 824(r1), 0, qr0 +/* 800C9350 000C62B0 BE E1 03 0C */ stmw r23, 0x30c(r1) +/* 800C9354 000C62B4 2C 05 00 0F */ cmpwi r5, 0xf +/* 800C9358 000C62B8 7C 78 1B 78 */ mr r24, r3 +/* 800C935C 000C62BC 7C 97 23 78 */ mr r23, r4 +/* 800C9360 000C62C0 7C D9 33 78 */ mr r25, r6 +/* 800C9364 000C62C4 41 82 00 0C */ beq lbl_800C9370 +/* 800C9368 000C62C8 38 60 00 00 */ li r3, 0 +/* 800C936C 000C62CC 48 00 03 9C */ b lbl_800C9708 +lbl_800C9370: +/* 800C9370 000C62D0 7F 05 C3 78 */ mr r5, r24 +/* 800C9374 000C62D4 38 61 02 B4 */ addi r3, r1, 0x2b4 +/* 800C9378 000C62D8 48 01 11 05 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C937C 000C62DC 7E E4 BB 78 */ mr r4, r23 +/* 800C9380 000C62E0 38 61 00 58 */ addi r3, r1, 0x58 +/* 800C9384 000C62E4 48 24 B8 09 */ bl __ct__9CVector3fFR12CInputStream +/* 800C9388 000C62E8 7E E4 BB 78 */ mr r4, r23 +/* 800C938C 000C62EC 38 61 00 4C */ addi r3, r1, 0x4c +/* 800C9390 000C62F0 48 24 B7 FD */ bl __ct__9CVector3fFR12CInputStream +/* 800C9394 000C62F4 7E E3 BB 78 */ mr r3, r23 +/* 800C9398 000C62F8 48 27 58 91 */ bl ReadFloat__12CInputStreamFv +/* 800C939C 000C62FC FF E0 08 90 */ fmr f31, f1 +/* 800C93A0 000C6300 7E E3 BB 78 */ mr r3, r23 +/* 800C93A4 000C6304 48 27 58 85 */ bl ReadFloat__12CInputStreamFv +/* 800C93A8 000C6308 FF C0 08 90 */ fmr f30, f1 +/* 800C93AC 000C630C 7E E4 BB 78 */ mr r4, r23 +/* 800C93B0 000C6310 38 61 00 38 */ addi r3, r1, 0x38 +/* 800C93B4 000C6314 48 10 A4 91 */ bl __ct__11CHealthInfoFR12CInputStream +/* 800C93B8 000C6318 7E E4 BB 78 */ mr r4, r23 +/* 800C93BC 000C631C 38 61 02 4C */ addi r3, r1, 0x24c +/* 800C93C0 000C6320 48 03 97 99 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800C93C4 000C6324 7E E4 BB 78 */ mr r4, r23 +/* 800C93C8 000C6328 38 61 00 40 */ addi r3, r1, 0x40 +/* 800C93CC 000C632C 48 01 10 41 */ bl LoadAnimationParameters__FR12CInputStream +/* 800C93D0 000C6330 83 A1 00 40 */ lwz r29, 0x40(r1) +/* 800C93D4 000C6334 7E E4 BB 78 */ mr r4, r23 +/* 800C93D8 000C6338 83 81 00 44 */ lwz r28, 0x44(r1) +/* 800C93DC 000C633C 38 61 01 30 */ addi r3, r1, 0x130 +/* 800C93E0 000C6340 83 61 00 48 */ lwz r27, 0x48(r1) +/* 800C93E4 000C6344 48 01 09 91 */ bl LoadActorParameters__FR12CInputStream +/* 800C93E8 000C6348 38 61 01 E4 */ addi r3, r1, 0x1e4 +/* 800C93EC 000C634C 38 81 01 30 */ addi r4, r1, 0x130 +/* 800C93F0 000C6350 4B FF C2 2D */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C93F4 000C6354 38 61 01 30 */ addi r3, r1, 0x130 +/* 800C93F8 000C6358 38 80 FF FF */ li r4, -1 +/* 800C93FC 000C635C 48 03 D2 0D */ bl __dt__16CActorParametersFv +/* 800C9400 000C6360 7E E3 BB 78 */ mr r3, r23 +/* 800C9404 000C6364 48 27 58 81 */ bl ReadLong__12CInputStreamFv +/* 800C9408 000C6368 7C 7E 1B 78 */ mr r30, r3 +/* 800C940C 000C636C 7E E4 BB 78 */ mr r4, r23 +/* 800C9410 000C6370 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 800C9414 000C6374 4B FF A1 4D */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C9418 000C6378 7E E3 BB 78 */ mr r3, r23 +/* 800C941C 000C637C 48 27 58 C1 */ bl ReadBool__12CInputStreamFv +/* 800C9420 000C6380 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800C9424 000C6384 7C 7F 1B 78 */ mr r31, r3 +/* 800C9428 000C6388 7F A4 EB 78 */ mr r4, r29 +/* 800C942C 000C638C 38 65 00 04 */ addi r3, r5, 4 +/* 800C9430 000C6390 48 27 28 9D */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800C9434 000C6394 28 03 00 00 */ cmplwi r3, 0 +/* 800C9438 000C6398 40 82 00 20 */ bne lbl_800C9458 +/* 800C943C 000C639C 38 61 01 E4 */ addi r3, r1, 0x1e4 +/* 800C9440 000C63A0 38 80 FF FF */ li r4, -1 +/* 800C9444 000C63A4 48 03 D1 C5 */ bl __dt__16CActorParametersFv +/* 800C9448 000C63A8 38 61 02 B4 */ addi r3, r1, 0x2b4 +/* 800C944C 000C63AC 48 27 46 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C9450 000C63B0 38 60 00 00 */ li r3, 0 +/* 800C9454 000C63B4 48 00 02 B4 */ b lbl_800C9708 +lbl_800C9458: +/* 800C9458 000C63B8 80 19 00 00 */ lwz r0, 0(r25) +/* 800C945C 000C63BC 3B 41 02 C4 */ addi r26, r1, 0x2c4 +/* 800C9460 000C63C0 7F 04 C3 78 */ mr r4, r24 +/* 800C9464 000C63C4 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800C9468 000C63C8 90 01 00 28 */ stw r0, 0x28(r1) +/* 800C946C 000C63CC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800C9470 000C63D0 38 C1 00 58 */ addi r6, r1, 0x58 +/* 800C9474 000C63D4 38 E1 00 4C */ addi r7, r1, 0x4c +/* 800C9478 000C63D8 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800C947C 000C63DC 48 01 12 A1 */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f +/* 800C9480 000C63E0 C0 A1 00 B4 */ lfs f5, 0xb4(r1) +/* 800C9484 000C63E4 38 00 00 00 */ li r0, 0 +/* 800C9488 000C63E8 C0 81 00 B8 */ lfs f4, 0xb8(r1) +/* 800C948C 000C63EC 38 60 00 00 */ li r3, 0 +/* 800C9490 000C63F0 C0 61 00 BC */ lfs f3, 0xbc(r1) +/* 800C9494 000C63F4 38 80 00 01 */ li r4, 1 +/* 800C9498 000C63F8 C0 41 00 C0 */ lfs f2, 0xc0(r1) +/* 800C949C 000C63FC C0 21 00 C4 */ lfs f1, 0xc4(r1) +/* 800C94A0 000C6400 C0 01 00 C8 */ lfs f0, 0xc8(r1) +/* 800C94A4 000C6404 80 AD 86 F4 */ lwz r5, lbl_805A72B4@sda21(r13) +/* 800C94A8 000C6408 D0 A1 00 CC */ stfs f5, 0xcc(r1) +/* 800C94AC 000C640C D0 81 00 D0 */ stfs f4, 0xd0(r1) +/* 800C94B0 000C6410 D0 61 00 D4 */ stfs f3, 0xd4(r1) +/* 800C94B4 000C6414 D0 41 00 D8 */ stfs f2, 0xd8(r1) +/* 800C94B8 000C6418 D0 21 00 DC */ stfs f1, 0xdc(r1) +/* 800C94BC 000C641C D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 800C94C0 000C6420 90 01 00 34 */ stw r0, 0x34(r1) +/* 800C94C4 000C6424 90 01 00 30 */ stw r0, 0x30(r1) +/* 800C94C8 000C6428 48 2C 0A 2D */ bl __shl2i +/* 800C94CC 000C642C 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800C94D0 000C6430 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 800C94D4 000C6434 7C 00 1B 78 */ or r0, r0, r3 +/* 800C94D8 000C6438 80 AD 86 F8 */ lwz r5, lbl_805A72B8@sda21(r13) +/* 800C94DC 000C643C 7C C4 23 78 */ or r4, r6, r4 +/* 800C94E0 000C6440 90 01 00 30 */ stw r0, 0x30(r1) +/* 800C94E4 000C6444 38 60 00 00 */ li r3, 0 +/* 800C94E8 000C6448 90 81 00 34 */ stw r4, 0x34(r1) +/* 800C94EC 000C644C 38 80 00 01 */ li r4, 1 +/* 800C94F0 000C6450 48 2C 0A 05 */ bl __shl2i +/* 800C94F4 000C6454 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800C94F8 000C6458 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 800C94FC 000C645C 7C 00 1B 78 */ or r0, r0, r3 +/* 800C9500 000C6460 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800C9504 000C6464 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800C9508 000C6468 7C A3 23 78 */ or r3, r5, r4 +/* 800C950C 000C646C 90 61 00 34 */ stw r3, 0x34(r1) +/* 800C9510 000C6470 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C9514 000C6474 90 01 00 30 */ stw r0, 0x30(r1) +/* 800C9518 000C6478 40 80 00 0C */ bge lbl_800C9524 +/* 800C951C 000C647C 3A E0 00 01 */ li r23, 1 +/* 800C9520 000C6480 48 00 00 30 */ b lbl_800C9550 +lbl_800C9524: +/* 800C9524 000C6484 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 800C9528 000C6488 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C952C 000C648C 40 80 00 0C */ bge lbl_800C9538 +/* 800C9530 000C6490 3A E0 00 01 */ li r23, 1 +/* 800C9534 000C6494 48 00 00 1C */ b lbl_800C9550 +lbl_800C9538: +/* 800C9538 000C6498 C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800C953C 000C649C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800C9540 000C64A0 40 80 00 0C */ bge lbl_800C954C +/* 800C9544 000C64A4 3A E0 00 01 */ li r23, 1 +/* 800C9548 000C64A8 48 00 00 08 */ b lbl_800C9550 +lbl_800C954C: +/* 800C954C 000C64AC 3A E0 00 00 */ li r23, 0 +lbl_800C9550: +/* 800C9550 000C64B0 C0 41 02 F4 */ lfs f2, 0x2f4(r1) +/* 800C9554 000C64B4 38 00 00 01 */ li r0, 1 +/* 800C9558 000C64B8 C0 21 02 F8 */ lfs f1, 0x2f8(r1) +/* 800C955C 000C64BC 38 61 01 98 */ addi r3, r1, 0x198 +/* 800C9560 000C64C0 C0 01 02 FC */ lfs f0, 0x2fc(r1) +/* 800C9564 000C64C4 38 81 00 98 */ addi r4, r1, 0x98 +/* 800C9568 000C64C8 93 A1 00 98 */ stw r29, 0x98(r1) +/* 800C956C 000C64CC 93 81 00 9C */ stw r28, 0x9c(r1) +/* 800C9570 000C64D0 D0 41 00 A0 */ stfs f2, 0xa0(r1) +/* 800C9574 000C64D4 D0 21 00 A4 */ stfs f1, 0xa4(r1) +/* 800C9578 000C64D8 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 800C957C 000C64DC 98 01 00 AC */ stb r0, 0xac(r1) +/* 800C9580 000C64E0 93 61 00 B0 */ stw r27, 0xb0(r1) +/* 800C9584 000C64E4 48 04 D5 D1 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C9588 000C64E8 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800C958C 000C64EC C0 21 00 58 */ lfs f1, 0x58(r1) +/* 800C9590 000C64F0 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800C9594 000C64F4 38 00 00 00 */ li r0, 0 +/* 800C9598 000C64F8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800C959C 000C64FC 40 82 00 28 */ bne lbl_800C95C4 +/* 800C95A0 000C6500 C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 800C95A4 000C6504 C0 03 00 04 */ lfs f0, 4(r3) +/* 800C95A8 000C6508 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800C95AC 000C650C 40 82 00 18 */ bne lbl_800C95C4 +/* 800C95B0 000C6510 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 800C95B4 000C6514 C0 03 00 08 */ lfs f0, 8(r3) +/* 800C95B8 000C6518 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800C95BC 000C651C 40 82 00 08 */ bne lbl_800C95C4 +/* 800C95C0 000C6520 38 00 00 01 */ li r0, 1 +lbl_800C95C4: +/* 800C95C4 000C6524 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800C95C8 000C6528 40 82 00 0C */ bne lbl_800C95D4 +/* 800C95CC 000C652C 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 800C95D0 000C6530 41 82 00 50 */ beq lbl_800C9620 +lbl_800C95D4: +/* 800C95D4 000C6534 7F 44 D3 78 */ mr r4, r26 +/* 800C95D8 000C6538 38 61 01 00 */ addi r3, r1, 0x100 +/* 800C95DC 000C653C 48 24 96 65 */ bl GetRotation__12CTransform4fCFv +/* 800C95E0 000C6540 38 61 00 80 */ addi r3, r1, 0x80 +/* 800C95E4 000C6544 38 81 01 98 */ addi r4, r1, 0x198 +/* 800C95E8 000C6548 38 A1 01 00 */ addi r5, r1, 0x100 +/* 800C95EC 000C654C 48 04 C1 C9 */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 800C95F0 000C6550 80 E1 00 80 */ lwz r7, 0x80(r1) +/* 800C95F4 000C6554 80 C1 00 84 */ lwz r6, 0x84(r1) +/* 800C95F8 000C6558 80 A1 00 88 */ lwz r5, 0x88(r1) +/* 800C95FC 000C655C 80 81 00 8C */ lwz r4, 0x8c(r1) +/* 800C9600 000C6560 80 61 00 90 */ lwz r3, 0x90(r1) +/* 800C9604 000C6564 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800C9608 000C6568 90 E1 00 CC */ stw r7, 0xcc(r1) +/* 800C960C 000C656C 90 C1 00 D0 */ stw r6, 0xd0(r1) +/* 800C9610 000C6570 90 A1 00 D4 */ stw r5, 0xd4(r1) +/* 800C9614 000C6574 90 81 00 D8 */ stw r4, 0xd8(r1) +/* 800C9618 000C6578 90 61 00 DC */ stw r3, 0xdc(r1) +/* 800C961C 000C657C 90 01 00 E0 */ stw r0, 0xe0(r1) +lbl_800C9620: +/* 800C9620 000C6580 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C9624 000C6584 38 60 03 28 */ li r3, 0x328 +/* 800C9628 000C6588 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800C962C 000C658C 38 A0 00 00 */ li r5, 0 +/* 800C9630 000C6590 38 84 00 0D */ addi r4, r4, 0xd +/* 800C9634 000C6594 48 24 C2 39 */ bl __nw__FUlPCcPCc +/* 800C9638 000C6598 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800C963C 000C659C 41 82 00 A8 */ beq lbl_800C96E4 +/* 800C9640 000C65A0 81 41 00 E4 */ lwz r10, 0xe4(r1) +/* 800C9644 000C65A4 7F 04 C3 78 */ mr r4, r24 +/* 800C9648 000C65A8 81 21 00 E8 */ lwz r9, 0xe8(r1) +/* 800C964C 000C65AC 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C9650 000C65B0 81 01 00 EC */ lwz r8, 0xec(r1) +/* 800C9654 000C65B4 80 E1 00 F0 */ lwz r7, 0xf0(r1) +/* 800C9658 000C65B8 80 C1 00 F4 */ lwz r6, 0xf4(r1) +/* 800C965C 000C65BC 80 A1 00 F8 */ lwz r5, 0xf8(r1) +/* 800C9660 000C65C0 80 01 00 FC */ lwz r0, 0xfc(r1) +/* 800C9664 000C65C4 91 41 00 64 */ stw r10, 0x64(r1) +/* 800C9668 000C65C8 91 21 00 68 */ stw r9, 0x68(r1) +/* 800C966C 000C65CC 91 01 00 6C */ stw r8, 0x6c(r1) +/* 800C9670 000C65D0 90 E1 00 70 */ stw r7, 0x70(r1) +/* 800C9674 000C65D4 90 C1 00 74 */ stw r6, 0x74(r1) +/* 800C9678 000C65D8 90 A1 00 78 */ stw r5, 0x78(r1) +/* 800C967C 000C65DC 90 01 00 7C */ stw r0, 0x7c(r1) +/* 800C9680 000C65E0 4B F8 3A 5D */ bl AllocateUniqueId__13CStateManagerFv +/* 800C9684 000C65E4 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 800C9688 000C65E8 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800C968C 000C65EC 38 81 02 4C */ addi r4, r1, 0x24c +/* 800C9690 000C65F0 39 21 01 E4 */ addi r9, r1, 0x1e4 +/* 800C9694 000C65F4 B0 01 00 24 */ sth r0, 0x24(r1) +/* 800C9698 000C65F8 38 01 00 64 */ addi r0, r1, 0x64 +/* 800C969C 000C65FC FC 20 F8 90 */ fmr f1, f31 +/* 800C96A0 000C6600 7F A3 EB 78 */ mr r3, r29 +/* 800C96A4 000C6604 90 A1 00 08 */ stw r5, 8(r1) +/* 800C96A8 000C6608 FC 40 F0 90 */ fmr f2, f30 +/* 800C96AC 000C660C 7F 26 CB 78 */ mr r6, r25 +/* 800C96B0 000C6610 7F 47 D3 78 */ mr r7, r26 +/* 800C96B4 000C6614 90 81 00 0C */ stw r4, 0xc(r1) +/* 800C96B8 000C6618 38 81 00 24 */ addi r4, r1, 0x24 +/* 800C96BC 000C661C 38 A1 02 B4 */ addi r5, r1, 0x2b4 +/* 800C96C0 000C6620 39 01 01 98 */ addi r8, r1, 0x198 +/* 800C96C4 000C6624 91 21 00 10 */ stw r9, 0x10(r1) +/* 800C96C8 000C6628 39 21 00 CC */ addi r9, r1, 0xcc +/* 800C96CC 000C662C 39 41 00 30 */ addi r10, r1, 0x30 +/* 800C96D0 000C6630 93 C1 00 14 */ stw r30, 0x14(r1) +/* 800C96D4 000C6634 90 01 00 18 */ stw r0, 0x18(r1) +/* 800C96D8 000C6638 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800C96DC 000C663C 48 17 62 B1 */ bl "__ct__17CActorContraptionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersiRC11CDamageInfob" +/* 800C96E0 000C6640 7C 7D 1B 78 */ mr r29, r3 +lbl_800C96E4: +/* 800C96E4 000C6644 38 61 01 98 */ addi r3, r1, 0x198 +/* 800C96E8 000C6648 38 80 FF FF */ li r4, -1 +/* 800C96EC 000C664C 48 04 D3 61 */ bl __dt__10CModelDataFv +/* 800C96F0 000C6650 38 61 01 E4 */ addi r3, r1, 0x1e4 +/* 800C96F4 000C6654 38 80 FF FF */ li r4, -1 +/* 800C96F8 000C6658 48 03 CF 11 */ bl __dt__16CActorParametersFv +/* 800C96FC 000C665C 38 61 02 B4 */ addi r3, r1, 0x2b4 +/* 800C9700 000C6660 48 27 43 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C9704 000C6664 7F A3 EB 78 */ mr r3, r29 +lbl_800C9708: +/* 800C9708 000C6668 E3 E1 03 48 */ psq_l f31, 840(r1), 0, qr0 +/* 800C970C 000C666C CB E1 03 40 */ lfd f31, 0x340(r1) +/* 800C9710 000C6670 E3 C1 03 38 */ psq_l f30, 824(r1), 0, qr0 +/* 800C9714 000C6674 CB C1 03 30 */ lfd f30, 0x330(r1) +/* 800C9718 000C6678 BA E1 03 0C */ lmw r23, 0x30c(r1) +/* 800C971C 000C667C 80 01 03 54 */ lwz r0, 0x354(r1) +/* 800C9720 000C6680 7C 08 03 A6 */ mtlr r0 +/* 800C9724 000C6684 38 21 03 50 */ addi r1, r1, 0x350 +/* 800C9728 000C6688 4E 80 00 20 */ blr + +.global LoadSnakeWeedSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSnakeWeedSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C972C 000C668C 94 21 FD 40 */ stwu r1, -0x2c0(r1) +/* 800C9730 000C6690 7C 08 02 A6 */ mflr r0 +/* 800C9734 000C6694 90 01 02 C4 */ stw r0, 0x2c4(r1) +/* 800C9738 000C6698 DB E1 02 B0 */ stfd f31, 0x2b0(r1) +/* 800C973C 000C669C F3 E1 02 B8 */ psq_st f31, 696(r1), 0, qr0 +/* 800C9740 000C66A0 DB C1 02 A0 */ stfd f30, 0x2a0(r1) +/* 800C9744 000C66A4 F3 C1 02 A8 */ psq_st f30, 680(r1), 0, qr0 +/* 800C9748 000C66A8 DB A1 02 90 */ stfd f29, 0x290(r1) +/* 800C974C 000C66AC F3 A1 02 98 */ psq_st f29, 664(r1), 0, qr0 +/* 800C9750 000C66B0 DB 81 02 80 */ stfd f28, 0x280(r1) +/* 800C9754 000C66B4 F3 81 02 88 */ psq_st f28, 648(r1), 0, qr0 +/* 800C9758 000C66B8 DB 61 02 70 */ stfd f27, 0x270(r1) +/* 800C975C 000C66BC F3 61 02 78 */ psq_st f27, 632(r1), 0, qr0 +/* 800C9760 000C66C0 DB 41 02 60 */ stfd f26, 0x260(r1) +/* 800C9764 000C66C4 F3 41 02 68 */ psq_st f26, 616(r1), 0, qr0 +/* 800C9768 000C66C8 DB 21 02 50 */ stfd f25, 0x250(r1) +/* 800C976C 000C66CC F3 21 02 58 */ psq_st f25, 600(r1), 0, qr0 +/* 800C9770 000C66D0 DB 01 02 40 */ stfd f24, 0x240(r1) +/* 800C9774 000C66D4 F3 01 02 48 */ psq_st f24, 584(r1), 0, qr0 +/* 800C9778 000C66D8 DA E1 02 30 */ stfd f23, 0x230(r1) +/* 800C977C 000C66DC F2 E1 02 38 */ psq_st f23, 568(r1), 0, qr0 +/* 800C9780 000C66E0 DA C1 02 20 */ stfd f22, 0x220(r1) +/* 800C9784 000C66E4 F2 C1 02 28 */ psq_st f22, 552(r1), 0, qr0 +/* 800C9788 000C66E8 DA A1 02 10 */ stfd f21, 0x210(r1) +/* 800C978C 000C66EC F2 A1 02 18 */ psq_st f21, 536(r1), 0, qr0 +/* 800C9790 000C66F0 DA 81 02 00 */ stfd f20, 0x200(r1) +/* 800C9794 000C66F4 F2 81 02 08 */ psq_st f20, 520(r1), 0, qr0 +/* 800C9798 000C66F8 DA 61 01 F0 */ stfd f19, 0x1f0(r1) +/* 800C979C 000C66FC F2 61 01 F8 */ psq_st f19, 504(r1), 0, qr0 +/* 800C97A0 000C6700 DA 41 01 E0 */ stfd f18, 0x1e0(r1) +/* 800C97A4 000C6704 F2 41 01 E8 */ psq_st f18, 488(r1), 0, qr0 +/* 800C97A8 000C6708 DA 21 01 D0 */ stfd f17, 0x1d0(r1) +/* 800C97AC 000C670C F2 21 01 D8 */ psq_st f17, 472(r1), 0, qr0 +/* 800C97B0 000C6710 DA 01 01 C0 */ stfd f16, 0x1c0(r1) +/* 800C97B4 000C6714 F2 01 01 C8 */ psq_st f16, 456(r1), 0, qr0 +/* 800C97B8 000C6718 BE 41 01 88 */ stmw r18, 0x188(r1) +/* 800C97BC 000C671C 7C BF 2B 78 */ mr r31, r5 +/* 800C97C0 000C6720 7C 7D 1B 78 */ mr r29, r3 +/* 800C97C4 000C6724 2C 1F 00 19 */ cmpwi r31, 0x19 +/* 800C97C8 000C6728 7C 9E 23 78 */ mr r30, r4 +/* 800C97CC 000C672C 7C D5 33 78 */ mr r21, r6 +/* 800C97D0 000C6730 38 00 00 00 */ li r0, 0 +/* 800C97D4 000C6734 41 80 00 10 */ blt lbl_800C97E4 +/* 800C97D8 000C6738 2C 1F 00 1D */ cmpwi r31, 0x1d +/* 800C97DC 000C673C 41 81 00 08 */ bgt lbl_800C97E4 +/* 800C97E0 000C6740 38 00 00 01 */ li r0, 1 +lbl_800C97E4: +/* 800C97E4 000C6744 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800C97E8 000C6748 40 82 00 0C */ bne lbl_800C97F4 +/* 800C97EC 000C674C 38 60 00 00 */ li r3, 0 +/* 800C97F0 000C6750 48 00 02 DC */ b lbl_800C9ACC +lbl_800C97F4: +/* 800C97F4 000C6754 7F A3 EB 78 */ mr r3, r29 +/* 800C97F8 000C6758 7F C4 F3 78 */ mr r4, r30 +/* 800C97FC 000C675C 4B F7 B9 E9 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800C9800 000C6760 7C 64 1B 78 */ mr r4, r3 +/* 800C9804 000C6764 38 61 00 68 */ addi r3, r1, 0x68 +/* 800C9808 000C6768 48 27 49 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800C980C 000C676C 7F C4 F3 78 */ mr r4, r30 +/* 800C9810 000C6770 38 61 00 5C */ addi r3, r1, 0x5c +/* 800C9814 000C6774 48 24 B3 79 */ bl __ct__9CVector3fFR12CInputStream +/* 800C9818 000C6778 7F C4 F3 78 */ mr r4, r30 +/* 800C981C 000C677C 38 61 00 50 */ addi r3, r1, 0x50 +/* 800C9820 000C6780 48 24 B3 6D */ bl __ct__9CVector3fFR12CInputStream +/* 800C9824 000C6784 7F C3 F3 78 */ mr r3, r30 +/* 800C9828 000C6788 48 27 54 B5 */ bl ReadBool__12CInputStreamFv +/* 800C982C 000C678C 7C 76 1B 78 */ mr r22, r3 +/* 800C9830 000C6790 7F C3 F3 78 */ mr r3, r30 +/* 800C9834 000C6794 48 27 54 51 */ bl ReadLong__12CInputStreamFv +/* 800C9838 000C6798 7C 77 1B 78 */ mr r23, r3 +/* 800C983C 000C679C 7F C3 F3 78 */ mr r3, r30 +/* 800C9840 000C67A0 48 27 54 45 */ bl ReadLong__12CInputStreamFv +/* 800C9844 000C67A4 7C 78 1B 78 */ mr r24, r3 +/* 800C9848 000C67A8 7F C3 F3 78 */ mr r3, r30 +/* 800C984C 000C67AC 48 27 54 39 */ bl ReadLong__12CInputStreamFv +/* 800C9850 000C67B0 7C 79 1B 78 */ mr r25, r3 +/* 800C9854 000C67B4 7F C4 F3 78 */ mr r4, r30 +/* 800C9858 000C67B8 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800C985C 000C67BC 48 01 05 19 */ bl LoadActorParameters__FR12CInputStream +/* 800C9860 000C67C0 38 61 01 18 */ addi r3, r1, 0x118 +/* 800C9864 000C67C4 38 81 00 B0 */ addi r4, r1, 0xb0 +/* 800C9868 000C67C8 4B FF BD B5 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C986C 000C67CC 38 61 00 B0 */ addi r3, r1, 0xb0 +/* 800C9870 000C67D0 38 80 FF FF */ li r4, -1 +/* 800C9874 000C67D4 48 03 CD 95 */ bl __dt__16CActorParametersFv +/* 800C9878 000C67D8 7F C3 F3 78 */ mr r3, r30 +/* 800C987C 000C67DC 48 27 53 AD */ bl ReadFloat__12CInputStreamFv +/* 800C9880 000C67E0 FF 00 08 90 */ fmr f24, f1 +/* 800C9884 000C67E4 7F C3 F3 78 */ mr r3, r30 +/* 800C9888 000C67E8 48 27 53 A1 */ bl ReadFloat__12CInputStreamFv +/* 800C988C 000C67EC FE E0 08 90 */ fmr f23, f1 +/* 800C9890 000C67F0 7F C3 F3 78 */ mr r3, r30 +/* 800C9894 000C67F4 48 27 53 95 */ bl ReadFloat__12CInputStreamFv +/* 800C9898 000C67F8 FE C0 08 90 */ fmr f22, f1 +/* 800C989C 000C67FC 7F C3 F3 78 */ mr r3, r30 +/* 800C98A0 000C6800 48 27 53 89 */ bl ReadFloat__12CInputStreamFv +/* 800C98A4 000C6804 FE A0 08 90 */ fmr f21, f1 +/* 800C98A8 000C6808 7F C3 F3 78 */ mr r3, r30 +/* 800C98AC 000C680C 48 27 53 7D */ bl ReadFloat__12CInputStreamFv +/* 800C98B0 000C6810 FE 80 08 90 */ fmr f20, f1 +/* 800C98B4 000C6814 7F C3 F3 78 */ mr r3, r30 +/* 800C98B8 000C6818 48 27 53 71 */ bl ReadFloat__12CInputStreamFv +/* 800C98BC 000C681C FE 60 08 90 */ fmr f19, f1 +/* 800C98C0 000C6820 7F C3 F3 78 */ mr r3, r30 +/* 800C98C4 000C6824 48 27 53 65 */ bl ReadFloat__12CInputStreamFv +/* 800C98C8 000C6828 FE 40 08 90 */ fmr f18, f1 +/* 800C98CC 000C682C 7F C3 F3 78 */ mr r3, r30 +/* 800C98D0 000C6830 48 27 53 59 */ bl ReadFloat__12CInputStreamFv +/* 800C98D4 000C6834 FE 20 08 90 */ fmr f17, f1 +/* 800C98D8 000C6838 7F C3 F3 78 */ mr r3, r30 +/* 800C98DC 000C683C 48 27 53 4D */ bl ReadFloat__12CInputStreamFv +/* 800C98E0 000C6840 FF 20 08 90 */ fmr f25, f1 +/* 800C98E4 000C6844 7F C3 F3 78 */ mr r3, r30 +/* 800C98E8 000C6848 48 27 53 41 */ bl ReadFloat__12CInputStreamFv +/* 800C98EC 000C684C FF 40 08 90 */ fmr f26, f1 +/* 800C98F0 000C6850 7F C3 F3 78 */ mr r3, r30 +/* 800C98F4 000C6854 48 27 53 35 */ bl ReadFloat__12CInputStreamFv +/* 800C98F8 000C6858 FF 60 08 90 */ fmr f27, f1 +/* 800C98FC 000C685C 7F C3 F3 78 */ mr r3, r30 +/* 800C9900 000C6860 48 27 53 29 */ bl ReadFloat__12CInputStreamFv +/* 800C9904 000C6864 FF 80 08 90 */ fmr f28, f1 +/* 800C9908 000C6868 7F C3 F3 78 */ mr r3, r30 +/* 800C990C 000C686C 48 27 53 1D */ bl ReadFloat__12CInputStreamFv +/* 800C9910 000C6870 FF A0 08 90 */ fmr f29, f1 +/* 800C9914 000C6874 7F C3 F3 78 */ mr r3, r30 +/* 800C9918 000C6878 48 27 53 11 */ bl ReadFloat__12CInputStreamFv +/* 800C991C 000C687C FF C0 08 90 */ fmr f30, f1 +/* 800C9920 000C6880 7F C4 F3 78 */ mr r4, r30 +/* 800C9924 000C6884 38 61 00 94 */ addi r3, r1, 0x94 +/* 800C9928 000C6888 4B FF 9C 39 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C992C 000C688C 7F C3 F3 78 */ mr r3, r30 +/* 800C9930 000C6890 48 27 52 F9 */ bl ReadFloat__12CInputStreamFv +/* 800C9934 000C6894 FF E0 08 90 */ fmr f31, f1 +/* 800C9938 000C6898 7F C3 F3 78 */ mr r3, r30 +/* 800C993C 000C689C 48 27 53 49 */ bl ReadLong__12CInputStreamFv +/* 800C9940 000C68A0 7C 7A 1B 78 */ mr r26, r3 +/* 800C9944 000C68A4 7F C3 F3 78 */ mr r3, r30 +/* 800C9948 000C68A8 48 27 53 3D */ bl ReadLong__12CInputStreamFv +/* 800C994C 000C68AC 7C 7B 1B 78 */ mr r27, r3 +/* 800C9950 000C68B0 7F C3 F3 78 */ mr r3, r30 +/* 800C9954 000C68B4 48 27 53 31 */ bl ReadLong__12CInputStreamFv +/* 800C9958 000C68B8 2C 1F 00 1D */ cmpwi r31, 0x1d +/* 800C995C 000C68BC 7C 7C 1B 78 */ mr r28, r3 +/* 800C9960 000C68C0 41 80 00 14 */ blt lbl_800C9974 +/* 800C9964 000C68C4 7F C3 F3 78 */ mr r3, r30 +/* 800C9968 000C68C8 48 27 53 1D */ bl ReadLong__12CInputStreamFv +/* 800C996C 000C68CC 7C 74 1B 78 */ mr r20, r3 +/* 800C9970 000C68D0 48 00 00 08 */ b lbl_800C9978 +lbl_800C9974: +/* 800C9974 000C68D4 3A 80 FF FF */ li r20, -1 +lbl_800C9978: +/* 800C9978 000C68D8 2C 1F 00 1D */ cmpwi r31, 0x1d +/* 800C997C 000C68DC 41 80 00 14 */ blt lbl_800C9990 +/* 800C9980 000C68E0 7F C3 F3 78 */ mr r3, r30 +/* 800C9984 000C68E4 48 27 53 01 */ bl ReadLong__12CInputStreamFv +/* 800C9988 000C68E8 7C 73 1B 78 */ mr r19, r3 +/* 800C998C 000C68EC 48 00 00 08 */ b lbl_800C9994 +lbl_800C9990: +/* 800C9990 000C68F0 3A 60 00 00 */ li r19, 0 +lbl_800C9994: +/* 800C9994 000C68F4 2C 1F 00 1D */ cmpwi r31, 0x1d +/* 800C9998 000C68F8 41 80 00 14 */ blt lbl_800C99AC +/* 800C999C 000C68FC 7F C3 F3 78 */ mr r3, r30 +/* 800C99A0 000C6900 48 27 52 E5 */ bl ReadLong__12CInputStreamFv +/* 800C99A4 000C6904 7C 72 1B 78 */ mr r18, r3 +/* 800C99A8 000C6908 48 00 00 08 */ b lbl_800C99B0 +lbl_800C99AC: +/* 800C99AC 000C690C 3A 40 FF FF */ li r18, -1 +lbl_800C99B0: +/* 800C99B0 000C6910 2C 1F 00 1D */ cmpwi r31, 0x1d +/* 800C99B4 000C6914 41 80 00 14 */ blt lbl_800C99C8 +/* 800C99B8 000C6918 7F C3 F3 78 */ mr r3, r30 +/* 800C99BC 000C691C 48 27 52 6D */ bl ReadFloat__12CInputStreamFv +/* 800C99C0 000C6920 FE 00 08 90 */ fmr f16, f1 +/* 800C99C4 000C6924 48 00 00 08 */ b lbl_800C99CC +lbl_800C99C8: +/* 800C99C8 000C6928 C2 02 8E 28 */ lfs f16, lbl_805AAB48@sda21(r2) +lbl_800C99CC: +/* 800C99CC 000C692C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C99D0 000C6930 38 60 02 08 */ li r3, 0x208 +/* 800C99D4 000C6934 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800C99D8 000C6938 38 A0 00 00 */ li r5, 0 +/* 800C99DC 000C693C 38 84 00 0D */ addi r4, r4, 0xd +/* 800C99E0 000C6940 48 24 BE 8D */ bl __nw__FUlPCcPCc +/* 800C99E4 000C6944 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800C99E8 000C6948 41 82 00 CC */ beq lbl_800C9AB4 +/* 800C99EC 000C694C C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800C99F0 000C6950 38 00 00 01 */ li r0, 1 +/* 800C99F4 000C6954 92 E1 00 78 */ stw r23, 0x78(r1) +/* 800C99F8 000C6958 7F A4 EB 78 */ mr r4, r29 +/* 800C99FC 000C695C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800C9A00 000C6960 93 01 00 7C */ stw r24, 0x7c(r1) +/* 800C9A04 000C6964 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 800C9A08 000C6968 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 800C9A0C 000C696C D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800C9A10 000C6970 98 01 00 8C */ stb r0, 0x8c(r1) +/* 800C9A14 000C6974 93 21 00 90 */ stw r25, 0x90(r1) +/* 800C9A18 000C6978 4B F8 36 C5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C9A1C 000C697C A0 61 00 48 */ lhz r3, 0x48(r1) +/* 800C9A20 000C6980 38 81 01 18 */ addi r4, r1, 0x118 +/* 800C9A24 000C6984 38 01 00 94 */ addi r0, r1, 0x94 +/* 800C9A28 000C6988 FC 20 C0 90 */ fmr f1, f24 +/* 800C9A2C 000C698C B0 61 00 4C */ sth r3, 0x4c(r1) +/* 800C9A30 000C6990 FC 40 B8 90 */ fmr f2, f23 +/* 800C9A34 000C6994 FC 60 B0 90 */ fmr f3, f22 +/* 800C9A38 000C6998 7F C3 F3 78 */ mr r3, r30 +/* 800C9A3C 000C699C 90 81 00 08 */ stw r4, 8(r1) +/* 800C9A40 000C69A0 FC 80 A8 90 */ fmr f4, f21 +/* 800C9A44 000C69A4 7E C5 B3 78 */ mr r5, r22 +/* 800C9A48 000C69A8 D3 21 00 0C */ stfs f25, 0xc(r1) +/* 800C9A4C 000C69AC FC A0 A0 90 */ fmr f5, f20 +/* 800C9A50 000C69B0 7E A7 AB 78 */ mr r7, r21 +/* 800C9A54 000C69B4 D3 41 00 10 */ stfs f26, 0x10(r1) +/* 800C9A58 000C69B8 FC C0 98 90 */ fmr f6, f19 +/* 800C9A5C 000C69BC 38 81 00 4C */ addi r4, r1, 0x4c +/* 800C9A60 000C69C0 D3 61 00 14 */ stfs f27, 0x14(r1) +/* 800C9A64 000C69C4 FC E0 90 90 */ fmr f7, f18 +/* 800C9A68 000C69C8 38 C1 00 68 */ addi r6, r1, 0x68 +/* 800C9A6C 000C69CC D3 81 00 18 */ stfs f28, 0x18(r1) +/* 800C9A70 000C69D0 FD 00 88 90 */ fmr f8, f17 +/* 800C9A74 000C69D4 39 01 00 5C */ addi r8, r1, 0x5c +/* 800C9A78 000C69D8 D3 A1 00 1C */ stfs f29, 0x1c(r1) +/* 800C9A7C 000C69DC 39 21 00 50 */ addi r9, r1, 0x50 +/* 800C9A80 000C69E0 39 41 00 78 */ addi r10, r1, 0x78 +/* 800C9A84 000C69E4 D3 C1 00 20 */ stfs f30, 0x20(r1) +/* 800C9A88 000C69E8 90 01 00 24 */ stw r0, 0x24(r1) +/* 800C9A8C 000C69EC D3 E1 00 28 */ stfs f31, 0x28(r1) +/* 800C9A90 000C69F0 93 41 00 2C */ stw r26, 0x2c(r1) +/* 800C9A94 000C69F4 93 61 00 30 */ stw r27, 0x30(r1) +/* 800C9A98 000C69F8 93 81 00 34 */ stw r28, 0x34(r1) +/* 800C9A9C 000C69FC 92 81 00 38 */ stw r20, 0x38(r1) +/* 800C9AA0 000C6A00 92 61 00 3C */ stw r19, 0x3c(r1) +/* 800C9AA4 000C6A04 92 41 00 40 */ stw r18, 0x40(r1) +/* 800C9AA8 000C6A08 D2 01 00 44 */ stfs f16, 0x44(r1) +/* 800C9AAC 000C6A0C 48 17 3C E5 */ bl __ct__15CSnakeWeedSwarm +/* 800C9AB0 000C6A10 7C 7E 1B 78 */ mr r30, r3 +lbl_800C9AB4: +/* 800C9AB4 000C6A14 38 61 01 18 */ addi r3, r1, 0x118 +/* 800C9AB8 000C6A18 38 80 FF FF */ li r4, -1 +/* 800C9ABC 000C6A1C 48 03 CB 4D */ bl __dt__16CActorParametersFv +/* 800C9AC0 000C6A20 38 61 00 68 */ addi r3, r1, 0x68 +/* 800C9AC4 000C6A24 48 27 40 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C9AC8 000C6A28 7F C3 F3 78 */ mr r3, r30 +lbl_800C9ACC: +/* 800C9ACC 000C6A2C E3 E1 02 B8 */ psq_l f31, 696(r1), 0, qr0 +/* 800C9AD0 000C6A30 CB E1 02 B0 */ lfd f31, 0x2b0(r1) +/* 800C9AD4 000C6A34 E3 C1 02 A8 */ psq_l f30, 680(r1), 0, qr0 +/* 800C9AD8 000C6A38 CB C1 02 A0 */ lfd f30, 0x2a0(r1) +/* 800C9ADC 000C6A3C E3 A1 02 98 */ psq_l f29, 664(r1), 0, qr0 +/* 800C9AE0 000C6A40 CB A1 02 90 */ lfd f29, 0x290(r1) +/* 800C9AE4 000C6A44 E3 81 02 88 */ psq_l f28, 648(r1), 0, qr0 +/* 800C9AE8 000C6A48 CB 81 02 80 */ lfd f28, 0x280(r1) +/* 800C9AEC 000C6A4C E3 61 02 78 */ psq_l f27, 632(r1), 0, qr0 +/* 800C9AF0 000C6A50 CB 61 02 70 */ lfd f27, 0x270(r1) +/* 800C9AF4 000C6A54 E3 41 02 68 */ psq_l f26, 616(r1), 0, qr0 +/* 800C9AF8 000C6A58 CB 41 02 60 */ lfd f26, 0x260(r1) +/* 800C9AFC 000C6A5C E3 21 02 58 */ psq_l f25, 600(r1), 0, qr0 +/* 800C9B00 000C6A60 CB 21 02 50 */ lfd f25, 0x250(r1) +/* 800C9B04 000C6A64 E3 01 02 48 */ psq_l f24, 584(r1), 0, qr0 +/* 800C9B08 000C6A68 CB 01 02 40 */ lfd f24, 0x240(r1) +/* 800C9B0C 000C6A6C E2 E1 02 38 */ psq_l f23, 568(r1), 0, qr0 +/* 800C9B10 000C6A70 CA E1 02 30 */ lfd f23, 0x230(r1) +/* 800C9B14 000C6A74 E2 C1 02 28 */ psq_l f22, 552(r1), 0, qr0 +/* 800C9B18 000C6A78 CA C1 02 20 */ lfd f22, 0x220(r1) +/* 800C9B1C 000C6A7C E2 A1 02 18 */ psq_l f21, 536(r1), 0, qr0 +/* 800C9B20 000C6A80 CA A1 02 10 */ lfd f21, 0x210(r1) +/* 800C9B24 000C6A84 E2 81 02 08 */ psq_l f20, 520(r1), 0, qr0 +/* 800C9B28 000C6A88 CA 81 02 00 */ lfd f20, 0x200(r1) +/* 800C9B2C 000C6A8C E2 61 01 F8 */ psq_l f19, 504(r1), 0, qr0 +/* 800C9B30 000C6A90 CA 61 01 F0 */ lfd f19, 0x1f0(r1) +/* 800C9B34 000C6A94 E2 41 01 E8 */ psq_l f18, 488(r1), 0, qr0 +/* 800C9B38 000C6A98 CA 41 01 E0 */ lfd f18, 0x1e0(r1) +/* 800C9B3C 000C6A9C E2 21 01 D8 */ psq_l f17, 472(r1), 0, qr0 +/* 800C9B40 000C6AA0 CA 21 01 D0 */ lfd f17, 0x1d0(r1) +/* 800C9B44 000C6AA4 E2 01 01 C8 */ psq_l f16, 456(r1), 0, qr0 +/* 800C9B48 000C6AA8 CA 01 01 C0 */ lfd f16, 0x1c0(r1) +/* 800C9B4C 000C6AAC BA 41 01 88 */ lmw r18, 0x188(r1) +/* 800C9B50 000C6AB0 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 800C9B54 000C6AB4 7C 08 03 A6 */ mtlr r0 +/* 800C9B58 000C6AB8 38 21 02 C0 */ addi r1, r1, 0x2c0 +/* 800C9B5C 000C6ABC 4E 80 00 20 */ blr + +.global LoadTeamAiMgr__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadTeamAiMgr__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C9B60 000C6AC0 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800C9B64 000C6AC4 7C 08 02 A6 */ mflr r0 +/* 800C9B68 000C6AC8 90 01 00 64 */ stw r0, 0x64(r1) +/* 800C9B6C 000C6ACC 80 02 B7 58 */ lwz r0, lbl_805AD478@sda21(r2) +/* 800C9B70 000C6AD0 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800C9B74 000C6AD4 7C BF 2B 78 */ mr r31, r5 +/* 800C9B78 000C6AD8 7C 1F 00 00 */ cmpw r31, r0 +/* 800C9B7C 000C6ADC 93 C1 00 58 */ stw r30, 0x58(r1) +/* 800C9B80 000C6AE0 7C DE 33 78 */ mr r30, r6 +/* 800C9B84 000C6AE4 93 A1 00 54 */ stw r29, 0x54(r1) +/* 800C9B88 000C6AE8 7C 9D 23 78 */ mr r29, r4 +/* 800C9B8C 000C6AEC 93 81 00 50 */ stw r28, 0x50(r1) +/* 800C9B90 000C6AF0 7C 7C 1B 78 */ mr r28, r3 +/* 800C9B94 000C6AF4 40 80 00 0C */ bge lbl_800C9BA0 +/* 800C9B98 000C6AF8 38 60 00 00 */ li r3, 0 +/* 800C9B9C 000C6AFC 48 00 00 80 */ b lbl_800C9C1C +lbl_800C9BA0: +/* 800C9BA0 000C6B00 4B F7 B6 45 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800C9BA4 000C6B04 7C 64 1B 78 */ mr r4, r3 +/* 800C9BA8 000C6B08 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C9BAC 000C6B0C 48 27 45 B5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800C9BB0 000C6B10 7F A4 EB 78 */ mr r4, r29 +/* 800C9BB4 000C6B14 7F E5 FB 78 */ mr r5, r31 +/* 800C9BB8 000C6B18 38 61 00 20 */ addi r3, r1, 0x20 +/* 800C9BBC 000C6B1C 48 17 08 39 */ bl sub_8023a3f4 +/* 800C9BC0 000C6B20 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800C9BC4 000C6B24 38 60 00 98 */ li r3, 0x98 +/* 800C9BC8 000C6B28 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800C9BCC 000C6B2C 38 A0 00 00 */ li r5, 0 +/* 800C9BD0 000C6B30 38 84 00 0D */ addi r4, r4, 0xd +/* 800C9BD4 000C6B34 48 24 BC 99 */ bl __nw__FUlPCcPCc +/* 800C9BD8 000C6B38 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800C9BDC 000C6B3C 41 82 00 34 */ beq lbl_800C9C10 +/* 800C9BE0 000C6B40 7F 84 E3 78 */ mr r4, r28 +/* 800C9BE4 000C6B44 38 61 00 08 */ addi r3, r1, 8 +/* 800C9BE8 000C6B48 4B F8 34 F5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C9BEC 000C6B4C A0 01 00 08 */ lhz r0, 8(r1) +/* 800C9BF0 000C6B50 7F E3 FB 78 */ mr r3, r31 +/* 800C9BF4 000C6B54 7F C6 F3 78 */ mr r6, r30 +/* 800C9BF8 000C6B58 38 81 00 0C */ addi r4, r1, 0xc +/* 800C9BFC 000C6B5C B0 01 00 0C */ sth r0, 0xc(r1) +/* 800C9C00 000C6B60 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800C9C04 000C6B64 38 E1 00 20 */ addi r7, r1, 0x20 +/* 800C9C08 000C6B68 48 17 06 BD */ bl "__ct__10CTeamAiMgrF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRCQ210CTeamAiMgr8CUnknown" +/* 800C9C0C 000C6B6C 7C 7F 1B 78 */ mr r31, r3 +lbl_800C9C10: +/* 800C9C10 000C6B70 38 61 00 10 */ addi r3, r1, 0x10 +/* 800C9C14 000C6B74 48 27 3E CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C9C18 000C6B78 7F E3 FB 78 */ mr r3, r31 +lbl_800C9C1C: +/* 800C9C1C 000C6B7C 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800C9C20 000C6B80 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800C9C24 000C6B84 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800C9C28 000C6B88 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 800C9C2C 000C6B8C 83 81 00 50 */ lwz r28, 0x50(r1) +/* 800C9C30 000C6B90 7C 08 03 A6 */ mtlr r0 +/* 800C9C34 000C6B94 38 21 00 60 */ addi r1, r1, 0x60 +/* 800C9C38 000C6B98 4E 80 00 20 */ blr + +.global LoadMagdolite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadMagdolite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800C9C3C 000C6B9C 94 21 FB 30 */ stwu r1, -0x4d0(r1) +/* 800C9C40 000C6BA0 7C 08 02 A6 */ mflr r0 +/* 800C9C44 000C6BA4 90 01 04 D4 */ stw r0, 0x4d4(r1) +/* 800C9C48 000C6BA8 DB E1 04 C0 */ stfd f31, 0x4c0(r1) +/* 800C9C4C 000C6BAC F3 E1 04 C8 */ psq_st f31, 1224(r1), 0, qr0 +/* 800C9C50 000C6BB0 DB C1 04 B0 */ stfd f30, 0x4b0(r1) +/* 800C9C54 000C6BB4 F3 C1 04 B8 */ psq_st f30, 1208(r1), 0, qr0 +/* 800C9C58 000C6BB8 DB A1 04 A0 */ stfd f29, 0x4a0(r1) +/* 800C9C5C 000C6BBC F3 A1 04 A8 */ psq_st f29, 1192(r1), 0, qr0 +/* 800C9C60 000C6BC0 DB 81 04 90 */ stfd f28, 0x490(r1) +/* 800C9C64 000C6BC4 F3 81 04 98 */ psq_st f28, 1176(r1), 0, qr0 +/* 800C9C68 000C6BC8 DB 61 04 80 */ stfd f27, 0x480(r1) +/* 800C9C6C 000C6BCC F3 61 04 88 */ psq_st f27, 1160(r1), 0, qr0 +/* 800C9C70 000C6BD0 DB 41 04 70 */ stfd f26, 0x470(r1) +/* 800C9C74 000C6BD4 F3 41 04 78 */ psq_st f26, 1144(r1), 0, qr0 +/* 800C9C78 000C6BD8 DB 21 04 60 */ stfd f25, 0x460(r1) +/* 800C9C7C 000C6BDC F3 21 04 68 */ psq_st f25, 1128(r1), 0, qr0 +/* 800C9C80 000C6BE0 DB 01 04 50 */ stfd f24, 0x450(r1) +/* 800C9C84 000C6BE4 F3 01 04 58 */ psq_st f24, 1112(r1), 0, qr0 +/* 800C9C88 000C6BE8 DA E1 04 40 */ stfd f23, 0x440(r1) +/* 800C9C8C 000C6BEC F2 E1 04 48 */ psq_st f23, 1096(r1), 0, qr0 +/* 800C9C90 000C6BF0 BF 41 04 28 */ stmw r26, 0x428(r1) +/* 800C9C94 000C6BF4 2C 05 00 16 */ cmpwi r5, 0x16 +/* 800C9C98 000C6BF8 7C 7E 1B 78 */ mr r30, r3 +/* 800C9C9C 000C6BFC 7C 9B 23 78 */ mr r27, r4 +/* 800C9CA0 000C6C00 7C DF 33 78 */ mr r31, r6 +/* 800C9CA4 000C6C04 41 82 00 0C */ beq lbl_800C9CB0 +/* 800C9CA8 000C6C08 38 60 00 00 */ li r3, 0 +/* 800C9CAC 000C6C0C 48 00 02 8C */ b lbl_800C9F38 +lbl_800C9CB0: +/* 800C9CB0 000C6C10 7F C5 F3 78 */ mr r5, r30 +/* 800C9CB4 000C6C14 38 61 02 98 */ addi r3, r1, 0x298 +/* 800C9CB8 000C6C18 48 01 07 C5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800C9CBC 000C6C1C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C9CC0 000C6C20 7F 64 DB 78 */ mr r4, r27 +/* 800C9CC4 000C6C24 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800C9CC8 000C6C28 38 61 00 30 */ addi r3, r1, 0x30 +/* 800C9CCC 000C6C2C 38 A5 00 83 */ addi r5, r5, 0x83 +/* 800C9CD0 000C6C30 48 03 BB 59 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800C9CD4 000C6C34 88 01 00 30 */ lbz r0, 0x30(r1) +/* 800C9CD8 000C6C38 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 800C9CDC 000C6C3C 28 00 00 00 */ cmplwi r0, 0 +/* 800C9CE0 000C6C40 40 82 00 14 */ bne lbl_800C9CF4 +/* 800C9CE4 000C6C44 38 61 02 98 */ addi r3, r1, 0x298 +/* 800C9CE8 000C6C48 48 27 3D F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C9CEC 000C6C4C 38 60 00 00 */ li r3, 0 +/* 800C9CF0 000C6C50 48 00 02 48 */ b lbl_800C9F38 +lbl_800C9CF4: +/* 800C9CF4 000C6C54 7F 64 DB 78 */ mr r4, r27 +/* 800C9CF8 000C6C58 38 61 02 E4 */ addi r3, r1, 0x2e4 +/* 800C9CFC 000C6C5C 48 03 BB 7D */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800C9D00 000C6C60 7F 64 DB 78 */ mr r4, r27 +/* 800C9D04 000C6C64 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800C9D08 000C6C68 48 01 00 6D */ bl LoadActorParameters__FR12CInputStream +/* 800C9D0C 000C6C6C 38 61 02 30 */ addi r3, r1, 0x230 +/* 800C9D10 000C6C70 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 800C9D14 000C6C74 4B FF B9 09 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800C9D18 000C6C78 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800C9D1C 000C6C7C 38 80 FF FF */ li r4, -1 +/* 800C9D20 000C6C80 48 03 C8 E9 */ bl __dt__16CActorParametersFv +/* 800C9D24 000C6C84 80 61 03 D0 */ lwz r3, 0x3d0(r1) +/* 800C9D28 000C6C88 3C 03 00 01 */ addis r0, r3, 1 +/* 800C9D2C 000C6C8C 28 00 FF FF */ cmplwi r0, 0xffff +/* 800C9D30 000C6C90 40 82 00 20 */ bne lbl_800C9D50 +/* 800C9D34 000C6C94 38 61 02 30 */ addi r3, r1, 0x230 +/* 800C9D38 000C6C98 38 80 FF FF */ li r4, -1 +/* 800C9D3C 000C6C9C 48 03 C8 CD */ bl __dt__16CActorParametersFv +/* 800C9D40 000C6CA0 38 61 02 98 */ addi r3, r1, 0x298 +/* 800C9D44 000C6CA4 48 27 3D 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C9D48 000C6CA8 38 60 00 00 */ li r3, 0 +/* 800C9D4C 000C6CAC 48 00 01 EC */ b lbl_800C9F38 +lbl_800C9D50: +/* 800C9D50 000C6CB0 7F 63 DB 78 */ mr r3, r27 +/* 800C9D54 000C6CB4 48 27 4E D5 */ bl ReadFloat__12CInputStreamFv +/* 800C9D58 000C6CB8 FF C0 08 90 */ fmr f30, f1 +/* 800C9D5C 000C6CBC 7F 63 DB 78 */ mr r3, r27 +/* 800C9D60 000C6CC0 48 27 4E C9 */ bl ReadFloat__12CInputStreamFv +/* 800C9D64 000C6CC4 FF A0 08 90 */ fmr f29, f1 +/* 800C9D68 000C6CC8 7F 64 DB 78 */ mr r4, r27 +/* 800C9D6C 000C6CCC 38 61 00 90 */ addi r3, r1, 0x90 +/* 800C9D70 000C6CD0 4B FF 97 F1 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C9D74 000C6CD4 7F 64 DB 78 */ mr r4, r27 +/* 800C9D78 000C6CD8 38 61 00 74 */ addi r3, r1, 0x74 +/* 800C9D7C 000C6CDC 4B FF 97 E5 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800C9D80 000C6CE0 7F 64 DB 78 */ mr r4, r27 +/* 800C9D84 000C6CE4 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 800C9D88 000C6CE8 48 03 8D D1 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800C9D8C 000C6CEC 7F 64 DB 78 */ mr r4, r27 +/* 800C9D90 000C6CF0 38 61 01 60 */ addi r3, r1, 0x160 +/* 800C9D94 000C6CF4 48 03 8D C5 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800C9D98 000C6CF8 7F 63 DB 78 */ mr r3, r27 +/* 800C9D9C 000C6CFC 48 27 4E E9 */ bl ReadLong__12CInputStreamFv +/* 800C9DA0 000C6D00 7C 7C 1B 78 */ mr r28, r3 +/* 800C9DA4 000C6D04 7F 63 DB 78 */ mr r3, r27 +/* 800C9DA8 000C6D08 48 27 4E DD */ bl ReadLong__12CInputStreamFv +/* 800C9DAC 000C6D0C 7C 7D 1B 78 */ mr r29, r3 +/* 800C9DB0 000C6D10 7F 63 DB 78 */ mr r3, r27 +/* 800C9DB4 000C6D14 48 27 4E 75 */ bl ReadFloat__12CInputStreamFv +/* 800C9DB8 000C6D18 FF 80 08 90 */ fmr f28, f1 +/* 800C9DBC 000C6D1C 7F 63 DB 78 */ mr r3, r27 +/* 800C9DC0 000C6D20 48 27 4E 69 */ bl ReadFloat__12CInputStreamFv +/* 800C9DC4 000C6D24 FF 60 08 90 */ fmr f27, f1 +/* 800C9DC8 000C6D28 7F 63 DB 78 */ mr r3, r27 +/* 800C9DCC 000C6D2C 48 27 4E 5D */ bl ReadFloat__12CInputStreamFv +/* 800C9DD0 000C6D30 FF 40 08 90 */ fmr f26, f1 +/* 800C9DD4 000C6D34 7F 63 DB 78 */ mr r3, r27 +/* 800C9DD8 000C6D38 48 27 4E 51 */ bl ReadFloat__12CInputStreamFv +/* 800C9DDC 000C6D3C FF 20 08 90 */ fmr f25, f1 +/* 800C9DE0 000C6D40 7F 64 DB 78 */ mr r4, r27 +/* 800C9DE4 000C6D44 38 61 00 54 */ addi r3, r1, 0x54 +/* 800C9DE8 000C6D48 48 00 01 AD */ bl sub_800c9f94 +/* 800C9DEC 000C6D4C 7F 63 DB 78 */ mr r3, r27 +/* 800C9DF0 000C6D50 48 27 4E 39 */ bl ReadFloat__12CInputStreamFv +/* 800C9DF4 000C6D54 FF 00 08 90 */ fmr f24, f1 +/* 800C9DF8 000C6D58 7F 63 DB 78 */ mr r3, r27 +/* 800C9DFC 000C6D5C 48 27 4E 2D */ bl ReadFloat__12CInputStreamFv +/* 800C9E00 000C6D60 FE E0 08 90 */ fmr f23, f1 +/* 800C9E04 000C6D64 7F 63 DB 78 */ mr r3, r27 +/* 800C9E08 000C6D68 48 27 4E 21 */ bl ReadFloat__12CInputStreamFv +/* 800C9E0C 000C6D6C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800C9E10 000C6D70 FF E0 08 90 */ fmr f31, f1 +/* 800C9E14 000C6D74 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800C9E18 000C6D78 3B 40 00 00 */ li r26, 0 +/* 800C9E1C 000C6D7C 38 83 00 0D */ addi r4, r3, 0xd +/* 800C9E20 000C6D80 38 60 07 60 */ li r3, 0x760 +/* 800C9E24 000C6D84 38 A0 00 00 */ li r5, 0 +/* 800C9E28 000C6D88 48 24 BA 45 */ bl __nw__FUlPCcPCc +/* 800C9E2C 000C6D8C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800C9E30 000C6D90 41 82 00 DC */ beq lbl_800C9F0C +/* 800C9E34 000C6D94 80 E1 03 D0 */ lwz r7, 0x3d0(r1) +/* 800C9E38 000C6D98 38 A0 00 01 */ li r5, 1 +/* 800C9E3C 000C6D9C 80 C1 03 D4 */ lwz r6, 0x3d4(r1) +/* 800C9E40 000C6DA0 38 61 00 AC */ addi r3, r1, 0xac +/* 800C9E44 000C6DA4 C0 41 02 D8 */ lfs f2, 0x2d8(r1) +/* 800C9E48 000C6DA8 38 81 00 38 */ addi r4, r1, 0x38 +/* 800C9E4C 000C6DAC C0 21 02 DC */ lfs f1, 0x2dc(r1) +/* 800C9E50 000C6DB0 C0 01 02 E0 */ lfs f0, 0x2e0(r1) +/* 800C9E54 000C6DB4 80 01 03 D8 */ lwz r0, 0x3d8(r1) +/* 800C9E58 000C6DB8 90 E1 00 38 */ stw r7, 0x38(r1) +/* 800C9E5C 000C6DBC 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 800C9E60 000C6DC0 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800C9E64 000C6DC4 D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800C9E68 000C6DC8 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800C9E6C 000C6DCC 98 A1 00 4C */ stb r5, 0x4c(r1) +/* 800C9E70 000C6DD0 90 01 00 50 */ stw r0, 0x50(r1) +/* 800C9E74 000C6DD4 48 04 CC E1 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800C9E78 000C6DD8 7F C4 F3 78 */ mr r4, r30 +/* 800C9E7C 000C6DDC 38 61 00 28 */ addi r3, r1, 0x28 +/* 800C9E80 000C6DE0 3B 40 00 01 */ li r26, 1 +/* 800C9E84 000C6DE4 4B F8 32 59 */ bl AllocateUniqueId__13CStateManagerFv +/* 800C9E88 000C6DE8 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 800C9E8C 000C6DEC 38 61 00 90 */ addi r3, r1, 0x90 +/* 800C9E90 000C6DF0 38 C1 00 74 */ addi r6, r1, 0x74 +/* 800C9E94 000C6DF4 38 81 01 C8 */ addi r4, r1, 0x1c8 +/* 800C9E98 000C6DF8 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 800C9E9C 000C6DFC 38 A1 01 60 */ addi r5, r1, 0x160 +/* 800C9EA0 000C6E00 38 01 00 54 */ addi r0, r1, 0x54 +/* 800C9EA4 000C6E04 FC 20 F0 90 */ fmr f1, f30 +/* 800C9EA8 000C6E08 90 61 00 08 */ stw r3, 8(r1) +/* 800C9EAC 000C6E0C FC 40 E8 90 */ fmr f2, f29 +/* 800C9EB0 000C6E10 FC 60 C8 90 */ fmr f3, f25 +/* 800C9EB4 000C6E14 7F 63 DB 78 */ mr r3, r27 +/* 800C9EB8 000C6E18 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800C9EBC 000C6E1C FC 80 E0 90 */ fmr f4, f28 +/* 800C9EC0 000C6E20 7F E6 FB 78 */ mr r6, r31 +/* 800C9EC4 000C6E24 90 81 00 10 */ stw r4, 0x10(r1) +/* 800C9EC8 000C6E28 FC A0 D8 90 */ fmr f5, f27 +/* 800C9ECC 000C6E2C 38 81 00 2C */ addi r4, r1, 0x2c +/* 800C9ED0 000C6E30 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800C9ED4 000C6E34 FC C0 D0 90 */ fmr f6, f26 +/* 800C9ED8 000C6E38 38 A1 02 98 */ addi r5, r1, 0x298 +/* 800C9EDC 000C6E3C 93 81 00 18 */ stw r28, 0x18(r1) +/* 800C9EE0 000C6E40 FC E0 C0 90 */ fmr f7, f24 +/* 800C9EE4 000C6E44 38 E1 02 A8 */ addi r7, r1, 0x2a8 +/* 800C9EE8 000C6E48 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 800C9EEC 000C6E4C FD 00 B8 90 */ fmr f8, f23 +/* 800C9EF0 000C6E50 39 01 00 AC */ addi r8, r1, 0xac +/* 800C9EF4 000C6E54 90 01 00 20 */ stw r0, 0x20(r1) +/* 800C9EF8 000C6E58 39 21 02 E4 */ addi r9, r1, 0x2e4 +/* 800C9EFC 000C6E5C 39 41 02 30 */ addi r10, r1, 0x230 +/* 800C9F00 000C6E60 D3 E1 00 24 */ stfs f31, 0x24(r1) +/* 800C9F04 000C6E64 48 16 D4 DD */ bl "__ct__10CMagdoliteF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfo" +/* 800C9F08 000C6E68 7C 7B 1B 78 */ mr r27, r3 +lbl_800C9F0C: +/* 800C9F0C 000C6E6C 7F 40 07 75 */ extsb. r0, r26 +/* 800C9F10 000C6E70 41 82 00 10 */ beq lbl_800C9F20 +/* 800C9F14 000C6E74 38 61 00 AC */ addi r3, r1, 0xac +/* 800C9F18 000C6E78 38 80 FF FF */ li r4, -1 +/* 800C9F1C 000C6E7C 48 04 CB 31 */ bl __dt__10CModelDataFv +lbl_800C9F20: +/* 800C9F20 000C6E80 38 61 02 30 */ addi r3, r1, 0x230 +/* 800C9F24 000C6E84 38 80 FF FF */ li r4, -1 +/* 800C9F28 000C6E88 48 03 C6 E1 */ bl __dt__16CActorParametersFv +/* 800C9F2C 000C6E8C 38 61 02 98 */ addi r3, r1, 0x298 +/* 800C9F30 000C6E90 48 27 3B B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800C9F34 000C6E94 7F 63 DB 78 */ mr r3, r27 +lbl_800C9F38: +/* 800C9F38 000C6E98 E3 E1 04 C8 */ psq_l f31, 1224(r1), 0, qr0 +/* 800C9F3C 000C6E9C CB E1 04 C0 */ lfd f31, 0x4c0(r1) +/* 800C9F40 000C6EA0 E3 C1 04 B8 */ psq_l f30, 1208(r1), 0, qr0 +/* 800C9F44 000C6EA4 CB C1 04 B0 */ lfd f30, 0x4b0(r1) +/* 800C9F48 000C6EA8 E3 A1 04 A8 */ psq_l f29, 1192(r1), 0, qr0 +/* 800C9F4C 000C6EAC CB A1 04 A0 */ lfd f29, 0x4a0(r1) +/* 800C9F50 000C6EB0 E3 81 04 98 */ psq_l f28, 1176(r1), 0, qr0 +/* 800C9F54 000C6EB4 CB 81 04 90 */ lfd f28, 0x490(r1) +/* 800C9F58 000C6EB8 E3 61 04 88 */ psq_l f27, 1160(r1), 0, qr0 +/* 800C9F5C 000C6EBC CB 61 04 80 */ lfd f27, 0x480(r1) +/* 800C9F60 000C6EC0 E3 41 04 78 */ psq_l f26, 1144(r1), 0, qr0 +/* 800C9F64 000C6EC4 CB 41 04 70 */ lfd f26, 0x470(r1) +/* 800C9F68 000C6EC8 E3 21 04 68 */ psq_l f25, 1128(r1), 0, qr0 +/* 800C9F6C 000C6ECC CB 21 04 60 */ lfd f25, 0x460(r1) +/* 800C9F70 000C6ED0 E3 01 04 58 */ psq_l f24, 1112(r1), 0, qr0 +/* 800C9F74 000C6ED4 CB 01 04 50 */ lfd f24, 0x450(r1) +/* 800C9F78 000C6ED8 E2 E1 04 48 */ psq_l f23, 1096(r1), 0, qr0 +/* 800C9F7C 000C6EDC CA E1 04 40 */ lfd f23, 0x440(r1) +/* 800C9F80 000C6EE0 BB 41 04 28 */ lmw r26, 0x428(r1) +/* 800C9F84 000C6EE4 80 01 04 D4 */ lwz r0, 0x4d4(r1) +/* 800C9F88 000C6EE8 7C 08 03 A6 */ mtlr r0 +/* 800C9F8C 000C6EEC 38 21 04 D0 */ addi r1, r1, 0x4d0 +/* 800C9F90 000C6EF0 4E 80 00 20 */ blr + +.global sub_800c9f94 +sub_800c9f94: +/* 800C9F94 000C6EF4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800C9F98 000C6EF8 7C 08 02 A6 */ mflr r0 +/* 800C9F9C 000C6EFC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800C9FA0 000C6F00 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800C9FA4 000C6F04 7C 9F 23 78 */ mr r31, r4 +/* 800C9FA8 000C6F08 93 C1 00 08 */ stw r30, 8(r1) +/* 800C9FAC 000C6F0C 7C 7E 1B 78 */ mr r30, r3 +/* 800C9FB0 000C6F10 7F E3 FB 78 */ mr r3, r31 +/* 800C9FB4 000C6F14 48 27 4C D1 */ bl ReadLong__12CInputStreamFv +/* 800C9FB8 000C6F18 90 7E 00 00 */ stw r3, 0(r30) +/* 800C9FBC 000C6F1C 7F E3 FB 78 */ mr r3, r31 +/* 800C9FC0 000C6F20 48 27 4C C5 */ bl ReadLong__12CInputStreamFv +/* 800C9FC4 000C6F24 90 7E 00 04 */ stw r3, 4(r30) +/* 800C9FC8 000C6F28 7F E3 FB 78 */ mr r3, r31 +/* 800C9FCC 000C6F2C 48 27 4C B9 */ bl ReadLong__12CInputStreamFv +/* 800C9FD0 000C6F30 90 7E 00 08 */ stw r3, 8(r30) +/* 800C9FD4 000C6F34 7F E3 FB 78 */ mr r3, r31 +/* 800C9FD8 000C6F38 48 27 4C AD */ bl ReadLong__12CInputStreamFv +/* 800C9FDC 000C6F3C 90 7E 00 0C */ stw r3, 0xc(r30) +/* 800C9FE0 000C6F40 7F E3 FB 78 */ mr r3, r31 +/* 800C9FE4 000C6F44 48 27 4C 45 */ bl ReadFloat__12CInputStreamFv +/* 800C9FE8 000C6F48 D0 3E 00 10 */ stfs f1, 0x10(r30) +/* 800C9FEC 000C6F4C 7F E3 FB 78 */ mr r3, r31 +/* 800C9FF0 000C6F50 48 27 4C 39 */ bl ReadFloat__12CInputStreamFv +/* 800C9FF4 000C6F54 D0 3E 00 18 */ stfs f1, 0x18(r30) +/* 800C9FF8 000C6F58 7F E3 FB 78 */ mr r3, r31 +/* 800C9FFC 000C6F5C 48 27 4C 2D */ bl ReadFloat__12CInputStreamFv +/* 800CA000 000C6F60 D0 3E 00 1C */ stfs f1, 0x1c(r30) +/* 800CA004 000C6F64 7F C3 F3 78 */ mr r3, r30 +/* 800CA008 000C6F68 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800CA00C 000C6F6C 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800CA010 000C6F70 83 C1 00 08 */ lwz r30, 8(r1) +/* 800CA014 000C6F74 7C 08 03 A6 */ mtlr r0 +/* 800CA018 000C6F78 38 21 00 10 */ addi r1, r1, 0x10 +/* 800CA01C 000C6F7C 4E 80 00 20 */ blr + +.global LoadEnvFxDensityController__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadEnvFxDensityController__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CA020 000C6F80 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800CA024 000C6F84 7C 08 02 A6 */ mflr r0 +/* 800CA028 000C6F88 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800CA02C 000C6F8C DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 800CA030 000C6F90 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 800CA034 000C6F94 BF 41 00 88 */ stmw r26, 0x88(r1) +/* 800CA038 000C6F98 2C 05 00 04 */ cmpwi r5, 4 +/* 800CA03C 000C6F9C 7C 7B 1B 78 */ mr r27, r3 +/* 800CA040 000C6FA0 7C 9A 23 78 */ mr r26, r4 +/* 800CA044 000C6FA4 7C DC 33 78 */ mr r28, r6 +/* 800CA048 000C6FA8 41 82 00 0C */ beq lbl_800CA054 +/* 800CA04C 000C6FAC 38 60 00 00 */ li r3, 0 +/* 800CA050 000C6FB0 48 00 01 88 */ b lbl_800CA1D8 +lbl_800CA054: +/* 800CA054 000C6FB4 4B F7 B1 91 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CA058 000C6FB8 7C 64 1B 78 */ mr r4, r3 +/* 800CA05C 000C6FBC 38 61 00 50 */ addi r3, r1, 0x50 +/* 800CA060 000C6FC0 48 27 41 01 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CA064 000C6FC4 7F 43 D3 78 */ mr r3, r26 +/* 800CA068 000C6FC8 48 27 4C 75 */ bl ReadBool__12CInputStreamFv +/* 800CA06C 000C6FCC 7C 7E 1B 78 */ mr r30, r3 +/* 800CA070 000C6FD0 7F 43 D3 78 */ mr r3, r26 +/* 800CA074 000C6FD4 48 27 4B B5 */ bl ReadFloat__12CInputStreamFv +/* 800CA078 000C6FD8 FF E0 08 90 */ fmr f31, f1 +/* 800CA07C 000C6FDC 7F 43 D3 78 */ mr r3, r26 +/* 800CA080 000C6FE0 48 27 4C 05 */ bl ReadLong__12CInputStreamFv +/* 800CA084 000C6FE4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CA088 000C6FE8 7C 7F 1B 78 */ mr r31, r3 +/* 800CA08C 000C6FEC 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800CA090 000C6FF0 3B 40 00 00 */ li r26, 0 +/* 800CA094 000C6FF4 38 83 00 0D */ addi r4, r3, 0xd +/* 800CA098 000C6FF8 38 60 01 F8 */ li r3, 0x1f8 +/* 800CA09C 000C6FFC 38 A0 00 00 */ li r5, 0 +/* 800CA0A0 000C7000 48 24 B7 CD */ bl __nw__FUlPCcPCc +/* 800CA0A4 000C7004 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800CA0A8 000C7008 41 82 01 14 */ beq lbl_800CA1BC +/* 800CA0AC 000C700C 88 01 00 3C */ lbz r0, 0x3c(r1) +/* 800CA0B0 000C7010 38 C0 00 00 */ li r6, 0 +/* 800CA0B4 000C7014 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 800CA0B8 000C7018 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) +/* 800CA0BC 000C701C 98 01 00 3C */ stb r0, 0x3c(r1) +/* 800CA0C0 000C7020 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 800CA0C4 000C7024 50 C4 36 72 */ rlwimi r4, r6, 6, 0x19, 0x19 +/* 800CA0C8 000C7028 38 E0 FF FF */ li r7, -1 +/* 800CA0CC 000C702C 88 01 00 78 */ lbz r0, 0x78(r1) +/* 800CA0D0 000C7030 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 800CA0D4 000C7034 54 85 06 3E */ clrlwi r5, r4, 0x18 +/* 800CA0D8 000C7038 98 81 00 3C */ stb r4, 0x3c(r1) +/* 800CA0DC 000C703C 50 C5 2E B4 */ rlwimi r5, r6, 5, 0x1a, 0x1a +/* 800CA0E0 000C7040 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CA0E4 000C7044 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CA0E8 000C7048 90 E1 00 38 */ stw r7, 0x38(r1) +/* 800CA0EC 000C704C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800CA0F0 000C7050 98 A1 00 3C */ stb r5, 0x3c(r1) +/* 800CA0F4 000C7054 38 84 00 74 */ addi r4, r4, 0x74 +/* 800CA0F8 000C7058 90 E1 00 60 */ stw r7, 0x60(r1) +/* 800CA0FC 000C705C 98 A1 00 64 */ stb r5, 0x64(r1) +/* 800CA100 000C7060 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 800CA104 000C7064 D0 01 00 6C */ stfs f0, 0x6c(r1) +/* 800CA108 000C7068 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800CA10C 000C706C D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800CA110 000C7070 98 01 00 78 */ stb r0, 0x78(r1) +/* 800CA114 000C7074 4B F3 AB A5 */ bl string_l__4rstlFPCc +/* 800CA118 000C7078 7F 64 DB 78 */ mr r4, r27 +/* 800CA11C 000C707C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800CA120 000C7080 3B 40 00 01 */ li r26, 1 +/* 800CA124 000C7084 4B F8 2F B9 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CA128 000C7088 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 800CA12C 000C708C A3 62 C5 FC */ lhz r27, lbl_805AE31C@sda21(r2) +/* 800CA130 000C7090 B0 01 00 34 */ sth r0, 0x34(r1) +/* 800CA134 000C7094 48 27 FE 81 */ bl Black__6CColorFv +/* 800CA138 000C7098 90 61 00 08 */ stw r3, 8(r1) +/* 800CA13C 000C709C 6F EB 80 00 */ xoris r11, r31, 0x8000 +/* 800CA140 000C70A0 3C 00 43 30 */ lis r0, 0x4330 +/* 800CA144 000C70A4 C0 62 8E 28 */ lfs f3, lbl_805AAB48@sda21(r2) +/* 800CA148 000C70A8 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800CA14C 000C70AC 38 A1 00 60 */ addi r5, r1, 0x60 +/* 800CA150 000C70B0 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800CA154 000C70B4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800CA158 000C70B8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800CA15C 000C70BC 38 A0 FF FF */ li r5, -1 +/* 800CA160 000C70C0 38 E4 66 70 */ addi r7, r4, skIdentity4f@l +/* 800CA164 000C70C4 39 43 66 A0 */ addi r10, r3, skZero3f@l +/* 800CA168 000C70C8 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800CA16C 000C70CC FC 20 F8 90 */ fmr f1, f31 +/* 800CA170 000C70D0 C8 42 8E 40 */ lfd f2, lbl_805AAB60@sda21(r2) +/* 800CA174 000C70D4 FC 80 18 90 */ fmr f4, f3 +/* 800CA178 000C70D8 90 A1 00 18 */ stw r5, 0x18(r1) +/* 800CA17C 000C70DC 7F A3 EB 78 */ mr r3, r29 +/* 800CA180 000C70E0 7F 86 E3 78 */ mr r6, r28 +/* 800CA184 000C70E4 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 800CA188 000C70E8 38 81 00 34 */ addi r4, r1, 0x34 +/* 800CA18C 000C70EC 38 A1 00 50 */ addi r5, r1, 0x50 +/* 800CA190 000C70F0 39 21 00 40 */ addi r9, r1, 0x40 +/* 800CA194 000C70F4 93 61 00 20 */ stw r27, 0x20(r1) +/* 800CA198 000C70F8 39 00 00 31 */ li r8, 0x31 +/* 800CA19C 000C70FC 93 61 00 24 */ stw r27, 0x24(r1) +/* 800CA1A0 000C7100 91 61 00 84 */ stw r11, 0x84(r1) +/* 800CA1A4 000C7104 90 01 00 80 */ stw r0, 0x80(r1) +/* 800CA1A8 000C7108 C8 01 00 80 */ lfd f0, 0x80(r1) +/* 800CA1AC 000C710C 93 61 00 28 */ stw r27, 0x28(r1) +/* 800CA1B0 000C7110 EC 40 10 28 */ fsubs f2, f0, f2 +/* 800CA1B4 000C7114 48 08 8A 0D */ bl "__ct__22CScriptSpecialFunctionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ222CScriptSpecialFunction16ESpecialFunctionRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffffRC9CVector3fRC6CColorbRC11CDamageInfoUiUiUiUsUsUs" +/* 800CA1B8 000C7118 7C 7D 1B 78 */ mr r29, r3 +lbl_800CA1BC: +/* 800CA1BC 000C711C 7F 40 07 75 */ extsb. r0, r26 +/* 800CA1C0 000C7120 41 82 00 0C */ beq lbl_800CA1CC +/* 800CA1C4 000C7124 38 61 00 40 */ addi r3, r1, 0x40 +/* 800CA1C8 000C7128 48 27 39 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800CA1CC: +/* 800CA1CC 000C712C 38 61 00 50 */ addi r3, r1, 0x50 +/* 800CA1D0 000C7130 48 27 39 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CA1D4 000C7134 7F A3 EB 78 */ mr r3, r29 +lbl_800CA1D8: +/* 800CA1D8 000C7138 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 800CA1DC 000C713C CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 800CA1E0 000C7140 BB 41 00 88 */ lmw r26, 0x88(r1) +/* 800CA1E4 000C7144 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800CA1E8 000C7148 7C 08 03 A6 */ mtlr r0 +/* 800CA1EC 000C714C 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800CA1F0 000C7150 4E 80 00 20 */ blr + +.global LoadElitePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadElitePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CA1F4 000C7154 94 21 FB F0 */ stwu r1, -0x410(r1) +/* 800CA1F8 000C7158 7C 08 02 A6 */ mflr r0 +/* 800CA1FC 000C715C 90 01 04 14 */ stw r0, 0x414(r1) +/* 800CA200 000C7160 80 02 B5 A0 */ lwz r0, lbl_805AD2C0@sda21(r2) +/* 800CA204 000C7164 93 E1 04 0C */ stw r31, 0x40c(r1) +/* 800CA208 000C7168 7C DF 33 78 */ mr r31, r6 +/* 800CA20C 000C716C 93 C1 04 08 */ stw r30, 0x408(r1) +/* 800CA210 000C7170 7C 7E 1B 78 */ mr r30, r3 +/* 800CA214 000C7174 93 A1 04 04 */ stw r29, 0x404(r1) +/* 800CA218 000C7178 7C BD 2B 78 */ mr r29, r5 +/* 800CA21C 000C717C 7C 1D 00 00 */ cmpw r29, r0 +/* 800CA220 000C7180 93 81 04 00 */ stw r28, 0x400(r1) +/* 800CA224 000C7184 7C 9C 23 78 */ mr r28, r4 +/* 800CA228 000C7188 40 80 00 0C */ bge lbl_800CA234 +/* 800CA22C 000C718C 38 60 00 00 */ li r3, 0 +/* 800CA230 000C7190 48 00 01 B0 */ b lbl_800CA3E0 +lbl_800CA234: +/* 800CA234 000C7194 7F C5 F3 78 */ mr r5, r30 +/* 800CA238 000C7198 38 61 01 58 */ addi r3, r1, 0x158 +/* 800CA23C 000C719C 48 01 02 41 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800CA240 000C71A0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CA244 000C71A4 7F 84 E3 78 */ mr r4, r28 +/* 800CA248 000C71A8 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800CA24C 000C71AC 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CA250 000C71B0 38 A5 00 8D */ addi r5, r5, 0x8d +/* 800CA254 000C71B4 48 03 B5 D5 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800CA258 000C71B8 88 01 00 18 */ lbz r0, 0x18(r1) +/* 800CA25C 000C71BC 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800CA260 000C71C0 28 00 00 00 */ cmplwi r0, 0 +/* 800CA264 000C71C4 40 82 00 14 */ bne lbl_800CA278 +/* 800CA268 000C71C8 38 61 01 58 */ addi r3, r1, 0x158 +/* 800CA26C 000C71CC 48 27 38 75 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CA270 000C71D0 38 60 00 00 */ li r3, 0 +/* 800CA274 000C71D4 48 00 01 6C */ b lbl_800CA3E0 +lbl_800CA278: +/* 800CA278 000C71D8 7F 84 E3 78 */ mr r4, r28 +/* 800CA27C 000C71DC 38 61 02 C4 */ addi r3, r1, 0x2c4 +/* 800CA280 000C71E0 48 03 B5 F9 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800CA284 000C71E4 7F 84 E3 78 */ mr r4, r28 +/* 800CA288 000C71E8 38 61 00 88 */ addi r3, r1, 0x88 +/* 800CA28C 000C71EC 48 00 FA E9 */ bl LoadActorParameters__FR12CInputStream +/* 800CA290 000C71F0 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800CA294 000C71F4 38 81 00 88 */ addi r4, r1, 0x88 +/* 800CA298 000C71F8 4B FF B3 85 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CA29C 000C71FC 38 61 00 88 */ addi r3, r1, 0x88 +/* 800CA2A0 000C7200 38 80 FF FF */ li r4, -1 +/* 800CA2A4 000C7204 48 03 C3 65 */ bl __dt__16CActorParametersFv +/* 800CA2A8 000C7208 7F 84 E3 78 */ mr r4, r28 +/* 800CA2AC 000C720C 7F A5 EB 78 */ mr r5, r29 +/* 800CA2B0 000C7210 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800CA2B4 000C7214 48 16 3B A9 */ bl __ct__16CElitePirateDataFR12CInputStreami +/* 800CA2B8 000C7218 80 61 03 B0 */ lwz r3, 0x3b0(r1) +/* 800CA2BC 000C721C 3C 03 00 01 */ addis r0, r3, 1 +/* 800CA2C0 000C7220 28 00 FF FF */ cmplwi r0, 0xffff +/* 800CA2C4 000C7224 40 82 00 30 */ bne lbl_800CA2F4 +/* 800CA2C8 000C7228 34 61 01 CC */ addic. r3, r1, 0x1cc +/* 800CA2CC 000C722C 41 82 00 0C */ beq lbl_800CA2D8 +/* 800CA2D0 000C7230 38 80 FF FF */ li r4, -1 +/* 800CA2D4 000C7234 48 03 C3 35 */ bl __dt__16CActorParametersFv +lbl_800CA2D8: +/* 800CA2D8 000C7238 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800CA2DC 000C723C 38 80 FF FF */ li r4, -1 +/* 800CA2E0 000C7240 48 03 C3 29 */ bl __dt__16CActorParametersFv +/* 800CA2E4 000C7244 38 61 01 58 */ addi r3, r1, 0x158 +/* 800CA2E8 000C7248 48 27 37 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CA2EC 000C724C 38 60 00 00 */ li r3, 0 +/* 800CA2F0 000C7250 48 00 00 F0 */ b lbl_800CA3E0 +lbl_800CA2F4: +/* 800CA2F4 000C7254 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CA2F8 000C7258 3B 80 00 00 */ li r28, 0 +/* 800CA2FC 000C725C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CA300 000C7260 38 60 09 90 */ li r3, 0x990 +/* 800CA304 000C7264 38 84 00 0D */ addi r4, r4, 0xd +/* 800CA308 000C7268 38 A0 00 00 */ li r5, 0 +/* 800CA30C 000C726C 48 24 B5 61 */ bl __nw__FUlPCcPCc +/* 800CA310 000C7270 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800CA314 000C7274 41 82 00 90 */ beq lbl_800CA3A4 +/* 800CA318 000C7278 80 E1 03 B0 */ lwz r7, 0x3b0(r1) +/* 800CA31C 000C727C 38 A0 00 01 */ li r5, 1 +/* 800CA320 000C7280 80 C1 03 B4 */ lwz r6, 0x3b4(r1) +/* 800CA324 000C7284 38 61 00 3C */ addi r3, r1, 0x3c +/* 800CA328 000C7288 C0 41 01 98 */ lfs f2, 0x198(r1) +/* 800CA32C 000C728C 38 81 00 20 */ addi r4, r1, 0x20 +/* 800CA330 000C7290 C0 21 01 9C */ lfs f1, 0x19c(r1) +/* 800CA334 000C7294 C0 01 01 A0 */ lfs f0, 0x1a0(r1) +/* 800CA338 000C7298 80 01 03 B8 */ lwz r0, 0x3b8(r1) +/* 800CA33C 000C729C 90 E1 00 20 */ stw r7, 0x20(r1) +/* 800CA340 000C72A0 90 C1 00 24 */ stw r6, 0x24(r1) +/* 800CA344 000C72A4 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 800CA348 000C72A8 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800CA34C 000C72AC D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800CA350 000C72B0 98 A1 00 34 */ stb r5, 0x34(r1) +/* 800CA354 000C72B4 90 01 00 38 */ stw r0, 0x38(r1) +/* 800CA358 000C72B8 48 04 C7 FD */ bl __ct__10CModelDataFRC8CAnimRes +/* 800CA35C 000C72BC 7F C4 F3 78 */ mr r4, r30 +/* 800CA360 000C72C0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CA364 000C72C4 3B 80 00 01 */ li r28, 1 +/* 800CA368 000C72C8 4B F8 2D 75 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CA36C 000C72CC A0 81 00 10 */ lhz r4, 0x10(r1) +/* 800CA370 000C72D0 38 01 01 A4 */ addi r0, r1, 0x1a4 +/* 800CA374 000C72D4 7F A3 EB 78 */ mr r3, r29 +/* 800CA378 000C72D8 7F E6 FB 78 */ mr r6, r31 +/* 800CA37C 000C72DC B0 81 00 14 */ sth r4, 0x14(r1) +/* 800CA380 000C72E0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800CA384 000C72E4 38 A1 01 58 */ addi r5, r1, 0x158 +/* 800CA388 000C72E8 38 E1 01 68 */ addi r7, r1, 0x168 +/* 800CA38C 000C72EC 90 01 00 08 */ stw r0, 8(r1) +/* 800CA390 000C72F0 39 01 00 3C */ addi r8, r1, 0x3c +/* 800CA394 000C72F4 39 21 02 C4 */ addi r9, r1, 0x2c4 +/* 800CA398 000C72F8 39 41 00 F0 */ addi r10, r1, 0xf0 +/* 800CA39C 000C72FC 48 16 33 F5 */ bl "__ct__12CElitePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CElitePirateData" +/* 800CA3A0 000C7300 7C 7D 1B 78 */ mr r29, r3 +lbl_800CA3A4: +/* 800CA3A4 000C7304 7F 80 07 75 */ extsb. r0, r28 +/* 800CA3A8 000C7308 41 82 00 10 */ beq lbl_800CA3B8 +/* 800CA3AC 000C730C 38 61 00 3C */ addi r3, r1, 0x3c +/* 800CA3B0 000C7310 38 80 FF FF */ li r4, -1 +/* 800CA3B4 000C7314 48 04 C6 99 */ bl __dt__10CModelDataFv +lbl_800CA3B8: +/* 800CA3B8 000C7318 34 61 01 CC */ addic. r3, r1, 0x1cc +/* 800CA3BC 000C731C 41 82 00 0C */ beq lbl_800CA3C8 +/* 800CA3C0 000C7320 38 80 FF FF */ li r4, -1 +/* 800CA3C4 000C7324 48 03 C2 45 */ bl __dt__16CActorParametersFv +lbl_800CA3C8: +/* 800CA3C8 000C7328 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800CA3CC 000C732C 38 80 FF FF */ li r4, -1 +/* 800CA3D0 000C7330 48 03 C2 39 */ bl __dt__16CActorParametersFv +/* 800CA3D4 000C7334 38 61 01 58 */ addi r3, r1, 0x158 +/* 800CA3D8 000C7338 48 27 37 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CA3DC 000C733C 7F A3 EB 78 */ mr r3, r29 +lbl_800CA3E0: +/* 800CA3E0 000C7340 80 01 04 14 */ lwz r0, 0x414(r1) +/* 800CA3E4 000C7344 83 E1 04 0C */ lwz r31, 0x40c(r1) +/* 800CA3E8 000C7348 83 C1 04 08 */ lwz r30, 0x408(r1) +/* 800CA3EC 000C734C 83 A1 04 04 */ lwz r29, 0x404(r1) +/* 800CA3F0 000C7350 83 81 04 00 */ lwz r28, 0x400(r1) +/* 800CA3F4 000C7354 7C 08 03 A6 */ mtlr r0 +/* 800CA3F8 000C7358 38 21 04 10 */ addi r1, r1, 0x410 +/* 800CA3FC 000C735C 4E 80 00 20 */ blr + +.global LoadScriptCameraPitchVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadScriptCameraPitchVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CA400 000C7360 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800CA404 000C7364 7C 08 02 A6 */ mflr r0 +/* 800CA408 000C7368 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800CA40C 000C736C DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 800CA410 000C7370 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 800CA414 000C7374 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 800CA418 000C7378 F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 800CA41C 000C737C DB A1 00 80 */ stfd f29, 0x80(r1) +/* 800CA420 000C7380 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 800CA424 000C7384 93 E1 00 7C */ stw r31, 0x7c(r1) +/* 800CA428 000C7388 93 C1 00 78 */ stw r30, 0x78(r1) +/* 800CA42C 000C738C 93 A1 00 74 */ stw r29, 0x74(r1) +/* 800CA430 000C7390 93 81 00 70 */ stw r28, 0x70(r1) +/* 800CA434 000C7394 2C 05 00 08 */ cmpwi r5, 8 +/* 800CA438 000C7398 7C 7C 1B 78 */ mr r28, r3 +/* 800CA43C 000C739C 7C 9E 23 78 */ mr r30, r4 +/* 800CA440 000C73A0 7C DD 33 78 */ mr r29, r6 +/* 800CA444 000C73A4 41 82 00 0C */ beq lbl_800CA450 +/* 800CA448 000C73A8 38 60 00 00 */ li r3, 0 +/* 800CA44C 000C73AC 48 00 00 C8 */ b lbl_800CA514 +lbl_800CA450: +/* 800CA450 000C73B0 7F 85 E3 78 */ mr r5, r28 +/* 800CA454 000C73B4 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CA458 000C73B8 48 01 00 25 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800CA45C 000C73BC 7F C3 F3 78 */ mr r3, r30 +/* 800CA460 000C73C0 48 27 48 7D */ bl ReadBool__12CInputStreamFv +/* 800CA464 000C73C4 7C 7F 1B 78 */ mr r31, r3 +/* 800CA468 000C73C8 7F C3 F3 78 */ mr r3, r30 +/* 800CA46C 000C73CC 48 27 47 BD */ bl ReadFloat__12CInputStreamFv +/* 800CA470 000C73D0 FF C0 08 90 */ fmr f30, f1 +/* 800CA474 000C73D4 7F C3 F3 78 */ mr r3, r30 +/* 800CA478 000C73D8 48 27 47 B1 */ bl ReadFloat__12CInputStreamFv +/* 800CA47C 000C73DC FF E0 08 90 */ fmr f31, f1 +/* 800CA480 000C73E0 7F C3 F3 78 */ mr r3, r30 +/* 800CA484 000C73E4 48 27 47 A5 */ bl ReadFloat__12CInputStreamFv +/* 800CA488 000C73E8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CA48C 000C73EC FF A0 08 90 */ fmr f29, f1 +/* 800CA490 000C73F0 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CA494 000C73F4 38 A0 00 00 */ li r5, 0 +/* 800CA498 000C73F8 38 60 01 40 */ li r3, 0x140 +/* 800CA49C 000C73FC 38 84 00 0D */ addi r4, r4, 0xd +/* 800CA4A0 000C7400 48 24 B3 CD */ bl __nw__FUlPCcPCc +/* 800CA4A4 000C7404 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800CA4A8 000C7408 41 82 00 60 */ beq lbl_800CA508 +/* 800CA4AC 000C740C C0 02 8E 50 */ lfs f0, lbl_805AAB70@sda21(r2) +/* 800CA4B0 000C7410 7F 84 E3 78 */ mr r4, r28 +/* 800CA4B4 000C7414 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CA4B8 000C7418 EC 20 07 F2 */ fmuls f1, f0, f31 +/* 800CA4BC 000C741C EC 00 07 B2 */ fmuls f0, f0, f30 +/* 800CA4C0 000C7420 D0 21 00 1C */ stfs f1, 0x1c(r1) +/* 800CA4C4 000C7424 D0 01 00 18 */ stfs f0, 0x18(r1) +/* 800CA4C8 000C7428 4B F8 2C 15 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CA4CC 000C742C A0 81 00 10 */ lhz r4, 0x10(r1) +/* 800CA4D0 000C7430 FC 20 E8 90 */ fmr f1, f29 +/* 800CA4D4 000C7434 38 01 00 1C */ addi r0, r1, 0x1c +/* 800CA4D8 000C7438 7F C3 F3 78 */ mr r3, r30 +/* 800CA4DC 000C743C B0 81 00 14 */ sth r4, 0x14(r1) +/* 800CA4E0 000C7440 7F E5 FB 78 */ mr r5, r31 +/* 800CA4E4 000C7444 7F A7 EB 78 */ mr r7, r29 +/* 800CA4E8 000C7448 90 01 00 08 */ stw r0, 8(r1) +/* 800CA4EC 000C744C 38 81 00 14 */ addi r4, r1, 0x14 +/* 800CA4F0 000C7450 38 C1 00 20 */ addi r6, r1, 0x20 +/* 800CA4F4 000C7454 39 01 00 60 */ addi r8, r1, 0x60 +/* 800CA4F8 000C7458 39 21 00 30 */ addi r9, r1, 0x30 +/* 800CA4FC 000C745C 39 41 00 18 */ addi r10, r1, 0x18 +/* 800CA500 000C7460 48 15 C2 E9 */ bl "__ct__24CScriptCameraPitchVolumeF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fRC9CRelAngleRC9CRelAnglef" +/* 800CA504 000C7464 7C 7E 1B 78 */ mr r30, r3 +lbl_800CA508: +/* 800CA508 000C7468 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CA50C 000C746C 48 27 35 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CA510 000C7470 7F C3 F3 78 */ mr r3, r30 +lbl_800CA514: +/* 800CA514 000C7474 E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 800CA518 000C7478 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 800CA51C 000C747C E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 800CA520 000C7480 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 800CA524 000C7484 E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 800CA528 000C7488 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 800CA52C 000C748C 83 E1 00 7C */ lwz r31, 0x7c(r1) +/* 800CA530 000C7490 83 C1 00 78 */ lwz r30, 0x78(r1) +/* 800CA534 000C7494 83 A1 00 74 */ lwz r29, 0x74(r1) +/* 800CA538 000C7498 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800CA53C 000C749C 83 81 00 70 */ lwz r28, 0x70(r1) +/* 800CA540 000C74A0 7C 08 03 A6 */ mtlr r0 +/* 800CA544 000C74A4 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800CA548 000C74A8 4E 80 00 20 */ blr + +.global LoadRadialDamage__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadRadialDamage__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CA54C 000C74AC 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 800CA550 000C74B0 7C 08 02 A6 */ mflr r0 +/* 800CA554 000C74B4 90 01 01 04 */ stw r0, 0x104(r1) +/* 800CA558 000C74B8 DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 800CA55C 000C74BC F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 800CA560 000C74C0 BF 41 00 D8 */ stmw r26, 0xd8(r1) +/* 800CA564 000C74C4 2C 05 00 05 */ cmpwi r5, 5 +/* 800CA568 000C74C8 7C 7D 1B 78 */ mr r29, r3 +/* 800CA56C 000C74CC 7C 9A 23 78 */ mr r26, r4 +/* 800CA570 000C74D0 7C DF 33 78 */ mr r31, r6 +/* 800CA574 000C74D4 41 82 00 0C */ beq lbl_800CA580 +/* 800CA578 000C74D8 38 60 00 00 */ li r3, 0 +/* 800CA57C 000C74DC 48 00 01 74 */ b lbl_800CA6F0 +lbl_800CA580: +/* 800CA580 000C74E0 4B F7 AC 65 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CA584 000C74E4 7C 64 1B 78 */ mr r4, r3 +/* 800CA588 000C74E8 38 61 00 54 */ addi r3, r1, 0x54 +/* 800CA58C 000C74EC 48 27 3B D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CA590 000C74F0 7F 44 D3 78 */ mr r4, r26 +/* 800CA594 000C74F4 38 61 00 48 */ addi r3, r1, 0x48 +/* 800CA598 000C74F8 48 24 A5 F5 */ bl __ct__9CVector3fFR12CInputStream +/* 800CA59C 000C74FC 7F 43 D3 78 */ mr r3, r26 +/* 800CA5A0 000C7500 48 27 47 3D */ bl ReadBool__12CInputStreamFv +/* 800CA5A4 000C7504 7C 7C 1B 78 */ mr r28, r3 +/* 800CA5A8 000C7508 7F 44 D3 78 */ mr r4, r26 +/* 800CA5AC 000C750C 38 61 00 64 */ addi r3, r1, 0x64 +/* 800CA5B0 000C7510 4B FF 8F B1 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800CA5B4 000C7514 80 A1 00 64 */ lwz r5, 0x64(r1) +/* 800CA5B8 000C7518 7F 43 D3 78 */ mr r3, r26 +/* 800CA5BC 000C751C 88 81 00 68 */ lbz r4, 0x68(r1) +/* 800CA5C0 000C7520 C0 61 00 6C */ lfs f3, 0x6c(r1) +/* 800CA5C4 000C7524 C0 41 00 70 */ lfs f2, 0x70(r1) +/* 800CA5C8 000C7528 C0 21 00 74 */ lfs f1, 0x74(r1) +/* 800CA5CC 000C752C C0 01 00 78 */ lfs f0, 0x78(r1) +/* 800CA5D0 000C7530 88 01 00 7C */ lbz r0, 0x7c(r1) +/* 800CA5D4 000C7534 90 A1 00 80 */ stw r5, 0x80(r1) +/* 800CA5D8 000C7538 98 81 00 84 */ stb r4, 0x84(r1) +/* 800CA5DC 000C753C D0 61 00 88 */ stfs f3, 0x88(r1) +/* 800CA5E0 000C7540 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 800CA5E4 000C7544 D0 21 00 90 */ stfs f1, 0x90(r1) +/* 800CA5E8 000C7548 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 800CA5EC 000C754C 98 01 00 98 */ stb r0, 0x98(r1) +/* 800CA5F0 000C7550 48 27 46 39 */ bl ReadFloat__12CInputStreamFv +/* 800CA5F4 000C7554 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CA5F8 000C7558 FF E0 08 90 */ fmr f31, f1 +/* 800CA5FC 000C755C 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800CA600 000C7560 3B C0 00 00 */ li r30, 0 +/* 800CA604 000C7564 38 83 00 0D */ addi r4, r3, 0xd +/* 800CA608 000C7568 38 A0 00 00 */ li r5, 0 +/* 800CA60C 000C756C 38 60 01 F8 */ li r3, 0x1f8 +/* 800CA610 000C7570 48 24 B2 5D */ bl __nw__FUlPCcPCc +/* 800CA614 000C7574 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800CA618 000C7578 41 82 00 BC */ beq lbl_800CA6D4 +/* 800CA61C 000C757C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CA620 000C7580 38 61 00 38 */ addi r3, r1, 0x38 +/* 800CA624 000C7584 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CA628 000C7588 38 84 00 74 */ addi r4, r4, 0x74 +/* 800CA62C 000C758C 4B F3 A6 8D */ bl string_l__4rstlFPCc +/* 800CA630 000C7590 7F A4 EB 78 */ mr r4, r29 +/* 800CA634 000C7594 38 61 00 30 */ addi r3, r1, 0x30 +/* 800CA638 000C7598 3B C0 00 01 */ li r30, 1 +/* 800CA63C 000C759C 4B F8 2A A1 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CA640 000C75A0 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 800CA644 000C75A4 A3 42 C5 FC */ lhz r26, lbl_805AE31C@sda21(r2) +/* 800CA648 000C75A8 B0 01 00 34 */ sth r0, 0x34(r1) +/* 800CA64C 000C75AC 48 27 F9 69 */ bl Black__6CColorFv +/* 800CA650 000C75B0 3C 80 80 5A */ lis r4, skZero3f@ha +/* 800CA654 000C75B4 7C 7D 1B 78 */ mr r29, r3 +/* 800CA658 000C75B8 38 84 66 A0 */ addi r4, r4, skZero3f@l +/* 800CA65C 000C75BC 38 61 00 9C */ addi r3, r1, 0x9c +/* 800CA660 000C75C0 38 A1 00 48 */ addi r5, r1, 0x48 +/* 800CA664 000C75C4 48 00 FF 81 */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f +/* 800CA668 000C75C8 93 A1 00 08 */ stw r29, 8(r1) +/* 800CA66C 000C75CC 57 80 06 3E */ clrlwi r0, r28, 0x18 +/* 800CA670 000C75D0 C0 42 8E 28 */ lfs f2, lbl_805AAB48@sda21(r2) +/* 800CA674 000C75D4 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800CA678 000C75D8 90 01 00 0C */ stw r0, 0xc(r1) +/* 800CA67C 000C75DC 38 81 00 80 */ addi r4, r1, 0x80 +/* 800CA680 000C75E0 39 43 66 A0 */ addi r10, r3, skZero3f@l +/* 800CA684 000C75E4 38 00 FF FF */ li r0, -1 +/* 800CA688 000C75E8 90 81 00 10 */ stw r4, 0x10(r1) +/* 800CA68C 000C75EC FC 20 F8 90 */ fmr f1, f31 +/* 800CA690 000C75F0 FC 60 10 90 */ fmr f3, f2 +/* 800CA694 000C75F4 7F 63 DB 78 */ mr r3, r27 +/* 800CA698 000C75F8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800CA69C 000C75FC FC 80 10 90 */ fmr f4, f2 +/* 800CA6A0 000C7600 7F E6 FB 78 */ mr r6, r31 +/* 800CA6A4 000C7604 90 01 00 18 */ stw r0, 0x18(r1) +/* 800CA6A8 000C7608 38 81 00 34 */ addi r4, r1, 0x34 +/* 800CA6AC 000C760C 38 A1 00 54 */ addi r5, r1, 0x54 +/* 800CA6B0 000C7610 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800CA6B4 000C7614 38 E1 00 9C */ addi r7, r1, 0x9c +/* 800CA6B8 000C7618 39 21 00 38 */ addi r9, r1, 0x38 +/* 800CA6BC 000C761C 39 00 00 30 */ li r8, 0x30 +/* 800CA6C0 000C7620 93 41 00 20 */ stw r26, 0x20(r1) +/* 800CA6C4 000C7624 93 41 00 24 */ stw r26, 0x24(r1) +/* 800CA6C8 000C7628 93 41 00 28 */ stw r26, 0x28(r1) +/* 800CA6CC 000C762C 48 08 84 F5 */ bl "__ct__22CScriptSpecialFunctionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ222CScriptSpecialFunction16ESpecialFunctionRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffffRC9CVector3fRC6CColorbRC11CDamageInfoUiUiUiUsUsUs" +/* 800CA6D0 000C7630 7C 7B 1B 78 */ mr r27, r3 +lbl_800CA6D4: +/* 800CA6D4 000C7634 7F C0 07 75 */ extsb. r0, r30 +/* 800CA6D8 000C7638 41 82 00 0C */ beq lbl_800CA6E4 +/* 800CA6DC 000C763C 38 61 00 38 */ addi r3, r1, 0x38 +/* 800CA6E0 000C7640 48 27 34 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800CA6E4: +/* 800CA6E4 000C7644 38 61 00 54 */ addi r3, r1, 0x54 +/* 800CA6E8 000C7648 48 27 33 F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CA6EC 000C764C 7F 63 DB 78 */ mr r3, r27 +lbl_800CA6F0: +/* 800CA6F0 000C7650 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 800CA6F4 000C7654 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 800CA6F8 000C7658 BB 41 00 D8 */ lmw r26, 0xd8(r1) +/* 800CA6FC 000C765C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 800CA700 000C7660 7C 08 03 A6 */ mtlr r0 +/* 800CA704 000C7664 38 21 01 00 */ addi r1, r1, 0x100 +/* 800CA708 000C7668 4E 80 00 20 */ blr + +.global LoadEyeBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadEyeBall__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CA70C 000C766C 94 21 FC 40 */ stwu r1, -0x3c0(r1) +/* 800CA710 000C7670 7C 08 02 A6 */ mflr r0 +/* 800CA714 000C7674 90 01 03 C4 */ stw r0, 0x3c4(r1) +/* 800CA718 000C7678 DB E1 03 B0 */ stfd f31, 0x3b0(r1) +/* 800CA71C 000C767C F3 E1 03 B8 */ psq_st f31, 952(r1), 0, qr0 +/* 800CA720 000C7680 DB C1 03 A0 */ stfd f30, 0x3a0(r1) +/* 800CA724 000C7684 F3 C1 03 A8 */ psq_st f30, 936(r1), 0, qr0 +/* 800CA728 000C7688 BE 01 03 60 */ stmw r16, 0x360(r1) +/* 800CA72C 000C768C 2C 05 00 15 */ cmpwi r5, 0x15 +/* 800CA730 000C7690 7C 7E 1B 78 */ mr r30, r3 +/* 800CA734 000C7694 7C 90 23 78 */ mr r16, r4 +/* 800CA738 000C7698 7C DF 33 78 */ mr r31, r6 +/* 800CA73C 000C769C 41 82 00 0C */ beq lbl_800CA748 +/* 800CA740 000C76A0 38 60 00 00 */ li r3, 0 +/* 800CA744 000C76A4 48 00 02 A4 */ b lbl_800CA9E8 +lbl_800CA748: +/* 800CA748 000C76A8 4B F7 AA 9D */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CA74C 000C76AC 7C 64 1B 78 */ mr r4, r3 +/* 800CA750 000C76B0 38 61 00 5C */ addi r3, r1, 0x5c +/* 800CA754 000C76B4 48 27 3A 0D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CA758 000C76B8 7E 03 83 78 */ mr r3, r16 +/* 800CA75C 000C76BC 48 27 45 29 */ bl ReadLong__12CInputStreamFv +/* 800CA760 000C76C0 7C 71 1B 78 */ mr r17, r3 +/* 800CA764 000C76C4 7E 04 83 78 */ mr r4, r16 +/* 800CA768 000C76C8 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 800CA76C 000C76CC 48 00 FE 21 */ bl LoadEditorTransform__FR12CInputStream +/* 800CA770 000C76D0 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 800CA774 000C76D4 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 800CA778 000C76D8 48 24 83 FD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800CA77C 000C76DC 7E 04 83 78 */ mr r4, r16 +/* 800CA780 000C76E0 38 61 00 50 */ addi r3, r1, 0x50 +/* 800CA784 000C76E4 48 24 A4 09 */ bl __ct__9CVector3fFR12CInputStream +/* 800CA788 000C76E8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CA78C 000C76EC 7E 04 83 78 */ mr r4, r16 +/* 800CA790 000C76F0 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800CA794 000C76F4 38 61 00 48 */ addi r3, r1, 0x48 +/* 800CA798 000C76F8 38 A5 00 9A */ addi r5, r5, 0x9a +/* 800CA79C 000C76FC 48 03 B0 8D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800CA7A0 000C7700 88 01 00 48 */ lbz r0, 0x48(r1) +/* 800CA7A4 000C7704 80 A1 00 4C */ lwz r5, 0x4c(r1) +/* 800CA7A8 000C7708 28 00 00 00 */ cmplwi r0, 0 +/* 800CA7AC 000C770C 40 82 00 14 */ bne lbl_800CA7C0 +/* 800CA7B0 000C7710 38 61 00 5C */ addi r3, r1, 0x5c +/* 800CA7B4 000C7714 48 27 33 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CA7B8 000C7718 38 60 00 00 */ li r3, 0 +/* 800CA7BC 000C771C 48 00 02 2C */ b lbl_800CA9E8 +lbl_800CA7C0: +/* 800CA7C0 000C7720 7E 04 83 78 */ mr r4, r16 +/* 800CA7C4 000C7724 38 61 02 20 */ addi r3, r1, 0x220 +/* 800CA7C8 000C7728 48 03 B0 B1 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800CA7CC 000C772C 7E 04 83 78 */ mr r4, r16 +/* 800CA7D0 000C7730 38 61 01 50 */ addi r3, r1, 0x150 +/* 800CA7D4 000C7734 48 00 F5 A1 */ bl LoadActorParameters__FR12CInputStream +/* 800CA7D8 000C7738 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 800CA7DC 000C773C 38 81 01 50 */ addi r4, r1, 0x150 +/* 800CA7E0 000C7740 4B FF AE 3D */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CA7E4 000C7744 38 61 01 50 */ addi r3, r1, 0x150 +/* 800CA7E8 000C7748 38 80 FF FF */ li r4, -1 +/* 800CA7EC 000C774C 48 03 BE 1D */ bl __dt__16CActorParametersFv +/* 800CA7F0 000C7750 7E 03 83 78 */ mr r3, r16 +/* 800CA7F4 000C7754 48 27 44 35 */ bl ReadFloat__12CInputStreamFv +/* 800CA7F8 000C7758 FF E0 08 90 */ fmr f31, f1 +/* 800CA7FC 000C775C 7E 03 83 78 */ mr r3, r16 +/* 800CA800 000C7760 48 27 44 29 */ bl ReadFloat__12CInputStreamFv +/* 800CA804 000C7764 FF C0 08 90 */ fmr f30, f1 +/* 800CA808 000C7768 7E 03 83 78 */ mr r3, r16 +/* 800CA80C 000C776C 48 27 44 79 */ bl ReadLong__12CInputStreamFv +/* 800CA810 000C7770 7C 72 1B 78 */ mr r18, r3 +/* 800CA814 000C7774 7E 04 83 78 */ mr r4, r16 +/* 800CA818 000C7778 38 61 00 88 */ addi r3, r1, 0x88 +/* 800CA81C 000C777C 4B FF 8D 45 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800CA820 000C7780 7E 03 83 78 */ mr r3, r16 +/* 800CA824 000C7784 48 27 44 61 */ bl ReadLong__12CInputStreamFv +/* 800CA828 000C7788 7C 73 1B 78 */ mr r19, r3 +/* 800CA82C 000C778C 7E 03 83 78 */ mr r3, r16 +/* 800CA830 000C7790 48 27 44 55 */ bl ReadLong__12CInputStreamFv +/* 800CA834 000C7794 7C 74 1B 78 */ mr r20, r3 +/* 800CA838 000C7798 7E 03 83 78 */ mr r3, r16 +/* 800CA83C 000C779C 48 27 44 49 */ bl ReadLong__12CInputStreamFv +/* 800CA840 000C77A0 7C 75 1B 78 */ mr r21, r3 +/* 800CA844 000C77A4 7E 03 83 78 */ mr r3, r16 +/* 800CA848 000C77A8 48 27 44 3D */ bl ReadLong__12CInputStreamFv +/* 800CA84C 000C77AC 7C 76 1B 78 */ mr r22, r3 +/* 800CA850 000C77B0 7E 03 83 78 */ mr r3, r16 +/* 800CA854 000C77B4 48 27 44 31 */ bl ReadLong__12CInputStreamFv +/* 800CA858 000C77B8 7C 77 1B 78 */ mr r23, r3 +/* 800CA85C 000C77BC 7E 03 83 78 */ mr r3, r16 +/* 800CA860 000C77C0 48 27 44 25 */ bl ReadLong__12CInputStreamFv +/* 800CA864 000C77C4 7C 78 1B 78 */ mr r24, r3 +/* 800CA868 000C77C8 7E 03 83 78 */ mr r3, r16 +/* 800CA86C 000C77CC 48 27 44 19 */ bl ReadLong__12CInputStreamFv +/* 800CA870 000C77D0 7C 79 1B 78 */ mr r25, r3 +/* 800CA874 000C77D4 7E 03 83 78 */ mr r3, r16 +/* 800CA878 000C77D8 48 27 44 0D */ bl ReadLong__12CInputStreamFv +/* 800CA87C 000C77DC 7C 7A 1B 78 */ mr r26, r3 +/* 800CA880 000C77E0 7E 03 83 78 */ mr r3, r16 +/* 800CA884 000C77E4 48 27 44 01 */ bl ReadLong__12CInputStreamFv +/* 800CA888 000C77E8 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800CA88C 000C77EC 7C 7B 1B 78 */ mr r27, r3 +/* 800CA890 000C77F0 80 81 03 0C */ lwz r4, 0x30c(r1) +/* 800CA894 000C77F4 38 65 00 04 */ addi r3, r5, 4 +/* 800CA898 000C77F8 48 27 14 35 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800CA89C 000C77FC 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800CA8A0 000C7800 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800CA8A4 000C7804 41 82 00 20 */ beq lbl_800CA8C4 +/* 800CA8A8 000C7808 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 800CA8AC 000C780C 38 80 FF FF */ li r4, -1 +/* 800CA8B0 000C7810 48 03 BD 59 */ bl __dt__16CActorParametersFv +/* 800CA8B4 000C7814 38 61 00 5C */ addi r3, r1, 0x5c +/* 800CA8B8 000C7818 48 27 32 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CA8BC 000C781C 38 60 00 00 */ li r3, 0 +/* 800CA8C0 000C7820 48 00 01 28 */ b lbl_800CA9E8 +lbl_800CA8C4: +/* 800CA8C4 000C7824 7E 03 83 78 */ mr r3, r16 +/* 800CA8C8 000C7828 48 27 44 15 */ bl ReadBool__12CInputStreamFv +/* 800CA8CC 000C782C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CA8D0 000C7830 7C 7C 1B 78 */ mr r28, r3 +/* 800CA8D4 000C7834 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800CA8D8 000C7838 3B A0 00 00 */ li r29, 0 +/* 800CA8DC 000C783C 38 83 00 0D */ addi r4, r3, 0xd +/* 800CA8E0 000C7840 38 60 06 10 */ li r3, 0x610 +/* 800CA8E4 000C7844 38 A0 00 00 */ li r5, 0 +/* 800CA8E8 000C7848 48 24 AF 85 */ bl __nw__FUlPCcPCc +/* 800CA8EC 000C784C 7C 70 1B 79 */ or. r16, r3, r3 +/* 800CA8F0 000C7850 41 82 00 CC */ beq lbl_800CA9BC +/* 800CA8F4 000C7854 80 E1 03 0C */ lwz r7, 0x30c(r1) +/* 800CA8F8 000C7858 38 A0 00 01 */ li r5, 1 +/* 800CA8FC 000C785C 80 C1 03 10 */ lwz r6, 0x310(r1) +/* 800CA900 000C7860 38 61 01 04 */ addi r3, r1, 0x104 +/* 800CA904 000C7864 C0 41 00 50 */ lfs f2, 0x50(r1) +/* 800CA908 000C7868 38 81 00 6C */ addi r4, r1, 0x6c +/* 800CA90C 000C786C C0 21 00 54 */ lfs f1, 0x54(r1) +/* 800CA910 000C7870 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800CA914 000C7874 80 01 03 14 */ lwz r0, 0x314(r1) +/* 800CA918 000C7878 90 E1 00 6C */ stw r7, 0x6c(r1) +/* 800CA91C 000C787C 90 C1 00 70 */ stw r6, 0x70(r1) +/* 800CA920 000C7880 D0 41 00 74 */ stfs f2, 0x74(r1) +/* 800CA924 000C7884 D0 21 00 78 */ stfs f1, 0x78(r1) +/* 800CA928 000C7888 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 800CA92C 000C788C 98 A1 00 80 */ stb r5, 0x80(r1) +/* 800CA930 000C7890 90 01 00 84 */ stw r0, 0x84(r1) +/* 800CA934 000C7894 48 04 C2 21 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800CA938 000C7898 7F C4 F3 78 */ mr r4, r30 +/* 800CA93C 000C789C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800CA940 000C78A0 3B A0 00 01 */ li r29, 1 +/* 800CA944 000C78A4 4B F8 27 99 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CA948 000C78A8 A0 61 00 40 */ lhz r3, 0x40(r1) +/* 800CA94C 000C78AC 39 01 00 88 */ addi r8, r1, 0x88 +/* 800CA950 000C78B0 FC 20 F8 90 */ fmr f1, f31 +/* 800CA954 000C78B4 38 01 01 B8 */ addi r0, r1, 0x1b8 +/* 800CA958 000C78B8 B0 61 00 44 */ sth r3, 0x44(r1) +/* 800CA95C 000C78BC FC 40 F0 90 */ fmr f2, f30 +/* 800CA960 000C78C0 7E 03 83 78 */ mr r3, r16 +/* 800CA964 000C78C4 7E 26 8B 78 */ mr r6, r17 +/* 800CA968 000C78C8 92 41 00 08 */ stw r18, 8(r1) +/* 800CA96C 000C78CC 7F E7 FB 78 */ mr r7, r31 +/* 800CA970 000C78D0 38 81 00 44 */ addi r4, r1, 0x44 +/* 800CA974 000C78D4 38 A1 00 5C */ addi r5, r1, 0x5c +/* 800CA978 000C78D8 91 01 00 0C */ stw r8, 0xc(r1) +/* 800CA97C 000C78DC 39 01 00 D4 */ addi r8, r1, 0xd4 +/* 800CA980 000C78E0 39 21 01 04 */ addi r9, r1, 0x104 +/* 800CA984 000C78E4 39 41 02 20 */ addi r10, r1, 0x220 +/* 800CA988 000C78E8 92 61 00 10 */ stw r19, 0x10(r1) +/* 800CA98C 000C78EC 92 81 00 14 */ stw r20, 0x14(r1) +/* 800CA990 000C78F0 92 A1 00 18 */ stw r21, 0x18(r1) +/* 800CA994 000C78F4 92 C1 00 1C */ stw r22, 0x1c(r1) +/* 800CA998 000C78F8 92 E1 00 20 */ stw r23, 0x20(r1) +/* 800CA99C 000C78FC 93 01 00 24 */ stw r24, 0x24(r1) +/* 800CA9A0 000C7900 93 21 00 28 */ stw r25, 0x28(r1) +/* 800CA9A4 000C7904 93 41 00 2C */ stw r26, 0x2c(r1) +/* 800CA9A8 000C7908 93 61 00 30 */ stw r27, 0x30(r1) +/* 800CA9AC 000C790C 93 81 00 34 */ stw r28, 0x34(r1) +/* 800CA9B0 000C7910 90 01 00 38 */ stw r0, 0x38(r1) +/* 800CA9B4 000C7914 48 15 AD 45 */ bl "__ct__8CEyeBallF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoffUiRC11CDamageInfoUiUiUiUiRC16CActorParameters" +/* 800CA9B8 000C7918 7C 70 1B 78 */ mr r16, r3 +lbl_800CA9BC: +/* 800CA9BC 000C791C 7F A0 07 75 */ extsb. r0, r29 +/* 800CA9C0 000C7920 41 82 00 10 */ beq lbl_800CA9D0 +/* 800CA9C4 000C7924 38 61 01 04 */ addi r3, r1, 0x104 +/* 800CA9C8 000C7928 38 80 FF FF */ li r4, -1 +/* 800CA9CC 000C792C 48 04 C0 81 */ bl __dt__10CModelDataFv +lbl_800CA9D0: +/* 800CA9D0 000C7930 38 61 01 B8 */ addi r3, r1, 0x1b8 +/* 800CA9D4 000C7934 38 80 FF FF */ li r4, -1 +/* 800CA9D8 000C7938 48 03 BC 31 */ bl __dt__16CActorParametersFv +/* 800CA9DC 000C793C 38 61 00 5C */ addi r3, r1, 0x5c +/* 800CA9E0 000C7940 48 27 31 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CA9E4 000C7944 7E 03 83 78 */ mr r3, r16 +lbl_800CA9E8: +/* 800CA9E8 000C7948 E3 E1 03 B8 */ psq_l f31, 952(r1), 0, qr0 +/* 800CA9EC 000C794C CB E1 03 B0 */ lfd f31, 0x3b0(r1) +/* 800CA9F0 000C7950 E3 C1 03 A8 */ psq_l f30, 936(r1), 0, qr0 +/* 800CA9F4 000C7954 CB C1 03 A0 */ lfd f30, 0x3a0(r1) +/* 800CA9F8 000C7958 BA 01 03 60 */ lmw r16, 0x360(r1) +/* 800CA9FC 000C795C 80 01 03 C4 */ lwz r0, 0x3c4(r1) +/* 800CAA00 000C7960 7C 08 03 A6 */ mtlr r0 +/* 800CAA04 000C7964 38 21 03 C0 */ addi r1, r1, 0x3c0 +/* 800CAA08 000C7968 4E 80 00 20 */ blr + +.global LoadBabygoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadBabygoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CAA0C 000C796C 94 21 FB 90 */ stwu r1, -0x470(r1) +/* 800CAA10 000C7970 7C 08 02 A6 */ mflr r0 +/* 800CAA14 000C7974 90 01 04 74 */ stw r0, 0x474(r1) +/* 800CAA18 000C7978 80 02 B3 F0 */ lwz r0, lbl_805AD110@sda21(r2) +/* 800CAA1C 000C797C 93 E1 04 6C */ stw r31, 0x46c(r1) +/* 800CAA20 000C7980 7C DF 33 78 */ mr r31, r6 +/* 800CAA24 000C7984 93 C1 04 68 */ stw r30, 0x468(r1) +/* 800CAA28 000C7988 7C 7E 1B 78 */ mr r30, r3 +/* 800CAA2C 000C798C 93 A1 04 64 */ stw r29, 0x464(r1) +/* 800CAA30 000C7990 7C BD 2B 78 */ mr r29, r5 +/* 800CAA34 000C7994 7C 1D 00 00 */ cmpw r29, r0 +/* 800CAA38 000C7998 93 81 04 60 */ stw r28, 0x460(r1) +/* 800CAA3C 000C799C 7C 9C 23 78 */ mr r28, r4 +/* 800CAA40 000C79A0 40 80 00 0C */ bge lbl_800CAA4C +/* 800CAA44 000C79A4 38 60 00 00 */ li r3, 0 +/* 800CAA48 000C79A8 48 00 01 90 */ b lbl_800CABD8 +lbl_800CAA4C: +/* 800CAA4C 000C79AC 7F C5 F3 78 */ mr r5, r30 +/* 800CAA50 000C79B0 38 61 01 58 */ addi r3, r1, 0x158 +/* 800CAA54 000C79B4 48 00 FA 29 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800CAA58 000C79B8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CAA5C 000C79BC 7F 84 E3 78 */ mr r4, r28 +/* 800CAA60 000C79C0 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800CAA64 000C79C4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CAA68 000C79C8 38 A5 00 A2 */ addi r5, r5, 0xa2 +/* 800CAA6C 000C79CC 48 03 AD BD */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800CAA70 000C79D0 88 01 00 18 */ lbz r0, 0x18(r1) +/* 800CAA74 000C79D4 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800CAA78 000C79D8 28 00 00 00 */ cmplwi r0, 0 +/* 800CAA7C 000C79DC 40 82 00 14 */ bne lbl_800CAA90 +/* 800CAA80 000C79E0 38 61 01 58 */ addi r3, r1, 0x158 +/* 800CAA84 000C79E4 48 27 30 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CAA88 000C79E8 38 60 00 00 */ li r3, 0 +/* 800CAA8C 000C79EC 48 00 01 4C */ b lbl_800CABD8 +lbl_800CAA90: +/* 800CAA90 000C79F0 7F 84 E3 78 */ mr r4, r28 +/* 800CAA94 000C79F4 38 61 03 1C */ addi r3, r1, 0x31c +/* 800CAA98 000C79F8 48 03 AD E1 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800CAA9C 000C79FC 7F 84 E3 78 */ mr r4, r28 +/* 800CAAA0 000C7A00 38 61 00 88 */ addi r3, r1, 0x88 +/* 800CAAA4 000C7A04 48 00 F2 D1 */ bl LoadActorParameters__FR12CInputStream +/* 800CAAA8 000C7A08 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800CAAAC 000C7A0C 38 81 00 88 */ addi r4, r1, 0x88 +/* 800CAAB0 000C7A10 4B FF AB 6D */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CAAB4 000C7A14 38 61 00 88 */ addi r3, r1, 0x88 +/* 800CAAB8 000C7A18 38 80 FF FF */ li r4, -1 +/* 800CAABC 000C7A1C 48 03 BB 4D */ bl __dt__16CActorParametersFv +/* 800CAAC0 000C7A20 7F 84 E3 78 */ mr r4, r28 +/* 800CAAC4 000C7A24 7F A5 EB 78 */ mr r5, r29 +/* 800CAAC8 000C7A28 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800CAACC 000C7A2C 48 15 9A 09 */ bl __ct__13CBabygothDataFR12CInputStream +/* 800CAAD0 000C7A30 80 61 04 08 */ lwz r3, 0x408(r1) +/* 800CAAD4 000C7A34 3C 03 00 01 */ addis r0, r3, 1 +/* 800CAAD8 000C7A38 28 00 FF FF */ cmplwi r0, 0xffff +/* 800CAADC 000C7A3C 40 82 00 20 */ bne lbl_800CAAFC +/* 800CAAE0 000C7A40 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800CAAE4 000C7A44 38 80 FF FF */ li r4, -1 +/* 800CAAE8 000C7A48 48 03 BB 21 */ bl __dt__16CActorParametersFv +/* 800CAAEC 000C7A4C 38 61 01 58 */ addi r3, r1, 0x158 +/* 800CAAF0 000C7A50 48 27 2F F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CAAF4 000C7A54 38 60 00 00 */ li r3, 0 +/* 800CAAF8 000C7A58 48 00 00 E0 */ b lbl_800CABD8 +lbl_800CAAFC: +/* 800CAAFC 000C7A5C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CAB00 000C7A60 3B 80 00 00 */ li r28, 0 +/* 800CAB04 000C7A64 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CAB08 000C7A68 38 60 0A 50 */ li r3, 0xa50 +/* 800CAB0C 000C7A6C 38 84 00 0D */ addi r4, r4, 0xd +/* 800CAB10 000C7A70 38 A0 00 00 */ li r5, 0 +/* 800CAB14 000C7A74 48 24 AD 59 */ bl __nw__FUlPCcPCc +/* 800CAB18 000C7A78 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800CAB1C 000C7A7C 41 82 00 90 */ beq lbl_800CABAC +/* 800CAB20 000C7A80 80 E1 04 08 */ lwz r7, 0x408(r1) +/* 800CAB24 000C7A84 38 A0 00 01 */ li r5, 1 +/* 800CAB28 000C7A88 80 C1 04 0C */ lwz r6, 0x40c(r1) +/* 800CAB2C 000C7A8C 38 61 00 3C */ addi r3, r1, 0x3c +/* 800CAB30 000C7A90 C0 41 01 98 */ lfs f2, 0x198(r1) +/* 800CAB34 000C7A94 38 81 00 20 */ addi r4, r1, 0x20 +/* 800CAB38 000C7A98 C0 21 01 9C */ lfs f1, 0x19c(r1) +/* 800CAB3C 000C7A9C C0 01 01 A0 */ lfs f0, 0x1a0(r1) +/* 800CAB40 000C7AA0 80 01 04 10 */ lwz r0, 0x410(r1) +/* 800CAB44 000C7AA4 90 E1 00 20 */ stw r7, 0x20(r1) +/* 800CAB48 000C7AA8 90 C1 00 24 */ stw r6, 0x24(r1) +/* 800CAB4C 000C7AAC D0 41 00 28 */ stfs f2, 0x28(r1) +/* 800CAB50 000C7AB0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800CAB54 000C7AB4 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800CAB58 000C7AB8 98 A1 00 34 */ stb r5, 0x34(r1) +/* 800CAB5C 000C7ABC 90 01 00 38 */ stw r0, 0x38(r1) +/* 800CAB60 000C7AC0 48 04 BF F5 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800CAB64 000C7AC4 7F C4 F3 78 */ mr r4, r30 +/* 800CAB68 000C7AC8 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CAB6C 000C7ACC 3B 80 00 01 */ li r28, 1 +/* 800CAB70 000C7AD0 4B F8 25 6D */ bl AllocateUniqueId__13CStateManagerFv +/* 800CAB74 000C7AD4 A0 81 00 10 */ lhz r4, 0x10(r1) +/* 800CAB78 000C7AD8 38 01 01 A4 */ addi r0, r1, 0x1a4 +/* 800CAB7C 000C7ADC 7F A3 EB 78 */ mr r3, r29 +/* 800CAB80 000C7AE0 7F E6 FB 78 */ mr r6, r31 +/* 800CAB84 000C7AE4 B0 81 00 14 */ sth r4, 0x14(r1) +/* 800CAB88 000C7AE8 38 81 00 14 */ addi r4, r1, 0x14 +/* 800CAB8C 000C7AEC 38 A1 01 58 */ addi r5, r1, 0x158 +/* 800CAB90 000C7AF0 38 E1 01 68 */ addi r7, r1, 0x168 +/* 800CAB94 000C7AF4 90 01 00 08 */ stw r0, 8(r1) +/* 800CAB98 000C7AF8 39 01 00 3C */ addi r8, r1, 0x3c +/* 800CAB9C 000C7AFC 39 21 03 1C */ addi r9, r1, 0x31c +/* 800CABA0 000C7B00 39 41 00 F0 */ addi r10, r1, 0xf0 +/* 800CABA4 000C7B04 48 15 8B DD */ bl "__ct__9CBabygothF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC13CBabygothData" +/* 800CABA8 000C7B08 7C 7D 1B 78 */ mr r29, r3 +lbl_800CABAC: +/* 800CABAC 000C7B0C 7F 80 07 75 */ extsb. r0, r28 +/* 800CABB0 000C7B10 41 82 00 10 */ beq lbl_800CABC0 +/* 800CABB4 000C7B14 38 61 00 3C */ addi r3, r1, 0x3c +/* 800CABB8 000C7B18 38 80 FF FF */ li r4, -1 +/* 800CABBC 000C7B1C 48 04 BE 91 */ bl __dt__10CModelDataFv +lbl_800CABC0: +/* 800CABC0 000C7B20 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800CABC4 000C7B24 38 80 FF FF */ li r4, -1 +/* 800CABC8 000C7B28 48 03 BA 41 */ bl __dt__16CActorParametersFv +/* 800CABCC 000C7B2C 38 61 01 58 */ addi r3, r1, 0x158 +/* 800CABD0 000C7B30 48 27 2F 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CABD4 000C7B34 7F A3 EB 78 */ mr r3, r29 +lbl_800CABD8: +/* 800CABD8 000C7B38 80 01 04 74 */ lwz r0, 0x474(r1) +/* 800CABDC 000C7B3C 83 E1 04 6C */ lwz r31, 0x46c(r1) +/* 800CABE0 000C7B40 83 C1 04 68 */ lwz r30, 0x468(r1) +/* 800CABE4 000C7B44 83 A1 04 64 */ lwz r29, 0x464(r1) +/* 800CABE8 000C7B48 83 81 04 60 */ lwz r28, 0x460(r1) +/* 800CABEC 000C7B4C 7C 08 03 A6 */ mtlr r0 +/* 800CABF0 000C7B50 38 21 04 70 */ addi r1, r1, 0x470 +/* 800CABF4 000C7B54 4E 80 00 20 */ blr + +.global LoadGunTurret__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadGunTurret__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CABF8 000C7B58 94 21 FC 50 */ stwu r1, -0x3b0(r1) +/* 800CABFC 000C7B5C 7C 08 02 A6 */ mflr r0 +/* 800CAC00 000C7B60 90 01 03 B4 */ stw r0, 0x3b4(r1) +/* 800CAC04 000C7B64 80 02 B3 48 */ lwz r0, lbl_805AD068@sda21(r2) +/* 800CAC08 000C7B68 BF 01 03 90 */ stmw r24, 0x390(r1) +/* 800CAC0C 000C7B6C 7C B9 2B 78 */ mr r25, r5 +/* 800CAC10 000C7B70 7C 19 00 00 */ cmpw r25, r0 +/* 800CAC14 000C7B74 7C 7C 1B 78 */ mr r28, r3 +/* 800CAC18 000C7B78 7C 98 23 78 */ mr r24, r4 +/* 800CAC1C 000C7B7C 7C DD 33 78 */ mr r29, r6 +/* 800CAC20 000C7B80 40 80 00 0C */ bge lbl_800CAC2C +/* 800CAC24 000C7B84 38 60 00 00 */ li r3, 0 +/* 800CAC28 000C7B88 48 00 03 08 */ b lbl_800CAF30 +lbl_800CAC2C: +/* 800CAC2C 000C7B8C 4B F7 A5 B9 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CAC30 000C7B90 7C 64 1B 78 */ mr r4, r3 +/* 800CAC34 000C7B94 38 61 00 60 */ addi r3, r1, 0x60 +/* 800CAC38 000C7B98 48 27 35 29 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CAC3C 000C7B9C 7F 03 C3 78 */ mr r3, r24 +/* 800CAC40 000C7BA0 48 27 40 45 */ bl ReadLong__12CInputStreamFv +/* 800CAC44 000C7BA4 7C 7F 1B 78 */ mr r31, r3 +/* 800CAC48 000C7BA8 7F 04 C3 78 */ mr r4, r24 +/* 800CAC4C 000C7BAC 38 61 01 04 */ addi r3, r1, 0x104 +/* 800CAC50 000C7BB0 48 00 F9 3D */ bl LoadEditorTransform__FR12CInputStream +/* 800CAC54 000C7BB4 38 61 01 34 */ addi r3, r1, 0x134 +/* 800CAC58 000C7BB8 38 81 01 04 */ addi r4, r1, 0x104 +/* 800CAC5C 000C7BBC 48 24 7F 19 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800CAC60 000C7BC0 7F 04 C3 78 */ mr r4, r24 +/* 800CAC64 000C7BC4 38 61 00 54 */ addi r3, r1, 0x54 +/* 800CAC68 000C7BC8 48 24 9F 25 */ bl __ct__9CVector3fFR12CInputStream +/* 800CAC6C 000C7BCC 7F 04 C3 78 */ mr r4, r24 +/* 800CAC70 000C7BD0 38 61 00 48 */ addi r3, r1, 0x48 +/* 800CAC74 000C7BD4 48 24 9F 19 */ bl __ct__9CVector3fFR12CInputStream +/* 800CAC78 000C7BD8 7F 04 C3 78 */ mr r4, r24 +/* 800CAC7C 000C7BDC 38 61 00 3C */ addi r3, r1, 0x3c +/* 800CAC80 000C7BE0 48 24 9F 0D */ bl __ct__9CVector3fFR12CInputStream +/* 800CAC84 000C7BE4 7F 04 C3 78 */ mr r4, r24 +/* 800CAC88 000C7BE8 38 61 00 30 */ addi r3, r1, 0x30 +/* 800CAC8C 000C7BEC 48 00 F7 81 */ bl LoadAnimationParameters__FR12CInputStream +/* 800CAC90 000C7BF0 83 61 00 30 */ lwz r27, 0x30(r1) +/* 800CAC94 000C7BF4 7F 04 C3 78 */ mr r4, r24 +/* 800CAC98 000C7BF8 83 C1 00 34 */ lwz r30, 0x34(r1) +/* 800CAC9C 000C7BFC 38 61 01 64 */ addi r3, r1, 0x164 +/* 800CACA0 000C7C00 83 41 00 38 */ lwz r26, 0x38(r1) +/* 800CACA4 000C7C04 48 00 F0 D1 */ bl LoadActorParameters__FR12CInputStream +/* 800CACA8 000C7C08 38 61 02 80 */ addi r3, r1, 0x280 +/* 800CACAC 000C7C0C 38 81 01 64 */ addi r4, r1, 0x164 +/* 800CACB0 000C7C10 4B FF A9 6D */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CACB4 000C7C14 38 61 01 64 */ addi r3, r1, 0x164 +/* 800CACB8 000C7C18 38 80 FF FF */ li r4, -1 +/* 800CACBC 000C7C1C 48 03 B9 4D */ bl __dt__16CActorParametersFv +/* 800CACC0 000C7C20 7F 04 C3 78 */ mr r4, r24 +/* 800CACC4 000C7C24 38 61 00 28 */ addi r3, r1, 0x28 +/* 800CACC8 000C7C28 48 10 8B 7D */ bl __ct__11CHealthInfoFR12CInputStream +/* 800CACCC 000C7C2C 7F 04 C3 78 */ mr r4, r24 +/* 800CACD0 000C7C30 38 61 02 18 */ addi r3, r1, 0x218 +/* 800CACD4 000C7C34 48 03 7E 85 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800CACD8 000C7C38 7F 04 C3 78 */ mr r4, r24 +/* 800CACDC 000C7C3C 7F 25 CB 78 */ mr r5, r25 +/* 800CACE0 000C7C40 38 61 02 E8 */ addi r3, r1, 0x2e8 +/* 800CACE4 000C7C44 48 15 0C 11 */ bl __ct__20CScriptGunTurretDataFR12CInputStreami +/* 800CACE8 000C7C48 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800CACEC 000C7C4C 7F 64 DB 78 */ mr r4, r27 +/* 800CACF0 000C7C50 38 63 00 04 */ addi r3, r3, 4 +/* 800CACF4 000C7C54 48 27 0F D9 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800CACF8 000C7C58 28 03 00 00 */ cmplwi r3, 0 +/* 800CACFC 000C7C5C 41 82 00 10 */ beq lbl_800CAD0C +/* 800CAD00 000C7C60 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800CAD04 000C7C64 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800CAD08 000C7C68 41 82 00 20 */ beq lbl_800CAD28 +lbl_800CAD0C: +/* 800CAD0C 000C7C6C 38 61 02 80 */ addi r3, r1, 0x280 +/* 800CAD10 000C7C70 38 80 FF FF */ li r4, -1 +/* 800CAD14 000C7C74 48 03 B8 F5 */ bl __dt__16CActorParametersFv +/* 800CAD18 000C7C78 38 61 00 60 */ addi r3, r1, 0x60 +/* 800CAD1C 000C7C7C 48 27 2D C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CAD20 000C7C80 38 60 00 00 */ li r3, 0 +/* 800CAD24 000C7C84 48 00 02 0C */ b lbl_800CAF30 +lbl_800CAD28: +/* 800CAD28 000C7C88 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 800CAD2C 000C7C8C 38 00 00 01 */ li r0, 1 +/* 800CAD30 000C7C90 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 800CAD34 000C7C94 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800CAD38 000C7C98 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 800CAD3C 000C7C9C 38 81 00 A0 */ addi r4, r1, 0xa0 +/* 800CAD40 000C7CA0 93 61 00 A0 */ stw r27, 0xa0(r1) +/* 800CAD44 000C7CA4 93 C1 00 A4 */ stw r30, 0xa4(r1) +/* 800CAD48 000C7CA8 D0 41 00 A8 */ stfs f2, 0xa8(r1) +/* 800CAD4C 000C7CAC D0 21 00 AC */ stfs f1, 0xac(r1) +/* 800CAD50 000C7CB0 D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 800CAD54 000C7CB4 98 01 00 B4 */ stb r0, 0xb4(r1) +/* 800CAD58 000C7CB8 93 41 00 B8 */ stw r26, 0xb8(r1) +/* 800CAD5C 000C7CBC 48 04 BD F9 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800CAD60 000C7CC0 80 1D 00 00 */ lwz r0, 0(r29) +/* 800CAD64 000C7CC4 7F 84 E3 78 */ mr r4, r28 +/* 800CAD68 000C7CC8 3B C1 01 34 */ addi r30, r1, 0x134 +/* 800CAD6C 000C7CCC 38 61 00 88 */ addi r3, r1, 0x88 +/* 800CAD70 000C7CD0 90 01 00 20 */ stw r0, 0x20(r1) +/* 800CAD74 000C7CD4 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800CAD78 000C7CD8 38 C1 00 48 */ addi r6, r1, 0x48 +/* 800CAD7C 000C7CDC 38 E1 00 3C */ addi r7, r1, 0x3c +/* 800CAD80 000C7CE0 90 01 00 24 */ stw r0, 0x24(r1) +/* 800CAD84 000C7CE4 48 00 F9 99 */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f +/* 800CAD88 000C7CE8 C0 E1 00 48 */ lfs f7, 0x48(r1) +/* 800CAD8C 000C7CEC C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800CAD90 000C7CF0 C0 C1 00 88 */ lfs f6, 0x88(r1) +/* 800CAD94 000C7CF4 C0 A1 00 8C */ lfs f5, 0x8c(r1) +/* 800CAD98 000C7CF8 FC 07 08 40 */ fcmpo cr0, f7, f1 +/* 800CAD9C 000C7CFC C0 81 00 90 */ lfs f4, 0x90(r1) +/* 800CADA0 000C7D00 C0 61 00 94 */ lfs f3, 0x94(r1) +/* 800CADA4 000C7D04 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 800CADA8 000C7D08 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 800CADAC 000C7D0C D0 C1 00 BC */ stfs f6, 0xbc(r1) +/* 800CADB0 000C7D10 D0 A1 00 C0 */ stfs f5, 0xc0(r1) +/* 800CADB4 000C7D14 D0 81 00 C4 */ stfs f4, 0xc4(r1) +/* 800CADB8 000C7D18 D0 61 00 C8 */ stfs f3, 0xc8(r1) +/* 800CADBC 000C7D1C D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 800CADC0 000C7D20 D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 800CADC4 000C7D24 40 80 00 0C */ bge lbl_800CADD0 +/* 800CADC8 000C7D28 38 80 00 01 */ li r4, 1 +/* 800CADCC 000C7D2C 48 00 00 30 */ b lbl_800CADFC +lbl_800CADD0: +/* 800CADD0 000C7D30 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 800CADD4 000C7D34 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800CADD8 000C7D38 40 80 00 0C */ bge lbl_800CADE4 +/* 800CADDC 000C7D3C 38 80 00 01 */ li r4, 1 +/* 800CADE0 000C7D40 48 00 00 1C */ b lbl_800CADFC +lbl_800CADE4: +/* 800CADE4 000C7D44 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 800CADE8 000C7D48 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800CADEC 000C7D4C 40 80 00 0C */ bge lbl_800CADF8 +/* 800CADF0 000C7D50 38 80 00 01 */ li r4, 1 +/* 800CADF4 000C7D54 48 00 00 08 */ b lbl_800CADFC +lbl_800CADF8: +/* 800CADF8 000C7D58 38 80 00 00 */ li r4, 0 +lbl_800CADFC: +/* 800CADFC 000C7D5C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800CAE00 000C7D60 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800CAE04 000C7D64 38 00 00 00 */ li r0, 0 +/* 800CAE08 000C7D68 FC 07 00 00 */ fcmpu cr0, f7, f0 +/* 800CAE0C 000C7D6C 40 82 00 28 */ bne lbl_800CAE34 +/* 800CAE10 000C7D70 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 800CAE14 000C7D74 C0 03 00 04 */ lfs f0, 4(r3) +/* 800CAE18 000C7D78 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800CAE1C 000C7D7C 40 82 00 18 */ bne lbl_800CAE34 +/* 800CAE20 000C7D80 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 800CAE24 000C7D84 C0 03 00 08 */ lfs f0, 8(r3) +/* 800CAE28 000C7D88 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800CAE2C 000C7D8C 40 82 00 08 */ bne lbl_800CAE34 +/* 800CAE30 000C7D90 38 00 00 01 */ li r0, 1 +lbl_800CAE34: +/* 800CAE34 000C7D94 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800CAE38 000C7D98 40 82 00 0C */ bne lbl_800CAE44 +/* 800CAE3C 000C7D9C 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800CAE40 000C7DA0 41 82 00 50 */ beq lbl_800CAE90 +lbl_800CAE44: +/* 800CAE44 000C7DA4 7F C4 F3 78 */ mr r4, r30 +/* 800CAE48 000C7DA8 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 800CAE4C 000C7DAC 48 24 7D F5 */ bl GetRotation__12CTransform4fCFv +/* 800CAE50 000C7DB0 38 61 00 70 */ addi r3, r1, 0x70 +/* 800CAE54 000C7DB4 38 81 01 CC */ addi r4, r1, 0x1cc +/* 800CAE58 000C7DB8 38 A1 00 D4 */ addi r5, r1, 0xd4 +/* 800CAE5C 000C7DBC 48 04 A9 59 */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 800CAE60 000C7DC0 80 E1 00 70 */ lwz r7, 0x70(r1) +/* 800CAE64 000C7DC4 80 C1 00 74 */ lwz r6, 0x74(r1) +/* 800CAE68 000C7DC8 80 A1 00 78 */ lwz r5, 0x78(r1) +/* 800CAE6C 000C7DCC 80 81 00 7C */ lwz r4, 0x7c(r1) +/* 800CAE70 000C7DD0 80 61 00 80 */ lwz r3, 0x80(r1) +/* 800CAE74 000C7DD4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800CAE78 000C7DD8 90 E1 00 BC */ stw r7, 0xbc(r1) +/* 800CAE7C 000C7DDC 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 800CAE80 000C7DE0 90 A1 00 C4 */ stw r5, 0xc4(r1) +/* 800CAE84 000C7DE4 90 81 00 C8 */ stw r4, 0xc8(r1) +/* 800CAE88 000C7DE8 90 61 00 CC */ stw r3, 0xcc(r1) +/* 800CAE8C 000C7DEC 90 01 00 D0 */ stw r0, 0xd0(r1) +lbl_800CAE90: +/* 800CAE90 000C7DF0 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CAE94 000C7DF4 38 60 05 68 */ li r3, 0x568 +/* 800CAE98 000C7DF8 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CAE9C 000C7DFC 38 A0 00 00 */ li r5, 0 +/* 800CAEA0 000C7E00 38 84 00 0D */ addi r4, r4, 0xd +/* 800CAEA4 000C7E04 48 24 A9 C9 */ bl __nw__FUlPCcPCc +/* 800CAEA8 000C7E08 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800CAEAC 000C7E0C 41 82 00 60 */ beq lbl_800CAF0C +/* 800CAEB0 000C7E10 7F 84 E3 78 */ mr r4, r28 +/* 800CAEB4 000C7E14 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CAEB8 000C7E18 4B F8 22 25 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CAEBC 000C7E1C A0 01 00 18 */ lhz r0, 0x18(r1) +/* 800CAEC0 000C7E20 38 81 00 28 */ addi r4, r1, 0x28 +/* 800CAEC4 000C7E24 38 A1 02 18 */ addi r5, r1, 0x218 +/* 800CAEC8 000C7E28 39 61 02 80 */ addi r11, r1, 0x280 +/* 800CAECC 000C7E2C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800CAED0 000C7E30 38 01 02 E8 */ addi r0, r1, 0x2e8 +/* 800CAED4 000C7E34 7F 63 DB 78 */ mr r3, r27 +/* 800CAED8 000C7E38 7F E6 FB 78 */ mr r6, r31 +/* 800CAEDC 000C7E3C 90 81 00 08 */ stw r4, 8(r1) +/* 800CAEE0 000C7E40 7F A7 EB 78 */ mr r7, r29 +/* 800CAEE4 000C7E44 7F C8 F3 78 */ mr r8, r30 +/* 800CAEE8 000C7E48 38 81 00 1C */ addi r4, r1, 0x1c +/* 800CAEEC 000C7E4C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800CAEF0 000C7E50 38 A1 00 60 */ addi r5, r1, 0x60 +/* 800CAEF4 000C7E54 39 21 01 CC */ addi r9, r1, 0x1cc +/* 800CAEF8 000C7E58 39 41 00 BC */ addi r10, r1, 0xbc +/* 800CAEFC 000C7E5C 91 61 00 10 */ stw r11, 0x10(r1) +/* 800CAF00 000C7E60 90 01 00 14 */ stw r0, 0x14(r1) +/* 800CAF04 000C7E64 48 14 FE 29 */ bl "__ct__16CScriptGunTurretF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q216CScriptGunTurret16ETurretComponentRC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersRC20CScriptGunTurretData" +/* 800CAF08 000C7E68 7C 7B 1B 78 */ mr r27, r3 +lbl_800CAF0C: +/* 800CAF0C 000C7E6C 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800CAF10 000C7E70 38 80 FF FF */ li r4, -1 +/* 800CAF14 000C7E74 48 04 BB 39 */ bl __dt__10CModelDataFv +/* 800CAF18 000C7E78 38 61 02 80 */ addi r3, r1, 0x280 +/* 800CAF1C 000C7E7C 38 80 FF FF */ li r4, -1 +/* 800CAF20 000C7E80 48 03 B6 E9 */ bl __dt__16CActorParametersFv +/* 800CAF24 000C7E84 38 61 00 60 */ addi r3, r1, 0x60 +/* 800CAF28 000C7E88 48 27 2B B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CAF2C 000C7E8C 7F 63 DB 78 */ mr r3, r27 +lbl_800CAF30: +/* 800CAF30 000C7E90 BB 01 03 90 */ lmw r24, 0x390(r1) +/* 800CAF34 000C7E94 80 01 03 B4 */ lwz r0, 0x3b4(r1) +/* 800CAF38 000C7E98 7C 08 03 A6 */ mtlr r0 +/* 800CAF3C 000C7E9C 38 21 03 B0 */ addi r1, r1, 0x3b0 +/* 800CAF40 000C7EA0 4E 80 00 20 */ blr + +.global LoadRepulsor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadRepulsor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CAF44 000C7EA4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800CAF48 000C7EA8 7C 08 02 A6 */ mflr r0 +/* 800CAF4C 000C7EAC 2C 05 00 04 */ cmpwi r5, 4 +/* 800CAF50 000C7EB0 90 01 00 54 */ stw r0, 0x54(r1) +/* 800CAF54 000C7EB4 DB E1 00 48 */ stfd f31, 0x48(r1) +/* 800CAF58 000C7EB8 93 E1 00 44 */ stw r31, 0x44(r1) +/* 800CAF5C 000C7EBC 93 C1 00 40 */ stw r30, 0x40(r1) +/* 800CAF60 000C7EC0 7C 9E 23 78 */ mr r30, r4 +/* 800CAF64 000C7EC4 93 A1 00 3C */ stw r29, 0x3c(r1) +/* 800CAF68 000C7EC8 7C DD 33 78 */ mr r29, r6 +/* 800CAF6C 000C7ECC 93 81 00 38 */ stw r28, 0x38(r1) +/* 800CAF70 000C7ED0 7C 7C 1B 78 */ mr r28, r3 +/* 800CAF74 000C7ED4 41 82 00 0C */ beq lbl_800CAF80 +/* 800CAF78 000C7ED8 38 60 00 00 */ li r3, 0 +/* 800CAF7C 000C7EDC 48 00 00 9C */ b lbl_800CB018 +lbl_800CAF80: +/* 800CAF80 000C7EE0 4B F7 A2 65 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CAF84 000C7EE4 7C 64 1B 78 */ mr r4, r3 +/* 800CAF88 000C7EE8 38 61 00 1C */ addi r3, r1, 0x1c +/* 800CAF8C 000C7EEC 48 27 31 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CAF90 000C7EF0 7F C4 F3 78 */ mr r4, r30 +/* 800CAF94 000C7EF4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CAF98 000C7EF8 48 24 9B F5 */ bl __ct__9CVector3fFR12CInputStream +/* 800CAF9C 000C7EFC 7F C3 F3 78 */ mr r3, r30 +/* 800CAFA0 000C7F00 48 27 3D 3D */ bl ReadBool__12CInputStreamFv +/* 800CAFA4 000C7F04 7C 7F 1B 78 */ mr r31, r3 +/* 800CAFA8 000C7F08 7F C3 F3 78 */ mr r3, r30 +/* 800CAFAC 000C7F0C 48 27 3C 7D */ bl ReadFloat__12CInputStreamFv +/* 800CAFB0 000C7F10 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CAFB4 000C7F14 FF E0 08 90 */ fmr f31, f1 +/* 800CAFB8 000C7F18 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CAFBC 000C7F1C 38 A0 00 00 */ li r5, 0 +/* 800CAFC0 000C7F20 38 60 00 F0 */ li r3, 0xf0 +/* 800CAFC4 000C7F24 38 84 00 0D */ addi r4, r4, 0xd +/* 800CAFC8 000C7F28 48 24 A8 A5 */ bl __nw__FUlPCcPCc +/* 800CAFCC 000C7F2C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800CAFD0 000C7F30 41 82 00 3C */ beq lbl_800CB00C +/* 800CAFD4 000C7F34 7F 84 E3 78 */ mr r4, r28 +/* 800CAFD8 000C7F38 38 61 00 08 */ addi r3, r1, 8 +/* 800CAFDC 000C7F3C 4B F8 21 01 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CAFE0 000C7F40 A0 01 00 08 */ lhz r0, 8(r1) +/* 800CAFE4 000C7F44 FC 20 F8 90 */ fmr f1, f31 +/* 800CAFE8 000C7F48 7F C3 F3 78 */ mr r3, r30 +/* 800CAFEC 000C7F4C 7F E5 FB 78 */ mr r5, r31 +/* 800CAFF0 000C7F50 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800CAFF4 000C7F54 7F A7 EB 78 */ mr r7, r29 +/* 800CAFF8 000C7F58 38 81 00 0C */ addi r4, r1, 0xc +/* 800CAFFC 000C7F5C 38 C1 00 1C */ addi r6, r1, 0x1c +/* 800CB000 000C7F60 39 01 00 10 */ addi r8, r1, 0x10 +/* 800CB004 000C7F64 48 14 4D 09 */ bl "__ct__9CRepulsorF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3ff" +/* 800CB008 000C7F68 7C 7E 1B 78 */ mr r30, r3 +lbl_800CB00C: +/* 800CB00C 000C7F6C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800CB010 000C7F70 48 27 2A D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CB014 000C7F74 7F C3 F3 78 */ mr r3, r30 +lbl_800CB018: +/* 800CB018 000C7F78 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800CB01C 000C7F7C CB E1 00 48 */ lfd f31, 0x48(r1) +/* 800CB020 000C7F80 83 E1 00 44 */ lwz r31, 0x44(r1) +/* 800CB024 000C7F84 83 C1 00 40 */ lwz r30, 0x40(r1) +/* 800CB028 000C7F88 83 A1 00 3C */ lwz r29, 0x3c(r1) +/* 800CB02C 000C7F8C 83 81 00 38 */ lwz r28, 0x38(r1) +/* 800CB030 000C7F90 7C 08 03 A6 */ mtlr r0 +/* 800CB034 000C7F94 38 21 00 50 */ addi r1, r1, 0x50 +/* 800CB038 000C7F98 4E 80 00 20 */ blr + +.global LoadStreamedMusic__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadStreamedMusic__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CB03C 000C7F9C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800CB040 000C7FA0 7C 08 02 A6 */ mflr r0 +/* 800CB044 000C7FA4 2C 05 00 09 */ cmpwi r5, 9 +/* 800CB048 000C7FA8 90 01 00 74 */ stw r0, 0x74(r1) +/* 800CB04C 000C7FAC DB E1 00 68 */ stfd f31, 0x68(r1) +/* 800CB050 000C7FB0 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 800CB054 000C7FB4 BF 01 00 40 */ stmw r24, 0x40(r1) +/* 800CB058 000C7FB8 7C 78 1B 78 */ mr r24, r3 +/* 800CB05C 000C7FBC 7C 9A 23 78 */ mr r26, r4 +/* 800CB060 000C7FC0 7C D9 33 78 */ mr r25, r6 +/* 800CB064 000C7FC4 41 82 00 0C */ beq lbl_800CB070 +/* 800CB068 000C7FC8 38 60 00 00 */ li r3, 0 +/* 800CB06C 000C7FCC 48 00 00 FC */ b lbl_800CB168 +lbl_800CB070: +/* 800CB070 000C7FD0 4B F7 A1 75 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CB074 000C7FD4 7C 64 1B 78 */ mr r4, r3 +/* 800CB078 000C7FD8 38 61 00 2C */ addi r3, r1, 0x2c +/* 800CB07C 000C7FDC 48 27 30 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CB080 000C7FE0 7F 43 D3 78 */ mr r3, r26 +/* 800CB084 000C7FE4 48 27 3C 59 */ bl ReadBool__12CInputStreamFv +/* 800CB088 000C7FE8 7C 7E 1B 78 */ mr r30, r3 +/* 800CB08C 000C7FEC 7F 44 D3 78 */ mr r4, r26 +/* 800CB090 000C7FF0 38 61 00 1C */ addi r3, r1, 0x1c +/* 800CB094 000C7FF4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800CB098 000C7FF8 48 27 32 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800CB09C 000C7FFC 7F 43 D3 78 */ mr r3, r26 +/* 800CB0A0 000C8000 48 27 3C 3D */ bl ReadBool__12CInputStreamFv +/* 800CB0A4 000C8004 7C 7D 1B 78 */ mr r29, r3 +/* 800CB0A8 000C8008 7F 43 D3 78 */ mr r3, r26 +/* 800CB0AC 000C800C 48 27 3B 7D */ bl ReadFloat__12CInputStreamFv +/* 800CB0B0 000C8010 FF E0 08 90 */ fmr f31, f1 +/* 800CB0B4 000C8014 7F 43 D3 78 */ mr r3, r26 +/* 800CB0B8 000C8018 48 27 3B 71 */ bl ReadFloat__12CInputStreamFv +/* 800CB0BC 000C801C FF C0 08 90 */ fmr f30, f1 +/* 800CB0C0 000C8020 7F 43 D3 78 */ mr r3, r26 +/* 800CB0C4 000C8024 48 27 3B C1 */ bl ReadLong__12CInputStreamFv +/* 800CB0C8 000C8028 7C 7C 1B 78 */ mr r28, r3 +/* 800CB0CC 000C802C 7F 43 D3 78 */ mr r3, r26 +/* 800CB0D0 000C8030 48 27 3B B5 */ bl ReadLong__12CInputStreamFv +/* 800CB0D4 000C8034 7C 60 00 34 */ cntlzw r0, r3 +/* 800CB0D8 000C8038 7F 43 D3 78 */ mr r3, r26 +/* 800CB0DC 000C803C 54 1A D9 7E */ srwi r26, r0, 5 +/* 800CB0E0 000C8040 48 27 3B FD */ bl ReadBool__12CInputStreamFv +/* 800CB0E4 000C8044 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CB0E8 000C8048 7C 7F 1B 78 */ mr r31, r3 +/* 800CB0EC 000C804C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CB0F0 000C8050 38 60 00 54 */ li r3, 0x54 +/* 800CB0F4 000C8054 38 84 00 0D */ addi r4, r4, 0xd +/* 800CB0F8 000C8058 38 A0 00 00 */ li r5, 0 +/* 800CB0FC 000C805C 48 24 A7 71 */ bl __nw__FUlPCcPCc +/* 800CB100 000C8060 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800CB104 000C8064 41 82 00 50 */ beq lbl_800CB154 +/* 800CB108 000C8068 7F 04 C3 78 */ mr r4, r24 +/* 800CB10C 000C806C 38 61 00 14 */ addi r3, r1, 0x14 +/* 800CB110 000C8070 4B F8 1F CD */ bl AllocateUniqueId__13CStateManagerFv +/* 800CB114 000C8074 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 800CB118 000C8078 FC 20 F8 90 */ fmr f1, f31 +/* 800CB11C 000C807C FC 40 F0 90 */ fmr f2, f30 +/* 800CB120 000C8080 7F 63 DB 78 */ mr r3, r27 +/* 800CB124 000C8084 B0 01 00 18 */ sth r0, 0x18(r1) +/* 800CB128 000C8088 7F 25 CB 78 */ mr r5, r25 +/* 800CB12C 000C808C 7F C7 F3 78 */ mr r7, r30 +/* 800CB130 000C8090 93 41 00 08 */ stw r26, 8(r1) +/* 800CB134 000C8094 7F A9 EB 78 */ mr r9, r29 +/* 800CB138 000C8098 7F 8A E3 78 */ mr r10, r28 +/* 800CB13C 000C809C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800CB140 000C80A0 38 81 00 18 */ addi r4, r1, 0x18 +/* 800CB144 000C80A4 38 C1 00 2C */ addi r6, r1, 0x2c +/* 800CB148 000C80A8 39 01 00 1C */ addi r8, r1, 0x1c +/* 800CB14C 000C80AC 48 14 15 DD */ bl "__ct__20CScriptStreamedMusicF9TUniqueIdRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bffi" +/* 800CB150 000C80B0 7C 7B 1B 78 */ mr r27, r3 +lbl_800CB154: +/* 800CB154 000C80B4 38 61 00 1C */ addi r3, r1, 0x1c +/* 800CB158 000C80B8 48 27 29 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CB15C 000C80BC 38 61 00 2C */ addi r3, r1, 0x2c +/* 800CB160 000C80C0 48 27 29 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CB164 000C80C4 7F 63 DB 78 */ mr r3, r27 +lbl_800CB168: +/* 800CB168 000C80C8 CB E1 00 68 */ lfd f31, 0x68(r1) +/* 800CB16C 000C80CC CB C1 00 60 */ lfd f30, 0x60(r1) +/* 800CB170 000C80D0 BB 01 00 40 */ lmw r24, 0x40(r1) +/* 800CB174 000C80D4 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800CB178 000C80D8 7C 08 03 A6 */ mtlr r0 +/* 800CB17C 000C80DC 38 21 00 70 */ addi r1, r1, 0x70 +/* 800CB180 000C80E0 4E 80 00 20 */ blr + +.global LoadMidi__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadMidi__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CB184 000C80E4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800CB188 000C80E8 7C 08 02 A6 */ mflr r0 +/* 800CB18C 000C80EC 2C 05 00 06 */ cmpwi r5, 6 +/* 800CB190 000C80F0 90 01 00 54 */ stw r0, 0x54(r1) +/* 800CB194 000C80F4 DB E1 00 48 */ stfd f31, 0x48(r1) +/* 800CB198 000C80F8 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 800CB19C 000C80FC BF 41 00 28 */ stmw r26, 0x28(r1) +/* 800CB1A0 000C8100 7C 7A 1B 78 */ mr r26, r3 +/* 800CB1A4 000C8104 7C 9C 23 78 */ mr r28, r4 +/* 800CB1A8 000C8108 7C DB 33 78 */ mr r27, r6 +/* 800CB1AC 000C810C 41 82 00 0C */ beq lbl_800CB1B8 +/* 800CB1B0 000C8110 38 60 00 00 */ li r3, 0 +/* 800CB1B4 000C8114 48 00 00 BC */ b lbl_800CB270 +lbl_800CB1B8: +/* 800CB1B8 000C8118 4B F7 A0 2D */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CB1BC 000C811C 7C 64 1B 78 */ mr r4, r3 +/* 800CB1C0 000C8120 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CB1C4 000C8124 48 27 2F 9D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CB1C8 000C8128 7F 83 E3 78 */ mr r3, r28 +/* 800CB1CC 000C812C 48 27 3B 11 */ bl ReadBool__12CInputStreamFv +/* 800CB1D0 000C8130 7C 7F 1B 78 */ mr r31, r3 +/* 800CB1D4 000C8134 7F 83 E3 78 */ mr r3, r28 +/* 800CB1D8 000C8138 48 27 3A AD */ bl ReadLong__12CInputStreamFv +/* 800CB1DC 000C813C 7C 7E 1B 78 */ mr r30, r3 +/* 800CB1E0 000C8140 7F 83 E3 78 */ mr r3, r28 +/* 800CB1E4 000C8144 48 27 3A 45 */ bl ReadFloat__12CInputStreamFv +/* 800CB1E8 000C8148 FF E0 08 90 */ fmr f31, f1 +/* 800CB1EC 000C814C 7F 83 E3 78 */ mr r3, r28 +/* 800CB1F0 000C8150 48 27 3A 39 */ bl ReadFloat__12CInputStreamFv +/* 800CB1F4 000C8154 FF C0 08 90 */ fmr f30, f1 +/* 800CB1F8 000C8158 7F 83 E3 78 */ mr r3, r28 +/* 800CB1FC 000C815C 48 27 3A 89 */ bl ReadLong__12CInputStreamFv +/* 800CB200 000C8160 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CB204 000C8164 7C 7D 1B 78 */ mr r29, r3 +/* 800CB208 000C8168 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CB20C 000C816C 38 60 00 4C */ li r3, 0x4c +/* 800CB210 000C8170 38 A0 00 00 */ li r5, 0 +/* 800CB214 000C8174 38 84 00 0D */ addi r4, r4, 0xd +/* 800CB218 000C8178 48 24 A6 55 */ bl __nw__FUlPCcPCc +/* 800CB21C 000C817C 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800CB220 000C8180 41 82 00 44 */ beq lbl_800CB264 +/* 800CB224 000C8184 7F 44 D3 78 */ mr r4, r26 +/* 800CB228 000C8188 38 61 00 08 */ addi r3, r1, 8 +/* 800CB22C 000C818C 4B F8 1E B1 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CB230 000C8190 A0 01 00 08 */ lhz r0, 8(r1) +/* 800CB234 000C8194 FC 20 F8 90 */ fmr f1, f31 +/* 800CB238 000C8198 FC 40 F0 90 */ fmr f2, f30 +/* 800CB23C 000C819C 7F 83 E3 78 */ mr r3, r28 +/* 800CB240 000C81A0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800CB244 000C81A4 7F 65 DB 78 */ mr r5, r27 +/* 800CB248 000C81A8 7F E7 FB 78 */ mr r7, r31 +/* 800CB24C 000C81AC 7F C8 F3 78 */ mr r8, r30 +/* 800CB250 000C81B0 7F A9 EB 78 */ mr r9, r29 +/* 800CB254 000C81B4 38 81 00 0C */ addi r4, r1, 0xc +/* 800CB258 000C81B8 38 C1 00 10 */ addi r6, r1, 0x10 +/* 800CB25C 000C81BC 48 14 0A E5 */ bl "__ct__11CScriptMidiF9TUniqueIdRC11CEntityInfoRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>bUiffi" +/* 800CB260 000C81C0 7C 7C 1B 78 */ mr r28, r3 +lbl_800CB264: +/* 800CB264 000C81C4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CB268 000C81C8 48 27 28 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CB26C 000C81CC 7F 83 E3 78 */ mr r3, r28 +lbl_800CB270: +/* 800CB270 000C81D0 CB E1 00 48 */ lfd f31, 0x48(r1) +/* 800CB274 000C81D4 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 800CB278 000C81D8 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 800CB27C 000C81DC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800CB280 000C81E0 7C 08 03 A6 */ mtlr r0 +/* 800CB284 000C81E4 38 21 00 50 */ addi r1, r1, 0x50 +/* 800CB288 000C81E8 4E 80 00 20 */ blr + +.global LoadThardusRockProjectile__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadThardusRockProjectile__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CB28C 000C81EC 94 21 FC 80 */ stwu r1, -0x380(r1) +/* 800CB290 000C81F0 7C 08 02 A6 */ mflr r0 +/* 800CB294 000C81F4 90 01 03 84 */ stw r0, 0x384(r1) +/* 800CB298 000C81F8 DB E1 03 70 */ stfd f31, 0x370(r1) +/* 800CB29C 000C81FC F3 E1 03 78 */ psq_st f31, 888(r1), 0, qr0 +/* 800CB2A0 000C8200 BF 61 03 5C */ stmw r27, 0x35c(r1) +/* 800CB2A4 000C8204 2C 05 00 0B */ cmpwi r5, 0xb +/* 800CB2A8 000C8208 7C 7E 1B 78 */ mr r30, r3 +/* 800CB2AC 000C820C 7C 9D 23 78 */ mr r29, r4 +/* 800CB2B0 000C8210 7C DF 33 78 */ mr r31, r6 +/* 800CB2B4 000C8214 41 82 00 0C */ beq lbl_800CB2C0 +/* 800CB2B8 000C8218 38 60 00 00 */ li r3, 0 +/* 800CB2BC 000C821C 48 00 02 5C */ b lbl_800CB518 +lbl_800CB2C0: +/* 800CB2C0 000C8220 7F C5 F3 78 */ mr r5, r30 +/* 800CB2C4 000C8224 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 800CB2C8 000C8228 48 00 F1 B5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800CB2CC 000C822C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CB2D0 000C8230 7F A4 EB 78 */ mr r4, r29 +/* 800CB2D4 000C8234 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800CB2D8 000C8238 38 61 00 28 */ addi r3, r1, 0x28 +/* 800CB2DC 000C823C 38 A5 00 AB */ addi r5, r5, 0xab +/* 800CB2E0 000C8240 48 03 A5 49 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800CB2E4 000C8244 88 01 00 28 */ lbz r0, 0x28(r1) +/* 800CB2E8 000C8248 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 800CB2EC 000C824C 28 00 00 00 */ cmplwi r0, 0 +/* 800CB2F0 000C8250 40 82 00 14 */ bne lbl_800CB304 +/* 800CB2F4 000C8254 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 800CB2F8 000C8258 48 27 27 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CB2FC 000C825C 38 60 00 00 */ li r3, 0 +/* 800CB300 000C8260 48 00 02 18 */ b lbl_800CB518 +lbl_800CB304: +/* 800CB304 000C8264 7F A4 EB 78 */ mr r4, r29 +/* 800CB308 000C8268 38 61 02 20 */ addi r3, r1, 0x220 +/* 800CB30C 000C826C 48 03 A5 6D */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800CB310 000C8270 7F A4 EB 78 */ mr r4, r29 +/* 800CB314 000C8274 38 61 01 04 */ addi r3, r1, 0x104 +/* 800CB318 000C8278 48 00 EA 5D */ bl LoadActorParameters__FR12CInputStream +/* 800CB31C 000C827C 38 61 01 6C */ addi r3, r1, 0x16c +/* 800CB320 000C8280 38 81 01 04 */ addi r4, r1, 0x104 +/* 800CB324 000C8284 4B FF A2 F9 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CB328 000C8288 38 61 01 04 */ addi r3, r1, 0x104 +/* 800CB32C 000C828C 38 80 FF FF */ li r4, -1 +/* 800CB330 000C8290 48 03 B2 D9 */ bl __dt__16CActorParametersFv +/* 800CB334 000C8294 7F A3 EB 78 */ mr r3, r29 +/* 800CB338 000C8298 48 27 39 A5 */ bl ReadBool__12CInputStreamFv +/* 800CB33C 000C829C 7F A3 EB 78 */ mr r3, r29 +/* 800CB340 000C82A0 48 27 39 9D */ bl ReadBool__12CInputStreamFv +/* 800CB344 000C82A4 7F A3 EB 78 */ mr r3, r29 +/* 800CB348 000C82A8 48 27 38 E1 */ bl ReadFloat__12CInputStreamFv +/* 800CB34C 000C82AC FF E0 08 90 */ fmr f31, f1 +/* 800CB350 000C82B0 7F A3 EB 78 */ mr r3, r29 +/* 800CB354 000C82B4 48 27 39 31 */ bl ReadLong__12CInputStreamFv +/* 800CB358 000C82B8 7C 7C 1B 78 */ mr r28, r3 +/* 800CB35C 000C82BC 7F A3 EB 78 */ mr r3, r29 +/* 800CB360 000C82C0 48 27 39 25 */ bl ReadLong__12CInputStreamFv +/* 800CB364 000C82C4 80 81 03 0C */ lwz r4, 0x30c(r1) +/* 800CB368 000C82C8 7C 7D 1B 78 */ mr r29, r3 +/* 800CB36C 000C82CC 3C 04 00 01 */ addis r0, r4, 1 +/* 800CB370 000C82D0 28 00 FF FF */ cmplwi r0, 0xffff +/* 800CB374 000C82D4 40 82 00 20 */ bne lbl_800CB394 +/* 800CB378 000C82D8 38 61 01 6C */ addi r3, r1, 0x16c +/* 800CB37C 000C82DC 38 80 FF FF */ li r4, -1 +/* 800CB380 000C82E0 48 03 B2 89 */ bl __dt__16CActorParametersFv +/* 800CB384 000C82E4 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 800CB388 000C82E8 48 27 27 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CB38C 000C82EC 38 60 00 00 */ li r3, 0 +/* 800CB390 000C82F0 48 00 01 88 */ b lbl_800CB518 +lbl_800CB394: +/* 800CB394 000C82F4 38 00 00 00 */ li r0, 0 +/* 800CB398 000C82F8 38 61 00 40 */ addi r3, r1, 0x40 +/* 800CB39C 000C82FC 90 01 00 44 */ stw r0, 0x44(r1) +/* 800CB3A0 000C8300 38 80 00 03 */ li r4, 3 +/* 800CB3A4 000C8304 90 01 00 48 */ stw r0, 0x48(r1) +/* 800CB3A8 000C8308 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800CB3AC 000C830C 48 00 F5 41 */ bl sub_800da8ec +/* 800CB3B0 000C8310 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CB3B4 000C8314 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800CB3B8 000C8318 93 81 00 30 */ stw r28, 0x30(r1) +/* 800CB3BC 000C831C 38 81 00 30 */ addi r4, r1, 0x30 +/* 800CB3C0 000C8320 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800CB3C4 000C8324 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800CB3C8 000C8328 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800CB3CC 000C832C 48 04 B9 91 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CB3D0 000C8330 38 61 00 40 */ addi r3, r1, 0x40 +/* 800CB3D4 000C8334 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 800CB3D8 000C8338 48 00 01 5D */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CB3DC 000C833C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800CB3E0 000C8340 38 80 FF FF */ li r4, -1 +/* 800CB3E4 000C8344 48 04 B6 69 */ bl __dt__10CModelDataFv +/* 800CB3E8 000C8348 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CB3EC 000C834C 3B 60 00 00 */ li r27, 0 +/* 800CB3F0 000C8350 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CB3F4 000C8354 38 60 05 E0 */ li r3, 0x5e0 +/* 800CB3F8 000C8358 38 84 00 0D */ addi r4, r4, 0xd +/* 800CB3FC 000C835C 38 A0 00 00 */ li r5, 0 +/* 800CB400 000C8360 48 24 A4 6D */ bl __nw__FUlPCcPCc +/* 800CB404 000C8364 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800CB408 000C8368 41 82 00 98 */ beq lbl_800CB4A0 +/* 800CB40C 000C836C 80 E1 03 0C */ lwz r7, 0x30c(r1) +/* 800CB410 000C8370 38 A0 00 01 */ li r5, 1 +/* 800CB414 000C8374 80 C2 83 F0 */ lwz r6, lbl_805AA110@sda21(r2) +/* 800CB418 000C8378 38 61 00 6C */ addi r3, r1, 0x6c +/* 800CB41C 000C837C C0 41 02 14 */ lfs f2, 0x214(r1) +/* 800CB420 000C8380 38 81 00 50 */ addi r4, r1, 0x50 +/* 800CB424 000C8384 C0 21 02 18 */ lfs f1, 0x218(r1) +/* 800CB428 000C8388 C0 01 02 1C */ lfs f0, 0x21c(r1) +/* 800CB42C 000C838C 80 01 03 14 */ lwz r0, 0x314(r1) +/* 800CB430 000C8390 90 E1 00 50 */ stw r7, 0x50(r1) +/* 800CB434 000C8394 90 C1 00 54 */ stw r6, 0x54(r1) +/* 800CB438 000C8398 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 800CB43C 000C839C D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 800CB440 000C83A0 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800CB444 000C83A4 98 A1 00 64 */ stb r5, 0x64(r1) +/* 800CB448 000C83A8 90 01 00 68 */ stw r0, 0x68(r1) +/* 800CB44C 000C83AC 48 04 B7 09 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800CB450 000C83B0 7F C4 F3 78 */ mr r4, r30 +/* 800CB454 000C83B4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CB458 000C83B8 3B 60 00 01 */ li r27, 1 +/* 800CB45C 000C83BC 4B F8 1C 81 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CB460 000C83C0 A0 81 00 10 */ lhz r4, 0x10(r1) +/* 800CB464 000C83C4 38 01 00 40 */ addi r0, r1, 0x40 +/* 800CB468 000C83C8 FC 20 F8 90 */ fmr f1, f31 +/* 800CB46C 000C83CC 7F 83 E3 78 */ mr r3, r28 +/* 800CB470 000C83D0 B0 81 00 14 */ sth r4, 0x14(r1) +/* 800CB474 000C83D4 7F E6 FB 78 */ mr r6, r31 +/* 800CB478 000C83D8 38 81 00 14 */ addi r4, r1, 0x14 +/* 800CB47C 000C83DC 38 A1 01 D4 */ addi r5, r1, 0x1d4 +/* 800CB480 000C83E0 90 01 00 08 */ stw r0, 8(r1) +/* 800CB484 000C83E4 38 E1 01 E4 */ addi r7, r1, 0x1e4 +/* 800CB488 000C83E8 39 01 00 6C */ addi r8, r1, 0x6c +/* 800CB48C 000C83EC 39 21 01 6C */ addi r9, r1, 0x16c +/* 800CB490 000C83F0 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800CB494 000C83F4 39 41 02 20 */ addi r10, r1, 0x220 +/* 800CB498 000C83F8 48 13 A6 C1 */ bl "__ct__22CThardusRockProjectileF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>Ui" +/* 800CB49C 000C83FC 7C 7C 1B 78 */ mr r28, r3 +lbl_800CB4A0: +/* 800CB4A0 000C8400 7F 60 07 75 */ extsb. r0, r27 +/* 800CB4A4 000C8404 41 82 00 10 */ beq lbl_800CB4B4 +/* 800CB4A8 000C8408 38 61 00 6C */ addi r3, r1, 0x6c +/* 800CB4AC 000C840C 38 80 FF FF */ li r4, -1 +/* 800CB4B0 000C8410 48 04 B5 9D */ bl __dt__10CModelDataFv +lbl_800CB4B4: +/* 800CB4B4 000C8414 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800CB4B8 000C8418 83 A1 00 4C */ lwz r29, 0x4c(r1) +/* 800CB4BC 000C841C 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800CB4C0 000C8420 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 800CB4C4 000C8424 7F DD 02 14 */ add r30, r29, r0 +/* 800CB4C8 000C8428 93 A1 00 18 */ stw r29, 0x18(r1) +/* 800CB4CC 000C842C 93 C1 00 24 */ stw r30, 0x24(r1) +/* 800CB4D0 000C8430 93 C1 00 20 */ stw r30, 0x20(r1) +/* 800CB4D4 000C8434 48 00 00 14 */ b lbl_800CB4E8 +lbl_800CB4D8: +/* 800CB4D8 000C8438 7F A3 EB 78 */ mr r3, r29 +/* 800CB4DC 000C843C 38 80 FF FF */ li r4, -1 +/* 800CB4E0 000C8440 48 04 B5 6D */ bl __dt__10CModelDataFv +/* 800CB4E4 000C8444 3B BD 00 4C */ addi r29, r29, 0x4c +lbl_800CB4E8: +/* 800CB4E8 000C8448 7C 1D F0 40 */ cmplw r29, r30 +/* 800CB4EC 000C844C 40 82 FF EC */ bne lbl_800CB4D8 +/* 800CB4F0 000C8450 80 61 00 4C */ lwz r3, 0x4c(r1) +/* 800CB4F4 000C8454 28 03 00 00 */ cmplwi r3, 0 +/* 800CB4F8 000C8458 41 82 00 08 */ beq lbl_800CB500 +/* 800CB4FC 000C845C 48 24 A4 35 */ bl Free__7CMemoryFPCv +lbl_800CB500: +/* 800CB500 000C8460 38 61 01 6C */ addi r3, r1, 0x16c +/* 800CB504 000C8464 38 80 FF FF */ li r4, -1 +/* 800CB508 000C8468 48 03 B1 01 */ bl __dt__16CActorParametersFv +/* 800CB50C 000C846C 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 800CB510 000C8470 48 27 25 D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CB514 000C8474 7F 83 E3 78 */ mr r3, r28 +lbl_800CB518: +/* 800CB518 000C8478 E3 E1 03 78 */ psq_l f31, 888(r1), 0, qr0 +/* 800CB51C 000C847C CB E1 03 70 */ lfd f31, 0x370(r1) +/* 800CB520 000C8480 BB 61 03 5C */ lmw r27, 0x35c(r1) +/* 800CB524 000C8484 80 01 03 84 */ lwz r0, 0x384(r1) +/* 800CB528 000C8488 7C 08 03 A6 */ mtlr r0 +/* 800CB52C 000C848C 38 21 03 80 */ addi r1, r1, 0x380 +/* 800CB530 000C8490 4E 80 00 20 */ blr + +.global "construct<10CModelData>__4rstlFPvRC10CModelData" +"construct<10CModelData>__4rstlFPvRC10CModelData": +/* 800CB534 000C8494 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800CB538 000C8498 7C 08 02 A6 */ mflr r0 +/* 800CB53C 000C849C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800CB540 000C84A0 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800CB544 000C84A4 7C 9F 23 78 */ mr r31, r4 +/* 800CB548 000C84A8 93 C1 00 08 */ stw r30, 8(r1) +/* 800CB54C 000C84AC 7C 7E 1B 78 */ mr r30, r3 +/* 800CB550 000C84B0 80 03 00 04 */ lwz r0, 4(r3) +/* 800CB554 000C84B4 80 A3 00 08 */ lwz r5, 8(r3) +/* 800CB558 000C84B8 7C 00 28 00 */ cmpw r0, r5 +/* 800CB55C 000C84BC 41 80 00 18 */ blt lbl_800CB574 +/* 800CB560 000C84C0 2C 05 00 00 */ cmpwi r5, 0 +/* 800CB564 000C84C4 38 80 00 04 */ li r4, 4 +/* 800CB568 000C84C8 41 82 00 08 */ beq lbl_800CB570 +/* 800CB56C 000C84CC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800CB570: +/* 800CB570 000C84D0 48 00 F3 7D */ bl sub_800da8ec +lbl_800CB574: +/* 800CB574 000C84D4 80 1E 00 04 */ lwz r0, 4(r30) +/* 800CB578 000C84D8 7F E4 FB 78 */ mr r4, r31 +/* 800CB57C 000C84DC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800CB580 000C84E0 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800CB584 000C84E4 7C 63 02 14 */ add r3, r3, r0 +/* 800CB588 000C84E8 48 00 00 29 */ bl sub_800cb5b0 +/* 800CB58C 000C84EC 80 7E 00 04 */ lwz r3, 4(r30) +/* 800CB590 000C84F0 38 03 00 01 */ addi r0, r3, 1 +/* 800CB594 000C84F4 90 1E 00 04 */ stw r0, 4(r30) +/* 800CB598 000C84F8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800CB59C 000C84FC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800CB5A0 000C8500 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800CB5A4 000C8504 7C 08 03 A6 */ mtlr r0 +/* 800CB5A8 000C8508 38 21 00 10 */ addi r1, r1, 0x10 +/* 800CB5AC 000C850C 4E 80 00 20 */ blr + +.global sub_800cb5b0 +sub_800cb5b0: +/* 800CB5B0 000C8510 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800CB5B4 000C8514 7C 08 02 A6 */ mflr r0 +/* 800CB5B8 000C8518 28 03 00 00 */ cmplwi r3, 0 +/* 800CB5BC 000C851C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800CB5C0 000C8520 41 82 00 08 */ beq lbl_800CB5C8 +/* 800CB5C4 000C8524 4B F4 D7 C9 */ bl __ct__10CModelDataFRC10CModelData +lbl_800CB5C8: +/* 800CB5C8 000C8528 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800CB5CC 000C852C 7C 08 03 A6 */ mtlr r0 +/* 800CB5D0 000C8530 38 21 00 10 */ addi r1, r1, 0x10 +/* 800CB5D4 000C8534 4E 80 00 20 */ blr + +.global LoadFlaahgraTentacle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadFlaahgraTentacle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CB5D8 000C8538 94 21 FD 10 */ stwu r1, -0x2f0(r1) +/* 800CB5DC 000C853C 7C 08 02 A6 */ mflr r0 +/* 800CB5E0 000C8540 2C 05 00 06 */ cmpwi r5, 6 +/* 800CB5E4 000C8544 90 01 02 F4 */ stw r0, 0x2f4(r1) +/* 800CB5E8 000C8548 93 E1 02 EC */ stw r31, 0x2ec(r1) +/* 800CB5EC 000C854C 7C 9F 23 78 */ mr r31, r4 +/* 800CB5F0 000C8550 93 C1 02 E8 */ stw r30, 0x2e8(r1) +/* 800CB5F4 000C8554 7C DE 33 78 */ mr r30, r6 +/* 800CB5F8 000C8558 93 A1 02 E4 */ stw r29, 0x2e4(r1) +/* 800CB5FC 000C855C 7C 7D 1B 78 */ mr r29, r3 +/* 800CB600 000C8560 93 81 02 E0 */ stw r28, 0x2e0(r1) +/* 800CB604 000C8564 41 82 00 0C */ beq lbl_800CB610 +/* 800CB608 000C8568 38 60 00 00 */ li r3, 0 +/* 800CB60C 000C856C 48 00 01 78 */ b lbl_800CB784 +lbl_800CB610: +/* 800CB610 000C8570 7F A5 EB 78 */ mr r5, r29 +/* 800CB614 000C8574 38 61 01 50 */ addi r3, r1, 0x150 +/* 800CB618 000C8578 48 00 EE 65 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800CB61C 000C857C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CB620 000C8580 7F E4 FB 78 */ mr r4, r31 +/* 800CB624 000C8584 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800CB628 000C8588 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CB62C 000C858C 38 A5 00 C3 */ addi r5, r5, 0xc3 +/* 800CB630 000C8590 48 03 A1 F9 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800CB634 000C8594 88 01 00 10 */ lbz r0, 0x10(r1) +/* 800CB638 000C8598 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 800CB63C 000C859C 28 00 00 00 */ cmplwi r0, 0 +/* 800CB640 000C85A0 40 82 00 14 */ bne lbl_800CB654 +/* 800CB644 000C85A4 38 61 01 50 */ addi r3, r1, 0x150 +/* 800CB648 000C85A8 48 27 24 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CB64C 000C85AC 38 60 00 00 */ li r3, 0 +/* 800CB650 000C85B0 48 00 01 34 */ b lbl_800CB784 +lbl_800CB654: +/* 800CB654 000C85B4 7F E4 FB 78 */ mr r4, r31 +/* 800CB658 000C85B8 38 61 01 9C */ addi r3, r1, 0x19c +/* 800CB65C 000C85BC 48 03 A2 1D */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800CB660 000C85C0 7F E4 FB 78 */ mr r4, r31 +/* 800CB664 000C85C4 38 61 00 80 */ addi r3, r1, 0x80 +/* 800CB668 000C85C8 48 00 E7 0D */ bl LoadActorParameters__FR12CInputStream +/* 800CB66C 000C85CC 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800CB670 000C85D0 38 81 00 80 */ addi r4, r1, 0x80 +/* 800CB674 000C85D4 4B FF 9F A9 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CB678 000C85D8 38 61 00 80 */ addi r3, r1, 0x80 +/* 800CB67C 000C85DC 38 80 FF FF */ li r4, -1 +/* 800CB680 000C85E0 48 03 AF 89 */ bl __dt__16CActorParametersFv +/* 800CB684 000C85E4 80 61 02 88 */ lwz r3, 0x288(r1) +/* 800CB688 000C85E8 3C 03 00 01 */ addis r0, r3, 1 +/* 800CB68C 000C85EC 28 00 FF FF */ cmplwi r0, 0xffff +/* 800CB690 000C85F0 40 82 00 20 */ bne lbl_800CB6B0 +/* 800CB694 000C85F4 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800CB698 000C85F8 38 80 FF FF */ li r4, -1 +/* 800CB69C 000C85FC 48 03 AF 6D */ bl __dt__16CActorParametersFv +/* 800CB6A0 000C8600 38 61 01 50 */ addi r3, r1, 0x150 +/* 800CB6A4 000C8604 48 27 24 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CB6A8 000C8608 38 60 00 00 */ li r3, 0 +/* 800CB6AC 000C860C 48 00 00 D8 */ b lbl_800CB784 +lbl_800CB6B0: +/* 800CB6B0 000C8610 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CB6B4 000C8614 3B 80 00 00 */ li r28, 0 +/* 800CB6B8 000C8618 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CB6BC 000C861C 38 60 05 90 */ li r3, 0x590 +/* 800CB6C0 000C8620 38 84 00 0D */ addi r4, r4, 0xd +/* 800CB6C4 000C8624 38 A0 00 00 */ li r5, 0 +/* 800CB6C8 000C8628 48 24 A1 A5 */ bl __nw__FUlPCcPCc +/* 800CB6CC 000C862C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800CB6D0 000C8630 41 82 00 88 */ beq lbl_800CB758 +/* 800CB6D4 000C8634 80 E1 02 88 */ lwz r7, 0x288(r1) +/* 800CB6D8 000C8638 38 A0 00 01 */ li r5, 1 +/* 800CB6DC 000C863C 80 C1 02 8C */ lwz r6, 0x28c(r1) +/* 800CB6E0 000C8640 38 61 00 34 */ addi r3, r1, 0x34 +/* 800CB6E4 000C8644 C0 41 01 90 */ lfs f2, 0x190(r1) +/* 800CB6E8 000C8648 38 81 00 18 */ addi r4, r1, 0x18 +/* 800CB6EC 000C864C C0 21 01 94 */ lfs f1, 0x194(r1) +/* 800CB6F0 000C8650 C0 01 01 98 */ lfs f0, 0x198(r1) +/* 800CB6F4 000C8654 80 01 02 90 */ lwz r0, 0x290(r1) +/* 800CB6F8 000C8658 90 E1 00 18 */ stw r7, 0x18(r1) +/* 800CB6FC 000C865C 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 800CB700 000C8660 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 800CB704 000C8664 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800CB708 000C8668 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800CB70C 000C866C 98 A1 00 2C */ stb r5, 0x2c(r1) +/* 800CB710 000C8670 90 01 00 30 */ stw r0, 0x30(r1) +/* 800CB714 000C8674 48 04 B4 41 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800CB718 000C8678 7F A4 EB 78 */ mr r4, r29 +/* 800CB71C 000C867C 38 61 00 08 */ addi r3, r1, 8 +/* 800CB720 000C8680 3B 80 00 01 */ li r28, 1 +/* 800CB724 000C8684 4B F8 19 B9 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CB728 000C8688 A0 01 00 08 */ lhz r0, 8(r1) +/* 800CB72C 000C868C 7F E3 FB 78 */ mr r3, r31 +/* 800CB730 000C8690 7F C6 F3 78 */ mr r6, r30 +/* 800CB734 000C8694 38 81 00 0C */ addi r4, r1, 0xc +/* 800CB738 000C8698 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800CB73C 000C869C 38 A1 01 50 */ addi r5, r1, 0x150 +/* 800CB740 000C86A0 38 E1 01 60 */ addi r7, r1, 0x160 +/* 800CB744 000C86A4 39 01 00 34 */ addi r8, r1, 0x34 +/* 800CB748 000C86A8 39 21 01 9C */ addi r9, r1, 0x19c +/* 800CB74C 000C86AC 39 41 00 E8 */ addi r10, r1, 0xe8 +/* 800CB750 000C86B0 48 12 58 6D */ bl "__ct__17CFlaahgraTentacleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParameters" +/* 800CB754 000C86B4 7C 7F 1B 78 */ mr r31, r3 +lbl_800CB758: +/* 800CB758 000C86B8 7F 80 07 75 */ extsb. r0, r28 +/* 800CB75C 000C86BC 41 82 00 10 */ beq lbl_800CB76C +/* 800CB760 000C86C0 38 61 00 34 */ addi r3, r1, 0x34 +/* 800CB764 000C86C4 38 80 FF FF */ li r4, -1 +/* 800CB768 000C86C8 48 04 B2 E5 */ bl __dt__10CModelDataFv +lbl_800CB76C: +/* 800CB76C 000C86CC 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800CB770 000C86D0 38 80 FF FF */ li r4, -1 +/* 800CB774 000C86D4 48 03 AE 95 */ bl __dt__16CActorParametersFv +/* 800CB778 000C86D8 38 61 01 50 */ addi r3, r1, 0x150 +/* 800CB77C 000C86DC 48 27 23 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CB780 000C86E0 7F E3 FB 78 */ mr r3, r31 +lbl_800CB784: +/* 800CB784 000C86E4 80 01 02 F4 */ lwz r0, 0x2f4(r1) +/* 800CB788 000C86E8 83 E1 02 EC */ lwz r31, 0x2ec(r1) +/* 800CB78C 000C86EC 83 C1 02 E8 */ lwz r30, 0x2e8(r1) +/* 800CB790 000C86F0 83 A1 02 E4 */ lwz r29, 0x2e4(r1) +/* 800CB794 000C86F4 83 81 02 E0 */ lwz r28, 0x2e0(r1) +/* 800CB798 000C86F8 7C 08 03 A6 */ mtlr r0 +/* 800CB79C 000C86FC 38 21 02 F0 */ addi r1, r1, 0x2f0 +/* 800CB7A0 000C8700 4E 80 00 20 */ blr + +.global LoadWallCrawlerSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadWallCrawlerSwarm__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CB7A4 000C8704 94 21 FB F0 */ stwu r1, -0x410(r1) +/* 800CB7A8 000C8708 7C 08 02 A6 */ mflr r0 +/* 800CB7AC 000C870C 90 01 04 14 */ stw r0, 0x414(r1) +/* 800CB7B0 000C8710 DB E1 04 00 */ stfd f31, 0x400(r1) +/* 800CB7B4 000C8714 F3 E1 04 08 */ psq_st f31, 1032(r1), 0, qr0 +/* 800CB7B8 000C8718 DB C1 03 F0 */ stfd f30, 0x3f0(r1) +/* 800CB7BC 000C871C F3 C1 03 F8 */ psq_st f30, 1016(r1), 0, qr0 +/* 800CB7C0 000C8720 DB A1 03 E0 */ stfd f29, 0x3e0(r1) +/* 800CB7C4 000C8724 F3 A1 03 E8 */ psq_st f29, 1000(r1), 0, qr0 +/* 800CB7C8 000C8728 DB 81 03 D0 */ stfd f28, 0x3d0(r1) +/* 800CB7CC 000C872C F3 81 03 D8 */ psq_st f28, 984(r1), 0, qr0 +/* 800CB7D0 000C8730 DB 61 03 C0 */ stfd f27, 0x3c0(r1) +/* 800CB7D4 000C8734 F3 61 03 C8 */ psq_st f27, 968(r1), 0, qr0 +/* 800CB7D8 000C8738 DB 41 03 B0 */ stfd f26, 0x3b0(r1) +/* 800CB7DC 000C873C F3 41 03 B8 */ psq_st f26, 952(r1), 0, qr0 +/* 800CB7E0 000C8740 DB 21 03 A0 */ stfd f25, 0x3a0(r1) +/* 800CB7E4 000C8744 F3 21 03 A8 */ psq_st f25, 936(r1), 0, qr0 +/* 800CB7E8 000C8748 DB 01 03 90 */ stfd f24, 0x390(r1) +/* 800CB7EC 000C874C F3 01 03 98 */ psq_st f24, 920(r1), 0, qr0 +/* 800CB7F0 000C8750 DA E1 03 80 */ stfd f23, 0x380(r1) +/* 800CB7F4 000C8754 F2 E1 03 88 */ psq_st f23, 904(r1), 0, qr0 +/* 800CB7F8 000C8758 DA C1 03 70 */ stfd f22, 0x370(r1) +/* 800CB7FC 000C875C F2 C1 03 78 */ psq_st f22, 888(r1), 0, qr0 +/* 800CB800 000C8760 DA A1 03 60 */ stfd f21, 0x360(r1) +/* 800CB804 000C8764 F2 A1 03 68 */ psq_st f21, 872(r1), 0, qr0 +/* 800CB808 000C8768 DA 81 03 50 */ stfd f20, 0x350(r1) +/* 800CB80C 000C876C F2 81 03 58 */ psq_st f20, 856(r1), 0, qr0 +/* 800CB810 000C8770 DA 61 03 40 */ stfd f19, 0x340(r1) +/* 800CB814 000C8774 F2 61 03 48 */ psq_st f19, 840(r1), 0, qr0 +/* 800CB818 000C8778 DA 41 03 30 */ stfd f18, 0x330(r1) +/* 800CB81C 000C877C F2 41 03 38 */ psq_st f18, 824(r1), 0, qr0 +/* 800CB820 000C8780 DA 21 03 20 */ stfd f17, 0x320(r1) +/* 800CB824 000C8784 F2 21 03 28 */ psq_st f17, 808(r1), 0, qr0 +/* 800CB828 000C8788 DA 01 03 10 */ stfd f16, 0x310(r1) +/* 800CB82C 000C878C F2 01 03 18 */ psq_st f16, 792(r1), 0, qr0 +/* 800CB830 000C8790 BD C1 02 C8 */ stmw r14, 0x2c8(r1) +/* 800CB834 000C8794 2C 05 00 27 */ cmpwi r5, 0x27 +/* 800CB838 000C8798 90 C1 00 70 */ stw r6, 0x70(r1) +/* 800CB83C 000C879C 7C 70 1B 78 */ mr r16, r3 +/* 800CB840 000C87A0 7C 8E 23 78 */ mr r14, r4 +/* 800CB844 000C87A4 41 82 00 0C */ beq lbl_800CB850 +/* 800CB848 000C87A8 38 60 00 00 */ li r3, 0 +/* 800CB84C 000C87AC 48 00 03 44 */ b lbl_800CBB90 +lbl_800CB850: +/* 800CB850 000C87B0 7E 05 83 78 */ mr r5, r16 +/* 800CB854 000C87B4 38 61 02 78 */ addi r3, r1, 0x278 +/* 800CB858 000C87B8 48 00 EC 25 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800CB85C 000C87BC 7D C3 73 78 */ mr r3, r14 +/* 800CB860 000C87C0 48 27 34 7D */ bl ReadBool__12CInputStreamFv +/* 800CB864 000C87C4 98 61 02 C4 */ stb r3, 0x2c4(r1) +/* 800CB868 000C87C8 7D C4 73 78 */ mr r4, r14 +/* 800CB86C 000C87CC 38 61 01 40 */ addi r3, r1, 0x140 +/* 800CB870 000C87D0 48 00 E5 05 */ bl LoadActorParameters__FR12CInputStream +/* 800CB874 000C87D4 38 61 02 10 */ addi r3, r1, 0x210 +/* 800CB878 000C87D8 38 81 01 40 */ addi r4, r1, 0x140 +/* 800CB87C 000C87DC 4B FF 9D A1 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CB880 000C87E0 38 61 01 40 */ addi r3, r1, 0x140 +/* 800CB884 000C87E4 38 80 FF FF */ li r4, -1 +/* 800CB888 000C87E8 48 03 AD 81 */ bl __dt__16CActorParametersFv +/* 800CB88C 000C87EC 7D C3 73 78 */ mr r3, r14 +/* 800CB890 000C87F0 48 27 33 F5 */ bl ReadLong__12CInputStreamFv +/* 800CB894 000C87F4 7C 60 1B 78 */ mr r0, r3 +/* 800CB898 000C87F8 7D C3 73 78 */ mr r3, r14 +/* 800CB89C 000C87FC 7C 11 03 78 */ mr r17, r0 +/* 800CB8A0 000C8800 48 27 33 E5 */ bl ReadLong__12CInputStreamFv +/* 800CB8A4 000C8804 7C 73 1B 78 */ mr r19, r3 +/* 800CB8A8 000C8808 7D C3 73 78 */ mr r3, r14 +/* 800CB8AC 000C880C 48 27 33 D9 */ bl ReadLong__12CInputStreamFv +/* 800CB8B0 000C8810 7C 74 1B 78 */ mr r20, r3 +/* 800CB8B4 000C8814 7D C3 73 78 */ mr r3, r14 +/* 800CB8B8 000C8818 48 27 33 CD */ bl ReadLong__12CInputStreamFv +/* 800CB8BC 000C881C 7C 75 1B 78 */ mr r21, r3 +/* 800CB8C0 000C8820 7D C3 73 78 */ mr r3, r14 +/* 800CB8C4 000C8824 48 27 33 C1 */ bl ReadLong__12CInputStreamFv +/* 800CB8C8 000C8828 7C 76 1B 78 */ mr r22, r3 +/* 800CB8CC 000C882C 7D C3 73 78 */ mr r3, r14 +/* 800CB8D0 000C8830 48 27 33 B5 */ bl ReadLong__12CInputStreamFv +/* 800CB8D4 000C8834 7C 77 1B 78 */ mr r23, r3 +/* 800CB8D8 000C8838 7D C3 73 78 */ mr r3, r14 +/* 800CB8DC 000C883C 48 27 33 A9 */ bl ReadLong__12CInputStreamFv +/* 800CB8E0 000C8840 7C 78 1B 78 */ mr r24, r3 +/* 800CB8E4 000C8844 7D C3 73 78 */ mr r3, r14 +/* 800CB8E8 000C8848 48 27 33 9D */ bl ReadLong__12CInputStreamFv +/* 800CB8EC 000C884C 7C 79 1B 78 */ mr r25, r3 +/* 800CB8F0 000C8850 7D C3 73 78 */ mr r3, r14 +/* 800CB8F4 000C8854 48 27 33 91 */ bl ReadLong__12CInputStreamFv +/* 800CB8F8 000C8858 7C 7A 1B 78 */ mr r26, r3 +/* 800CB8FC 000C885C 7D C3 73 78 */ mr r3, r14 +/* 800CB900 000C8860 48 27 33 85 */ bl ReadLong__12CInputStreamFv +/* 800CB904 000C8864 7C 7B 1B 78 */ mr r27, r3 +/* 800CB908 000C8868 7D C4 73 78 */ mr r4, r14 +/* 800CB90C 000C886C 38 61 00 BC */ addi r3, r1, 0xbc +/* 800CB910 000C8870 4B FF 7C 51 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800CB914 000C8874 7D C3 73 78 */ mr r3, r14 +/* 800CB918 000C8878 48 27 33 11 */ bl ReadFloat__12CInputStreamFv +/* 800CB91C 000C887C FE E0 08 90 */ fmr f23, f1 +/* 800CB920 000C8880 7D C4 73 78 */ mr r4, r14 +/* 800CB924 000C8884 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800CB928 000C8888 4B FF 7C 39 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800CB92C 000C888C 7D C3 73 78 */ mr r3, r14 +/* 800CB930 000C8890 48 27 32 F9 */ bl ReadFloat__12CInputStreamFv +/* 800CB934 000C8894 FE C0 08 90 */ fmr f22, f1 +/* 800CB938 000C8898 7D C3 73 78 */ mr r3, r14 +/* 800CB93C 000C889C 48 27 32 ED */ bl ReadFloat__12CInputStreamFv +/* 800CB940 000C88A0 FE A0 08 90 */ fmr f21, f1 +/* 800CB944 000C88A4 7D C3 73 78 */ mr r3, r14 +/* 800CB948 000C88A8 48 27 32 E1 */ bl ReadFloat__12CInputStreamFv +/* 800CB94C 000C88AC FE 80 08 90 */ fmr f20, f1 +/* 800CB950 000C88B0 7D C3 73 78 */ mr r3, r14 +/* 800CB954 000C88B4 48 27 32 D5 */ bl ReadFloat__12CInputStreamFv +/* 800CB958 000C88B8 FE 60 08 90 */ fmr f19, f1 +/* 800CB95C 000C88BC 7D C3 73 78 */ mr r3, r14 +/* 800CB960 000C88C0 48 27 33 25 */ bl ReadLong__12CInputStreamFv +/* 800CB964 000C88C4 7C 7C 1B 78 */ mr r28, r3 +/* 800CB968 000C88C8 7D C3 73 78 */ mr r3, r14 +/* 800CB96C 000C88CC 48 27 33 19 */ bl ReadLong__12CInputStreamFv +/* 800CB970 000C88D0 7C 7D 1B 78 */ mr r29, r3 +/* 800CB974 000C88D4 7D C3 73 78 */ mr r3, r14 +/* 800CB978 000C88D8 48 27 32 B1 */ bl ReadFloat__12CInputStreamFv +/* 800CB97C 000C88DC FE 40 08 90 */ fmr f18, f1 +/* 800CB980 000C88E0 7D C3 73 78 */ mr r3, r14 +/* 800CB984 000C88E4 48 27 32 A5 */ bl ReadFloat__12CInputStreamFv +/* 800CB988 000C88E8 FE 20 08 90 */ fmr f17, f1 +/* 800CB98C 000C88EC 7D C3 73 78 */ mr r3, r14 +/* 800CB990 000C88F0 48 27 32 99 */ bl ReadFloat__12CInputStreamFv +/* 800CB994 000C88F4 FE 00 08 90 */ fmr f16, f1 +/* 800CB998 000C88F8 7D C3 73 78 */ mr r3, r14 +/* 800CB99C 000C88FC 48 27 32 8D */ bl ReadFloat__12CInputStreamFv +/* 800CB9A0 000C8900 FF 00 08 90 */ fmr f24, f1 +/* 800CB9A4 000C8904 7D C3 73 78 */ mr r3, r14 +/* 800CB9A8 000C8908 48 27 32 81 */ bl ReadFloat__12CInputStreamFv +/* 800CB9AC 000C890C FF 20 08 90 */ fmr f25, f1 +/* 800CB9B0 000C8910 7D C3 73 78 */ mr r3, r14 +/* 800CB9B4 000C8914 48 27 32 75 */ bl ReadFloat__12CInputStreamFv +/* 800CB9B8 000C8918 FF 40 08 90 */ fmr f26, f1 +/* 800CB9BC 000C891C 7D C3 73 78 */ mr r3, r14 +/* 800CB9C0 000C8920 48 27 32 69 */ bl ReadFloat__12CInputStreamFv +/* 800CB9C4 000C8924 FF 60 08 90 */ fmr f27, f1 +/* 800CB9C8 000C8928 7D C3 73 78 */ mr r3, r14 +/* 800CB9CC 000C892C 48 27 32 5D */ bl ReadFloat__12CInputStreamFv +/* 800CB9D0 000C8930 FF 80 08 90 */ fmr f28, f1 +/* 800CB9D4 000C8934 7D C3 73 78 */ mr r3, r14 +/* 800CB9D8 000C8938 48 27 32 AD */ bl ReadLong__12CInputStreamFv +/* 800CB9DC 000C893C 7C 7E 1B 78 */ mr r30, r3 +/* 800CB9E0 000C8940 7D C3 73 78 */ mr r3, r14 +/* 800CB9E4 000C8944 48 27 32 45 */ bl ReadFloat__12CInputStreamFv +/* 800CB9E8 000C8948 FF A0 08 90 */ fmr f29, f1 +/* 800CB9EC 000C894C 7D C3 73 78 */ mr r3, r14 +/* 800CB9F0 000C8950 48 27 32 39 */ bl ReadFloat__12CInputStreamFv +/* 800CB9F4 000C8954 FF C0 08 90 */ fmr f30, f1 +/* 800CB9F8 000C8958 7D C3 73 78 */ mr r3, r14 +/* 800CB9FC 000C895C 48 27 32 2D */ bl ReadFloat__12CInputStreamFv +/* 800CBA00 000C8960 FF E0 08 90 */ fmr f31, f1 +/* 800CBA04 000C8964 7D C4 73 78 */ mr r4, r14 +/* 800CBA08 000C8968 38 61 00 7C */ addi r3, r1, 0x7c +/* 800CBA0C 000C896C 48 10 7E 39 */ bl __ct__11CHealthInfoFR12CInputStream +/* 800CBA10 000C8970 7D C4 73 78 */ mr r4, r14 +/* 800CBA14 000C8974 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800CBA18 000C8978 48 03 71 41 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800CBA1C 000C897C 7D C3 73 78 */ mr r3, r14 +/* 800CBA20 000C8980 48 27 32 65 */ bl ReadLong__12CInputStreamFv +/* 800CBA24 000C8984 7C 7F 1B 78 */ mr r31, r3 +/* 800CBA28 000C8988 7D C3 73 78 */ mr r3, r14 +/* 800CBA2C 000C898C 48 27 32 59 */ bl ReadLong__12CInputStreamFv +/* 800CBA30 000C8990 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CBA34 000C8994 7C 6E 1B 78 */ mr r14, r3 +/* 800CBA38 000C8998 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800CBA3C 000C899C 39 E0 00 00 */ li r15, 0 +/* 800CBA40 000C89A0 38 83 00 0D */ addi r4, r3, 0xd +/* 800CBA44 000C89A4 38 60 05 68 */ li r3, 0x568 +/* 800CBA48 000C89A8 38 A0 00 00 */ li r5, 0 +/* 800CBA4C 000C89AC 48 24 9E 21 */ bl __nw__FUlPCcPCc +/* 800CBA50 000C89B0 7C 72 1B 79 */ or. r18, r3, r3 +/* 800CBA54 000C89B4 41 82 01 10 */ beq lbl_800CBB64 +/* 800CBA58 000C89B8 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800CBA5C 000C89BC 38 81 02 10 */ addi r4, r1, 0x210 +/* 800CBA60 000C89C0 4B FF 9B BD */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CBA64 000C89C4 C0 02 8E 54 */ lfs f0, lbl_805AAB74@sda21(r2) +/* 800CBA68 000C89C8 38 00 00 01 */ li r0, 1 +/* 800CBA6C 000C89CC 92 61 00 84 */ stw r19, 0x84(r1) +/* 800CBA70 000C89D0 7E 04 83 78 */ mr r4, r16 +/* 800CBA74 000C89D4 38 61 00 74 */ addi r3, r1, 0x74 +/* 800CBA78 000C89D8 39 E0 00 01 */ li r15, 1 +/* 800CBA7C 000C89DC 92 81 00 88 */ stw r20, 0x88(r1) +/* 800CBA80 000C89E0 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 800CBA84 000C89E4 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800CBA88 000C89E8 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 800CBA8C 000C89EC 98 01 00 98 */ stb r0, 0x98(r1) +/* 800CBA90 000C89F0 92 A1 00 9C */ stw r21, 0x9c(r1) +/* 800CBA94 000C89F4 4B F8 16 49 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CBA98 000C89F8 A0 61 00 74 */ lhz r3, 0x74(r1) +/* 800CBA9C 000C89FC 38 01 00 84 */ addi r0, r1, 0x84 +/* 800CBAA0 000C8A00 39 21 00 BC */ addi r9, r1, 0xbc +/* 800CBAA4 000C8A04 3A 01 00 A0 */ addi r16, r1, 0xa0 +/* 800CBAA8 000C8A08 B0 61 00 78 */ sth r3, 0x78(r1) +/* 800CBAAC 000C8A0C 39 81 00 7C */ addi r12, r1, 0x7c +/* 800CBAB0 000C8A10 39 61 01 A8 */ addi r11, r1, 0x1a8 +/* 800CBAB4 000C8A14 FC 20 B8 90 */ fmr f1, f23 +/* 800CBAB8 000C8A18 90 01 00 08 */ stw r0, 8(r1) +/* 800CBABC 000C8A1C FC 40 B0 90 */ fmr f2, f22 +/* 800CBAC0 000C8A20 FC 60 A8 90 */ fmr f3, f21 +/* 800CBAC4 000C8A24 38 01 00 D8 */ addi r0, r1, 0xd8 +/* 800CBAC8 000C8A28 92 C1 00 0C */ stw r22, 0xc(r1) +/* 800CBACC 000C8A2C FC 80 A0 90 */ fmr f4, f20 +/* 800CBAD0 000C8A30 88 A1 02 C4 */ lbz r5, 0x2c4(r1) +/* 800CBAD4 000C8A34 92 E1 00 10 */ stw r23, 0x10(r1) +/* 800CBAD8 000C8A38 FC A0 98 90 */ fmr f5, f19 +/* 800CBADC 000C8A3C 80 E1 00 70 */ lwz r7, 0x70(r1) +/* 800CBAE0 000C8A40 93 01 00 14 */ stw r24, 0x14(r1) +/* 800CBAE4 000C8A44 FC C0 90 90 */ fmr f6, f18 +/* 800CBAE8 000C8A48 7E 43 93 78 */ mr r3, r18 +/* 800CBAEC 000C8A4C 93 21 00 18 */ stw r25, 0x18(r1) +/* 800CBAF0 000C8A50 FC E0 88 90 */ fmr f7, f17 +/* 800CBAF4 000C8A54 7E 2A 8B 78 */ mr r10, r17 +/* 800CBAF8 000C8A58 93 41 00 1C */ stw r26, 0x1c(r1) +/* 800CBAFC 000C8A5C FD 00 80 90 */ fmr f8, f16 +/* 800CBB00 000C8A60 38 81 00 78 */ addi r4, r1, 0x78 +/* 800CBB04 000C8A64 93 61 00 20 */ stw r27, 0x20(r1) +/* 800CBB08 000C8A68 38 C1 02 78 */ addi r6, r1, 0x278 +/* 800CBB0C 000C8A6C 39 01 02 B8 */ addi r8, r1, 0x2b8 +/* 800CBB10 000C8A70 91 21 00 24 */ stw r9, 0x24(r1) +/* 800CBB14 000C8A74 39 21 02 88 */ addi r9, r1, 0x288 +/* 800CBB18 000C8A78 92 01 00 28 */ stw r16, 0x28(r1) +/* 800CBB1C 000C8A7C 93 81 00 2C */ stw r28, 0x2c(r1) +/* 800CBB20 000C8A80 93 A1 00 30 */ stw r29, 0x30(r1) +/* 800CBB24 000C8A84 D3 01 00 34 */ stfs f24, 0x34(r1) +/* 800CBB28 000C8A88 D3 21 00 38 */ stfs f25, 0x38(r1) +/* 800CBB2C 000C8A8C D3 41 00 3C */ stfs f26, 0x3c(r1) +/* 800CBB30 000C8A90 D3 61 00 40 */ stfs f27, 0x40(r1) +/* 800CBB34 000C8A94 D3 81 00 44 */ stfs f28, 0x44(r1) +/* 800CBB38 000C8A98 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800CBB3C 000C8A9C D3 A1 00 4C */ stfs f29, 0x4c(r1) +/* 800CBB40 000C8AA0 D3 C1 00 50 */ stfs f30, 0x50(r1) +/* 800CBB44 000C8AA4 D3 E1 00 54 */ stfs f31, 0x54(r1) +/* 800CBB48 000C8AA8 91 81 00 58 */ stw r12, 0x58(r1) +/* 800CBB4C 000C8AAC 91 61 00 5C */ stw r11, 0x5c(r1) +/* 800CBB50 000C8AB0 93 E1 00 60 */ stw r31, 0x60(r1) +/* 800CBB54 000C8AB4 91 C1 00 64 */ stw r14, 0x64(r1) +/* 800CBB58 000C8AB8 90 01 00 68 */ stw r0, 0x68(r1) +/* 800CBB5C 000C8ABC 48 12 20 29 */ bl "__ct__17CWallCrawlerSwarmF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fRC8CAnimResRC8CAnimResUiUiUiUiRC11CDamageInfoffffiiffffffffi16CActorParameters" +/* 800CBB60 000C8AC0 7C 72 1B 78 */ mr r18, r3 +lbl_800CBB64: +/* 800CBB64 000C8AC4 7D E0 07 75 */ extsb. r0, r15 +/* 800CBB68 000C8AC8 41 82 00 10 */ beq lbl_800CBB78 +/* 800CBB6C 000C8ACC 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800CBB70 000C8AD0 38 80 FF FF */ li r4, -1 +/* 800CBB74 000C8AD4 48 03 AA 95 */ bl __dt__16CActorParametersFv +lbl_800CBB78: +/* 800CBB78 000C8AD8 38 61 02 10 */ addi r3, r1, 0x210 +/* 800CBB7C 000C8ADC 38 80 FF FF */ li r4, -1 +/* 800CBB80 000C8AE0 48 03 AA 89 */ bl __dt__16CActorParametersFv +/* 800CBB84 000C8AE4 38 61 02 78 */ addi r3, r1, 0x278 +/* 800CBB88 000C8AE8 48 27 1F 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CBB8C 000C8AEC 7E 43 93 78 */ mr r3, r18 +lbl_800CBB90: +/* 800CBB90 000C8AF0 E3 E1 04 08 */ psq_l f31, 1032(r1), 0, qr0 +/* 800CBB94 000C8AF4 CB E1 04 00 */ lfd f31, 0x400(r1) +/* 800CBB98 000C8AF8 E3 C1 03 F8 */ psq_l f30, 1016(r1), 0, qr0 +/* 800CBB9C 000C8AFC CB C1 03 F0 */ lfd f30, 0x3f0(r1) +/* 800CBBA0 000C8B00 E3 A1 03 E8 */ psq_l f29, 1000(r1), 0, qr0 +/* 800CBBA4 000C8B04 CB A1 03 E0 */ lfd f29, 0x3e0(r1) +/* 800CBBA8 000C8B08 E3 81 03 D8 */ psq_l f28, 984(r1), 0, qr0 +/* 800CBBAC 000C8B0C CB 81 03 D0 */ lfd f28, 0x3d0(r1) +/* 800CBBB0 000C8B10 E3 61 03 C8 */ psq_l f27, 968(r1), 0, qr0 +/* 800CBBB4 000C8B14 CB 61 03 C0 */ lfd f27, 0x3c0(r1) +/* 800CBBB8 000C8B18 E3 41 03 B8 */ psq_l f26, 952(r1), 0, qr0 +/* 800CBBBC 000C8B1C CB 41 03 B0 */ lfd f26, 0x3b0(r1) +/* 800CBBC0 000C8B20 E3 21 03 A8 */ psq_l f25, 936(r1), 0, qr0 +/* 800CBBC4 000C8B24 CB 21 03 A0 */ lfd f25, 0x3a0(r1) +/* 800CBBC8 000C8B28 E3 01 03 98 */ psq_l f24, 920(r1), 0, qr0 +/* 800CBBCC 000C8B2C CB 01 03 90 */ lfd f24, 0x390(r1) +/* 800CBBD0 000C8B30 E2 E1 03 88 */ psq_l f23, 904(r1), 0, qr0 +/* 800CBBD4 000C8B34 CA E1 03 80 */ lfd f23, 0x380(r1) +/* 800CBBD8 000C8B38 E2 C1 03 78 */ psq_l f22, 888(r1), 0, qr0 +/* 800CBBDC 000C8B3C CA C1 03 70 */ lfd f22, 0x370(r1) +/* 800CBBE0 000C8B40 E2 A1 03 68 */ psq_l f21, 872(r1), 0, qr0 +/* 800CBBE4 000C8B44 CA A1 03 60 */ lfd f21, 0x360(r1) +/* 800CBBE8 000C8B48 E2 81 03 58 */ psq_l f20, 856(r1), 0, qr0 +/* 800CBBEC 000C8B4C CA 81 03 50 */ lfd f20, 0x350(r1) +/* 800CBBF0 000C8B50 E2 61 03 48 */ psq_l f19, 840(r1), 0, qr0 +/* 800CBBF4 000C8B54 CA 61 03 40 */ lfd f19, 0x340(r1) +/* 800CBBF8 000C8B58 E2 41 03 38 */ psq_l f18, 824(r1), 0, qr0 +/* 800CBBFC 000C8B5C CA 41 03 30 */ lfd f18, 0x330(r1) +/* 800CBC00 000C8B60 E2 21 03 28 */ psq_l f17, 808(r1), 0, qr0 +/* 800CBC04 000C8B64 CA 21 03 20 */ lfd f17, 0x320(r1) +/* 800CBC08 000C8B68 E2 01 03 18 */ psq_l f16, 792(r1), 0, qr0 +/* 800CBC0C 000C8B6C CA 01 03 10 */ lfd f16, 0x310(r1) +/* 800CBC10 000C8B70 B9 C1 02 C8 */ lmw r14, 0x2c8(r1) +/* 800CBC14 000C8B74 80 01 04 14 */ lwz r0, 0x414(r1) +/* 800CBC18 000C8B78 7C 08 03 A6 */ mtlr r0 +/* 800CBC1C 000C8B7C 38 21 04 10 */ addi r1, r1, 0x410 +/* 800CBC20 000C8B80 4E 80 00 20 */ blr + +.global LoadThardus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadThardus__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CBC24 000C8B84 94 21 F6 B0 */ stwu r1, -0x950(r1) +/* 800CBC28 000C8B88 7C 08 02 A6 */ mflr r0 +/* 800CBC2C 000C8B8C 90 01 09 54 */ stw r0, 0x954(r1) +/* 800CBC30 000C8B90 DB E1 09 40 */ stfd f31, 0x940(r1) +/* 800CBC34 000C8B94 F3 E1 09 48 */ psq_st f31, -1720(r1), 0, qr0 +/* 800CBC38 000C8B98 DB C1 09 30 */ stfd f30, 0x930(r1) +/* 800CBC3C 000C8B9C F3 C1 09 38 */ psq_st f30, -1736(r1), 0, qr0 +/* 800CBC40 000C8BA0 DB A1 09 20 */ stfd f29, 0x920(r1) +/* 800CBC44 000C8BA4 F3 A1 09 28 */ psq_st f29, -1752(r1), 0, qr0 +/* 800CBC48 000C8BA8 DB 81 09 10 */ stfd f28, 0x910(r1) +/* 800CBC4C 000C8BAC F3 81 09 18 */ psq_st f28, -1768(r1), 0, qr0 +/* 800CBC50 000C8BB0 DB 61 09 00 */ stfd f27, 0x900(r1) +/* 800CBC54 000C8BB4 F3 61 09 08 */ psq_st f27, -1784(r1), 0, qr0 +/* 800CBC58 000C8BB8 DB 41 08 F0 */ stfd f26, 0x8f0(r1) +/* 800CBC5C 000C8BBC F3 41 08 F8 */ psq_st f26, -1800(r1), 0, qr0 +/* 800CBC60 000C8BC0 BD C1 08 A8 */ stmw r14, 0x8a8(r1) +/* 800CBC64 000C8BC4 7C AE 2B 78 */ mr r14, r5 +/* 800CBC68 000C8BC8 90 C1 00 50 */ stw r6, 0x50(r1) +/* 800CBC6C 000C8BCC 2C 0E 00 2B */ cmpwi r14, 0x2b +/* 800CBC70 000C8BD0 7C 7F 1B 78 */ mr r31, r3 +/* 800CBC74 000C8BD4 7C 9E 23 78 */ mr r30, r4 +/* 800CBC78 000C8BD8 40 80 00 0C */ bge lbl_800CBC84 +/* 800CBC7C 000C8BDC 38 60 00 00 */ li r3, 0 +/* 800CBC80 000C8BE0 48 00 07 C0 */ b lbl_800CC440 +lbl_800CBC84: +/* 800CBC84 000C8BE4 7F E5 FB 78 */ mr r5, r31 +/* 800CBC88 000C8BE8 38 61 06 E4 */ addi r3, r1, 0x6e4 +/* 800CBC8C 000C8BEC 48 00 E7 F1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800CBC90 000C8BF0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CBC94 000C8BF4 7F C4 F3 78 */ mr r4, r30 +/* 800CBC98 000C8BF8 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800CBC9C 000C8BFC 38 61 00 7C */ addi r3, r1, 0x7c +/* 800CBCA0 000C8C00 38 A5 00 D5 */ addi r5, r5, 0xd5 +/* 800CBCA4 000C8C04 48 03 9B 85 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800CBCA8 000C8C08 88 01 00 7C */ lbz r0, 0x7c(r1) +/* 800CBCAC 000C8C0C 80 A1 00 80 */ lwz r5, 0x80(r1) +/* 800CBCB0 000C8C10 28 00 00 00 */ cmplwi r0, 0 +/* 800CBCB4 000C8C14 40 82 00 14 */ bne lbl_800CBCC8 +/* 800CBCB8 000C8C18 38 61 06 E4 */ addi r3, r1, 0x6e4 +/* 800CBCBC 000C8C1C 48 27 1E 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CBCC0 000C8C20 38 60 00 00 */ li r3, 0 +/* 800CBCC4 000C8C24 48 00 07 7C */ b lbl_800CC440 +lbl_800CBCC8: +/* 800CBCC8 000C8C28 7F C4 F3 78 */ mr r4, r30 +/* 800CBCCC 000C8C2C 38 61 07 30 */ addi r3, r1, 0x730 +/* 800CBCD0 000C8C30 48 03 9B A9 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800CBCD4 000C8C34 7F C4 F3 78 */ mr r4, r30 +/* 800CBCD8 000C8C38 38 61 06 14 */ addi r3, r1, 0x614 +/* 800CBCDC 000C8C3C 48 00 E0 99 */ bl LoadActorParameters__FR12CInputStream +/* 800CBCE0 000C8C40 38 61 06 7C */ addi r3, r1, 0x67c +/* 800CBCE4 000C8C44 38 81 06 14 */ addi r4, r1, 0x614 +/* 800CBCE8 000C8C48 4B FF 99 35 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CBCEC 000C8C4C 38 61 06 14 */ addi r3, r1, 0x614 +/* 800CBCF0 000C8C50 38 80 FF FF */ li r4, -1 +/* 800CBCF4 000C8C54 48 03 A9 15 */ bl __dt__16CActorParametersFv +/* 800CBCF8 000C8C58 7F C3 F3 78 */ mr r3, r30 +/* 800CBCFC 000C8C5C 48 27 2F E1 */ bl ReadBool__12CInputStreamFv +/* 800CBD00 000C8C60 7F C3 F3 78 */ mr r3, r30 +/* 800CBD04 000C8C64 48 27 2F D9 */ bl ReadBool__12CInputStreamFv +/* 800CBD08 000C8C68 80 61 08 1C */ lwz r3, 0x81c(r1) +/* 800CBD0C 000C8C6C 3C 03 00 01 */ addis r0, r3, 1 +/* 800CBD10 000C8C70 28 00 FF FF */ cmplwi r0, 0xffff +/* 800CBD14 000C8C74 40 82 00 20 */ bne lbl_800CBD34 +/* 800CBD18 000C8C78 38 61 06 7C */ addi r3, r1, 0x67c +/* 800CBD1C 000C8C7C 38 80 FF FF */ li r4, -1 +/* 800CBD20 000C8C80 48 03 A8 E9 */ bl __dt__16CActorParametersFv +/* 800CBD24 000C8C84 38 61 06 E4 */ addi r3, r1, 0x6e4 +/* 800CBD28 000C8C88 48 27 1D B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CBD2C 000C8C8C 38 60 00 00 */ li r3, 0 +/* 800CBD30 000C8C90 48 00 07 10 */ b lbl_800CC440 +lbl_800CBD34: +/* 800CBD34 000C8C94 7F C3 F3 78 */ mr r3, r30 +/* 800CBD38 000C8C98 48 27 2F 4D */ bl ReadLong__12CInputStreamFv +/* 800CBD3C 000C8C9C 7C 70 1B 78 */ mr r16, r3 +/* 800CBD40 000C8CA0 7F C3 F3 78 */ mr r3, r30 +/* 800CBD44 000C8CA4 48 27 2F 41 */ bl ReadLong__12CInputStreamFv +/* 800CBD48 000C8CA8 7C 71 1B 78 */ mr r17, r3 +/* 800CBD4C 000C8CAC 7F C3 F3 78 */ mr r3, r30 +/* 800CBD50 000C8CB0 48 27 2F 35 */ bl ReadLong__12CInputStreamFv +/* 800CBD54 000C8CB4 7C 72 1B 78 */ mr r18, r3 +/* 800CBD58 000C8CB8 7F C3 F3 78 */ mr r3, r30 +/* 800CBD5C 000C8CBC 48 27 2F 29 */ bl ReadLong__12CInputStreamFv +/* 800CBD60 000C8CC0 7C 73 1B 78 */ mr r19, r3 +/* 800CBD64 000C8CC4 7F C3 F3 78 */ mr r3, r30 +/* 800CBD68 000C8CC8 48 27 2F 1D */ bl ReadLong__12CInputStreamFv +/* 800CBD6C 000C8CCC 7C 74 1B 78 */ mr r20, r3 +/* 800CBD70 000C8CD0 7F C3 F3 78 */ mr r3, r30 +/* 800CBD74 000C8CD4 48 27 2F 11 */ bl ReadLong__12CInputStreamFv +/* 800CBD78 000C8CD8 7C 75 1B 78 */ mr r21, r3 +/* 800CBD7C 000C8CDC 7F C3 F3 78 */ mr r3, r30 +/* 800CBD80 000C8CE0 48 27 2F 05 */ bl ReadLong__12CInputStreamFv +/* 800CBD84 000C8CE4 7C 76 1B 78 */ mr r22, r3 +/* 800CBD88 000C8CE8 7F C3 F3 78 */ mr r3, r30 +/* 800CBD8C 000C8CEC 48 27 2E F9 */ bl ReadLong__12CInputStreamFv +/* 800CBD90 000C8CF0 7C 77 1B 78 */ mr r23, r3 +/* 800CBD94 000C8CF4 7F C3 F3 78 */ mr r3, r30 +/* 800CBD98 000C8CF8 48 27 2E ED */ bl ReadLong__12CInputStreamFv +/* 800CBD9C 000C8CFC 7C 78 1B 78 */ mr r24, r3 +/* 800CBDA0 000C8D00 7F C3 F3 78 */ mr r3, r30 +/* 800CBDA4 000C8D04 48 27 2E E1 */ bl ReadLong__12CInputStreamFv +/* 800CBDA8 000C8D08 7C 79 1B 78 */ mr r25, r3 +/* 800CBDAC 000C8D0C 7F C3 F3 78 */ mr r3, r30 +/* 800CBDB0 000C8D10 48 27 2E D5 */ bl ReadLong__12CInputStreamFv +/* 800CBDB4 000C8D14 7C 7A 1B 78 */ mr r26, r3 +/* 800CBDB8 000C8D18 7F C3 F3 78 */ mr r3, r30 +/* 800CBDBC 000C8D1C 48 27 2E C9 */ bl ReadLong__12CInputStreamFv +/* 800CBDC0 000C8D20 7C 7B 1B 78 */ mr r27, r3 +/* 800CBDC4 000C8D24 7F C3 F3 78 */ mr r3, r30 +/* 800CBDC8 000C8D28 48 27 2E BD */ bl ReadLong__12CInputStreamFv +/* 800CBDCC 000C8D2C 7C 7C 1B 78 */ mr r28, r3 +/* 800CBDD0 000C8D30 7F C3 F3 78 */ mr r3, r30 +/* 800CBDD4 000C8D34 48 27 2E B1 */ bl ReadLong__12CInputStreamFv +/* 800CBDD8 000C8D38 90 61 08 68 */ stw r3, 0x868(r1) +/* 800CBDDC 000C8D3C 7F C3 F3 78 */ mr r3, r30 +/* 800CBDE0 000C8D40 48 27 2E A5 */ bl ReadLong__12CInputStreamFv +/* 800CBDE4 000C8D44 90 61 08 6C */ stw r3, 0x86c(r1) +/* 800CBDE8 000C8D48 7F C3 F3 78 */ mr r3, r30 +/* 800CBDEC 000C8D4C 48 27 2E 99 */ bl ReadLong__12CInputStreamFv +/* 800CBDF0 000C8D50 90 61 08 70 */ stw r3, 0x870(r1) +/* 800CBDF4 000C8D54 7F C3 F3 78 */ mr r3, r30 +/* 800CBDF8 000C8D58 48 27 2E 8D */ bl ReadLong__12CInputStreamFv +/* 800CBDFC 000C8D5C 90 61 08 74 */ stw r3, 0x874(r1) +/* 800CBE00 000C8D60 7F C3 F3 78 */ mr r3, r30 +/* 800CBE04 000C8D64 48 27 2E 81 */ bl ReadLong__12CInputStreamFv +/* 800CBE08 000C8D68 90 61 08 78 */ stw r3, 0x878(r1) +/* 800CBE0C 000C8D6C 7F C3 F3 78 */ mr r3, r30 +/* 800CBE10 000C8D70 48 27 2E 75 */ bl ReadLong__12CInputStreamFv +/* 800CBE14 000C8D74 90 61 08 7C */ stw r3, 0x87c(r1) +/* 800CBE18 000C8D78 7F C3 F3 78 */ mr r3, r30 +/* 800CBE1C 000C8D7C 48 27 2E 69 */ bl ReadLong__12CInputStreamFv +/* 800CBE20 000C8D80 90 61 08 80 */ stw r3, 0x880(r1) +/* 800CBE24 000C8D84 7F C3 F3 78 */ mr r3, r30 +/* 800CBE28 000C8D88 48 27 2E 5D */ bl ReadLong__12CInputStreamFv +/* 800CBE2C 000C8D8C 90 61 08 84 */ stw r3, 0x884(r1) +/* 800CBE30 000C8D90 7F C3 F3 78 */ mr r3, r30 +/* 800CBE34 000C8D94 48 27 2E 51 */ bl ReadLong__12CInputStreamFv +/* 800CBE38 000C8D98 90 61 08 88 */ stw r3, 0x888(r1) +/* 800CBE3C 000C8D9C 7F C3 F3 78 */ mr r3, r30 +/* 800CBE40 000C8DA0 48 27 2E 45 */ bl ReadLong__12CInputStreamFv +/* 800CBE44 000C8DA4 90 61 08 8C */ stw r3, 0x88c(r1) +/* 800CBE48 000C8DA8 7F C3 F3 78 */ mr r3, r30 +/* 800CBE4C 000C8DAC 48 27 2E 39 */ bl ReadLong__12CInputStreamFv +/* 800CBE50 000C8DB0 90 61 08 90 */ stw r3, 0x890(r1) +/* 800CBE54 000C8DB4 7F C3 F3 78 */ mr r3, r30 +/* 800CBE58 000C8DB8 48 27 2D D1 */ bl ReadFloat__12CInputStreamFv +/* 800CBE5C 000C8DBC FF E0 08 90 */ fmr f31, f1 +/* 800CBE60 000C8DC0 7F C3 F3 78 */ mr r3, r30 +/* 800CBE64 000C8DC4 48 27 2D C5 */ bl ReadFloat__12CInputStreamFv +/* 800CBE68 000C8DC8 FF C0 08 90 */ fmr f30, f1 +/* 800CBE6C 000C8DCC 7F C3 F3 78 */ mr r3, r30 +/* 800CBE70 000C8DD0 48 27 2D B9 */ bl ReadFloat__12CInputStreamFv +/* 800CBE74 000C8DD4 FF A0 08 90 */ fmr f29, f1 +/* 800CBE78 000C8DD8 7F C3 F3 78 */ mr r3, r30 +/* 800CBE7C 000C8DDC 48 27 2D AD */ bl ReadFloat__12CInputStreamFv +/* 800CBE80 000C8DE0 FF 80 08 90 */ fmr f28, f1 +/* 800CBE84 000C8DE4 7F C3 F3 78 */ mr r3, r30 +/* 800CBE88 000C8DE8 48 27 2D A1 */ bl ReadFloat__12CInputStreamFv +/* 800CBE8C 000C8DEC FF 60 08 90 */ fmr f27, f1 +/* 800CBE90 000C8DF0 7F C3 F3 78 */ mr r3, r30 +/* 800CBE94 000C8DF4 48 27 2D 95 */ bl ReadFloat__12CInputStreamFv +/* 800CBE98 000C8DF8 FF 40 08 90 */ fmr f26, f1 +/* 800CBE9C 000C8DFC 7F C3 F3 78 */ mr r3, r30 +/* 800CBEA0 000C8E00 48 27 2D E5 */ bl ReadLong__12CInputStreamFv +/* 800CBEA4 000C8E04 90 61 08 94 */ stw r3, 0x894(r1) +/* 800CBEA8 000C8E08 7F C3 F3 78 */ mr r3, r30 +/* 800CBEAC 000C8E0C 48 27 2D D9 */ bl ReadLong__12CInputStreamFv +/* 800CBEB0 000C8E10 2C 0E 00 2B */ cmpwi r14, 0x2b +/* 800CBEB4 000C8E14 90 61 08 98 */ stw r3, 0x898(r1) +/* 800CBEB8 000C8E18 40 81 00 14 */ ble lbl_800CBECC +/* 800CBEBC 000C8E1C 7F C3 F3 78 */ mr r3, r30 +/* 800CBEC0 000C8E20 48 27 2D C5 */ bl ReadLong__12CInputStreamFv +/* 800CBEC4 000C8E24 7C 6F 1B 78 */ mr r15, r3 +/* 800CBEC8 000C8E28 48 00 00 08 */ b lbl_800CBED0 +lbl_800CBECC: +/* 800CBECC 000C8E2C 39 E0 FF FF */ li r15, -1 +lbl_800CBED0: +/* 800CBED0 000C8E30 7F C3 F3 78 */ mr r3, r30 +/* 800CBED4 000C8E34 48 27 2D B1 */ bl ReadLong__12CInputStreamFv +/* 800CBED8 000C8E38 7C 7D 1B 78 */ mr r29, r3 +/* 800CBEDC 000C8E3C 7F C3 F3 78 */ mr r3, r30 +/* 800CBEE0 000C8E40 48 27 2D A5 */ bl ReadLong__12CInputStreamFv +/* 800CBEE4 000C8E44 7C 6E 1B 78 */ mr r14, r3 +/* 800CBEE8 000C8E48 7F C3 F3 78 */ mr r3, r30 +/* 800CBEEC 000C8E4C 48 27 2D 99 */ bl ReadLong__12CInputStreamFv +/* 800CBEF0 000C8E50 38 00 00 00 */ li r0, 0 +/* 800CBEF4 000C8E54 7C 7E 1B 78 */ mr r30, r3 +/* 800CBEF8 000C8E58 90 01 01 78 */ stw r0, 0x178(r1) +/* 800CBEFC 000C8E5C 38 61 01 64 */ addi r3, r1, 0x164 +/* 800CBF00 000C8E60 38 80 00 07 */ li r4, 7 +/* 800CBF04 000C8E64 90 01 01 7C */ stw r0, 0x17c(r1) +/* 800CBF08 000C8E68 90 01 01 80 */ stw r0, 0x180(r1) +/* 800CBF0C 000C8E6C 90 01 01 68 */ stw r0, 0x168(r1) +/* 800CBF10 000C8E70 90 01 01 6C */ stw r0, 0x16c(r1) +/* 800CBF14 000C8E74 90 01 01 70 */ stw r0, 0x170(r1) +/* 800CBF18 000C8E78 48 00 E9 D5 */ bl sub_800da8ec +/* 800CBF1C 000C8E7C 38 61 01 74 */ addi r3, r1, 0x174 +/* 800CBF20 000C8E80 38 80 00 07 */ li r4, 7 +/* 800CBF24 000C8E84 48 00 E9 C9 */ bl sub_800da8ec +/* 800CBF28 000C8E88 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CBF2C 000C8E8C 38 61 05 C8 */ addi r3, r1, 0x5c8 +/* 800CBF30 000C8E90 92 E1 01 54 */ stw r23, 0x154(r1) +/* 800CBF34 000C8E94 38 81 01 54 */ addi r4, r1, 0x154 +/* 800CBF38 000C8E98 D0 01 01 58 */ stfs f0, 0x158(r1) +/* 800CBF3C 000C8E9C D0 01 01 5C */ stfs f0, 0x15c(r1) +/* 800CBF40 000C8EA0 D0 01 01 60 */ stfs f0, 0x160(r1) +/* 800CBF44 000C8EA4 48 04 AE 19 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CBF48 000C8EA8 38 61 01 64 */ addi r3, r1, 0x164 +/* 800CBF4C 000C8EAC 38 81 05 C8 */ addi r4, r1, 0x5c8 +/* 800CBF50 000C8EB0 4B FF F5 E5 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CBF54 000C8EB4 38 61 05 C8 */ addi r3, r1, 0x5c8 +/* 800CBF58 000C8EB8 38 80 FF FF */ li r4, -1 +/* 800CBF5C 000C8EBC 48 04 AA F1 */ bl __dt__10CModelDataFv +/* 800CBF60 000C8EC0 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CBF64 000C8EC4 38 61 05 7C */ addi r3, r1, 0x57c +/* 800CBF68 000C8EC8 93 01 01 44 */ stw r24, 0x144(r1) +/* 800CBF6C 000C8ECC 38 81 01 44 */ addi r4, r1, 0x144 +/* 800CBF70 000C8ED0 D0 01 01 48 */ stfs f0, 0x148(r1) +/* 800CBF74 000C8ED4 D0 01 01 4C */ stfs f0, 0x14c(r1) +/* 800CBF78 000C8ED8 D0 01 01 50 */ stfs f0, 0x150(r1) +/* 800CBF7C 000C8EDC 48 04 AD E1 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CBF80 000C8EE0 38 61 01 64 */ addi r3, r1, 0x164 +/* 800CBF84 000C8EE4 38 81 05 7C */ addi r4, r1, 0x57c +/* 800CBF88 000C8EE8 4B FF F5 AD */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CBF8C 000C8EEC 38 61 05 7C */ addi r3, r1, 0x57c +/* 800CBF90 000C8EF0 38 80 FF FF */ li r4, -1 +/* 800CBF94 000C8EF4 48 04 AA B9 */ bl __dt__10CModelDataFv +/* 800CBF98 000C8EF8 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CBF9C 000C8EFC 38 61 05 30 */ addi r3, r1, 0x530 +/* 800CBFA0 000C8F00 93 21 01 34 */ stw r25, 0x134(r1) +/* 800CBFA4 000C8F04 38 81 01 34 */ addi r4, r1, 0x134 +/* 800CBFA8 000C8F08 D0 01 01 38 */ stfs f0, 0x138(r1) +/* 800CBFAC 000C8F0C D0 01 01 3C */ stfs f0, 0x13c(r1) +/* 800CBFB0 000C8F10 D0 01 01 40 */ stfs f0, 0x140(r1) +/* 800CBFB4 000C8F14 48 04 AD A9 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CBFB8 000C8F18 38 61 01 64 */ addi r3, r1, 0x164 +/* 800CBFBC 000C8F1C 38 81 05 30 */ addi r4, r1, 0x530 +/* 800CBFC0 000C8F20 4B FF F5 75 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CBFC4 000C8F24 38 61 05 30 */ addi r3, r1, 0x530 +/* 800CBFC8 000C8F28 38 80 FF FF */ li r4, -1 +/* 800CBFCC 000C8F2C 48 04 AA 81 */ bl __dt__10CModelDataFv +/* 800CBFD0 000C8F30 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CBFD4 000C8F34 38 61 04 E4 */ addi r3, r1, 0x4e4 +/* 800CBFD8 000C8F38 93 41 01 24 */ stw r26, 0x124(r1) +/* 800CBFDC 000C8F3C 38 81 01 24 */ addi r4, r1, 0x124 +/* 800CBFE0 000C8F40 D0 01 01 28 */ stfs f0, 0x128(r1) +/* 800CBFE4 000C8F44 D0 01 01 2C */ stfs f0, 0x12c(r1) +/* 800CBFE8 000C8F48 D0 01 01 30 */ stfs f0, 0x130(r1) +/* 800CBFEC 000C8F4C 48 04 AD 71 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CBFF0 000C8F50 38 61 01 64 */ addi r3, r1, 0x164 +/* 800CBFF4 000C8F54 38 81 04 E4 */ addi r4, r1, 0x4e4 +/* 800CBFF8 000C8F58 4B FF F5 3D */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CBFFC 000C8F5C 38 61 04 E4 */ addi r3, r1, 0x4e4 +/* 800CC000 000C8F60 38 80 FF FF */ li r4, -1 +/* 800CC004 000C8F64 48 04 AA 49 */ bl __dt__10CModelDataFv +/* 800CC008 000C8F68 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CC00C 000C8F6C 38 61 04 98 */ addi r3, r1, 0x498 +/* 800CC010 000C8F70 93 61 01 14 */ stw r27, 0x114(r1) +/* 800CC014 000C8F74 38 81 01 14 */ addi r4, r1, 0x114 +/* 800CC018 000C8F78 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 800CC01C 000C8F7C D0 01 01 1C */ stfs f0, 0x11c(r1) +/* 800CC020 000C8F80 D0 01 01 20 */ stfs f0, 0x120(r1) +/* 800CC024 000C8F84 48 04 AD 39 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CC028 000C8F88 38 61 01 64 */ addi r3, r1, 0x164 +/* 800CC02C 000C8F8C 38 81 04 98 */ addi r4, r1, 0x498 +/* 800CC030 000C8F90 4B FF F5 05 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CC034 000C8F94 38 61 04 98 */ addi r3, r1, 0x498 +/* 800CC038 000C8F98 38 80 FF FF */ li r4, -1 +/* 800CC03C 000C8F9C 48 04 AA 11 */ bl __dt__10CModelDataFv +/* 800CC040 000C8FA0 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CC044 000C8FA4 38 61 04 4C */ addi r3, r1, 0x44c +/* 800CC048 000C8FA8 93 81 01 04 */ stw r28, 0x104(r1) +/* 800CC04C 000C8FAC 38 81 01 04 */ addi r4, r1, 0x104 +/* 800CC050 000C8FB0 D0 01 01 08 */ stfs f0, 0x108(r1) +/* 800CC054 000C8FB4 D0 01 01 0C */ stfs f0, 0x10c(r1) +/* 800CC058 000C8FB8 D0 01 01 10 */ stfs f0, 0x110(r1) +/* 800CC05C 000C8FBC 48 04 AD 01 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CC060 000C8FC0 38 61 01 64 */ addi r3, r1, 0x164 +/* 800CC064 000C8FC4 38 81 04 4C */ addi r4, r1, 0x44c +/* 800CC068 000C8FC8 4B FF F4 CD */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CC06C 000C8FCC 38 61 04 4C */ addi r3, r1, 0x44c +/* 800CC070 000C8FD0 38 80 FF FF */ li r4, -1 +/* 800CC074 000C8FD4 48 04 A9 D9 */ bl __dt__10CModelDataFv +/* 800CC078 000C8FD8 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CC07C 000C8FDC 38 61 04 00 */ addi r3, r1, 0x400 +/* 800CC080 000C8FE0 80 01 08 68 */ lwz r0, 0x868(r1) +/* 800CC084 000C8FE4 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 800CC088 000C8FE8 D0 01 00 F8 */ stfs f0, 0xf8(r1) +/* 800CC08C 000C8FEC 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800CC090 000C8FF0 D0 01 00 FC */ stfs f0, 0xfc(r1) +/* 800CC094 000C8FF4 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 800CC098 000C8FF8 48 04 AC C5 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CC09C 000C8FFC 38 61 01 64 */ addi r3, r1, 0x164 +/* 800CC0A0 000C9000 38 81 04 00 */ addi r4, r1, 0x400 +/* 800CC0A4 000C9004 4B FF F4 91 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CC0A8 000C9008 38 61 04 00 */ addi r3, r1, 0x400 +/* 800CC0AC 000C900C 38 80 FF FF */ li r4, -1 +/* 800CC0B0 000C9010 48 04 A9 9D */ bl __dt__10CModelDataFv +/* 800CC0B4 000C9014 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CC0B8 000C9018 38 61 03 B4 */ addi r3, r1, 0x3b4 +/* 800CC0BC 000C901C 92 01 00 E4 */ stw r16, 0xe4(r1) +/* 800CC0C0 000C9020 38 81 00 E4 */ addi r4, r1, 0xe4 +/* 800CC0C4 000C9024 D0 01 00 E8 */ stfs f0, 0xe8(r1) +/* 800CC0C8 000C9028 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 800CC0CC 000C902C D0 01 00 F0 */ stfs f0, 0xf0(r1) +/* 800CC0D0 000C9030 48 04 AC 8D */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CC0D4 000C9034 38 61 01 74 */ addi r3, r1, 0x174 +/* 800CC0D8 000C9038 38 81 03 B4 */ addi r4, r1, 0x3b4 +/* 800CC0DC 000C903C 4B FF F4 59 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CC0E0 000C9040 38 61 03 B4 */ addi r3, r1, 0x3b4 +/* 800CC0E4 000C9044 38 80 FF FF */ li r4, -1 +/* 800CC0E8 000C9048 48 04 A9 65 */ bl __dt__10CModelDataFv +/* 800CC0EC 000C904C C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CC0F0 000C9050 38 61 03 68 */ addi r3, r1, 0x368 +/* 800CC0F4 000C9054 92 21 00 D4 */ stw r17, 0xd4(r1) +/* 800CC0F8 000C9058 38 81 00 D4 */ addi r4, r1, 0xd4 +/* 800CC0FC 000C905C D0 01 00 D8 */ stfs f0, 0xd8(r1) +/* 800CC100 000C9060 D0 01 00 DC */ stfs f0, 0xdc(r1) +/* 800CC104 000C9064 D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 800CC108 000C9068 48 04 AC 55 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CC10C 000C906C 38 61 01 74 */ addi r3, r1, 0x174 +/* 800CC110 000C9070 38 81 03 68 */ addi r4, r1, 0x368 +/* 800CC114 000C9074 4B FF F4 21 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CC118 000C9078 38 61 03 68 */ addi r3, r1, 0x368 +/* 800CC11C 000C907C 38 80 FF FF */ li r4, -1 +/* 800CC120 000C9080 48 04 A9 2D */ bl __dt__10CModelDataFv +/* 800CC124 000C9084 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CC128 000C9088 38 61 03 1C */ addi r3, r1, 0x31c +/* 800CC12C 000C908C 92 41 00 C4 */ stw r18, 0xc4(r1) +/* 800CC130 000C9090 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 800CC134 000C9094 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 800CC138 000C9098 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 800CC13C 000C909C D0 01 00 D0 */ stfs f0, 0xd0(r1) +/* 800CC140 000C90A0 48 04 AC 1D */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CC144 000C90A4 38 61 01 74 */ addi r3, r1, 0x174 +/* 800CC148 000C90A8 38 81 03 1C */ addi r4, r1, 0x31c +/* 800CC14C 000C90AC 4B FF F3 E9 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CC150 000C90B0 38 61 03 1C */ addi r3, r1, 0x31c +/* 800CC154 000C90B4 38 80 FF FF */ li r4, -1 +/* 800CC158 000C90B8 48 04 A8 F5 */ bl __dt__10CModelDataFv +/* 800CC15C 000C90BC C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CC160 000C90C0 38 61 02 D0 */ addi r3, r1, 0x2d0 +/* 800CC164 000C90C4 92 61 00 B4 */ stw r19, 0xb4(r1) +/* 800CC168 000C90C8 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 800CC16C 000C90CC D0 01 00 B8 */ stfs f0, 0xb8(r1) +/* 800CC170 000C90D0 D0 01 00 BC */ stfs f0, 0xbc(r1) +/* 800CC174 000C90D4 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 800CC178 000C90D8 48 04 AB E5 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CC17C 000C90DC 38 61 01 74 */ addi r3, r1, 0x174 +/* 800CC180 000C90E0 38 81 02 D0 */ addi r4, r1, 0x2d0 +/* 800CC184 000C90E4 4B FF F3 B1 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CC188 000C90E8 38 61 02 D0 */ addi r3, r1, 0x2d0 +/* 800CC18C 000C90EC 38 80 FF FF */ li r4, -1 +/* 800CC190 000C90F0 48 04 A8 BD */ bl __dt__10CModelDataFv +/* 800CC194 000C90F4 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CC198 000C90F8 38 61 02 84 */ addi r3, r1, 0x284 +/* 800CC19C 000C90FC 92 81 00 A4 */ stw r20, 0xa4(r1) +/* 800CC1A0 000C9100 38 81 00 A4 */ addi r4, r1, 0xa4 +/* 800CC1A4 000C9104 D0 01 00 A8 */ stfs f0, 0xa8(r1) +/* 800CC1A8 000C9108 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 800CC1AC 000C910C D0 01 00 B0 */ stfs f0, 0xb0(r1) +/* 800CC1B0 000C9110 48 04 AB AD */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CC1B4 000C9114 38 61 01 74 */ addi r3, r1, 0x174 +/* 800CC1B8 000C9118 38 81 02 84 */ addi r4, r1, 0x284 +/* 800CC1BC 000C911C 4B FF F3 79 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CC1C0 000C9120 38 61 02 84 */ addi r3, r1, 0x284 +/* 800CC1C4 000C9124 38 80 FF FF */ li r4, -1 +/* 800CC1C8 000C9128 48 04 A8 85 */ bl __dt__10CModelDataFv +/* 800CC1CC 000C912C C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CC1D0 000C9130 38 61 02 38 */ addi r3, r1, 0x238 +/* 800CC1D4 000C9134 92 A1 00 94 */ stw r21, 0x94(r1) +/* 800CC1D8 000C9138 38 81 00 94 */ addi r4, r1, 0x94 +/* 800CC1DC 000C913C D0 01 00 98 */ stfs f0, 0x98(r1) +/* 800CC1E0 000C9140 D0 01 00 9C */ stfs f0, 0x9c(r1) +/* 800CC1E4 000C9144 D0 01 00 A0 */ stfs f0, 0xa0(r1) +/* 800CC1E8 000C9148 48 04 AB 75 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CC1EC 000C914C 38 61 01 74 */ addi r3, r1, 0x174 +/* 800CC1F0 000C9150 38 81 02 38 */ addi r4, r1, 0x238 +/* 800CC1F4 000C9154 4B FF F3 41 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CC1F8 000C9158 38 61 02 38 */ addi r3, r1, 0x238 +/* 800CC1FC 000C915C 38 80 FF FF */ li r4, -1 +/* 800CC200 000C9160 48 04 A8 4D */ bl __dt__10CModelDataFv +/* 800CC204 000C9164 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CC208 000C9168 38 61 01 EC */ addi r3, r1, 0x1ec +/* 800CC20C 000C916C 92 C1 00 84 */ stw r22, 0x84(r1) +/* 800CC210 000C9170 38 81 00 84 */ addi r4, r1, 0x84 +/* 800CC214 000C9174 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800CC218 000C9178 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 800CC21C 000C917C D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800CC220 000C9180 48 04 AB 3D */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CC224 000C9184 38 61 01 74 */ addi r3, r1, 0x174 +/* 800CC228 000C9188 38 81 01 EC */ addi r4, r1, 0x1ec +/* 800CC22C 000C918C 4B FF F3 09 */ bl "construct<10CModelData>__4rstlFPvRC10CModelData" +/* 800CC230 000C9190 38 61 01 EC */ addi r3, r1, 0x1ec +/* 800CC234 000C9194 38 80 FF FF */ li r4, -1 +/* 800CC238 000C9198 48 04 A8 15 */ bl __dt__10CModelDataFv +/* 800CC23C 000C919C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CC240 000C91A0 3A 20 00 00 */ li r17, 0 +/* 800CC244 000C91A4 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CC248 000C91A8 38 60 09 60 */ li r3, 0x960 +/* 800CC24C 000C91AC 38 84 00 0D */ addi r4, r4, 0xd +/* 800CC250 000C91B0 38 A0 00 00 */ li r5, 0 +/* 800CC254 000C91B4 48 24 96 19 */ bl __nw__FUlPCcPCc +/* 800CC258 000C91B8 7C 70 1B 79 */ or. r16, r3, r3 +/* 800CC25C 000C91BC 41 82 01 20 */ beq lbl_800CC37C +/* 800CC260 000C91C0 80 E1 08 1C */ lwz r7, 0x81c(r1) +/* 800CC264 000C91C4 38 A0 00 01 */ li r5, 1 +/* 800CC268 000C91C8 80 C2 83 F0 */ lwz r6, lbl_805AA110@sda21(r2) +/* 800CC26C 000C91CC 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 800CC270 000C91D0 C0 41 07 24 */ lfs f2, 0x724(r1) +/* 800CC274 000C91D4 38 81 01 84 */ addi r4, r1, 0x184 +/* 800CC278 000C91D8 C0 21 07 28 */ lfs f1, 0x728(r1) +/* 800CC27C 000C91DC C0 01 07 2C */ lfs f0, 0x72c(r1) +/* 800CC280 000C91E0 80 01 08 24 */ lwz r0, 0x824(r1) +/* 800CC284 000C91E4 90 E1 01 84 */ stw r7, 0x184(r1) +/* 800CC288 000C91E8 90 C1 01 88 */ stw r6, 0x188(r1) +/* 800CC28C 000C91EC D0 41 01 8C */ stfs f2, 0x18c(r1) +/* 800CC290 000C91F0 D0 21 01 90 */ stfs f1, 0x190(r1) +/* 800CC294 000C91F4 D0 01 01 94 */ stfs f0, 0x194(r1) +/* 800CC298 000C91F8 98 A1 01 98 */ stb r5, 0x198(r1) +/* 800CC29C 000C91FC 90 01 01 9C */ stw r0, 0x19c(r1) +/* 800CC2A0 000C9200 48 04 A8 B5 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800CC2A4 000C9204 7F E4 FB 78 */ mr r4, r31 +/* 800CC2A8 000C9208 38 61 00 54 */ addi r3, r1, 0x54 +/* 800CC2AC 000C920C 3A 20 00 01 */ li r17, 1 +/* 800CC2B0 000C9210 4B F8 0E 2D */ bl AllocateUniqueId__13CStateManagerFv +/* 800CC2B4 000C9214 A0 61 00 54 */ lhz r3, 0x54(r1) +/* 800CC2B8 000C9218 38 81 01 74 */ addi r4, r1, 0x174 +/* 800CC2BC 000C921C 38 01 01 64 */ addi r0, r1, 0x164 +/* 800CC2C0 000C9220 FC 20 F8 90 */ fmr f1, f31 +/* 800CC2C4 000C9224 B0 61 00 58 */ sth r3, 0x58(r1) +/* 800CC2C8 000C9228 FC 40 F0 90 */ fmr f2, f30 +/* 800CC2CC 000C922C FC 60 E8 90 */ fmr f3, f29 +/* 800CC2D0 000C9230 80 C1 00 50 */ lwz r6, 0x50(r1) +/* 800CC2D4 000C9234 90 81 00 08 */ stw r4, 8(r1) +/* 800CC2D8 000C9238 FC 80 E0 90 */ fmr f4, f28 +/* 800CC2DC 000C923C 7E 03 83 78 */ mr r3, r16 +/* 800CC2E0 000C9240 90 01 00 0C */ stw r0, 0xc(r1) +/* 800CC2E4 000C9244 80 01 08 6C */ lwz r0, 0x86c(r1) +/* 800CC2E8 000C9248 FC A0 D8 90 */ fmr f5, f27 +/* 800CC2EC 000C924C FC C0 D0 90 */ fmr f6, f26 +/* 800CC2F0 000C9250 90 01 00 10 */ stw r0, 0x10(r1) +/* 800CC2F4 000C9254 38 81 00 58 */ addi r4, r1, 0x58 +/* 800CC2F8 000C9258 80 01 08 70 */ lwz r0, 0x870(r1) +/* 800CC2FC 000C925C 38 A1 06 E4 */ addi r5, r1, 0x6e4 +/* 800CC300 000C9260 38 E1 06 F4 */ addi r7, r1, 0x6f4 +/* 800CC304 000C9264 90 01 00 14 */ stw r0, 0x14(r1) +/* 800CC308 000C9268 39 01 01 A0 */ addi r8, r1, 0x1a0 +/* 800CC30C 000C926C 80 01 08 74 */ lwz r0, 0x874(r1) +/* 800CC310 000C9270 39 21 06 7C */ addi r9, r1, 0x67c +/* 800CC314 000C9274 39 41 07 30 */ addi r10, r1, 0x730 +/* 800CC318 000C9278 90 01 00 18 */ stw r0, 0x18(r1) +/* 800CC31C 000C927C 80 01 08 78 */ lwz r0, 0x878(r1) +/* 800CC320 000C9280 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800CC324 000C9284 80 01 08 7C */ lwz r0, 0x87c(r1) +/* 800CC328 000C9288 90 01 00 20 */ stw r0, 0x20(r1) +/* 800CC32C 000C928C 80 01 08 80 */ lwz r0, 0x880(r1) +/* 800CC330 000C9290 90 01 00 24 */ stw r0, 0x24(r1) +/* 800CC334 000C9294 80 01 08 84 */ lwz r0, 0x884(r1) +/* 800CC338 000C9298 90 01 00 28 */ stw r0, 0x28(r1) +/* 800CC33C 000C929C 80 01 08 88 */ lwz r0, 0x888(r1) +/* 800CC340 000C92A0 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800CC344 000C92A4 80 01 08 8C */ lwz r0, 0x88c(r1) +/* 800CC348 000C92A8 90 01 00 30 */ stw r0, 0x30(r1) +/* 800CC34C 000C92AC 80 01 08 90 */ lwz r0, 0x890(r1) +/* 800CC350 000C92B0 90 01 00 34 */ stw r0, 0x34(r1) +/* 800CC354 000C92B4 80 01 08 94 */ lwz r0, 0x894(r1) +/* 800CC358 000C92B8 90 01 00 38 */ stw r0, 0x38(r1) +/* 800CC35C 000C92BC 80 01 08 98 */ lwz r0, 0x898(r1) +/* 800CC360 000C92C0 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800CC364 000C92C4 91 E1 00 40 */ stw r15, 0x40(r1) +/* 800CC368 000C92C8 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800CC36C 000C92CC 91 C1 00 48 */ stw r14, 0x48(r1) +/* 800CC370 000C92D0 93 C1 00 4C */ stw r30, 0x4c(r1) +/* 800CC374 000C92D4 48 11 5E B1 */ bl "__ct__8CThardusF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoRCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>RCQ24rstl47vector<10CModelData,Q24rstl17rmemory_allocator>UiUiUifffffff" +/* 800CC378 000C92D8 7C 70 1B 78 */ mr r16, r3 +lbl_800CC37C: +/* 800CC37C 000C92DC 7E 20 07 75 */ extsb. r0, r17 +/* 800CC380 000C92E0 41 82 00 10 */ beq lbl_800CC390 +/* 800CC384 000C92E4 38 61 01 A0 */ addi r3, r1, 0x1a0 +/* 800CC388 000C92E8 38 80 FF FF */ li r4, -1 +/* 800CC38C 000C92EC 48 04 A6 C1 */ bl __dt__10CModelDataFv +lbl_800CC390: +/* 800CC390 000C92F0 80 01 01 68 */ lwz r0, 0x168(r1) +/* 800CC394 000C92F4 81 E1 01 70 */ lwz r15, 0x170(r1) +/* 800CC398 000C92F8 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800CC39C 000C92FC 91 E1 00 70 */ stw r15, 0x70(r1) +/* 800CC3A0 000C9300 7D CF 02 14 */ add r14, r15, r0 +/* 800CC3A4 000C9304 91 E1 00 6C */ stw r15, 0x6c(r1) +/* 800CC3A8 000C9308 91 C1 00 78 */ stw r14, 0x78(r1) +/* 800CC3AC 000C930C 91 C1 00 74 */ stw r14, 0x74(r1) +/* 800CC3B0 000C9310 48 00 00 14 */ b lbl_800CC3C4 +lbl_800CC3B4: +/* 800CC3B4 000C9314 7D E3 7B 78 */ mr r3, r15 +/* 800CC3B8 000C9318 38 80 FF FF */ li r4, -1 +/* 800CC3BC 000C931C 48 04 A6 91 */ bl __dt__10CModelDataFv +/* 800CC3C0 000C9320 39 EF 00 4C */ addi r15, r15, 0x4c +lbl_800CC3C4: +/* 800CC3C4 000C9324 7C 0F 70 40 */ cmplw r15, r14 +/* 800CC3C8 000C9328 40 82 FF EC */ bne lbl_800CC3B4 +/* 800CC3CC 000C932C 80 61 01 70 */ lwz r3, 0x170(r1) +/* 800CC3D0 000C9330 28 03 00 00 */ cmplwi r3, 0 +/* 800CC3D4 000C9334 41 82 00 08 */ beq lbl_800CC3DC +/* 800CC3D8 000C9338 48 24 95 59 */ bl Free__7CMemoryFPCv +lbl_800CC3DC: +/* 800CC3DC 000C933C 80 01 01 78 */ lwz r0, 0x178(r1) +/* 800CC3E0 000C9340 81 E1 01 80 */ lwz r15, 0x180(r1) +/* 800CC3E4 000C9344 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800CC3E8 000C9348 91 E1 00 60 */ stw r15, 0x60(r1) +/* 800CC3EC 000C934C 7D CF 02 14 */ add r14, r15, r0 +/* 800CC3F0 000C9350 91 E1 00 5C */ stw r15, 0x5c(r1) +/* 800CC3F4 000C9354 91 C1 00 68 */ stw r14, 0x68(r1) +/* 800CC3F8 000C9358 91 C1 00 64 */ stw r14, 0x64(r1) +/* 800CC3FC 000C935C 48 00 00 14 */ b lbl_800CC410 +lbl_800CC400: +/* 800CC400 000C9360 7D E3 7B 78 */ mr r3, r15 +/* 800CC404 000C9364 38 80 FF FF */ li r4, -1 +/* 800CC408 000C9368 48 04 A6 45 */ bl __dt__10CModelDataFv +/* 800CC40C 000C936C 39 EF 00 4C */ addi r15, r15, 0x4c +lbl_800CC410: +/* 800CC410 000C9370 7C 0F 70 40 */ cmplw r15, r14 +/* 800CC414 000C9374 40 82 FF EC */ bne lbl_800CC400 +/* 800CC418 000C9378 80 61 01 80 */ lwz r3, 0x180(r1) +/* 800CC41C 000C937C 28 03 00 00 */ cmplwi r3, 0 +/* 800CC420 000C9380 41 82 00 08 */ beq lbl_800CC428 +/* 800CC424 000C9384 48 24 95 0D */ bl Free__7CMemoryFPCv +lbl_800CC428: +/* 800CC428 000C9388 38 61 06 7C */ addi r3, r1, 0x67c +/* 800CC42C 000C938C 38 80 FF FF */ li r4, -1 +/* 800CC430 000C9390 48 03 A1 D9 */ bl __dt__16CActorParametersFv +/* 800CC434 000C9394 38 61 06 E4 */ addi r3, r1, 0x6e4 +/* 800CC438 000C9398 48 27 16 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CC43C 000C939C 7E 03 83 78 */ mr r3, r16 +lbl_800CC440: +/* 800CC440 000C93A0 E3 E1 09 48 */ psq_l f31, -1720(r1), 0, qr0 +/* 800CC444 000C93A4 CB E1 09 40 */ lfd f31, 0x940(r1) +/* 800CC448 000C93A8 E3 C1 09 38 */ psq_l f30, -1736(r1), 0, qr0 +/* 800CC44C 000C93AC CB C1 09 30 */ lfd f30, 0x930(r1) +/* 800CC450 000C93B0 E3 A1 09 28 */ psq_l f29, -1752(r1), 0, qr0 +/* 800CC454 000C93B4 CB A1 09 20 */ lfd f29, 0x920(r1) +/* 800CC458 000C93B8 E3 81 09 18 */ psq_l f28, -1768(r1), 0, qr0 +/* 800CC45C 000C93BC CB 81 09 10 */ lfd f28, 0x910(r1) +/* 800CC460 000C93C0 E3 61 09 08 */ psq_l f27, -1784(r1), 0, qr0 +/* 800CC464 000C93C4 CB 61 09 00 */ lfd f27, 0x900(r1) +/* 800CC468 000C93C8 E3 41 08 F8 */ psq_l f26, -1800(r1), 0, qr0 +/* 800CC46C 000C93CC CB 41 08 F0 */ lfd f26, 0x8f0(r1) +/* 800CC470 000C93D0 B9 C1 08 A8 */ lmw r14, 0x8a8(r1) +/* 800CC474 000C93D4 80 01 09 54 */ lwz r0, 0x954(r1) +/* 800CC478 000C93D8 7C 08 03 A6 */ mtlr r0 +/* 800CC47C 000C93DC 38 21 09 50 */ addi r1, r1, 0x950 +/* 800CC480 000C93E0 4E 80 00 20 */ blr + +.global LoadJellyZap__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadJellyZap__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CC484 000C93E4 94 21 FC 20 */ stwu r1, -0x3e0(r1) +/* 800CC488 000C93E8 7C 08 02 A6 */ mflr r0 +/* 800CC48C 000C93EC 90 01 03 E4 */ stw r0, 0x3e4(r1) +/* 800CC490 000C93F0 DB E1 03 D0 */ stfd f31, 0x3d0(r1) +/* 800CC494 000C93F4 F3 E1 03 D8 */ psq_st f31, 984(r1), 0, qr0 +/* 800CC498 000C93F8 DB C1 03 C0 */ stfd f30, 0x3c0(r1) +/* 800CC49C 000C93FC F3 C1 03 C8 */ psq_st f30, 968(r1), 0, qr0 +/* 800CC4A0 000C9400 DB A1 03 B0 */ stfd f29, 0x3b0(r1) +/* 800CC4A4 000C9404 F3 A1 03 B8 */ psq_st f29, 952(r1), 0, qr0 +/* 800CC4A8 000C9408 DB 81 03 A0 */ stfd f28, 0x3a0(r1) +/* 800CC4AC 000C940C F3 81 03 A8 */ psq_st f28, 936(r1), 0, qr0 +/* 800CC4B0 000C9410 DB 61 03 90 */ stfd f27, 0x390(r1) +/* 800CC4B4 000C9414 F3 61 03 98 */ psq_st f27, 920(r1), 0, qr0 +/* 800CC4B8 000C9418 DB 41 03 80 */ stfd f26, 0x380(r1) +/* 800CC4BC 000C941C F3 41 03 88 */ psq_st f26, 904(r1), 0, qr0 +/* 800CC4C0 000C9420 DB 21 03 70 */ stfd f25, 0x370(r1) +/* 800CC4C4 000C9424 F3 21 03 78 */ psq_st f25, 888(r1), 0, qr0 +/* 800CC4C8 000C9428 DB 01 03 60 */ stfd f24, 0x360(r1) +/* 800CC4CC 000C942C F3 01 03 68 */ psq_st f24, 872(r1), 0, qr0 +/* 800CC4D0 000C9430 DA E1 03 50 */ stfd f23, 0x350(r1) +/* 800CC4D4 000C9434 F2 E1 03 58 */ psq_st f23, 856(r1), 0, qr0 +/* 800CC4D8 000C9438 DA C1 03 40 */ stfd f22, 0x340(r1) +/* 800CC4DC 000C943C F2 C1 03 48 */ psq_st f22, 840(r1), 0, qr0 +/* 800CC4E0 000C9440 DA A1 03 30 */ stfd f21, 0x330(r1) +/* 800CC4E4 000C9444 F2 A1 03 38 */ psq_st f21, 824(r1), 0, qr0 +/* 800CC4E8 000C9448 DA 81 03 20 */ stfd f20, 0x320(r1) +/* 800CC4EC 000C944C F2 81 03 28 */ psq_st f20, 808(r1), 0, qr0 +/* 800CC4F0 000C9450 BF 61 03 0C */ stmw r27, 0x30c(r1) +/* 800CC4F4 000C9454 2C 05 00 14 */ cmpwi r5, 0x14 +/* 800CC4F8 000C9458 7C 7E 1B 78 */ mr r30, r3 +/* 800CC4FC 000C945C 7C 9C 23 78 */ mr r28, r4 +/* 800CC500 000C9460 7C DF 33 78 */ mr r31, r6 +/* 800CC504 000C9464 41 82 00 0C */ beq lbl_800CC510 +/* 800CC508 000C9468 38 60 00 00 */ li r3, 0 +/* 800CC50C 000C946C 48 00 02 6C */ b lbl_800CC778 +lbl_800CC510: +/* 800CC510 000C9470 7F C5 F3 78 */ mr r5, r30 +/* 800CC514 000C9474 38 61 01 84 */ addi r3, r1, 0x184 +/* 800CC518 000C9478 48 00 DF 65 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800CC51C 000C947C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CC520 000C9480 7F 84 E3 78 */ mr r4, r28 +/* 800CC524 000C9484 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800CC528 000C9488 38 61 00 28 */ addi r3, r1, 0x28 +/* 800CC52C 000C948C 38 A5 00 DD */ addi r5, r5, 0xdd +/* 800CC530 000C9490 48 03 92 F9 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800CC534 000C9494 88 01 00 28 */ lbz r0, 0x28(r1) +/* 800CC538 000C9498 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 800CC53C 000C949C 28 00 00 00 */ cmplwi r0, 0 +/* 800CC540 000C94A0 40 82 00 14 */ bne lbl_800CC554 +/* 800CC544 000C94A4 38 61 01 84 */ addi r3, r1, 0x184 +/* 800CC548 000C94A8 48 27 15 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CC54C 000C94AC 38 60 00 00 */ li r3, 0 +/* 800CC550 000C94B0 48 00 02 28 */ b lbl_800CC778 +lbl_800CC554: +/* 800CC554 000C94B4 7F 84 E3 78 */ mr r4, r28 +/* 800CC558 000C94B8 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 800CC55C 000C94BC 48 03 93 1D */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800CC560 000C94C0 7F 84 E3 78 */ mr r4, r28 +/* 800CC564 000C94C4 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800CC568 000C94C8 48 00 D8 0D */ bl LoadActorParameters__FR12CInputStream +/* 800CC56C 000C94CC 38 61 01 1C */ addi r3, r1, 0x11c +/* 800CC570 000C94D0 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 800CC574 000C94D4 4B FF 90 A9 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CC578 000C94D8 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800CC57C 000C94DC 38 80 FF FF */ li r4, -1 +/* 800CC580 000C94E0 48 03 A0 89 */ bl __dt__16CActorParametersFv +/* 800CC584 000C94E4 7F 84 E3 78 */ mr r4, r28 +/* 800CC588 000C94E8 38 61 00 4C */ addi r3, r1, 0x4c +/* 800CC58C 000C94EC 4B FF 6F D5 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800CC590 000C94F0 7F 83 E3 78 */ mr r3, r28 +/* 800CC594 000C94F4 48 27 26 95 */ bl ReadFloat__12CInputStreamFv +/* 800CC598 000C94F8 FF 60 08 90 */ fmr f27, f1 +/* 800CC59C 000C94FC 7F 83 E3 78 */ mr r3, r28 +/* 800CC5A0 000C9500 48 27 26 89 */ bl ReadFloat__12CInputStreamFv +/* 800CC5A4 000C9504 FF 40 08 90 */ fmr f26, f1 +/* 800CC5A8 000C9508 7F 83 E3 78 */ mr r3, r28 +/* 800CC5AC 000C950C 48 27 26 7D */ bl ReadFloat__12CInputStreamFv +/* 800CC5B0 000C9510 FF 20 08 90 */ fmr f25, f1 +/* 800CC5B4 000C9514 7F 83 E3 78 */ mr r3, r28 +/* 800CC5B8 000C9518 48 27 26 71 */ bl ReadFloat__12CInputStreamFv +/* 800CC5BC 000C951C FF 00 08 90 */ fmr f24, f1 +/* 800CC5C0 000C9520 7F 83 E3 78 */ mr r3, r28 +/* 800CC5C4 000C9524 48 27 26 65 */ bl ReadFloat__12CInputStreamFv +/* 800CC5C8 000C9528 FE E0 08 90 */ fmr f23, f1 +/* 800CC5CC 000C952C 7F 83 E3 78 */ mr r3, r28 +/* 800CC5D0 000C9530 48 27 26 59 */ bl ReadFloat__12CInputStreamFv +/* 800CC5D4 000C9534 FE C0 08 90 */ fmr f22, f1 +/* 800CC5D8 000C9538 7F 83 E3 78 */ mr r3, r28 +/* 800CC5DC 000C953C 48 27 26 4D */ bl ReadFloat__12CInputStreamFv +/* 800CC5E0 000C9540 FE A0 08 90 */ fmr f21, f1 +/* 800CC5E4 000C9544 7F 83 E3 78 */ mr r3, r28 +/* 800CC5E8 000C9548 48 27 26 41 */ bl ReadFloat__12CInputStreamFv +/* 800CC5EC 000C954C FE 80 08 90 */ fmr f20, f1 +/* 800CC5F0 000C9550 7F 83 E3 78 */ mr r3, r28 +/* 800CC5F4 000C9554 48 27 26 35 */ bl ReadFloat__12CInputStreamFv +/* 800CC5F8 000C9558 FF 80 08 90 */ fmr f28, f1 +/* 800CC5FC 000C955C 7F 83 E3 78 */ mr r3, r28 +/* 800CC600 000C9560 48 27 26 29 */ bl ReadFloat__12CInputStreamFv +/* 800CC604 000C9564 FF A0 08 90 */ fmr f29, f1 +/* 800CC608 000C9568 7F 83 E3 78 */ mr r3, r28 +/* 800CC60C 000C956C 48 27 26 1D */ bl ReadFloat__12CInputStreamFv +/* 800CC610 000C9570 FF C0 08 90 */ fmr f30, f1 +/* 800CC614 000C9574 7F 83 E3 78 */ mr r3, r28 +/* 800CC618 000C9578 48 27 26 11 */ bl ReadFloat__12CInputStreamFv +/* 800CC61C 000C957C FF E0 08 90 */ fmr f31, f1 +/* 800CC620 000C9580 7F 83 E3 78 */ mr r3, r28 +/* 800CC624 000C9584 48 27 26 B9 */ bl ReadBool__12CInputStreamFv +/* 800CC628 000C9588 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800CC62C 000C958C 7C 7D 1B 78 */ mr r29, r3 +/* 800CC630 000C9590 80 81 02 BC */ lwz r4, 0x2bc(r1) +/* 800CC634 000C9594 38 65 00 04 */ addi r3, r5, 4 +/* 800CC638 000C9598 48 26 F6 95 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800CC63C 000C959C 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800CC640 000C95A0 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800CC644 000C95A4 41 82 00 20 */ beq lbl_800CC664 +/* 800CC648 000C95A8 38 61 01 1C */ addi r3, r1, 0x11c +/* 800CC64C 000C95AC 38 80 FF FF */ li r4, -1 +/* 800CC650 000C95B0 48 03 9F B9 */ bl __dt__16CActorParametersFv +/* 800CC654 000C95B4 38 61 01 84 */ addi r3, r1, 0x184 +/* 800CC658 000C95B8 48 27 14 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CC65C 000C95BC 38 60 00 00 */ li r3, 0 +/* 800CC660 000C95C0 48 00 01 18 */ b lbl_800CC778 +lbl_800CC664: +/* 800CC664 000C95C4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CC668 000C95C8 3B 60 00 00 */ li r27, 0 +/* 800CC66C 000C95CC 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CC670 000C95D0 38 60 05 C0 */ li r3, 0x5c0 +/* 800CC674 000C95D4 38 84 00 0D */ addi r4, r4, 0xd +/* 800CC678 000C95D8 38 A0 00 00 */ li r5, 0 +/* 800CC67C 000C95DC 48 24 91 F1 */ bl __nw__FUlPCcPCc +/* 800CC680 000C95E0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800CC684 000C95E4 41 82 00 C8 */ beq lbl_800CC74C +/* 800CC688 000C95E8 80 E1 02 BC */ lwz r7, 0x2bc(r1) +/* 800CC68C 000C95EC 38 A0 00 01 */ li r5, 1 +/* 800CC690 000C95F0 80 C1 02 C0 */ lwz r6, 0x2c0(r1) +/* 800CC694 000C95F4 38 61 00 68 */ addi r3, r1, 0x68 +/* 800CC698 000C95F8 C0 41 01 C4 */ lfs f2, 0x1c4(r1) +/* 800CC69C 000C95FC 38 81 00 30 */ addi r4, r1, 0x30 +/* 800CC6A0 000C9600 C0 21 01 C8 */ lfs f1, 0x1c8(r1) +/* 800CC6A4 000C9604 C0 01 01 CC */ lfs f0, 0x1cc(r1) +/* 800CC6A8 000C9608 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 800CC6AC 000C960C 90 E1 00 30 */ stw r7, 0x30(r1) +/* 800CC6B0 000C9610 90 C1 00 34 */ stw r6, 0x34(r1) +/* 800CC6B4 000C9614 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 800CC6B8 000C9618 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800CC6BC 000C961C D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800CC6C0 000C9620 98 A1 00 44 */ stb r5, 0x44(r1) +/* 800CC6C4 000C9624 90 01 00 48 */ stw r0, 0x48(r1) +/* 800CC6C8 000C9628 48 04 A4 8D */ bl __ct__10CModelDataFRC8CAnimRes +/* 800CC6CC 000C962C 7F C4 F3 78 */ mr r4, r30 +/* 800CC6D0 000C9630 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CC6D4 000C9634 3B 60 00 01 */ li r27, 1 +/* 800CC6D8 000C9638 4B F8 0A 05 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CC6DC 000C963C A0 61 00 20 */ lhz r3, 0x20(r1) +/* 800CC6E0 000C9640 39 01 01 D0 */ addi r8, r1, 0x1d0 +/* 800CC6E4 000C9644 FC 20 D8 90 */ fmr f1, f27 +/* 800CC6E8 000C9648 38 01 01 1C */ addi r0, r1, 0x11c +/* 800CC6EC 000C964C B0 61 00 24 */ sth r3, 0x24(r1) +/* 800CC6F0 000C9650 FC 40 D0 90 */ fmr f2, f26 +/* 800CC6F4 000C9654 FC 60 C8 90 */ fmr f3, f25 +/* 800CC6F8 000C9658 7F 83 E3 78 */ mr r3, r28 +/* 800CC6FC 000C965C D3 81 00 08 */ stfs f28, 8(r1) +/* 800CC700 000C9660 FC 80 C0 90 */ fmr f4, f24 +/* 800CC704 000C9664 FC A0 B8 90 */ fmr f5, f23 +/* 800CC708 000C9668 7F E6 FB 78 */ mr r6, r31 +/* 800CC70C 000C966C D3 A1 00 0C */ stfs f29, 0xc(r1) +/* 800CC710 000C9670 FC C0 B0 90 */ fmr f6, f22 +/* 800CC714 000C9674 FC E0 A8 90 */ fmr f7, f21 +/* 800CC718 000C9678 D3 C1 00 10 */ stfs f30, 0x10(r1) +/* 800CC71C 000C967C FD 00 A0 90 */ fmr f8, f20 +/* 800CC720 000C9680 7F AA EB 78 */ mr r10, r29 +/* 800CC724 000C9684 D3 E1 00 14 */ stfs f31, 0x14(r1) +/* 800CC728 000C9688 38 81 00 24 */ addi r4, r1, 0x24 +/* 800CC72C 000C968C 38 A1 01 84 */ addi r5, r1, 0x184 +/* 800CC730 000C9690 38 E1 01 94 */ addi r7, r1, 0x194 +/* 800CC734 000C9694 91 01 00 18 */ stw r8, 0x18(r1) +/* 800CC738 000C9698 39 01 00 68 */ addi r8, r1, 0x68 +/* 800CC73C 000C969C 39 21 00 4C */ addi r9, r1, 0x4c +/* 800CC740 000C96A0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800CC744 000C96A4 48 10 C3 75 */ bl "__ct__9CJellyZapF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC11CDamageInfofffffffffffRC14CPatternedInfoRC16CActorParameters" +/* 800CC748 000C96A8 7C 7C 1B 78 */ mr r28, r3 +lbl_800CC74C: +/* 800CC74C 000C96AC 7F 60 07 75 */ extsb. r0, r27 +/* 800CC750 000C96B0 41 82 00 10 */ beq lbl_800CC760 +/* 800CC754 000C96B4 38 61 00 68 */ addi r3, r1, 0x68 +/* 800CC758 000C96B8 38 80 FF FF */ li r4, -1 +/* 800CC75C 000C96BC 48 04 A2 F1 */ bl __dt__10CModelDataFv +lbl_800CC760: +/* 800CC760 000C96C0 38 61 01 1C */ addi r3, r1, 0x11c +/* 800CC764 000C96C4 38 80 FF FF */ li r4, -1 +/* 800CC768 000C96C8 48 03 9E A1 */ bl __dt__16CActorParametersFv +/* 800CC76C 000C96CC 38 61 01 84 */ addi r3, r1, 0x184 +/* 800CC770 000C96D0 48 27 13 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CC774 000C96D4 7F 83 E3 78 */ mr r3, r28 +lbl_800CC778: +/* 800CC778 000C96D8 E3 E1 03 D8 */ psq_l f31, 984(r1), 0, qr0 +/* 800CC77C 000C96DC CB E1 03 D0 */ lfd f31, 0x3d0(r1) +/* 800CC780 000C96E0 E3 C1 03 C8 */ psq_l f30, 968(r1), 0, qr0 +/* 800CC784 000C96E4 CB C1 03 C0 */ lfd f30, 0x3c0(r1) +/* 800CC788 000C96E8 E3 A1 03 B8 */ psq_l f29, 952(r1), 0, qr0 +/* 800CC78C 000C96EC CB A1 03 B0 */ lfd f29, 0x3b0(r1) +/* 800CC790 000C96F0 E3 81 03 A8 */ psq_l f28, 936(r1), 0, qr0 +/* 800CC794 000C96F4 CB 81 03 A0 */ lfd f28, 0x3a0(r1) +/* 800CC798 000C96F8 E3 61 03 98 */ psq_l f27, 920(r1), 0, qr0 +/* 800CC79C 000C96FC CB 61 03 90 */ lfd f27, 0x390(r1) +/* 800CC7A0 000C9700 E3 41 03 88 */ psq_l f26, 904(r1), 0, qr0 +/* 800CC7A4 000C9704 CB 41 03 80 */ lfd f26, 0x380(r1) +/* 800CC7A8 000C9708 E3 21 03 78 */ psq_l f25, 888(r1), 0, qr0 +/* 800CC7AC 000C970C CB 21 03 70 */ lfd f25, 0x370(r1) +/* 800CC7B0 000C9710 E3 01 03 68 */ psq_l f24, 872(r1), 0, qr0 +/* 800CC7B4 000C9714 CB 01 03 60 */ lfd f24, 0x360(r1) +/* 800CC7B8 000C9718 E2 E1 03 58 */ psq_l f23, 856(r1), 0, qr0 +/* 800CC7BC 000C971C CA E1 03 50 */ lfd f23, 0x350(r1) +/* 800CC7C0 000C9720 E2 C1 03 48 */ psq_l f22, 840(r1), 0, qr0 +/* 800CC7C4 000C9724 CA C1 03 40 */ lfd f22, 0x340(r1) +/* 800CC7C8 000C9728 E2 A1 03 38 */ psq_l f21, 824(r1), 0, qr0 +/* 800CC7CC 000C972C CA A1 03 30 */ lfd f21, 0x330(r1) +/* 800CC7D0 000C9730 E2 81 03 28 */ psq_l f20, 808(r1), 0, qr0 +/* 800CC7D4 000C9734 CA 81 03 20 */ lfd f20, 0x320(r1) +/* 800CC7D8 000C9738 BB 61 03 0C */ lmw r27, 0x30c(r1) +/* 800CC7DC 000C973C 80 01 03 E4 */ lwz r0, 0x3e4(r1) +/* 800CC7E0 000C9740 7C 08 03 A6 */ mtlr r0 +/* 800CC7E4 000C9744 38 21 03 E0 */ addi r1, r1, 0x3e0 +/* 800CC7E8 000C9748 4E 80 00 20 */ blr + +.global LoadVisorGoo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadVisorGoo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CC7EC 000C974C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800CC7F0 000C9750 7C 08 02 A6 */ mflr r0 +/* 800CC7F4 000C9754 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800CC7F8 000C9758 39 61 00 E0 */ addi r11, r1, 0xe0 +/* 800CC7FC 000C975C 48 2B D1 ED */ bl sub_803899e8 +/* 800CC800 000C9760 BF 21 00 A4 */ stmw r25, 0xa4(r1) +/* 800CC804 000C9764 2C 05 00 0B */ cmpwi r5, 0xb +/* 800CC808 000C9768 7C 79 1B 78 */ mr r25, r3 +/* 800CC80C 000C976C 7C 9B 23 78 */ mr r27, r4 +/* 800CC810 000C9770 7C DA 33 78 */ mr r26, r6 +/* 800CC814 000C9774 41 82 00 0C */ beq lbl_800CC820 +/* 800CC818 000C9778 38 60 00 00 */ li r3, 0 +/* 800CC81C 000C977C 48 00 01 54 */ b lbl_800CC970 +lbl_800CC820: +/* 800CC820 000C9780 4B F7 89 C5 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CC824 000C9784 7C 64 1B 78 */ mr r4, r3 +/* 800CC828 000C9788 38 61 00 30 */ addi r3, r1, 0x30 +/* 800CC82C 000C978C 48 27 19 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CC830 000C9790 7F 64 DB 78 */ mr r4, r27 +/* 800CC834 000C9794 38 61 00 24 */ addi r3, r1, 0x24 +/* 800CC838 000C9798 48 24 83 55 */ bl __ct__9CVector3fFR12CInputStream +/* 800CC83C 000C979C 7C 64 1B 78 */ mr r4, r3 +/* 800CC840 000C97A0 38 61 00 40 */ addi r3, r1, 0x40 +/* 800CC844 000C97A4 48 24 68 FD */ bl Translate__12CTransform4fFRC9CVector3f +/* 800CC848 000C97A8 38 61 00 70 */ addi r3, r1, 0x70 +/* 800CC84C 000C97AC 38 81 00 40 */ addi r4, r1, 0x40 +/* 800CC850 000C97B0 48 24 63 25 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800CC854 000C97B4 7F 63 DB 78 */ mr r3, r27 +/* 800CC858 000C97B8 48 27 24 2D */ bl ReadLong__12CInputStreamFv +/* 800CC85C 000C97BC 7C 7D 1B 78 */ mr r29, r3 +/* 800CC860 000C97C0 7F 63 DB 78 */ mr r3, r27 +/* 800CC864 000C97C4 48 27 24 21 */ bl ReadLong__12CInputStreamFv +/* 800CC868 000C97C8 7C 7C 1B 78 */ mr r28, r3 +/* 800CC86C 000C97CC 7F 63 DB 78 */ mr r3, r27 +/* 800CC870 000C97D0 48 27 23 B9 */ bl ReadFloat__12CInputStreamFv +/* 800CC874 000C97D4 FF E0 08 90 */ fmr f31, f1 +/* 800CC878 000C97D8 7F 63 DB 78 */ mr r3, r27 +/* 800CC87C 000C97DC 48 27 23 AD */ bl ReadFloat__12CInputStreamFv +/* 800CC880 000C97E0 FF C0 08 90 */ fmr f30, f1 +/* 800CC884 000C97E4 7F 63 DB 78 */ mr r3, r27 +/* 800CC888 000C97E8 48 27 23 A1 */ bl ReadFloat__12CInputStreamFv +/* 800CC88C 000C97EC FF A0 08 90 */ fmr f29, f1 +/* 800CC890 000C97F0 7F 63 DB 78 */ mr r3, r27 +/* 800CC894 000C97F4 48 27 23 95 */ bl ReadFloat__12CInputStreamFv +/* 800CC898 000C97F8 FF 80 08 90 */ fmr f28, f1 +/* 800CC89C 000C97FC 7F 64 DB 78 */ mr r4, r27 +/* 800CC8A0 000C9800 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CC8A4 000C9804 48 29 6B A9 */ bl __ct__6CColorFR12CInputStream +/* 800CC8A8 000C9808 7F 63 DB 78 */ mr r3, r27 +/* 800CC8AC 000C980C 48 27 23 D9 */ bl ReadLong__12CInputStreamFv +/* 800CC8B0 000C9810 7C 7E 1B 78 */ mr r30, r3 +/* 800CC8B4 000C9814 7F 63 DB 78 */ mr r3, r27 +/* 800CC8B8 000C9818 48 27 24 25 */ bl ReadBool__12CInputStreamFv +/* 800CC8BC 000C981C 3C 1D 00 01 */ addis r0, r29, 1 +/* 800CC8C0 000C9820 7C 7F 1B 78 */ mr r31, r3 +/* 800CC8C4 000C9824 28 00 FF FF */ cmplwi r0, 0xffff +/* 800CC8C8 000C9828 40 82 00 20 */ bne lbl_800CC8E8 +/* 800CC8CC 000C982C 3C 1C 00 01 */ addis r0, r28, 1 +/* 800CC8D0 000C9830 28 00 FF FF */ cmplwi r0, 0xffff +/* 800CC8D4 000C9834 40 82 00 14 */ bne lbl_800CC8E8 +/* 800CC8D8 000C9838 38 61 00 30 */ addi r3, r1, 0x30 +/* 800CC8DC 000C983C 48 27 12 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CC8E0 000C9840 38 60 00 00 */ li r3, 0 +/* 800CC8E4 000C9844 48 00 00 8C */ b lbl_800CC970 +lbl_800CC8E8: +/* 800CC8E8 000C9848 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CC8EC 000C984C 38 60 01 20 */ li r3, 0x120 +/* 800CC8F0 000C9850 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CC8F4 000C9854 38 A0 00 00 */ li r5, 0 +/* 800CC8F8 000C9858 38 84 00 0D */ addi r4, r4, 0xd +/* 800CC8FC 000C985C 48 24 8F 71 */ bl __nw__FUlPCcPCc +/* 800CC900 000C9860 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800CC904 000C9864 41 82 00 60 */ beq lbl_800CC964 +/* 800CC908 000C9868 7F 24 CB 78 */ mr r4, r25 +/* 800CC90C 000C986C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CC910 000C9870 4B F8 07 CD */ bl AllocateUniqueId__13CStateManagerFv +/* 800CC914 000C9874 A0 61 00 18 */ lhz r3, 0x18(r1) +/* 800CC918 000C9878 FC 20 F8 90 */ fmr f1, f31 +/* 800CC91C 000C987C FC 40 F0 90 */ fmr f2, f30 +/* 800CC920 000C9880 38 00 00 00 */ li r0, 0 +/* 800CC924 000C9884 B0 61 00 1C */ sth r3, 0x1c(r1) +/* 800CC928 000C9888 FC 60 E8 90 */ fmr f3, f29 +/* 800CC92C 000C988C FC 80 E0 90 */ fmr f4, f28 +/* 800CC930 000C9890 93 C1 00 08 */ stw r30, 8(r1) +/* 800CC934 000C9894 7F 63 DB 78 */ mr r3, r27 +/* 800CC938 000C9898 7F 46 D3 78 */ mr r6, r26 +/* 800CC93C 000C989C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800CC940 000C98A0 7F A8 EB 78 */ mr r8, r29 +/* 800CC944 000C98A4 7F 89 E3 78 */ mr r9, r28 +/* 800CC948 000C98A8 38 81 00 1C */ addi r4, r1, 0x1c +/* 800CC94C 000C98AC 90 01 00 10 */ stw r0, 0x10(r1) +/* 800CC950 000C98B0 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800CC954 000C98B4 38 E1 00 70 */ addi r7, r1, 0x70 +/* 800CC958 000C98B8 39 41 00 20 */ addi r10, r1, 0x20 +/* 800CC95C 000C98BC 48 10 AC D5 */ bl "__ct__15CScriptVisorGooF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUiUiffffRC6CColoribb" +/* 800CC960 000C98C0 7C 7B 1B 78 */ mr r27, r3 +lbl_800CC964: +/* 800CC964 000C98C4 38 61 00 30 */ addi r3, r1, 0x30 +/* 800CC968 000C98C8 48 27 11 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CC96C 000C98CC 7F 63 DB 78 */ mr r3, r27 +lbl_800CC970: +/* 800CC970 000C98D0 39 61 00 E0 */ addi r11, r1, 0xe0 +/* 800CC974 000C98D4 48 2B D0 C1 */ bl sub_80389a34 +/* 800CC978 000C98D8 BB 21 00 A4 */ lmw r25, 0xa4(r1) +/* 800CC97C 000C98DC 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800CC980 000C98E0 7C 08 03 A6 */ mtlr r0 +/* 800CC984 000C98E4 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800CC988 000C98E8 4E 80 00 20 */ blr + +.global LoadSaveStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSaveStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CC98C 000C98EC 38 60 00 00 */ li r3, 0 +/* 800CC990 000C98F0 4E 80 00 20 */ blr + +.global LoadPlayerStateChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPlayerStateChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CC994 000C98F4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800CC998 000C98F8 7C 08 02 A6 */ mflr r0 +/* 800CC99C 000C98FC 2C 05 00 07 */ cmpwi r5, 7 +/* 800CC9A0 000C9900 90 01 00 54 */ stw r0, 0x54(r1) +/* 800CC9A4 000C9904 BE E1 00 2C */ stmw r23, 0x2c(r1) +/* 800CC9A8 000C9908 7C 7E 1B 78 */ mr r30, r3 +/* 800CC9AC 000C990C 7C 97 23 78 */ mr r23, r4 +/* 800CC9B0 000C9910 7C DF 33 78 */ mr r31, r6 +/* 800CC9B4 000C9914 41 82 00 0C */ beq lbl_800CC9C0 +/* 800CC9B8 000C9918 38 60 00 00 */ li r3, 0 +/* 800CC9BC 000C991C 48 00 00 CC */ b lbl_800CCA88 +lbl_800CC9C0: +/* 800CC9C0 000C9920 4B F7 88 25 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CC9C4 000C9924 7C 64 1B 78 */ mr r4, r3 +/* 800CC9C8 000C9928 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CC9CC 000C992C 48 27 17 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CC9D0 000C9930 7E E3 BB 78 */ mr r3, r23 +/* 800CC9D4 000C9934 48 27 23 09 */ bl ReadBool__12CInputStreamFv +/* 800CC9D8 000C9938 7C 7B 1B 78 */ mr r27, r3 +/* 800CC9DC 000C993C 7E E3 BB 78 */ mr r3, r23 +/* 800CC9E0 000C9940 48 27 22 A5 */ bl ReadLong__12CInputStreamFv +/* 800CC9E4 000C9944 7C 7A 1B 78 */ mr r26, r3 +/* 800CC9E8 000C9948 7E E3 BB 78 */ mr r3, r23 +/* 800CC9EC 000C994C 48 27 22 99 */ bl ReadLong__12CInputStreamFv +/* 800CC9F0 000C9950 7C 79 1B 78 */ mr r25, r3 +/* 800CC9F4 000C9954 7E E3 BB 78 */ mr r3, r23 +/* 800CC9F8 000C9958 48 27 22 8D */ bl ReadLong__12CInputStreamFv +/* 800CC9FC 000C995C 7C 78 1B 78 */ mr r24, r3 +/* 800CCA00 000C9960 7E E3 BB 78 */ mr r3, r23 +/* 800CCA04 000C9964 48 27 22 81 */ bl ReadLong__12CInputStreamFv +/* 800CCA08 000C9968 7C 7C 1B 78 */ mr r28, r3 +/* 800CCA0C 000C996C 7E E3 BB 78 */ mr r3, r23 +/* 800CCA10 000C9970 48 27 22 75 */ bl ReadLong__12CInputStreamFv +/* 800CCA14 000C9974 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CCA18 000C9978 7C 7D 1B 78 */ mr r29, r3 +/* 800CCA1C 000C997C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CCA20 000C9980 38 60 00 48 */ li r3, 0x48 +/* 800CCA24 000C9984 38 84 00 0D */ addi r4, r4, 0xd +/* 800CCA28 000C9988 38 A0 00 00 */ li r5, 0 +/* 800CCA2C 000C998C 48 24 8E 41 */ bl __nw__FUlPCcPCc +/* 800CCA30 000C9990 7C 77 1B 79 */ or. r23, r3, r3 +/* 800CCA34 000C9994 41 82 00 48 */ beq lbl_800CCA7C +/* 800CCA38 000C9998 7F C4 F3 78 */ mr r4, r30 +/* 800CCA3C 000C999C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CCA40 000C99A0 4B F8 06 9D */ bl AllocateUniqueId__13CStateManagerFv +/* 800CCA44 000C99A4 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800CCA48 000C99A8 7E E3 BB 78 */ mr r3, r23 +/* 800CCA4C 000C99AC 7F E6 FB 78 */ mr r6, r31 +/* 800CCA50 000C99B0 7F 67 DB 78 */ mr r7, r27 +/* 800CCA54 000C99B4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800CCA58 000C99B8 7F 48 D3 78 */ mr r8, r26 +/* 800CCA5C 000C99BC 7F 29 CB 78 */ mr r9, r25 +/* 800CCA60 000C99C0 7F 0A C3 78 */ mr r10, r24 +/* 800CCA64 000C99C4 93 81 00 08 */ stw r28, 8(r1) +/* 800CCA68 000C99C8 38 81 00 14 */ addi r4, r1, 0x14 +/* 800CCA6C 000C99CC 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800CCA70 000C99D0 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800CCA74 000C99D4 48 10 DB E5 */ bl "__ct__24CScriptPlayerStateChangeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobiiiQ224CScriptPlayerStateChange8EControlQ224CScriptPlayerStateChange21EControlCommandOption" +/* 800CCA78 000C99D8 7C 77 1B 78 */ mr r23, r3 +lbl_800CCA7C: +/* 800CCA7C 000C99DC 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CCA80 000C99E0 48 27 10 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CCA84 000C99E4 7E E3 BB 78 */ mr r3, r23 +lbl_800CCA88: +/* 800CCA88 000C99E8 BA E1 00 2C */ lmw r23, 0x2c(r1) +/* 800CCA8C 000C99EC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800CCA90 000C99F0 7C 08 03 A6 */ mtlr r0 +/* 800CCA94 000C99F4 38 21 00 50 */ addi r1, r1, 0x50 +/* 800CCA98 000C99F8 4E 80 00 20 */ blr + +.global LoadSwitch__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSwitch__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CCA9C 000C99FC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800CCAA0 000C9A00 7C 08 02 A6 */ mflr r0 +/* 800CCAA4 000C9A04 2C 05 00 04 */ cmpwi r5, 4 +/* 800CCAA8 000C9A08 90 01 00 44 */ stw r0, 0x44(r1) +/* 800CCAAC 000C9A0C BF 41 00 28 */ stmw r26, 0x28(r1) +/* 800CCAB0 000C9A10 7C 7A 1B 78 */ mr r26, r3 +/* 800CCAB4 000C9A14 7C 9C 23 78 */ mr r28, r4 +/* 800CCAB8 000C9A18 7C DB 33 78 */ mr r27, r6 +/* 800CCABC 000C9A1C 41 82 00 0C */ beq lbl_800CCAC8 +/* 800CCAC0 000C9A20 38 60 00 00 */ li r3, 0 +/* 800CCAC4 000C9A24 48 00 00 9C */ b lbl_800CCB60 +lbl_800CCAC8: +/* 800CCAC8 000C9A28 4B F7 87 1D */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CCACC 000C9A2C 7C 64 1B 78 */ mr r4, r3 +/* 800CCAD0 000C9A30 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CCAD4 000C9A34 48 27 16 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CCAD8 000C9A38 7F 83 E3 78 */ mr r3, r28 +/* 800CCADC 000C9A3C 48 27 22 01 */ bl ReadBool__12CInputStreamFv +/* 800CCAE0 000C9A40 7C 7F 1B 78 */ mr r31, r3 +/* 800CCAE4 000C9A44 7F 83 E3 78 */ mr r3, r28 +/* 800CCAE8 000C9A48 48 27 21 F5 */ bl ReadBool__12CInputStreamFv +/* 800CCAEC 000C9A4C 7C 7E 1B 78 */ mr r30, r3 +/* 800CCAF0 000C9A50 7F 83 E3 78 */ mr r3, r28 +/* 800CCAF4 000C9A54 48 27 21 E9 */ bl ReadBool__12CInputStreamFv +/* 800CCAF8 000C9A58 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CCAFC 000C9A5C 7C 7D 1B 78 */ mr r29, r3 +/* 800CCB00 000C9A60 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CCB04 000C9A64 38 60 00 38 */ li r3, 0x38 +/* 800CCB08 000C9A68 38 A0 00 00 */ li r5, 0 +/* 800CCB0C 000C9A6C 38 84 00 0D */ addi r4, r4, 0xd +/* 800CCB10 000C9A70 48 24 8D 5D */ bl __nw__FUlPCcPCc +/* 800CCB14 000C9A74 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800CCB18 000C9A78 41 82 00 3C */ beq lbl_800CCB54 +/* 800CCB1C 000C9A7C 7F 44 D3 78 */ mr r4, r26 +/* 800CCB20 000C9A80 38 61 00 08 */ addi r3, r1, 8 +/* 800CCB24 000C9A84 4B F8 05 B9 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CCB28 000C9A88 A0 01 00 08 */ lhz r0, 8(r1) +/* 800CCB2C 000C9A8C 7F 83 E3 78 */ mr r3, r28 +/* 800CCB30 000C9A90 7F 66 DB 78 */ mr r6, r27 +/* 800CCB34 000C9A94 7F E7 FB 78 */ mr r7, r31 +/* 800CCB38 000C9A98 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800CCB3C 000C9A9C 7F C8 F3 78 */ mr r8, r30 +/* 800CCB40 000C9AA0 7F A9 EB 78 */ mr r9, r29 +/* 800CCB44 000C9AA4 38 81 00 0C */ addi r4, r1, 0xc +/* 800CCB48 000C9AA8 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800CCB4C 000C9AAC 48 10 CD 71 */ bl "__ct__13CScriptSwitchF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobbb" +/* 800CCB50 000C9AB0 7C 7C 1B 78 */ mr r28, r3 +lbl_800CCB54: +/* 800CCB54 000C9AB4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CCB58 000C9AB8 48 27 0F 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CCB5C 000C9ABC 7F 83 E3 78 */ mr r3, r28 +lbl_800CCB60: +/* 800CCB60 000C9AC0 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 800CCB64 000C9AC4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800CCB68 000C9AC8 7C 08 03 A6 */ mtlr r0 +/* 800CCB6C 000C9ACC 38 21 00 40 */ addi r1, r1, 0x40 +/* 800CCB70 000C9AD0 4E 80 00 20 */ blr + +.global LoadControllerAction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadControllerAction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CCB74 000C9AD4 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800CCB78 000C9AD8 7C 08 02 A6 */ mflr r0 +/* 800CCB7C 000C9ADC 90 01 00 54 */ stw r0, 0x54(r1) +/* 800CCB80 000C9AE0 38 00 00 00 */ li r0, 0 +/* 800CCB84 000C9AE4 BF 01 00 30 */ stmw r24, 0x30(r1) +/* 800CCB88 000C9AE8 7C B8 2B 78 */ mr r24, r5 +/* 800CCB8C 000C9AEC 2C 18 00 04 */ cmpwi r24, 4 +/* 800CCB90 000C9AF0 7C 7E 1B 78 */ mr r30, r3 +/* 800CCB94 000C9AF4 7C 9D 23 78 */ mr r29, r4 +/* 800CCB98 000C9AF8 7C DF 33 78 */ mr r31, r6 +/* 800CCB9C 000C9AFC 41 80 00 10 */ blt lbl_800CCBAC +/* 800CCBA0 000C9B00 2C 18 00 06 */ cmpwi r24, 6 +/* 800CCBA4 000C9B04 41 81 00 08 */ bgt lbl_800CCBAC +/* 800CCBA8 000C9B08 38 00 00 01 */ li r0, 1 +lbl_800CCBAC: +/* 800CCBAC 000C9B0C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800CCBB0 000C9B10 40 82 00 0C */ bne lbl_800CCBBC +/* 800CCBB4 000C9B14 38 60 00 00 */ li r3, 0 +/* 800CCBB8 000C9B18 48 00 00 E4 */ b lbl_800CCC9C +lbl_800CCBBC: +/* 800CCBBC 000C9B1C 7F C3 F3 78 */ mr r3, r30 +/* 800CCBC0 000C9B20 7F A4 EB 78 */ mr r4, r29 +/* 800CCBC4 000C9B24 4B F7 86 21 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CCBC8 000C9B28 7C 64 1B 78 */ mr r4, r3 +/* 800CCBCC 000C9B2C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CCBD0 000C9B30 48 27 15 91 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CCBD4 000C9B34 7F A3 EB 78 */ mr r3, r29 +/* 800CCBD8 000C9B38 48 27 21 05 */ bl ReadBool__12CInputStreamFv +/* 800CCBDC 000C9B3C 7C 7C 1B 78 */ mr r28, r3 +/* 800CCBE0 000C9B40 7F A3 EB 78 */ mr r3, r29 +/* 800CCBE4 000C9B44 48 27 20 A1 */ bl ReadLong__12CInputStreamFv +/* 800CCBE8 000C9B48 2C 18 00 06 */ cmpwi r24, 6 +/* 800CCBEC 000C9B4C 7C 7B 1B 78 */ mr r27, r3 +/* 800CCBF0 000C9B50 41 80 00 14 */ blt lbl_800CCC04 +/* 800CCBF4 000C9B54 7F A3 EB 78 */ mr r3, r29 +/* 800CCBF8 000C9B58 48 27 20 E5 */ bl ReadBool__12CInputStreamFv +/* 800CCBFC 000C9B5C 7C 7A 1B 78 */ mr r26, r3 +/* 800CCC00 000C9B60 48 00 00 08 */ b lbl_800CCC08 +lbl_800CCC04: +/* 800CCC04 000C9B64 3B 40 00 00 */ li r26, 0 +lbl_800CCC08: +/* 800CCC08 000C9B68 2C 18 00 06 */ cmpwi r24, 6 +/* 800CCC0C 000C9B6C 41 80 00 14 */ blt lbl_800CCC20 +/* 800CCC10 000C9B70 7F A3 EB 78 */ mr r3, r29 +/* 800CCC14 000C9B74 48 27 20 71 */ bl ReadLong__12CInputStreamFv +/* 800CCC18 000C9B78 7C 79 1B 78 */ mr r25, r3 +/* 800CCC1C 000C9B7C 48 00 00 08 */ b lbl_800CCC24 +lbl_800CCC20: +/* 800CCC20 000C9B80 3B 20 00 00 */ li r25, 0 +lbl_800CCC24: +/* 800CCC24 000C9B84 7F A3 EB 78 */ mr r3, r29 +/* 800CCC28 000C9B88 48 27 20 B5 */ bl ReadBool__12CInputStreamFv +/* 800CCC2C 000C9B8C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CCC30 000C9B90 7C 7D 1B 78 */ mr r29, r3 +/* 800CCC34 000C9B94 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CCC38 000C9B98 38 60 00 40 */ li r3, 0x40 +/* 800CCC3C 000C9B9C 38 84 00 0D */ addi r4, r4, 0xd +/* 800CCC40 000C9BA0 38 A0 00 00 */ li r5, 0 +/* 800CCC44 000C9BA4 48 24 8C 29 */ bl __nw__FUlPCcPCc +/* 800CCC48 000C9BA8 7C 78 1B 79 */ or. r24, r3, r3 +/* 800CCC4C 000C9BAC 41 82 00 44 */ beq lbl_800CCC90 +/* 800CCC50 000C9BB0 7F C4 F3 78 */ mr r4, r30 +/* 800CCC54 000C9BB4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CCC58 000C9BB8 4B F8 04 85 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CCC5C 000C9BBC A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800CCC60 000C9BC0 7F 03 C3 78 */ mr r3, r24 +/* 800CCC64 000C9BC4 7F E6 FB 78 */ mr r6, r31 +/* 800CCC68 000C9BC8 7F 87 E3 78 */ mr r7, r28 +/* 800CCC6C 000C9BCC B0 01 00 14 */ sth r0, 0x14(r1) +/* 800CCC70 000C9BD0 7F 68 DB 78 */ mr r8, r27 +/* 800CCC74 000C9BD4 7F 49 D3 78 */ mr r9, r26 +/* 800CCC78 000C9BD8 7F 2A CB 78 */ mr r10, r25 +/* 800CCC7C 000C9BDC 93 A1 00 08 */ stw r29, 8(r1) +/* 800CCC80 000C9BE0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800CCC84 000C9BE4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800CCC88 000C9BE8 48 10 C2 55 */ bl "__ct__23CScriptControllerActionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobQ223CScriptControllerAction9ECommandsb" +/* 800CCC8C 000C9BEC 7C 78 1B 78 */ mr r24, r3 +lbl_800CCC90: +/* 800CCC90 000C9BF0 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CCC94 000C9BF4 48 27 0E 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CCC98 000C9BF8 7F 03 C3 78 */ mr r3, r24 +lbl_800CCC9C: +/* 800CCC9C 000C9BFC BB 01 00 30 */ lmw r24, 0x30(r1) +/* 800CCCA0 000C9C00 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800CCCA4 000C9C04 7C 08 03 A6 */ mtlr r0 +/* 800CCCA8 000C9C08 38 21 00 50 */ addi r1, r1, 0x50 +/* 800CCCAC 000C9C0C 4E 80 00 20 */ blr + +.global LoadWorldTeleporter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadWorldTeleporter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CCCB0 000C9C10 94 21 FE F0 */ stwu r1, -0x110(r1) +/* 800CCCB4 000C9C14 7C 08 02 A6 */ mflr r0 +/* 800CCCB8 000C9C18 90 01 01 14 */ stw r0, 0x114(r1) +/* 800CCCBC 000C9C1C DB E1 01 00 */ stfd f31, 0x100(r1) +/* 800CCCC0 000C9C20 F3 E1 01 08 */ psq_st f31, 264(r1), 0, qr0 +/* 800CCCC4 000C9C24 DB C1 00 F0 */ stfd f30, 0xf0(r1) +/* 800CCCC8 000C9C28 F3 C1 00 F8 */ psq_st f30, 248(r1), 0, qr0 +/* 800CCCCC 000C9C2C DB A1 00 E0 */ stfd f29, 0xe0(r1) +/* 800CCCD0 000C9C30 F3 A1 00 E8 */ psq_st f29, 232(r1), 0, qr0 +/* 800CCCD4 000C9C34 BD C1 00 98 */ stmw r14, 0x98(r1) +/* 800CCCD8 000C9C38 7C B1 2B 78 */ mr r17, r5 +/* 800CCCDC 000C9C3C 7C 6F 1B 78 */ mr r15, r3 +/* 800CCCE0 000C9C40 2C 11 00 04 */ cmpwi r17, 4 +/* 800CCCE4 000C9C44 7C 90 23 78 */ mr r16, r4 +/* 800CCCE8 000C9C48 7C D2 33 78 */ mr r18, r6 +/* 800CCCEC 000C9C4C 38 00 00 00 */ li r0, 0 +/* 800CCCF0 000C9C50 41 80 00 10 */ blt lbl_800CCD00 +/* 800CCCF4 000C9C54 2C 11 00 15 */ cmpwi r17, 0x15 +/* 800CCCF8 000C9C58 41 81 00 08 */ bgt lbl_800CCD00 +/* 800CCCFC 000C9C5C 38 00 00 01 */ li r0, 1 +lbl_800CCD00: +/* 800CCD00 000C9C60 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800CCD04 000C9C64 40 82 00 0C */ bne lbl_800CCD10 +/* 800CCD08 000C9C68 38 60 00 00 */ li r3, 0 +/* 800CCD0C 000C9C6C 48 00 03 64 */ b lbl_800CD070 +lbl_800CCD10: +/* 800CCD10 000C9C70 7D E3 7B 78 */ mr r3, r15 +/* 800CCD14 000C9C74 7E 04 83 78 */ mr r4, r16 +/* 800CCD18 000C9C78 4B F7 84 CD */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CCD1C 000C9C7C 7C 64 1B 78 */ mr r4, r3 +/* 800CCD20 000C9C80 38 61 00 80 */ addi r3, r1, 0x80 +/* 800CCD24 000C9C84 48 27 14 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CCD28 000C9C88 7E 03 83 78 */ mr r3, r16 +/* 800CCD2C 000C9C8C 48 27 1F B1 */ bl ReadBool__12CInputStreamFv +/* 800CCD30 000C9C90 7C 7D 1B 78 */ mr r29, r3 +/* 800CCD34 000C9C94 7E 03 83 78 */ mr r3, r16 +/* 800CCD38 000C9C98 48 27 1F 4D */ bl ReadLong__12CInputStreamFv +/* 800CCD3C 000C9C9C 7C 7C 1B 78 */ mr r28, r3 +/* 800CCD40 000C9CA0 7E 03 83 78 */ mr r3, r16 +/* 800CCD44 000C9CA4 48 27 1F 41 */ bl ReadLong__12CInputStreamFv +/* 800CCD48 000C9CA8 2C 11 00 04 */ cmpwi r17, 4 +/* 800CCD4C 000C9CAC 7C 7B 1B 78 */ mr r27, r3 +/* 800CCD50 000C9CB0 40 82 00 6C */ bne lbl_800CCDBC +/* 800CCD54 000C9CB4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CCD58 000C9CB8 38 60 00 94 */ li r3, 0x94 +/* 800CCD5C 000C9CBC 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CCD60 000C9CC0 38 A0 00 00 */ li r5, 0 +/* 800CCD64 000C9CC4 38 84 00 0D */ addi r4, r4, 0xd +/* 800CCD68 000C9CC8 48 24 8B 05 */ bl __nw__FUlPCcPCc +/* 800CCD6C 000C9CCC 7C 6E 1B 79 */ or. r14, r3, r3 +/* 800CCD70 000C9CD0 41 82 00 3C */ beq lbl_800CCDAC +/* 800CCD74 000C9CD4 7D E4 7B 78 */ mr r4, r15 +/* 800CCD78 000C9CD8 38 61 00 48 */ addi r3, r1, 0x48 +/* 800CCD7C 000C9CDC 4B F8 03 61 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CCD80 000C9CE0 A0 01 00 48 */ lhz r0, 0x48(r1) +/* 800CCD84 000C9CE4 7D C3 73 78 */ mr r3, r14 +/* 800CCD88 000C9CE8 7E 46 93 78 */ mr r6, r18 +/* 800CCD8C 000C9CEC 7F A7 EB 78 */ mr r7, r29 +/* 800CCD90 000C9CF0 B0 01 00 4C */ sth r0, 0x4c(r1) +/* 800CCD94 000C9CF4 7F 88 E3 78 */ mr r8, r28 +/* 800CCD98 000C9CF8 7F 69 DB 78 */ mr r9, r27 +/* 800CCD9C 000C9CFC 38 81 00 4C */ addi r4, r1, 0x4c +/* 800CCDA0 000C9D00 38 A1 00 80 */ addi r5, r1, 0x80 +/* 800CCDA4 000C9D04 48 10 A0 ED */ bl "__ct__22CScriptWorldTeleporterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobUiUi" +/* 800CCDA8 000C9D08 7C 6E 1B 78 */ mr r14, r3 +lbl_800CCDAC: +/* 800CCDAC 000C9D0C 38 61 00 80 */ addi r3, r1, 0x80 +/* 800CCDB0 000C9D10 48 27 0D 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CCDB4 000C9D14 7D C3 73 78 */ mr r3, r14 +/* 800CCDB8 000C9D18 48 00 02 B8 */ b lbl_800CD070 +lbl_800CCDBC: +/* 800CCDBC 000C9D1C 7E 04 83 78 */ mr r4, r16 +/* 800CCDC0 000C9D20 38 61 00 50 */ addi r3, r1, 0x50 +/* 800CCDC4 000C9D24 48 00 D6 49 */ bl LoadAnimationParameters__FR12CInputStream +/* 800CCDC8 000C9D28 82 A1 00 50 */ lwz r21, 0x50(r1) +/* 800CCDCC 000C9D2C 7E 04 83 78 */ mr r4, r16 +/* 800CCDD0 000C9D30 82 81 00 54 */ lwz r20, 0x54(r1) +/* 800CCDD4 000C9D34 38 61 00 74 */ addi r3, r1, 0x74 +/* 800CCDD8 000C9D38 82 61 00 58 */ lwz r19, 0x58(r1) +/* 800CCDDC 000C9D3C 48 24 7D B1 */ bl __ct__9CVector3fFR12CInputStream +/* 800CCDE0 000C9D40 7E 03 83 78 */ mr r3, r16 +/* 800CCDE4 000C9D44 48 27 1E A1 */ bl ReadLong__12CInputStreamFv +/* 800CCDE8 000C9D48 7C 6E 1B 78 */ mr r14, r3 +/* 800CCDEC 000C9D4C 7E 04 83 78 */ mr r4, r16 +/* 800CCDF0 000C9D50 38 61 00 68 */ addi r3, r1, 0x68 +/* 800CCDF4 000C9D54 48 24 7D 99 */ bl __ct__9CVector3fFR12CInputStream +/* 800CCDF8 000C9D58 7E 03 83 78 */ mr r3, r16 +/* 800CCDFC 000C9D5C 48 27 1E 89 */ bl ReadLong__12CInputStreamFv +/* 800CCE00 000C9D60 90 61 00 90 */ stw r3, 0x90(r1) +/* 800CCE04 000C9D64 7E 04 83 78 */ mr r4, r16 +/* 800CCE08 000C9D68 38 61 00 5C */ addi r3, r1, 0x5c +/* 800CCE0C 000C9D6C 48 24 7D 81 */ bl __ct__9CVector3fFR12CInputStream +/* 800CCE10 000C9D70 7E 03 83 78 */ mr r3, r16 +/* 800CCE14 000C9D74 48 27 1E C9 */ bl ReadBool__12CInputStreamFv +/* 800CCE18 000C9D78 2C 11 00 0C */ cmpwi r17, 0xc +/* 800CCE1C 000C9D7C 90 61 00 94 */ stw r3, 0x94(r1) +/* 800CCE20 000C9D80 41 80 00 14 */ blt lbl_800CCE34 +/* 800CCE24 000C9D84 7E 03 83 78 */ mr r3, r16 +/* 800CCE28 000C9D88 48 27 1E 5D */ bl ReadLong__12CInputStreamFv +/* 800CCE2C 000C9D8C 54 7A 04 3E */ clrlwi r26, r3, 0x10 +/* 800CCE30 000C9D90 48 00 00 08 */ b lbl_800CCE38 +lbl_800CCE34: +/* 800CCE34 000C9D94 A3 42 C5 FC */ lhz r26, lbl_805AE31C@sda21(r2) +lbl_800CCE38: +/* 800CCE38 000C9D98 2C 11 00 0D */ cmpwi r17, 0xd +/* 800CCE3C 000C9D9C 41 80 00 14 */ blt lbl_800CCE50 +/* 800CCE40 000C9DA0 7E 03 83 78 */ mr r3, r16 +/* 800CCE44 000C9DA4 48 27 1E 41 */ bl ReadLong__12CInputStreamFv +/* 800CCE48 000C9DA8 54 79 06 3E */ clrlwi r25, r3, 0x18 +/* 800CCE4C 000C9DAC 48 00 00 08 */ b lbl_800CCE54 +lbl_800CCE50: +/* 800CCE50 000C9DB0 3B 20 00 7F */ li r25, 0x7f +lbl_800CCE54: +/* 800CCE54 000C9DB4 2C 11 00 0E */ cmpwi r17, 0xe +/* 800CCE58 000C9DB8 41 80 00 14 */ blt lbl_800CCE6C +/* 800CCE5C 000C9DBC 7E 03 83 78 */ mr r3, r16 +/* 800CCE60 000C9DC0 48 27 1E 25 */ bl ReadLong__12CInputStreamFv +/* 800CCE64 000C9DC4 54 78 06 3E */ clrlwi r24, r3, 0x18 +/* 800CCE68 000C9DC8 48 00 00 08 */ b lbl_800CCE70 +lbl_800CCE6C: +/* 800CCE6C 000C9DCC 3B 00 00 40 */ li r24, 0x40 +lbl_800CCE70: +/* 800CCE70 000C9DD0 2C 11 00 0F */ cmpwi r17, 0xf +/* 800CCE74 000C9DD4 41 80 00 14 */ blt lbl_800CCE88 +/* 800CCE78 000C9DD8 7E 03 83 78 */ mr r3, r16 +/* 800CCE7C 000C9DDC 48 27 1E 61 */ bl ReadBool__12CInputStreamFv +/* 800CCE80 000C9DE0 7C 7E 1B 78 */ mr r30, r3 +/* 800CCE84 000C9DE4 48 00 00 08 */ b lbl_800CCE8C +lbl_800CCE88: +/* 800CCE88 000C9DE8 3B C0 00 00 */ li r30, 0 +lbl_800CCE8C: +/* 800CCE8C 000C9DEC 2C 11 00 10 */ cmpwi r17, 0x10 +/* 800CCE90 000C9DF0 41 80 00 14 */ blt lbl_800CCEA4 +/* 800CCE94 000C9DF4 7E 03 83 78 */ mr r3, r16 +/* 800CCE98 000C9DF8 48 27 1D ED */ bl ReadLong__12CInputStreamFv +/* 800CCE9C 000C9DFC 7C 77 1B 78 */ mr r23, r3 +/* 800CCEA0 000C9E00 48 00 00 08 */ b lbl_800CCEA8 +lbl_800CCEA4: +/* 800CCEA4 000C9E04 3A E0 FF FF */ li r23, -1 +lbl_800CCEA8: +/* 800CCEA8 000C9E08 2C 11 00 11 */ cmpwi r17, 0x11 +/* 800CCEAC 000C9E0C 41 80 00 14 */ blt lbl_800CCEC0 +/* 800CCEB0 000C9E10 7E 03 83 78 */ mr r3, r16 +/* 800CCEB4 000C9E14 48 27 1D D1 */ bl ReadLong__12CInputStreamFv +/* 800CCEB8 000C9E18 7C 76 1B 78 */ mr r22, r3 +/* 800CCEBC 000C9E1C 48 00 00 08 */ b lbl_800CCEC4 +lbl_800CCEC0: +/* 800CCEC0 000C9E20 3A C0 FF FF */ li r22, -1 +lbl_800CCEC4: +/* 800CCEC4 000C9E24 2C 11 00 12 */ cmpwi r17, 0x12 +/* 800CCEC8 000C9E28 41 80 00 14 */ blt lbl_800CCEDC +/* 800CCECC 000C9E2C 7E 03 83 78 */ mr r3, r16 +/* 800CCED0 000C9E30 48 27 1E 0D */ bl ReadBool__12CInputStreamFv +/* 800CCED4 000C9E34 7C 7F 1B 78 */ mr r31, r3 +/* 800CCED8 000C9E38 48 00 00 08 */ b lbl_800CCEE0 +lbl_800CCEDC: +/* 800CCEDC 000C9E3C 3B E0 00 00 */ li r31, 0 +lbl_800CCEE0: +/* 800CCEE0 000C9E40 2C 11 00 13 */ cmpwi r17, 0x13 +/* 800CCEE4 000C9E44 41 80 00 14 */ blt lbl_800CCEF8 +/* 800CCEE8 000C9E48 7E 03 83 78 */ mr r3, r16 +/* 800CCEEC 000C9E4C 48 27 1D 3D */ bl ReadFloat__12CInputStreamFv +/* 800CCEF0 000C9E50 FF E0 08 90 */ fmr f31, f1 +/* 800CCEF4 000C9E54 48 00 00 08 */ b lbl_800CCEFC +lbl_800CCEF8: +/* 800CCEF8 000C9E58 C3 E2 8E 58 */ lfs f31, lbl_805AAB78@sda21(r2) +lbl_800CCEFC: +/* 800CCEFC 000C9E5C 2C 11 00 14 */ cmpwi r17, 0x14 +/* 800CCF00 000C9E60 41 80 00 14 */ blt lbl_800CCF14 +/* 800CCF04 000C9E64 7E 03 83 78 */ mr r3, r16 +/* 800CCF08 000C9E68 48 27 1D 21 */ bl ReadFloat__12CInputStreamFv +/* 800CCF0C 000C9E6C FF C0 08 90 */ fmr f30, f1 +/* 800CCF10 000C9E70 48 00 00 08 */ b lbl_800CCF18 +lbl_800CCF14: +/* 800CCF14 000C9E74 C3 C2 8E 5C */ lfs f30, lbl_805AAB7C@sda21(r2) +lbl_800CCF18: +/* 800CCF18 000C9E78 2C 11 00 15 */ cmpwi r17, 0x15 +/* 800CCF1C 000C9E7C 41 80 00 14 */ blt lbl_800CCF30 +/* 800CCF20 000C9E80 7E 03 83 78 */ mr r3, r16 +/* 800CCF24 000C9E84 48 27 1D 05 */ bl ReadFloat__12CInputStreamFv +/* 800CCF28 000C9E88 FF A0 08 90 */ fmr f29, f1 +/* 800CCF2C 000C9E8C 48 00 00 08 */ b lbl_800CCF34 +lbl_800CCF30: +/* 800CCF30 000C9E90 C3 A2 8E 28 */ lfs f29, lbl_805AAB48@sda21(r2) +lbl_800CCF34: +/* 800CCF34 000C9E94 57 C0 06 3F */ clrlwi. r0, r30, 0x18 +/* 800CCF38 000C9E98 41 82 00 90 */ beq lbl_800CCFC8 +/* 800CCF3C 000C9E9C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CCF40 000C9EA0 38 60 00 94 */ li r3, 0x94 +/* 800CCF44 000C9EA4 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CCF48 000C9EA8 38 A0 00 00 */ li r5, 0 +/* 800CCF4C 000C9EAC 38 84 00 0D */ addi r4, r4, 0xd +/* 800CCF50 000C9EB0 48 24 89 1D */ bl __nw__FUlPCcPCc +/* 800CCF54 000C9EB4 7C 6E 1B 79 */ or. r14, r3, r3 +/* 800CCF58 000C9EB8 41 82 00 60 */ beq lbl_800CCFB8 +/* 800CCF5C 000C9EBC 7D E4 7B 78 */ mr r4, r15 +/* 800CCF60 000C9EC0 38 61 00 40 */ addi r3, r1, 0x40 +/* 800CCF64 000C9EC4 4B F8 01 79 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CCF68 000C9EC8 A0 01 00 40 */ lhz r0, 0x40(r1) +/* 800CCF6C 000C9ECC FC 20 F8 90 */ fmr f1, f31 +/* 800CCF70 000C9ED0 FC 40 F0 90 */ fmr f2, f30 +/* 800CCF74 000C9ED4 7D C3 73 78 */ mr r3, r14 +/* 800CCF78 000C9ED8 B0 01 00 44 */ sth r0, 0x44(r1) +/* 800CCF7C 000C9EDC FC 60 E8 90 */ fmr f3, f29 +/* 800CCF80 000C9EE0 7E 46 93 78 */ mr r6, r18 +/* 800CCF84 000C9EE4 93 21 00 08 */ stw r25, 8(r1) +/* 800CCF88 000C9EE8 7F A7 EB 78 */ mr r7, r29 +/* 800CCF8C 000C9EEC 7F 88 E3 78 */ mr r8, r28 +/* 800CCF90 000C9EF0 93 01 00 0C */ stw r24, 0xc(r1) +/* 800CCF94 000C9EF4 7F 69 DB 78 */ mr r9, r27 +/* 800CCF98 000C9EF8 7F 4A D3 78 */ mr r10, r26 +/* 800CCF9C 000C9EFC 38 81 00 44 */ addi r4, r1, 0x44 +/* 800CCFA0 000C9F00 92 E1 00 10 */ stw r23, 0x10(r1) +/* 800CCFA4 000C9F04 38 A1 00 80 */ addi r5, r1, 0x80 +/* 800CCFA8 000C9F08 92 C1 00 14 */ stw r22, 0x14(r1) +/* 800CCFAC 000C9F0C 93 E1 00 18 */ stw r31, 0x18(r1) +/* 800CCFB0 000C9F10 48 10 9C 15 */ bl "__ct__22CScriptWorldTeleporterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobUiUiUiUiRC9CVector3fUiRC9CVector3fUiRC9CVector3fb" +/* 800CCFB4 000C9F14 7C 6E 1B 78 */ mr r14, r3 +lbl_800CCFB8: +/* 800CCFB8 000C9F18 38 61 00 80 */ addi r3, r1, 0x80 +/* 800CCFBC 000C9F1C 48 27 0B 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CCFC0 000C9F20 7D C3 73 78 */ mr r3, r14 +/* 800CCFC4 000C9F24 48 00 00 AC */ b lbl_800CD070 +lbl_800CCFC8: +/* 800CCFC8 000C9F28 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CCFCC 000C9F2C 38 60 00 94 */ li r3, 0x94 +/* 800CCFD0 000C9F30 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CCFD4 000C9F34 38 A0 00 00 */ li r5, 0 +/* 800CCFD8 000C9F38 38 84 00 0D */ addi r4, r4, 0xd +/* 800CCFDC 000C9F3C 48 24 88 91 */ bl __nw__FUlPCcPCc +/* 800CCFE0 000C9F40 7C 70 1B 79 */ or. r16, r3, r3 +/* 800CCFE4 000C9F44 41 82 00 80 */ beq lbl_800CD064 +/* 800CCFE8 000C9F48 7D E4 7B 78 */ mr r4, r15 +/* 800CCFEC 000C9F4C 38 61 00 38 */ addi r3, r1, 0x38 +/* 800CCFF0 000C9F50 4B F8 00 ED */ bl AllocateUniqueId__13CStateManagerFv +/* 800CCFF4 000C9F54 A0 61 00 38 */ lhz r3, 0x38(r1) +/* 800CCFF8 000C9F58 39 81 00 74 */ addi r12, r1, 0x74 +/* 800CCFFC 000C9F5C 38 01 00 68 */ addi r0, r1, 0x68 +/* 800CD000 000C9F60 39 61 00 5C */ addi r11, r1, 0x5c +/* 800CD004 000C9F64 B0 61 00 3C */ sth r3, 0x3c(r1) +/* 800CD008 000C9F68 7E 03 83 78 */ mr r3, r16 +/* 800CD00C 000C9F6C 7E 46 93 78 */ mr r6, r18 +/* 800CD010 000C9F70 7F A7 EB 78 */ mr r7, r29 +/* 800CD014 000C9F74 92 61 00 08 */ stw r19, 8(r1) +/* 800CD018 000C9F78 7F 88 E3 78 */ mr r8, r28 +/* 800CD01C 000C9F7C 7F 69 DB 78 */ mr r9, r27 +/* 800CD020 000C9F80 7E AA AB 78 */ mr r10, r21 +/* 800CD024 000C9F84 92 81 00 0C */ stw r20, 0xc(r1) +/* 800CD028 000C9F88 38 81 00 3C */ addi r4, r1, 0x3c +/* 800CD02C 000C9F8C 38 A1 00 80 */ addi r5, r1, 0x80 +/* 800CD030 000C9F90 91 81 00 10 */ stw r12, 0x10(r1) +/* 800CD034 000C9F94 91 C1 00 14 */ stw r14, 0x14(r1) +/* 800CD038 000C9F98 90 01 00 18 */ stw r0, 0x18(r1) +/* 800CD03C 000C9F9C 80 01 00 90 */ lwz r0, 0x90(r1) +/* 800CD040 000C9FA0 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800CD044 000C9FA4 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800CD048 000C9FA8 91 61 00 20 */ stw r11, 0x20(r1) +/* 800CD04C 000C9FAC 90 01 00 24 */ stw r0, 0x24(r1) +/* 800CD050 000C9FB0 93 41 00 28 */ stw r26, 0x28(r1) +/* 800CD054 000C9FB4 93 21 00 2C */ stw r25, 0x2c(r1) +/* 800CD058 000C9FB8 93 01 00 30 */ stw r24, 0x30(r1) +/* 800CD05C 000C9FBC 48 10 9C E5 */ bl "__ct__22CScriptWorldTeleporterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CD060 000C9FC0 7C 70 1B 78 */ mr r16, r3 +lbl_800CD064: +/* 800CD064 000C9FC4 38 61 00 80 */ addi r3, r1, 0x80 +/* 800CD068 000C9FC8 48 27 0A 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CD06C 000C9FCC 7E 03 83 78 */ mr r3, r16 +lbl_800CD070: +/* 800CD070 000C9FD0 E3 E1 01 08 */ psq_l f31, 264(r1), 0, qr0 +/* 800CD074 000C9FD4 CB E1 01 00 */ lfd f31, 0x100(r1) +/* 800CD078 000C9FD8 E3 C1 00 F8 */ psq_l f30, 248(r1), 0, qr0 +/* 800CD07C 000C9FDC CB C1 00 F0 */ lfd f30, 0xf0(r1) +/* 800CD080 000C9FE0 E3 A1 00 E8 */ psq_l f29, 232(r1), 0, qr0 +/* 800CD084 000C9FE4 CB A1 00 E0 */ lfd f29, 0xe0(r1) +/* 800CD088 000C9FE8 B9 C1 00 98 */ lmw r14, 0x98(r1) +/* 800CD08C 000C9FEC 80 01 01 14 */ lwz r0, 0x114(r1) +/* 800CD090 000C9FF0 7C 08 03 A6 */ mtlr r0 +/* 800CD094 000C9FF4 38 21 01 10 */ addi r1, r1, 0x110 +/* 800CD098 000C9FF8 4E 80 00 20 */ blr + +.global LoadVisorFlare__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadVisorFlare__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CD09C 000C9FFC 94 21 FE 70 */ stwu r1, -0x190(r1) +/* 800CD0A0 000CA000 7C 08 02 A6 */ mflr r0 +/* 800CD0A4 000CA004 90 01 01 94 */ stw r0, 0x194(r1) +/* 800CD0A8 000CA008 DB E1 01 80 */ stfd f31, 0x180(r1) +/* 800CD0AC 000CA00C F3 E1 01 88 */ psq_st f31, 392(r1), 0, qr0 +/* 800CD0B0 000CA010 DB C1 01 70 */ stfd f30, 0x170(r1) +/* 800CD0B4 000CA014 F3 C1 01 78 */ psq_st f30, 376(r1), 0, qr0 +/* 800CD0B8 000CA018 DB A1 01 60 */ stfd f29, 0x160(r1) +/* 800CD0BC 000CA01C F3 A1 01 68 */ psq_st f29, 360(r1), 0, qr0 +/* 800CD0C0 000CA020 BF 01 01 40 */ stmw r24, 0x140(r1) +/* 800CD0C4 000CA024 2C 05 00 0E */ cmpwi r5, 0xe +/* 800CD0C8 000CA028 7C 7A 1B 78 */ mr r26, r3 +/* 800CD0CC 000CA02C 7C 9B 23 78 */ mr r27, r4 +/* 800CD0D0 000CA030 7C D9 33 78 */ mr r25, r6 +/* 800CD0D4 000CA034 41 82 00 0C */ beq lbl_800CD0E0 +/* 800CD0D8 000CA038 38 60 00 00 */ li r3, 0 +/* 800CD0DC 000CA03C 48 00 06 B0 */ b lbl_800CD78C +lbl_800CD0E0: +/* 800CD0E0 000CA040 4B F7 81 05 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CD0E4 000CA044 7C 64 1B 78 */ mr r4, r3 +/* 800CD0E8 000CA048 38 61 00 3C */ addi r3, r1, 0x3c +/* 800CD0EC 000CA04C 48 27 10 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CD0F0 000CA050 7F 64 DB 78 */ mr r4, r27 +/* 800CD0F4 000CA054 38 61 00 30 */ addi r3, r1, 0x30 +/* 800CD0F8 000CA058 48 24 7A 95 */ bl __ct__9CVector3fFR12CInputStream +/* 800CD0FC 000CA05C 7F 63 DB 78 */ mr r3, r27 +/* 800CD100 000CA060 48 27 1B DD */ bl ReadBool__12CInputStreamFv +/* 800CD104 000CA064 7C 7C 1B 78 */ mr r28, r3 +/* 800CD108 000CA068 7F 63 DB 78 */ mr r3, r27 +/* 800CD10C 000CA06C 48 27 1B 79 */ bl ReadLong__12CInputStreamFv +/* 800CD110 000CA070 7C 60 1B 78 */ mr r0, r3 +/* 800CD114 000CA074 7F 63 DB 78 */ mr r3, r27 +/* 800CD118 000CA078 7C 1D 03 78 */ mr r29, r0 +/* 800CD11C 000CA07C 48 27 1B C1 */ bl ReadBool__12CInputStreamFv +/* 800CD120 000CA080 7C 7F 1B 78 */ mr r31, r3 +/* 800CD124 000CA084 7F 63 DB 78 */ mr r3, r27 +/* 800CD128 000CA088 48 27 1B 01 */ bl ReadFloat__12CInputStreamFv +/* 800CD12C 000CA08C FF E0 08 90 */ fmr f31, f1 +/* 800CD130 000CA090 7F 63 DB 78 */ mr r3, r27 +/* 800CD134 000CA094 48 27 1A F5 */ bl ReadFloat__12CInputStreamFv +/* 800CD138 000CA098 FF C0 08 90 */ fmr f30, f1 +/* 800CD13C 000CA09C 7F 63 DB 78 */ mr r3, r27 +/* 800CD140 000CA0A0 48 27 1A E9 */ bl ReadFloat__12CInputStreamFv +/* 800CD144 000CA0A4 FF A0 08 90 */ fmr f29, f1 +/* 800CD148 000CA0A8 7F 63 DB 78 */ mr r3, r27 +/* 800CD14C 000CA0AC 48 27 1B 39 */ bl ReadLong__12CInputStreamFv +/* 800CD150 000CA0B0 7C 7E 1B 78 */ mr r30, r3 +/* 800CD154 000CA0B4 7F 64 DB 78 */ mr r4, r27 +/* 800CD158 000CA0B8 38 61 00 AC */ addi r3, r1, 0xac +/* 800CD15C 000CA0BC 48 00 13 FD */ bl LoadFlareDef__FR12CInputStream +/* 800CD160 000CA0C0 88 01 00 C0 */ lbz r0, 0xc0(r1) +/* 800CD164 000CA0C4 28 00 00 00 */ cmplwi r0, 0 +/* 800CD168 000CA0C8 98 01 01 38 */ stb r0, 0x138(r1) +/* 800CD16C 000CA0CC 41 82 00 30 */ beq lbl_800CD19C +/* 800CD170 000CA0D0 37 01 01 24 */ addic. r24, r1, 0x124 +/* 800CD174 000CA0D4 38 81 00 AC */ addi r4, r1, 0xac +/* 800CD178 000CA0D8 41 82 00 24 */ beq lbl_800CD19C +/* 800CD17C 000CA0DC 7F 03 C3 78 */ mr r3, r24 +/* 800CD180 000CA0E0 48 27 3D 29 */ bl __ct__6CTokenFRC6CToken +/* 800CD184 000CA0E4 C0 01 00 B4 */ lfs f0, 0xb4(r1) +/* 800CD188 000CA0E8 D0 18 00 08 */ stfs f0, 8(r24) +/* 800CD18C 000CA0EC C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 800CD190 000CA0F0 D0 18 00 0C */ stfs f0, 0xc(r24) +/* 800CD194 000CA0F4 80 01 00 BC */ lwz r0, 0xbc(r1) +/* 800CD198 000CA0F8 90 18 00 10 */ stw r0, 0x10(r24) +lbl_800CD19C: +/* 800CD19C 000CA0FC 88 01 00 C0 */ lbz r0, 0xc0(r1) +/* 800CD1A0 000CA100 28 00 00 00 */ cmplwi r0, 0 +/* 800CD1A4 000CA104 41 82 00 1C */ beq lbl_800CD1C0 +/* 800CD1A8 000CA108 34 61 00 AC */ addic. r3, r1, 0xac +/* 800CD1AC 000CA10C 41 82 00 14 */ beq lbl_800CD1C0 +/* 800CD1B0 000CA110 28 03 00 00 */ cmplwi r3, 0 +/* 800CD1B4 000CA114 41 82 00 0C */ beq lbl_800CD1C0 +/* 800CD1B8 000CA118 38 80 00 00 */ li r4, 0 +/* 800CD1BC 000CA11C 48 27 3C 85 */ bl __dt__6CTokenFv +lbl_800CD1C0: +/* 800CD1C0 000CA120 38 00 00 00 */ li r0, 0 +/* 800CD1C4 000CA124 7F 64 DB 78 */ mr r4, r27 +/* 800CD1C8 000CA128 98 01 00 C0 */ stb r0, 0xc0(r1) +/* 800CD1CC 000CA12C 38 61 00 94 */ addi r3, r1, 0x94 +/* 800CD1D0 000CA130 48 00 13 89 */ bl LoadFlareDef__FR12CInputStream +/* 800CD1D4 000CA134 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 800CD1D8 000CA138 28 00 00 00 */ cmplwi r0, 0 +/* 800CD1DC 000CA13C 98 01 01 20 */ stb r0, 0x120(r1) +/* 800CD1E0 000CA140 41 82 00 30 */ beq lbl_800CD210 +/* 800CD1E4 000CA144 37 01 01 0C */ addic. r24, r1, 0x10c +/* 800CD1E8 000CA148 38 81 00 94 */ addi r4, r1, 0x94 +/* 800CD1EC 000CA14C 41 82 00 24 */ beq lbl_800CD210 +/* 800CD1F0 000CA150 7F 03 C3 78 */ mr r3, r24 +/* 800CD1F4 000CA154 48 27 3C B5 */ bl __ct__6CTokenFRC6CToken +/* 800CD1F8 000CA158 C0 01 00 9C */ lfs f0, 0x9c(r1) +/* 800CD1FC 000CA15C D0 18 00 08 */ stfs f0, 8(r24) +/* 800CD200 000CA160 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 800CD204 000CA164 D0 18 00 0C */ stfs f0, 0xc(r24) +/* 800CD208 000CA168 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800CD20C 000CA16C 90 18 00 10 */ stw r0, 0x10(r24) +lbl_800CD210: +/* 800CD210 000CA170 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 800CD214 000CA174 28 00 00 00 */ cmplwi r0, 0 +/* 800CD218 000CA178 41 82 00 1C */ beq lbl_800CD234 +/* 800CD21C 000CA17C 34 61 00 94 */ addic. r3, r1, 0x94 +/* 800CD220 000CA180 41 82 00 14 */ beq lbl_800CD234 +/* 800CD224 000CA184 28 03 00 00 */ cmplwi r3, 0 +/* 800CD228 000CA188 41 82 00 0C */ beq lbl_800CD234 +/* 800CD22C 000CA18C 38 80 00 00 */ li r4, 0 +/* 800CD230 000CA190 48 27 3C 11 */ bl __dt__6CTokenFv +lbl_800CD234: +/* 800CD234 000CA194 38 00 00 00 */ li r0, 0 +/* 800CD238 000CA198 7F 64 DB 78 */ mr r4, r27 +/* 800CD23C 000CA19C 98 01 00 A8 */ stb r0, 0xa8(r1) +/* 800CD240 000CA1A0 38 61 00 7C */ addi r3, r1, 0x7c +/* 800CD244 000CA1A4 48 00 13 15 */ bl LoadFlareDef__FR12CInputStream +/* 800CD248 000CA1A8 88 01 00 90 */ lbz r0, 0x90(r1) +/* 800CD24C 000CA1AC 28 00 00 00 */ cmplwi r0, 0 +/* 800CD250 000CA1B0 98 01 01 08 */ stb r0, 0x108(r1) +/* 800CD254 000CA1B4 41 82 00 30 */ beq lbl_800CD284 +/* 800CD258 000CA1B8 37 01 00 F4 */ addic. r24, r1, 0xf4 +/* 800CD25C 000CA1BC 38 81 00 7C */ addi r4, r1, 0x7c +/* 800CD260 000CA1C0 41 82 00 24 */ beq lbl_800CD284 +/* 800CD264 000CA1C4 7F 03 C3 78 */ mr r3, r24 +/* 800CD268 000CA1C8 48 27 3C 41 */ bl __ct__6CTokenFRC6CToken +/* 800CD26C 000CA1CC C0 01 00 84 */ lfs f0, 0x84(r1) +/* 800CD270 000CA1D0 D0 18 00 08 */ stfs f0, 8(r24) +/* 800CD274 000CA1D4 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 800CD278 000CA1D8 D0 18 00 0C */ stfs f0, 0xc(r24) +/* 800CD27C 000CA1DC 80 01 00 8C */ lwz r0, 0x8c(r1) +/* 800CD280 000CA1E0 90 18 00 10 */ stw r0, 0x10(r24) +lbl_800CD284: +/* 800CD284 000CA1E4 88 01 00 90 */ lbz r0, 0x90(r1) +/* 800CD288 000CA1E8 28 00 00 00 */ cmplwi r0, 0 +/* 800CD28C 000CA1EC 41 82 00 1C */ beq lbl_800CD2A8 +/* 800CD290 000CA1F0 34 61 00 7C */ addic. r3, r1, 0x7c +/* 800CD294 000CA1F4 41 82 00 14 */ beq lbl_800CD2A8 +/* 800CD298 000CA1F8 28 03 00 00 */ cmplwi r3, 0 +/* 800CD29C 000CA1FC 41 82 00 0C */ beq lbl_800CD2A8 +/* 800CD2A0 000CA200 38 80 00 00 */ li r4, 0 +/* 800CD2A4 000CA204 48 27 3B 9D */ bl __dt__6CTokenFv +lbl_800CD2A8: +/* 800CD2A8 000CA208 38 00 00 00 */ li r0, 0 +/* 800CD2AC 000CA20C 7F 64 DB 78 */ mr r4, r27 +/* 800CD2B0 000CA210 98 01 00 90 */ stb r0, 0x90(r1) +/* 800CD2B4 000CA214 38 61 00 64 */ addi r3, r1, 0x64 +/* 800CD2B8 000CA218 48 00 12 A1 */ bl LoadFlareDef__FR12CInputStream +/* 800CD2BC 000CA21C 88 01 00 78 */ lbz r0, 0x78(r1) +/* 800CD2C0 000CA220 28 00 00 00 */ cmplwi r0, 0 +/* 800CD2C4 000CA224 98 01 00 F0 */ stb r0, 0xf0(r1) +/* 800CD2C8 000CA228 41 82 00 30 */ beq lbl_800CD2F8 +/* 800CD2CC 000CA22C 37 01 00 DC */ addic. r24, r1, 0xdc +/* 800CD2D0 000CA230 38 81 00 64 */ addi r4, r1, 0x64 +/* 800CD2D4 000CA234 41 82 00 24 */ beq lbl_800CD2F8 +/* 800CD2D8 000CA238 7F 03 C3 78 */ mr r3, r24 +/* 800CD2DC 000CA23C 48 27 3B CD */ bl __ct__6CTokenFRC6CToken +/* 800CD2E0 000CA240 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 800CD2E4 000CA244 D0 18 00 08 */ stfs f0, 8(r24) +/* 800CD2E8 000CA248 C0 01 00 70 */ lfs f0, 0x70(r1) +/* 800CD2EC 000CA24C D0 18 00 0C */ stfs f0, 0xc(r24) +/* 800CD2F0 000CA250 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800CD2F4 000CA254 90 18 00 10 */ stw r0, 0x10(r24) +lbl_800CD2F8: +/* 800CD2F8 000CA258 88 01 00 78 */ lbz r0, 0x78(r1) +/* 800CD2FC 000CA25C 28 00 00 00 */ cmplwi r0, 0 +/* 800CD300 000CA260 41 82 00 1C */ beq lbl_800CD31C +/* 800CD304 000CA264 34 61 00 64 */ addic. r3, r1, 0x64 +/* 800CD308 000CA268 41 82 00 14 */ beq lbl_800CD31C +/* 800CD30C 000CA26C 28 03 00 00 */ cmplwi r3, 0 +/* 800CD310 000CA270 41 82 00 0C */ beq lbl_800CD31C +/* 800CD314 000CA274 38 80 00 00 */ li r4, 0 +/* 800CD318 000CA278 48 27 3B 29 */ bl __dt__6CTokenFv +lbl_800CD31C: +/* 800CD31C 000CA27C 38 00 00 00 */ li r0, 0 +/* 800CD320 000CA280 7F 64 DB 78 */ mr r4, r27 +/* 800CD324 000CA284 98 01 00 78 */ stb r0, 0x78(r1) +/* 800CD328 000CA288 38 61 00 4C */ addi r3, r1, 0x4c +/* 800CD32C 000CA28C 48 00 12 2D */ bl LoadFlareDef__FR12CInputStream +/* 800CD330 000CA290 88 01 00 60 */ lbz r0, 0x60(r1) +/* 800CD334 000CA294 28 00 00 00 */ cmplwi r0, 0 +/* 800CD338 000CA298 98 01 00 D8 */ stb r0, 0xd8(r1) +/* 800CD33C 000CA29C 41 82 00 30 */ beq lbl_800CD36C +/* 800CD340 000CA2A0 37 01 00 C4 */ addic. r24, r1, 0xc4 +/* 800CD344 000CA2A4 38 81 00 4C */ addi r4, r1, 0x4c +/* 800CD348 000CA2A8 41 82 00 24 */ beq lbl_800CD36C +/* 800CD34C 000CA2AC 7F 03 C3 78 */ mr r3, r24 +/* 800CD350 000CA2B0 48 27 3B 59 */ bl __ct__6CTokenFRC6CToken +/* 800CD354 000CA2B4 C0 01 00 54 */ lfs f0, 0x54(r1) +/* 800CD358 000CA2B8 D0 18 00 08 */ stfs f0, 8(r24) +/* 800CD35C 000CA2BC C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800CD360 000CA2C0 D0 18 00 0C */ stfs f0, 0xc(r24) +/* 800CD364 000CA2C4 80 01 00 5C */ lwz r0, 0x5c(r1) +/* 800CD368 000CA2C8 90 18 00 10 */ stw r0, 0x10(r24) +lbl_800CD36C: +/* 800CD36C 000CA2CC 88 01 00 60 */ lbz r0, 0x60(r1) +/* 800CD370 000CA2D0 28 00 00 00 */ cmplwi r0, 0 +/* 800CD374 000CA2D4 41 82 00 1C */ beq lbl_800CD390 +/* 800CD378 000CA2D8 34 61 00 4C */ addic. r3, r1, 0x4c +/* 800CD37C 000CA2DC 41 82 00 14 */ beq lbl_800CD390 +/* 800CD380 000CA2E0 28 03 00 00 */ cmplwi r3, 0 +/* 800CD384 000CA2E4 41 82 00 0C */ beq lbl_800CD390 +/* 800CD388 000CA2E8 38 80 00 00 */ li r4, 0 +/* 800CD38C 000CA2EC 48 27 3A B5 */ bl __dt__6CTokenFv +lbl_800CD390: +/* 800CD390 000CA2F0 38 00 00 00 */ li r0, 0 +/* 800CD394 000CA2F4 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CD398 000CA2F8 98 01 00 60 */ stb r0, 0x60(r1) +/* 800CD39C 000CA2FC 38 80 00 05 */ li r4, 5 +/* 800CD3A0 000CA300 90 01 00 24 */ stw r0, 0x24(r1) +/* 800CD3A4 000CA304 90 01 00 28 */ stw r0, 0x28(r1) +/* 800CD3A8 000CA308 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800CD3AC 000CA30C 48 00 D4 29 */ bl sub_800da7d4 +/* 800CD3B0 000CA310 88 01 01 38 */ lbz r0, 0x138(r1) +/* 800CD3B4 000CA314 28 00 00 00 */ cmplwi r0, 0 +/* 800CD3B8 000CA318 41 82 00 74 */ beq lbl_800CD42C +/* 800CD3BC 000CA31C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800CD3C0 000CA320 3B 01 01 24 */ addi r24, r1, 0x124 +/* 800CD3C4 000CA324 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 800CD3C8 000CA328 7C 00 28 00 */ cmpw r0, r5 +/* 800CD3CC 000CA32C 41 80 00 1C */ blt lbl_800CD3E8 +/* 800CD3D0 000CA330 2C 05 00 00 */ cmpwi r5, 0 +/* 800CD3D4 000CA334 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CD3D8 000CA338 38 80 00 04 */ li r4, 4 +/* 800CD3DC 000CA33C 41 82 00 08 */ beq lbl_800CD3E4 +/* 800CD3E0 000CA340 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800CD3E4: +/* 800CD3E4 000CA344 48 00 D3 F1 */ bl sub_800da7d4 +lbl_800CD3E8: +/* 800CD3E8 000CA348 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800CD3EC 000CA34C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800CD3F0 000CA350 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800CD3F4 000CA354 7F 63 02 15 */ add. r27, r3, r0 +/* 800CD3F8 000CA358 41 82 00 28 */ beq lbl_800CD420 +/* 800CD3FC 000CA35C 7F 63 DB 78 */ mr r3, r27 +/* 800CD400 000CA360 7F 04 C3 78 */ mr r4, r24 +/* 800CD404 000CA364 48 27 3A A5 */ bl __ct__6CTokenFRC6CToken +/* 800CD408 000CA368 C0 01 01 2C */ lfs f0, 0x12c(r1) +/* 800CD40C 000CA36C D0 1B 00 08 */ stfs f0, 8(r27) +/* 800CD410 000CA370 C0 01 01 30 */ lfs f0, 0x130(r1) +/* 800CD414 000CA374 D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 800CD418 000CA378 80 01 01 34 */ lwz r0, 0x134(r1) +/* 800CD41C 000CA37C 90 1B 00 10 */ stw r0, 0x10(r27) +lbl_800CD420: +/* 800CD420 000CA380 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800CD424 000CA384 38 03 00 01 */ addi r0, r3, 1 +/* 800CD428 000CA388 90 01 00 24 */ stw r0, 0x24(r1) +lbl_800CD42C: +/* 800CD42C 000CA38C 88 01 01 20 */ lbz r0, 0x120(r1) +/* 800CD430 000CA390 28 00 00 00 */ cmplwi r0, 0 +/* 800CD434 000CA394 41 82 00 74 */ beq lbl_800CD4A8 +/* 800CD438 000CA398 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800CD43C 000CA39C 3B 01 01 0C */ addi r24, r1, 0x10c +/* 800CD440 000CA3A0 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 800CD444 000CA3A4 7C 00 28 00 */ cmpw r0, r5 +/* 800CD448 000CA3A8 41 80 00 1C */ blt lbl_800CD464 +/* 800CD44C 000CA3AC 2C 05 00 00 */ cmpwi r5, 0 +/* 800CD450 000CA3B0 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CD454 000CA3B4 38 80 00 04 */ li r4, 4 +/* 800CD458 000CA3B8 41 82 00 08 */ beq lbl_800CD460 +/* 800CD45C 000CA3BC 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800CD460: +/* 800CD460 000CA3C0 48 00 D3 75 */ bl sub_800da7d4 +lbl_800CD464: +/* 800CD464 000CA3C4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800CD468 000CA3C8 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800CD46C 000CA3CC 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800CD470 000CA3D0 7F 63 02 15 */ add. r27, r3, r0 +/* 800CD474 000CA3D4 41 82 00 28 */ beq lbl_800CD49C +/* 800CD478 000CA3D8 7F 63 DB 78 */ mr r3, r27 +/* 800CD47C 000CA3DC 7F 04 C3 78 */ mr r4, r24 +/* 800CD480 000CA3E0 48 27 3A 29 */ bl __ct__6CTokenFRC6CToken +/* 800CD484 000CA3E4 C0 01 01 14 */ lfs f0, 0x114(r1) +/* 800CD488 000CA3E8 D0 1B 00 08 */ stfs f0, 8(r27) +/* 800CD48C 000CA3EC C0 01 01 18 */ lfs f0, 0x118(r1) +/* 800CD490 000CA3F0 D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 800CD494 000CA3F4 80 01 01 1C */ lwz r0, 0x11c(r1) +/* 800CD498 000CA3F8 90 1B 00 10 */ stw r0, 0x10(r27) +lbl_800CD49C: +/* 800CD49C 000CA3FC 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800CD4A0 000CA400 38 03 00 01 */ addi r0, r3, 1 +/* 800CD4A4 000CA404 90 01 00 24 */ stw r0, 0x24(r1) +lbl_800CD4A8: +/* 800CD4A8 000CA408 88 01 01 08 */ lbz r0, 0x108(r1) +/* 800CD4AC 000CA40C 28 00 00 00 */ cmplwi r0, 0 +/* 800CD4B0 000CA410 41 82 00 74 */ beq lbl_800CD524 +/* 800CD4B4 000CA414 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800CD4B8 000CA418 3B 01 00 F4 */ addi r24, r1, 0xf4 +/* 800CD4BC 000CA41C 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 800CD4C0 000CA420 7C 00 28 00 */ cmpw r0, r5 +/* 800CD4C4 000CA424 41 80 00 1C */ blt lbl_800CD4E0 +/* 800CD4C8 000CA428 2C 05 00 00 */ cmpwi r5, 0 +/* 800CD4CC 000CA42C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CD4D0 000CA430 38 80 00 04 */ li r4, 4 +/* 800CD4D4 000CA434 41 82 00 08 */ beq lbl_800CD4DC +/* 800CD4D8 000CA438 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800CD4DC: +/* 800CD4DC 000CA43C 48 00 D2 F9 */ bl sub_800da7d4 +lbl_800CD4E0: +/* 800CD4E0 000CA440 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800CD4E4 000CA444 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800CD4E8 000CA448 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800CD4EC 000CA44C 7F 63 02 15 */ add. r27, r3, r0 +/* 800CD4F0 000CA450 41 82 00 28 */ beq lbl_800CD518 +/* 800CD4F4 000CA454 7F 63 DB 78 */ mr r3, r27 +/* 800CD4F8 000CA458 7F 04 C3 78 */ mr r4, r24 +/* 800CD4FC 000CA45C 48 27 39 AD */ bl __ct__6CTokenFRC6CToken +/* 800CD500 000CA460 C0 01 00 FC */ lfs f0, 0xfc(r1) +/* 800CD504 000CA464 D0 1B 00 08 */ stfs f0, 8(r27) +/* 800CD508 000CA468 C0 01 01 00 */ lfs f0, 0x100(r1) +/* 800CD50C 000CA46C D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 800CD510 000CA470 80 01 01 04 */ lwz r0, 0x104(r1) +/* 800CD514 000CA474 90 1B 00 10 */ stw r0, 0x10(r27) +lbl_800CD518: +/* 800CD518 000CA478 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800CD51C 000CA47C 38 03 00 01 */ addi r0, r3, 1 +/* 800CD520 000CA480 90 01 00 24 */ stw r0, 0x24(r1) +lbl_800CD524: +/* 800CD524 000CA484 88 01 00 F0 */ lbz r0, 0xf0(r1) +/* 800CD528 000CA488 28 00 00 00 */ cmplwi r0, 0 +/* 800CD52C 000CA48C 41 82 00 74 */ beq lbl_800CD5A0 +/* 800CD530 000CA490 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800CD534 000CA494 3B 01 00 DC */ addi r24, r1, 0xdc +/* 800CD538 000CA498 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 800CD53C 000CA49C 7C 00 28 00 */ cmpw r0, r5 +/* 800CD540 000CA4A0 41 80 00 1C */ blt lbl_800CD55C +/* 800CD544 000CA4A4 2C 05 00 00 */ cmpwi r5, 0 +/* 800CD548 000CA4A8 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CD54C 000CA4AC 38 80 00 04 */ li r4, 4 +/* 800CD550 000CA4B0 41 82 00 08 */ beq lbl_800CD558 +/* 800CD554 000CA4B4 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800CD558: +/* 800CD558 000CA4B8 48 00 D2 7D */ bl sub_800da7d4 +lbl_800CD55C: +/* 800CD55C 000CA4BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800CD560 000CA4C0 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800CD564 000CA4C4 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800CD568 000CA4C8 7F 63 02 15 */ add. r27, r3, r0 +/* 800CD56C 000CA4CC 41 82 00 28 */ beq lbl_800CD594 +/* 800CD570 000CA4D0 7F 63 DB 78 */ mr r3, r27 +/* 800CD574 000CA4D4 7F 04 C3 78 */ mr r4, r24 +/* 800CD578 000CA4D8 48 27 39 31 */ bl __ct__6CTokenFRC6CToken +/* 800CD57C 000CA4DC C0 01 00 E4 */ lfs f0, 0xe4(r1) +/* 800CD580 000CA4E0 D0 1B 00 08 */ stfs f0, 8(r27) +/* 800CD584 000CA4E4 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 800CD588 000CA4E8 D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 800CD58C 000CA4EC 80 01 00 EC */ lwz r0, 0xec(r1) +/* 800CD590 000CA4F0 90 1B 00 10 */ stw r0, 0x10(r27) +lbl_800CD594: +/* 800CD594 000CA4F4 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800CD598 000CA4F8 38 03 00 01 */ addi r0, r3, 1 +/* 800CD59C 000CA4FC 90 01 00 24 */ stw r0, 0x24(r1) +lbl_800CD5A0: +/* 800CD5A0 000CA500 88 01 00 D8 */ lbz r0, 0xd8(r1) +/* 800CD5A4 000CA504 28 00 00 00 */ cmplwi r0, 0 +/* 800CD5A8 000CA508 41 82 00 74 */ beq lbl_800CD61C +/* 800CD5AC 000CA50C 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800CD5B0 000CA510 3B 01 00 C4 */ addi r24, r1, 0xc4 +/* 800CD5B4 000CA514 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 800CD5B8 000CA518 7C 00 28 00 */ cmpw r0, r5 +/* 800CD5BC 000CA51C 41 80 00 1C */ blt lbl_800CD5D8 +/* 800CD5C0 000CA520 2C 05 00 00 */ cmpwi r5, 0 +/* 800CD5C4 000CA524 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CD5C8 000CA528 38 80 00 04 */ li r4, 4 +/* 800CD5CC 000CA52C 41 82 00 08 */ beq lbl_800CD5D4 +/* 800CD5D0 000CA530 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800CD5D4: +/* 800CD5D4 000CA534 48 00 D2 01 */ bl sub_800da7d4 +lbl_800CD5D8: +/* 800CD5D8 000CA538 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800CD5DC 000CA53C 80 61 00 2C */ lwz r3, 0x2c(r1) +/* 800CD5E0 000CA540 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800CD5E4 000CA544 7F 63 02 15 */ add. r27, r3, r0 +/* 800CD5E8 000CA548 41 82 00 28 */ beq lbl_800CD610 +/* 800CD5EC 000CA54C 7F 63 DB 78 */ mr r3, r27 +/* 800CD5F0 000CA550 7F 04 C3 78 */ mr r4, r24 +/* 800CD5F4 000CA554 48 27 38 B5 */ bl __ct__6CTokenFRC6CToken +/* 800CD5F8 000CA558 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 800CD5FC 000CA55C D0 1B 00 08 */ stfs f0, 8(r27) +/* 800CD600 000CA560 C0 01 00 D0 */ lfs f0, 0xd0(r1) +/* 800CD604 000CA564 D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 800CD608 000CA568 80 01 00 D4 */ lwz r0, 0xd4(r1) +/* 800CD60C 000CA56C 90 1B 00 10 */ stw r0, 0x10(r27) +lbl_800CD610: +/* 800CD610 000CA570 80 61 00 24 */ lwz r3, 0x24(r1) +/* 800CD614 000CA574 38 03 00 01 */ addi r0, r3, 1 +/* 800CD618 000CA578 90 01 00 24 */ stw r0, 0x24(r1) +lbl_800CD61C: +/* 800CD61C 000CA57C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CD620 000CA580 38 60 01 20 */ li r3, 0x120 +/* 800CD624 000CA584 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CD628 000CA588 38 A0 00 00 */ li r5, 0 +/* 800CD62C 000CA58C 38 84 00 0D */ addi r4, r4, 0xd +/* 800CD630 000CA590 48 24 82 3D */ bl __nw__FUlPCcPCc +/* 800CD634 000CA594 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800CD638 000CA598 41 82 00 60 */ beq lbl_800CD698 +/* 800CD63C 000CA59C 7F 44 D3 78 */ mr r4, r26 +/* 800CD640 000CA5A0 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CD644 000CA5A4 4B F7 FA 99 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CD648 000CA5A8 A0 61 00 18 */ lhz r3, 0x18(r1) +/* 800CD64C 000CA5AC 38 80 00 02 */ li r4, 2 +/* 800CD650 000CA5B0 FC 20 F8 90 */ fmr f1, f31 +/* 800CD654 000CA5B4 38 01 00 20 */ addi r0, r1, 0x20 +/* 800CD658 000CA5B8 B0 61 00 1C */ sth r3, 0x1c(r1) +/* 800CD65C 000CA5BC FC 40 F0 90 */ fmr f2, f30 +/* 800CD660 000CA5C0 FC 60 E8 90 */ fmr f3, f29 +/* 800CD664 000CA5C4 7F 63 DB 78 */ mr r3, r27 +/* 800CD668 000CA5C8 90 81 00 08 */ stw r4, 8(r1) +/* 800CD66C 000CA5CC 7F 26 CB 78 */ mr r6, r25 +/* 800CD670 000CA5D0 7F 87 E3 78 */ mr r7, r28 +/* 800CD674 000CA5D4 7F A9 EB 78 */ mr r9, r29 +/* 800CD678 000CA5D8 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800CD67C 000CA5DC 7F EA FB 78 */ mr r10, r31 +/* 800CD680 000CA5E0 38 81 00 1C */ addi r4, r1, 0x1c +/* 800CD684 000CA5E4 38 A1 00 3C */ addi r5, r1, 0x3c +/* 800CD688 000CA5E8 90 01 00 10 */ stw r0, 0x10(r1) +/* 800CD68C 000CA5EC 39 01 00 30 */ addi r8, r1, 0x30 +/* 800CD690 000CA5F0 48 10 90 9D */ bl "__ct__17CScriptVisorFlareF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobRC9CVector3fQ211CVisorFlare10EBlendModebfffRCQ24rstl60vector" +/* 800CD694 000CA5F4 7C 7B 1B 78 */ mr r27, r3 +lbl_800CD698: +/* 800CD698 000CA5F8 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CD69C 000CA5FC 38 80 FF FF */ li r4, -1 +/* 800CD6A0 000CA600 48 00 01 19 */ bl sub_800cd7b8 +/* 800CD6A4 000CA604 88 01 00 D8 */ lbz r0, 0xd8(r1) +/* 800CD6A8 000CA608 28 00 00 00 */ cmplwi r0, 0 +/* 800CD6AC 000CA60C 41 82 00 1C */ beq lbl_800CD6C8 +/* 800CD6B0 000CA610 34 61 00 C4 */ addic. r3, r1, 0xc4 +/* 800CD6B4 000CA614 41 82 00 14 */ beq lbl_800CD6C8 +/* 800CD6B8 000CA618 28 03 00 00 */ cmplwi r3, 0 +/* 800CD6BC 000CA61C 41 82 00 0C */ beq lbl_800CD6C8 +/* 800CD6C0 000CA620 38 80 00 00 */ li r4, 0 +/* 800CD6C4 000CA624 48 27 37 7D */ bl __dt__6CTokenFv +lbl_800CD6C8: +/* 800CD6C8 000CA628 88 01 00 F0 */ lbz r0, 0xf0(r1) +/* 800CD6CC 000CA62C 38 60 00 00 */ li r3, 0 +/* 800CD6D0 000CA630 98 61 00 D8 */ stb r3, 0xd8(r1) +/* 800CD6D4 000CA634 28 00 00 00 */ cmplwi r0, 0 +/* 800CD6D8 000CA638 41 82 00 1C */ beq lbl_800CD6F4 +/* 800CD6DC 000CA63C 34 61 00 DC */ addic. r3, r1, 0xdc +/* 800CD6E0 000CA640 41 82 00 14 */ beq lbl_800CD6F4 +/* 800CD6E4 000CA644 28 03 00 00 */ cmplwi r3, 0 +/* 800CD6E8 000CA648 41 82 00 0C */ beq lbl_800CD6F4 +/* 800CD6EC 000CA64C 38 80 00 00 */ li r4, 0 +/* 800CD6F0 000CA650 48 27 37 51 */ bl __dt__6CTokenFv +lbl_800CD6F4: +/* 800CD6F4 000CA654 88 01 01 08 */ lbz r0, 0x108(r1) +/* 800CD6F8 000CA658 38 60 00 00 */ li r3, 0 +/* 800CD6FC 000CA65C 98 61 00 F0 */ stb r3, 0xf0(r1) +/* 800CD700 000CA660 28 00 00 00 */ cmplwi r0, 0 +/* 800CD704 000CA664 41 82 00 1C */ beq lbl_800CD720 +/* 800CD708 000CA668 34 61 00 F4 */ addic. r3, r1, 0xf4 +/* 800CD70C 000CA66C 41 82 00 14 */ beq lbl_800CD720 +/* 800CD710 000CA670 28 03 00 00 */ cmplwi r3, 0 +/* 800CD714 000CA674 41 82 00 0C */ beq lbl_800CD720 +/* 800CD718 000CA678 38 80 00 00 */ li r4, 0 +/* 800CD71C 000CA67C 48 27 37 25 */ bl __dt__6CTokenFv +lbl_800CD720: +/* 800CD720 000CA680 88 01 01 20 */ lbz r0, 0x120(r1) +/* 800CD724 000CA684 38 60 00 00 */ li r3, 0 +/* 800CD728 000CA688 98 61 01 08 */ stb r3, 0x108(r1) +/* 800CD72C 000CA68C 28 00 00 00 */ cmplwi r0, 0 +/* 800CD730 000CA690 41 82 00 1C */ beq lbl_800CD74C +/* 800CD734 000CA694 34 61 01 0C */ addic. r3, r1, 0x10c +/* 800CD738 000CA698 41 82 00 14 */ beq lbl_800CD74C +/* 800CD73C 000CA69C 28 03 00 00 */ cmplwi r3, 0 +/* 800CD740 000CA6A0 41 82 00 0C */ beq lbl_800CD74C +/* 800CD744 000CA6A4 38 80 00 00 */ li r4, 0 +/* 800CD748 000CA6A8 48 27 36 F9 */ bl __dt__6CTokenFv +lbl_800CD74C: +/* 800CD74C 000CA6AC 88 01 01 38 */ lbz r0, 0x138(r1) +/* 800CD750 000CA6B0 38 60 00 00 */ li r3, 0 +/* 800CD754 000CA6B4 98 61 01 20 */ stb r3, 0x120(r1) +/* 800CD758 000CA6B8 28 00 00 00 */ cmplwi r0, 0 +/* 800CD75C 000CA6BC 41 82 00 1C */ beq lbl_800CD778 +/* 800CD760 000CA6C0 34 61 01 24 */ addic. r3, r1, 0x124 +/* 800CD764 000CA6C4 41 82 00 14 */ beq lbl_800CD778 +/* 800CD768 000CA6C8 28 03 00 00 */ cmplwi r3, 0 +/* 800CD76C 000CA6CC 41 82 00 0C */ beq lbl_800CD778 +/* 800CD770 000CA6D0 38 80 00 00 */ li r4, 0 +/* 800CD774 000CA6D4 48 27 36 CD */ bl __dt__6CTokenFv +lbl_800CD778: +/* 800CD778 000CA6D8 38 00 00 00 */ li r0, 0 +/* 800CD77C 000CA6DC 38 61 00 3C */ addi r3, r1, 0x3c +/* 800CD780 000CA6E0 98 01 01 38 */ stb r0, 0x138(r1) +/* 800CD784 000CA6E4 48 27 03 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CD788 000CA6E8 7F 63 DB 78 */ mr r3, r27 +lbl_800CD78C: +/* 800CD78C 000CA6EC E3 E1 01 88 */ psq_l f31, 392(r1), 0, qr0 +/* 800CD790 000CA6F0 CB E1 01 80 */ lfd f31, 0x180(r1) +/* 800CD794 000CA6F4 E3 C1 01 78 */ psq_l f30, 376(r1), 0, qr0 +/* 800CD798 000CA6F8 CB C1 01 70 */ lfd f30, 0x170(r1) +/* 800CD79C 000CA6FC E3 A1 01 68 */ psq_l f29, 360(r1), 0, qr0 +/* 800CD7A0 000CA700 CB A1 01 60 */ lfd f29, 0x160(r1) +/* 800CD7A4 000CA704 BB 01 01 40 */ lmw r24, 0x140(r1) +/* 800CD7A8 000CA708 80 01 01 94 */ lwz r0, 0x194(r1) +/* 800CD7AC 000CA70C 7C 08 03 A6 */ mtlr r0 +/* 800CD7B0 000CA710 38 21 01 90 */ addi r1, r1, 0x190 +/* 800CD7B4 000CA714 4E 80 00 20 */ blr + +.global sub_800cd7b8 +sub_800cd7b8: +/* 800CD7B8 000CA718 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800CD7BC 000CA71C 7C 08 02 A6 */ mflr r0 +/* 800CD7C0 000CA720 90 01 00 34 */ stw r0, 0x34(r1) +/* 800CD7C4 000CA724 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800CD7C8 000CA728 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800CD7CC 000CA72C 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800CD7D0 000CA730 7C 9D 23 78 */ mr r29, r4 +/* 800CD7D4 000CA734 93 81 00 20 */ stw r28, 0x20(r1) +/* 800CD7D8 000CA738 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800CD7DC 000CA73C 41 82 00 6C */ beq lbl_800CD848 +/* 800CD7E0 000CA740 80 1C 00 04 */ lwz r0, 4(r28) +/* 800CD7E4 000CA744 83 DC 00 0C */ lwz r30, 0xc(r28) +/* 800CD7E8 000CA748 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800CD7EC 000CA74C 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800CD7F0 000CA750 7F FE 02 14 */ add r31, r30, r0 +/* 800CD7F4 000CA754 93 C1 00 14 */ stw r30, 0x14(r1) +/* 800CD7F8 000CA758 93 E1 00 08 */ stw r31, 8(r1) +/* 800CD7FC 000CA75C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800CD800 000CA760 48 00 00 20 */ b lbl_800CD820 +lbl_800CD804: +/* 800CD804 000CA764 28 1E 00 00 */ cmplwi r30, 0 +/* 800CD808 000CA768 41 82 00 14 */ beq lbl_800CD81C +/* 800CD80C 000CA76C 41 82 00 10 */ beq lbl_800CD81C +/* 800CD810 000CA770 7F C3 F3 78 */ mr r3, r30 +/* 800CD814 000CA774 38 80 00 00 */ li r4, 0 +/* 800CD818 000CA778 48 27 36 29 */ bl __dt__6CTokenFv +lbl_800CD81C: +/* 800CD81C 000CA77C 3B DE 00 14 */ addi r30, r30, 0x14 +lbl_800CD820: +/* 800CD820 000CA780 7C 1E F8 40 */ cmplw r30, r31 +/* 800CD824 000CA784 40 82 FF E0 */ bne lbl_800CD804 +/* 800CD828 000CA788 80 7C 00 0C */ lwz r3, 0xc(r28) +/* 800CD82C 000CA78C 28 03 00 00 */ cmplwi r3, 0 +/* 800CD830 000CA790 41 82 00 08 */ beq lbl_800CD838 +/* 800CD834 000CA794 48 24 80 FD */ bl Free__7CMemoryFPCv +lbl_800CD838: +/* 800CD838 000CA798 7F A0 07 35 */ extsh. r0, r29 +/* 800CD83C 000CA79C 40 81 00 0C */ ble lbl_800CD848 +/* 800CD840 000CA7A0 7F 83 E3 78 */ mr r3, r28 +/* 800CD844 000CA7A4 48 24 80 ED */ bl Free__7CMemoryFPCv +lbl_800CD848: +/* 800CD848 000CA7A8 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800CD84C 000CA7AC 7F 83 E3 78 */ mr r3, r28 +/* 800CD850 000CA7B0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800CD854 000CA7B4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800CD858 000CA7B8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800CD85C 000CA7BC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 800CD860 000CA7C0 7C 08 03 A6 */ mtlr r0 +/* 800CD864 000CA7C4 38 21 00 30 */ addi r1, r1, 0x30 +/* 800CD868 000CA7C8 4E 80 00 20 */ blr + +.global LoadDrone__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadDrone__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CD86C 000CA7CC 94 21 F9 D0 */ stwu r1, -0x630(r1) +/* 800CD870 000CA7D0 7C 08 02 A6 */ mflr r0 +/* 800CD874 000CA7D4 90 01 06 34 */ stw r0, 0x634(r1) +/* 800CD878 000CA7D8 DB E1 06 20 */ stfd f31, 0x620(r1) +/* 800CD87C 000CA7DC F3 E1 06 28 */ psq_st f31, 1576(r1), 0, qr0 +/* 800CD880 000CA7E0 DB C1 06 10 */ stfd f30, 0x610(r1) +/* 800CD884 000CA7E4 F3 C1 06 18 */ psq_st f30, 1560(r1), 0, qr0 +/* 800CD888 000CA7E8 DB A1 06 00 */ stfd f29, 0x600(r1) +/* 800CD88C 000CA7EC F3 A1 06 08 */ psq_st f29, 1544(r1), 0, qr0 +/* 800CD890 000CA7F0 DB 81 05 F0 */ stfd f28, 0x5f0(r1) +/* 800CD894 000CA7F4 F3 81 05 F8 */ psq_st f28, 1528(r1), 0, qr0 +/* 800CD898 000CA7F8 DB 61 05 E0 */ stfd f27, 0x5e0(r1) +/* 800CD89C 000CA7FC F3 61 05 E8 */ psq_st f27, 1512(r1), 0, qr0 +/* 800CD8A0 000CA800 DB 41 05 D0 */ stfd f26, 0x5d0(r1) +/* 800CD8A4 000CA804 F3 41 05 D8 */ psq_st f26, 1496(r1), 0, qr0 +/* 800CD8A8 000CA808 DB 21 05 C0 */ stfd f25, 0x5c0(r1) +/* 800CD8AC 000CA80C F3 21 05 C8 */ psq_st f25, 1480(r1), 0, qr0 +/* 800CD8B0 000CA810 DB 01 05 B0 */ stfd f24, 0x5b0(r1) +/* 800CD8B4 000CA814 F3 01 05 B8 */ psq_st f24, 1464(r1), 0, qr0 +/* 800CD8B8 000CA818 DA E1 05 A0 */ stfd f23, 0x5a0(r1) +/* 800CD8BC 000CA81C F2 E1 05 A8 */ psq_st f23, 1448(r1), 0, qr0 +/* 800CD8C0 000CA820 DA C1 05 90 */ stfd f22, 0x590(r1) +/* 800CD8C4 000CA824 F2 C1 05 98 */ psq_st f22, 1432(r1), 0, qr0 +/* 800CD8C8 000CA828 DA A1 05 80 */ stfd f21, 0x580(r1) +/* 800CD8CC 000CA82C F2 A1 05 88 */ psq_st f21, 1416(r1), 0, qr0 +/* 800CD8D0 000CA830 DA 81 05 70 */ stfd f20, 0x570(r1) +/* 800CD8D4 000CA834 F2 81 05 78 */ psq_st f20, 1400(r1), 0, qr0 +/* 800CD8D8 000CA838 DA 61 05 60 */ stfd f19, 0x560(r1) +/* 800CD8DC 000CA83C F2 61 05 68 */ psq_st f19, 1384(r1), 0, qr0 +/* 800CD8E0 000CA840 DA 41 05 50 */ stfd f18, 0x550(r1) +/* 800CD8E4 000CA844 F2 41 05 58 */ psq_st f18, 1368(r1), 0, qr0 +/* 800CD8E8 000CA848 DA 21 05 40 */ stfd f17, 0x540(r1) +/* 800CD8EC 000CA84C F2 21 05 48 */ psq_st f17, 1352(r1), 0, qr0 +/* 800CD8F0 000CA850 DA 01 05 30 */ stfd f16, 0x530(r1) +/* 800CD8F4 000CA854 F2 01 05 38 */ psq_st f16, 1336(r1), 0, qr0 +/* 800CD8F8 000CA858 D9 E1 05 20 */ stfd f15, 0x520(r1) +/* 800CD8FC 000CA85C F1 E1 05 28 */ psq_st f15, 1320(r1), 0, qr0 +/* 800CD900 000CA860 D9 C1 05 10 */ stfd f14, 0x510(r1) +/* 800CD904 000CA864 F1 C1 05 18 */ psq_st f14, 1304(r1), 0, qr0 +/* 800CD908 000CA868 BE A1 04 E4 */ stmw r21, 0x4e4(r1) +/* 800CD90C 000CA86C 2C 05 00 2D */ cmpwi r5, 0x2d +/* 800CD910 000CA870 7C 7B 1B 78 */ mr r27, r3 +/* 800CD914 000CA874 7C 9F 23 78 */ mr r31, r4 +/* 800CD918 000CA878 7C DA 33 78 */ mr r26, r6 +/* 800CD91C 000CA87C 41 82 00 0C */ beq lbl_800CD928 +/* 800CD920 000CA880 38 60 00 00 */ li r3, 0 +/* 800CD924 000CA884 48 00 0A A4 */ b lbl_800CE3C8 +lbl_800CD928: +/* 800CD928 000CA888 4B F7 78 BD */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CD92C 000CA88C 7C 64 1B 78 */ mr r4, r3 +/* 800CD930 000CA890 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800CD934 000CA894 48 27 08 2D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CD938 000CA898 7F E3 FB 78 */ mr r3, r31 +/* 800CD93C 000CA89C 48 27 13 49 */ bl ReadLong__12CInputStreamFv +/* 800CD940 000CA8A0 7C 7C 1B 78 */ mr r28, r3 +/* 800CD944 000CA8A4 7F E4 FB 78 */ mr r4, r31 +/* 800CD948 000CA8A8 38 61 02 08 */ addi r3, r1, 0x208 +/* 800CD94C 000CA8AC 48 00 CC 41 */ bl LoadEditorTransform__FR12CInputStream +/* 800CD950 000CA8B0 38 61 02 38 */ addi r3, r1, 0x238 +/* 800CD954 000CA8B4 38 81 02 08 */ addi r4, r1, 0x208 +/* 800CD958 000CA8B8 48 24 52 1D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800CD95C 000CA8BC 7F E4 FB 78 */ mr r4, r31 +/* 800CD960 000CA8C0 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800CD964 000CA8C4 48 24 72 29 */ bl __ct__9CVector3fFR12CInputStream +/* 800CD968 000CA8C8 7F E3 FB 78 */ mr r3, r31 +/* 800CD96C 000CA8CC 48 27 12 BD */ bl ReadFloat__12CInputStreamFv +/* 800CD970 000CA8D0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CD974 000CA8D4 D0 21 04 D0 */ stfs f1, 0x4d0(r1) +/* 800CD978 000CA8D8 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800CD97C 000CA8DC 7F E4 FB 78 */ mr r4, r31 +/* 800CD980 000CA8E0 38 61 00 80 */ addi r3, r1, 0x80 +/* 800CD984 000CA8E4 38 A5 00 E6 */ addi r5, r5, 0xe6 +/* 800CD988 000CA8E8 48 03 7E A1 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800CD98C 000CA8EC 88 01 00 80 */ lbz r0, 0x80(r1) +/* 800CD990 000CA8F0 80 A1 00 84 */ lwz r5, 0x84(r1) +/* 800CD994 000CA8F4 28 00 00 00 */ cmplwi r0, 0 +/* 800CD998 000CA8F8 40 82 00 14 */ bne lbl_800CD9AC +/* 800CD99C 000CA8FC 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800CD9A0 000CA900 48 27 01 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CD9A4 000CA904 38 60 00 00 */ li r3, 0 +/* 800CD9A8 000CA908 48 00 0A 20 */ b lbl_800CE3C8 +lbl_800CD9AC: +/* 800CD9AC 000CA90C 7F E4 FB 78 */ mr r4, r31 +/* 800CD9B0 000CA910 38 61 03 84 */ addi r3, r1, 0x384 +/* 800CD9B4 000CA914 48 03 7E C5 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800CD9B8 000CA918 7F E4 FB 78 */ mr r4, r31 +/* 800CD9BC 000CA91C 38 61 02 B4 */ addi r3, r1, 0x2b4 +/* 800CD9C0 000CA920 48 00 C3 B5 */ bl LoadActorParameters__FR12CInputStream +/* 800CD9C4 000CA924 38 61 03 1C */ addi r3, r1, 0x31c +/* 800CD9C8 000CA928 38 81 02 B4 */ addi r4, r1, 0x2b4 +/* 800CD9CC 000CA92C 4B FF 7C 51 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CD9D0 000CA930 38 61 02 B4 */ addi r3, r1, 0x2b4 +/* 800CD9D4 000CA934 38 80 FF FF */ li r4, -1 +/* 800CD9D8 000CA938 48 03 8C 31 */ bl __dt__16CActorParametersFv +/* 800CD9DC 000CA93C 7F E4 FB 78 */ mr r4, r31 +/* 800CD9E0 000CA940 38 61 01 EC */ addi r3, r1, 0x1ec +/* 800CD9E4 000CA944 4B FF 5B 7D */ bl __ct__11CDamageInfoFR12CInputStream +/* 800CD9E8 000CA948 7F E3 FB 78 */ mr r3, r31 +/* 800CD9EC 000CA94C 48 27 12 99 */ bl ReadLong__12CInputStreamFv +/* 800CD9F0 000CA950 7F E4 FB 78 */ mr r4, r31 +/* 800CD9F4 000CA954 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 800CD9F8 000CA958 4B FF 5B 69 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800CD9FC 000CA95C 7F E3 FB 78 */ mr r3, r31 +/* 800CDA00 000CA960 48 27 12 85 */ bl ReadLong__12CInputStreamFv +/* 800CDA04 000CA964 7C 7E 1B 78 */ mr r30, r3 +/* 800CDA08 000CA968 7F E3 FB 78 */ mr r3, r31 +/* 800CDA0C 000CA96C 48 27 12 79 */ bl ReadLong__12CInputStreamFv +/* 800CDA10 000CA970 7F E3 FB 78 */ mr r3, r31 +/* 800CDA14 000CA974 48 27 12 71 */ bl ReadLong__12CInputStreamFv +/* 800CDA18 000CA978 7C 7D 1B 78 */ mr r29, r3 +/* 800CDA1C 000CA97C 7F E4 FB 78 */ mr r4, r31 +/* 800CDA20 000CA980 38 61 01 40 */ addi r3, r1, 0x140 +/* 800CDA24 000CA984 48 00 0B 35 */ bl LoadFlareDef__FR12CInputStream +/* 800CDA28 000CA988 88 01 01 54 */ lbz r0, 0x154(r1) +/* 800CDA2C 000CA98C 28 00 00 00 */ cmplwi r0, 0 +/* 800CDA30 000CA990 98 01 01 CC */ stb r0, 0x1cc(r1) +/* 800CDA34 000CA994 41 82 00 30 */ beq lbl_800CDA64 +/* 800CDA38 000CA998 36 A1 01 B8 */ addic. r21, r1, 0x1b8 +/* 800CDA3C 000CA99C 38 81 01 40 */ addi r4, r1, 0x140 +/* 800CDA40 000CA9A0 41 82 00 24 */ beq lbl_800CDA64 +/* 800CDA44 000CA9A4 7E A3 AB 78 */ mr r3, r21 +/* 800CDA48 000CA9A8 48 27 34 61 */ bl __ct__6CTokenFRC6CToken +/* 800CDA4C 000CA9AC C0 01 01 48 */ lfs f0, 0x148(r1) +/* 800CDA50 000CA9B0 D0 15 00 08 */ stfs f0, 8(r21) +/* 800CDA54 000CA9B4 C0 01 01 4C */ lfs f0, 0x14c(r1) +/* 800CDA58 000CA9B8 D0 15 00 0C */ stfs f0, 0xc(r21) +/* 800CDA5C 000CA9BC 80 01 01 50 */ lwz r0, 0x150(r1) +/* 800CDA60 000CA9C0 90 15 00 10 */ stw r0, 0x10(r21) +lbl_800CDA64: +/* 800CDA64 000CA9C4 88 01 01 54 */ lbz r0, 0x154(r1) +/* 800CDA68 000CA9C8 28 00 00 00 */ cmplwi r0, 0 +/* 800CDA6C 000CA9CC 41 82 00 1C */ beq lbl_800CDA88 +/* 800CDA70 000CA9D0 34 61 01 40 */ addic. r3, r1, 0x140 +/* 800CDA74 000CA9D4 41 82 00 14 */ beq lbl_800CDA88 +/* 800CDA78 000CA9D8 28 03 00 00 */ cmplwi r3, 0 +/* 800CDA7C 000CA9DC 41 82 00 0C */ beq lbl_800CDA88 +/* 800CDA80 000CA9E0 38 80 00 00 */ li r4, 0 +/* 800CDA84 000CA9E4 48 27 33 BD */ bl __dt__6CTokenFv +lbl_800CDA88: +/* 800CDA88 000CA9E8 38 00 00 00 */ li r0, 0 +/* 800CDA8C 000CA9EC 7F E4 FB 78 */ mr r4, r31 +/* 800CDA90 000CA9F0 98 01 01 54 */ stb r0, 0x154(r1) +/* 800CDA94 000CA9F4 38 61 01 28 */ addi r3, r1, 0x128 +/* 800CDA98 000CA9F8 48 00 0A C1 */ bl LoadFlareDef__FR12CInputStream +/* 800CDA9C 000CA9FC 88 01 01 3C */ lbz r0, 0x13c(r1) +/* 800CDAA0 000CAA00 28 00 00 00 */ cmplwi r0, 0 +/* 800CDAA4 000CAA04 98 01 01 B4 */ stb r0, 0x1b4(r1) +/* 800CDAA8 000CAA08 41 82 00 30 */ beq lbl_800CDAD8 +/* 800CDAAC 000CAA0C 36 A1 01 A0 */ addic. r21, r1, 0x1a0 +/* 800CDAB0 000CAA10 38 81 01 28 */ addi r4, r1, 0x128 +/* 800CDAB4 000CAA14 41 82 00 24 */ beq lbl_800CDAD8 +/* 800CDAB8 000CAA18 7E A3 AB 78 */ mr r3, r21 +/* 800CDABC 000CAA1C 48 27 33 ED */ bl __ct__6CTokenFRC6CToken +/* 800CDAC0 000CAA20 C0 01 01 30 */ lfs f0, 0x130(r1) +/* 800CDAC4 000CAA24 D0 15 00 08 */ stfs f0, 8(r21) +/* 800CDAC8 000CAA28 C0 01 01 34 */ lfs f0, 0x134(r1) +/* 800CDACC 000CAA2C D0 15 00 0C */ stfs f0, 0xc(r21) +/* 800CDAD0 000CAA30 80 01 01 38 */ lwz r0, 0x138(r1) +/* 800CDAD4 000CAA34 90 15 00 10 */ stw r0, 0x10(r21) +lbl_800CDAD8: +/* 800CDAD8 000CAA38 88 01 01 3C */ lbz r0, 0x13c(r1) +/* 800CDADC 000CAA3C 28 00 00 00 */ cmplwi r0, 0 +/* 800CDAE0 000CAA40 41 82 00 1C */ beq lbl_800CDAFC +/* 800CDAE4 000CAA44 34 61 01 28 */ addic. r3, r1, 0x128 +/* 800CDAE8 000CAA48 41 82 00 14 */ beq lbl_800CDAFC +/* 800CDAEC 000CAA4C 28 03 00 00 */ cmplwi r3, 0 +/* 800CDAF0 000CAA50 41 82 00 0C */ beq lbl_800CDAFC +/* 800CDAF4 000CAA54 38 80 00 00 */ li r4, 0 +/* 800CDAF8 000CAA58 48 27 33 49 */ bl __dt__6CTokenFv +lbl_800CDAFC: +/* 800CDAFC 000CAA5C 38 00 00 00 */ li r0, 0 +/* 800CDB00 000CAA60 7F E4 FB 78 */ mr r4, r31 +/* 800CDB04 000CAA64 98 01 01 3C */ stb r0, 0x13c(r1) +/* 800CDB08 000CAA68 38 61 01 10 */ addi r3, r1, 0x110 +/* 800CDB0C 000CAA6C 48 00 0A 4D */ bl LoadFlareDef__FR12CInputStream +/* 800CDB10 000CAA70 88 01 01 24 */ lbz r0, 0x124(r1) +/* 800CDB14 000CAA74 28 00 00 00 */ cmplwi r0, 0 +/* 800CDB18 000CAA78 98 01 01 9C */ stb r0, 0x19c(r1) +/* 800CDB1C 000CAA7C 41 82 00 30 */ beq lbl_800CDB4C +/* 800CDB20 000CAA80 36 A1 01 88 */ addic. r21, r1, 0x188 +/* 800CDB24 000CAA84 38 81 01 10 */ addi r4, r1, 0x110 +/* 800CDB28 000CAA88 41 82 00 24 */ beq lbl_800CDB4C +/* 800CDB2C 000CAA8C 7E A3 AB 78 */ mr r3, r21 +/* 800CDB30 000CAA90 48 27 33 79 */ bl __ct__6CTokenFRC6CToken +/* 800CDB34 000CAA94 C0 01 01 18 */ lfs f0, 0x118(r1) +/* 800CDB38 000CAA98 D0 15 00 08 */ stfs f0, 8(r21) +/* 800CDB3C 000CAA9C C0 01 01 1C */ lfs f0, 0x11c(r1) +/* 800CDB40 000CAAA0 D0 15 00 0C */ stfs f0, 0xc(r21) +/* 800CDB44 000CAAA4 80 01 01 20 */ lwz r0, 0x120(r1) +/* 800CDB48 000CAAA8 90 15 00 10 */ stw r0, 0x10(r21) +lbl_800CDB4C: +/* 800CDB4C 000CAAAC 88 01 01 24 */ lbz r0, 0x124(r1) +/* 800CDB50 000CAAB0 28 00 00 00 */ cmplwi r0, 0 +/* 800CDB54 000CAAB4 41 82 00 1C */ beq lbl_800CDB70 +/* 800CDB58 000CAAB8 34 61 01 10 */ addic. r3, r1, 0x110 +/* 800CDB5C 000CAABC 41 82 00 14 */ beq lbl_800CDB70 +/* 800CDB60 000CAAC0 28 03 00 00 */ cmplwi r3, 0 +/* 800CDB64 000CAAC4 41 82 00 0C */ beq lbl_800CDB70 +/* 800CDB68 000CAAC8 38 80 00 00 */ li r4, 0 +/* 800CDB6C 000CAACC 48 27 32 D5 */ bl __dt__6CTokenFv +lbl_800CDB70: +/* 800CDB70 000CAAD0 38 00 00 00 */ li r0, 0 +/* 800CDB74 000CAAD4 7F E4 FB 78 */ mr r4, r31 +/* 800CDB78 000CAAD8 98 01 01 24 */ stb r0, 0x124(r1) +/* 800CDB7C 000CAADC 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800CDB80 000CAAE0 48 00 09 D9 */ bl LoadFlareDef__FR12CInputStream +/* 800CDB84 000CAAE4 88 01 01 0C */ lbz r0, 0x10c(r1) +/* 800CDB88 000CAAE8 28 00 00 00 */ cmplwi r0, 0 +/* 800CDB8C 000CAAEC 98 01 01 84 */ stb r0, 0x184(r1) +/* 800CDB90 000CAAF0 41 82 00 30 */ beq lbl_800CDBC0 +/* 800CDB94 000CAAF4 36 A1 01 70 */ addic. r21, r1, 0x170 +/* 800CDB98 000CAAF8 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 800CDB9C 000CAAFC 41 82 00 24 */ beq lbl_800CDBC0 +/* 800CDBA0 000CAB00 7E A3 AB 78 */ mr r3, r21 +/* 800CDBA4 000CAB04 48 27 33 05 */ bl __ct__6CTokenFRC6CToken +/* 800CDBA8 000CAB08 C0 01 01 00 */ lfs f0, 0x100(r1) +/* 800CDBAC 000CAB0C D0 15 00 08 */ stfs f0, 8(r21) +/* 800CDBB0 000CAB10 C0 01 01 04 */ lfs f0, 0x104(r1) +/* 800CDBB4 000CAB14 D0 15 00 0C */ stfs f0, 0xc(r21) +/* 800CDBB8 000CAB18 80 01 01 08 */ lwz r0, 0x108(r1) +/* 800CDBBC 000CAB1C 90 15 00 10 */ stw r0, 0x10(r21) +lbl_800CDBC0: +/* 800CDBC0 000CAB20 88 01 01 0C */ lbz r0, 0x10c(r1) +/* 800CDBC4 000CAB24 28 00 00 00 */ cmplwi r0, 0 +/* 800CDBC8 000CAB28 41 82 00 1C */ beq lbl_800CDBE4 +/* 800CDBCC 000CAB2C 34 61 00 F8 */ addic. r3, r1, 0xf8 +/* 800CDBD0 000CAB30 41 82 00 14 */ beq lbl_800CDBE4 +/* 800CDBD4 000CAB34 28 03 00 00 */ cmplwi r3, 0 +/* 800CDBD8 000CAB38 41 82 00 0C */ beq lbl_800CDBE4 +/* 800CDBDC 000CAB3C 38 80 00 00 */ li r4, 0 +/* 800CDBE0 000CAB40 48 27 32 61 */ bl __dt__6CTokenFv +lbl_800CDBE4: +/* 800CDBE4 000CAB44 38 00 00 00 */ li r0, 0 +/* 800CDBE8 000CAB48 7F E4 FB 78 */ mr r4, r31 +/* 800CDBEC 000CAB4C 98 01 01 0C */ stb r0, 0x10c(r1) +/* 800CDBF0 000CAB50 38 61 00 E0 */ addi r3, r1, 0xe0 +/* 800CDBF4 000CAB54 48 00 09 65 */ bl LoadFlareDef__FR12CInputStream +/* 800CDBF8 000CAB58 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 800CDBFC 000CAB5C 28 00 00 00 */ cmplwi r0, 0 +/* 800CDC00 000CAB60 98 01 01 6C */ stb r0, 0x16c(r1) +/* 800CDC04 000CAB64 41 82 00 30 */ beq lbl_800CDC34 +/* 800CDC08 000CAB68 36 A1 01 58 */ addic. r21, r1, 0x158 +/* 800CDC0C 000CAB6C 38 81 00 E0 */ addi r4, r1, 0xe0 +/* 800CDC10 000CAB70 41 82 00 24 */ beq lbl_800CDC34 +/* 800CDC14 000CAB74 7E A3 AB 78 */ mr r3, r21 +/* 800CDC18 000CAB78 48 27 32 91 */ bl __ct__6CTokenFRC6CToken +/* 800CDC1C 000CAB7C C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 800CDC20 000CAB80 D0 15 00 08 */ stfs f0, 8(r21) +/* 800CDC24 000CAB84 C0 01 00 EC */ lfs f0, 0xec(r1) +/* 800CDC28 000CAB88 D0 15 00 0C */ stfs f0, 0xc(r21) +/* 800CDC2C 000CAB8C 80 01 00 F0 */ lwz r0, 0xf0(r1) +/* 800CDC30 000CAB90 90 15 00 10 */ stw r0, 0x10(r21) +lbl_800CDC34: +/* 800CDC34 000CAB94 88 01 00 F4 */ lbz r0, 0xf4(r1) +/* 800CDC38 000CAB98 28 00 00 00 */ cmplwi r0, 0 +/* 800CDC3C 000CAB9C 41 82 00 1C */ beq lbl_800CDC58 +/* 800CDC40 000CABA0 34 61 00 E0 */ addic. r3, r1, 0xe0 +/* 800CDC44 000CABA4 41 82 00 14 */ beq lbl_800CDC58 +/* 800CDC48 000CABA8 28 03 00 00 */ cmplwi r3, 0 +/* 800CDC4C 000CABAC 41 82 00 0C */ beq lbl_800CDC58 +/* 800CDC50 000CABB0 38 80 00 00 */ li r4, 0 +/* 800CDC54 000CABB4 48 27 31 ED */ bl __dt__6CTokenFv +lbl_800CDC58: +/* 800CDC58 000CABB8 38 00 00 00 */ li r0, 0 +/* 800CDC5C 000CABBC 38 61 00 98 */ addi r3, r1, 0x98 +/* 800CDC60 000CABC0 98 01 00 F4 */ stb r0, 0xf4(r1) +/* 800CDC64 000CABC4 38 80 00 05 */ li r4, 5 +/* 800CDC68 000CABC8 90 01 00 9C */ stw r0, 0x9c(r1) +/* 800CDC6C 000CABCC 90 01 00 A0 */ stw r0, 0xa0(r1) +/* 800CDC70 000CABD0 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800CDC74 000CABD4 48 00 CB 61 */ bl sub_800da7d4 +/* 800CDC78 000CABD8 88 01 01 CC */ lbz r0, 0x1cc(r1) +/* 800CDC7C 000CABDC 28 00 00 00 */ cmplwi r0, 0 +/* 800CDC80 000CABE0 41 82 00 74 */ beq lbl_800CDCF4 +/* 800CDC84 000CABE4 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 800CDC88 000CABE8 3A C1 01 B8 */ addi r22, r1, 0x1b8 +/* 800CDC8C 000CABEC 80 A1 00 A0 */ lwz r5, 0xa0(r1) +/* 800CDC90 000CABF0 7C 00 28 00 */ cmpw r0, r5 +/* 800CDC94 000CABF4 41 80 00 1C */ blt lbl_800CDCB0 +/* 800CDC98 000CABF8 2C 05 00 00 */ cmpwi r5, 0 +/* 800CDC9C 000CABFC 38 61 00 98 */ addi r3, r1, 0x98 +/* 800CDCA0 000CAC00 38 80 00 04 */ li r4, 4 +/* 800CDCA4 000CAC04 41 82 00 08 */ beq lbl_800CDCAC +/* 800CDCA8 000CAC08 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800CDCAC: +/* 800CDCAC 000CAC0C 48 00 CB 29 */ bl sub_800da7d4 +lbl_800CDCB0: +/* 800CDCB0 000CAC10 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 800CDCB4 000CAC14 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 800CDCB8 000CAC18 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800CDCBC 000CAC1C 7E A3 02 15 */ add. r21, r3, r0 +/* 800CDCC0 000CAC20 41 82 00 28 */ beq lbl_800CDCE8 +/* 800CDCC4 000CAC24 7E A3 AB 78 */ mr r3, r21 +/* 800CDCC8 000CAC28 7E C4 B3 78 */ mr r4, r22 +/* 800CDCCC 000CAC2C 48 27 31 DD */ bl __ct__6CTokenFRC6CToken +/* 800CDCD0 000CAC30 C0 01 01 C0 */ lfs f0, 0x1c0(r1) +/* 800CDCD4 000CAC34 D0 15 00 08 */ stfs f0, 8(r21) +/* 800CDCD8 000CAC38 C0 01 01 C4 */ lfs f0, 0x1c4(r1) +/* 800CDCDC 000CAC3C D0 15 00 0C */ stfs f0, 0xc(r21) +/* 800CDCE0 000CAC40 80 01 01 C8 */ lwz r0, 0x1c8(r1) +/* 800CDCE4 000CAC44 90 15 00 10 */ stw r0, 0x10(r21) +lbl_800CDCE8: +/* 800CDCE8 000CAC48 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 800CDCEC 000CAC4C 38 03 00 01 */ addi r0, r3, 1 +/* 800CDCF0 000CAC50 90 01 00 9C */ stw r0, 0x9c(r1) +lbl_800CDCF4: +/* 800CDCF4 000CAC54 88 01 01 B4 */ lbz r0, 0x1b4(r1) +/* 800CDCF8 000CAC58 28 00 00 00 */ cmplwi r0, 0 +/* 800CDCFC 000CAC5C 41 82 00 74 */ beq lbl_800CDD70 +/* 800CDD00 000CAC60 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 800CDD04 000CAC64 3A C1 01 A0 */ addi r22, r1, 0x1a0 +/* 800CDD08 000CAC68 80 A1 00 A0 */ lwz r5, 0xa0(r1) +/* 800CDD0C 000CAC6C 7C 00 28 00 */ cmpw r0, r5 +/* 800CDD10 000CAC70 41 80 00 1C */ blt lbl_800CDD2C +/* 800CDD14 000CAC74 2C 05 00 00 */ cmpwi r5, 0 +/* 800CDD18 000CAC78 38 61 00 98 */ addi r3, r1, 0x98 +/* 800CDD1C 000CAC7C 38 80 00 04 */ li r4, 4 +/* 800CDD20 000CAC80 41 82 00 08 */ beq lbl_800CDD28 +/* 800CDD24 000CAC84 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800CDD28: +/* 800CDD28 000CAC88 48 00 CA AD */ bl sub_800da7d4 +lbl_800CDD2C: +/* 800CDD2C 000CAC8C 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 800CDD30 000CAC90 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 800CDD34 000CAC94 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800CDD38 000CAC98 7E A3 02 15 */ add. r21, r3, r0 +/* 800CDD3C 000CAC9C 41 82 00 28 */ beq lbl_800CDD64 +/* 800CDD40 000CACA0 7E A3 AB 78 */ mr r3, r21 +/* 800CDD44 000CACA4 7E C4 B3 78 */ mr r4, r22 +/* 800CDD48 000CACA8 48 27 31 61 */ bl __ct__6CTokenFRC6CToken +/* 800CDD4C 000CACAC C0 01 01 A8 */ lfs f0, 0x1a8(r1) +/* 800CDD50 000CACB0 D0 15 00 08 */ stfs f0, 8(r21) +/* 800CDD54 000CACB4 C0 01 01 AC */ lfs f0, 0x1ac(r1) +/* 800CDD58 000CACB8 D0 15 00 0C */ stfs f0, 0xc(r21) +/* 800CDD5C 000CACBC 80 01 01 B0 */ lwz r0, 0x1b0(r1) +/* 800CDD60 000CACC0 90 15 00 10 */ stw r0, 0x10(r21) +lbl_800CDD64: +/* 800CDD64 000CACC4 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 800CDD68 000CACC8 38 03 00 01 */ addi r0, r3, 1 +/* 800CDD6C 000CACCC 90 01 00 9C */ stw r0, 0x9c(r1) +lbl_800CDD70: +/* 800CDD70 000CACD0 88 01 01 9C */ lbz r0, 0x19c(r1) +/* 800CDD74 000CACD4 28 00 00 00 */ cmplwi r0, 0 +/* 800CDD78 000CACD8 41 82 00 74 */ beq lbl_800CDDEC +/* 800CDD7C 000CACDC 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 800CDD80 000CACE0 3A C1 01 88 */ addi r22, r1, 0x188 +/* 800CDD84 000CACE4 80 A1 00 A0 */ lwz r5, 0xa0(r1) +/* 800CDD88 000CACE8 7C 00 28 00 */ cmpw r0, r5 +/* 800CDD8C 000CACEC 41 80 00 1C */ blt lbl_800CDDA8 +/* 800CDD90 000CACF0 2C 05 00 00 */ cmpwi r5, 0 +/* 800CDD94 000CACF4 38 61 00 98 */ addi r3, r1, 0x98 +/* 800CDD98 000CACF8 38 80 00 04 */ li r4, 4 +/* 800CDD9C 000CACFC 41 82 00 08 */ beq lbl_800CDDA4 +/* 800CDDA0 000CAD00 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800CDDA4: +/* 800CDDA4 000CAD04 48 00 CA 31 */ bl sub_800da7d4 +lbl_800CDDA8: +/* 800CDDA8 000CAD08 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 800CDDAC 000CAD0C 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 800CDDB0 000CAD10 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800CDDB4 000CAD14 7E A3 02 15 */ add. r21, r3, r0 +/* 800CDDB8 000CAD18 41 82 00 28 */ beq lbl_800CDDE0 +/* 800CDDBC 000CAD1C 7E A3 AB 78 */ mr r3, r21 +/* 800CDDC0 000CAD20 7E C4 B3 78 */ mr r4, r22 +/* 800CDDC4 000CAD24 48 27 30 E5 */ bl __ct__6CTokenFRC6CToken +/* 800CDDC8 000CAD28 C0 01 01 90 */ lfs f0, 0x190(r1) +/* 800CDDCC 000CAD2C D0 15 00 08 */ stfs f0, 8(r21) +/* 800CDDD0 000CAD30 C0 01 01 94 */ lfs f0, 0x194(r1) +/* 800CDDD4 000CAD34 D0 15 00 0C */ stfs f0, 0xc(r21) +/* 800CDDD8 000CAD38 80 01 01 98 */ lwz r0, 0x198(r1) +/* 800CDDDC 000CAD3C 90 15 00 10 */ stw r0, 0x10(r21) +lbl_800CDDE0: +/* 800CDDE0 000CAD40 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 800CDDE4 000CAD44 38 03 00 01 */ addi r0, r3, 1 +/* 800CDDE8 000CAD48 90 01 00 9C */ stw r0, 0x9c(r1) +lbl_800CDDEC: +/* 800CDDEC 000CAD4C 88 01 01 84 */ lbz r0, 0x184(r1) +/* 800CDDF0 000CAD50 28 00 00 00 */ cmplwi r0, 0 +/* 800CDDF4 000CAD54 41 82 00 74 */ beq lbl_800CDE68 +/* 800CDDF8 000CAD58 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 800CDDFC 000CAD5C 3A C1 01 70 */ addi r22, r1, 0x170 +/* 800CDE00 000CAD60 80 A1 00 A0 */ lwz r5, 0xa0(r1) +/* 800CDE04 000CAD64 7C 00 28 00 */ cmpw r0, r5 +/* 800CDE08 000CAD68 41 80 00 1C */ blt lbl_800CDE24 +/* 800CDE0C 000CAD6C 2C 05 00 00 */ cmpwi r5, 0 +/* 800CDE10 000CAD70 38 61 00 98 */ addi r3, r1, 0x98 +/* 800CDE14 000CAD74 38 80 00 04 */ li r4, 4 +/* 800CDE18 000CAD78 41 82 00 08 */ beq lbl_800CDE20 +/* 800CDE1C 000CAD7C 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800CDE20: +/* 800CDE20 000CAD80 48 00 C9 B5 */ bl sub_800da7d4 +lbl_800CDE24: +/* 800CDE24 000CAD84 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 800CDE28 000CAD88 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 800CDE2C 000CAD8C 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800CDE30 000CAD90 7E A3 02 15 */ add. r21, r3, r0 +/* 800CDE34 000CAD94 41 82 00 28 */ beq lbl_800CDE5C +/* 800CDE38 000CAD98 7E A3 AB 78 */ mr r3, r21 +/* 800CDE3C 000CAD9C 7E C4 B3 78 */ mr r4, r22 +/* 800CDE40 000CADA0 48 27 30 69 */ bl __ct__6CTokenFRC6CToken +/* 800CDE44 000CADA4 C0 01 01 78 */ lfs f0, 0x178(r1) +/* 800CDE48 000CADA8 D0 15 00 08 */ stfs f0, 8(r21) +/* 800CDE4C 000CADAC C0 01 01 7C */ lfs f0, 0x17c(r1) +/* 800CDE50 000CADB0 D0 15 00 0C */ stfs f0, 0xc(r21) +/* 800CDE54 000CADB4 80 01 01 80 */ lwz r0, 0x180(r1) +/* 800CDE58 000CADB8 90 15 00 10 */ stw r0, 0x10(r21) +lbl_800CDE5C: +/* 800CDE5C 000CADBC 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 800CDE60 000CADC0 38 03 00 01 */ addi r0, r3, 1 +/* 800CDE64 000CADC4 90 01 00 9C */ stw r0, 0x9c(r1) +lbl_800CDE68: +/* 800CDE68 000CADC8 88 01 01 6C */ lbz r0, 0x16c(r1) +/* 800CDE6C 000CADCC 28 00 00 00 */ cmplwi r0, 0 +/* 800CDE70 000CADD0 41 82 00 74 */ beq lbl_800CDEE4 +/* 800CDE74 000CADD4 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 800CDE78 000CADD8 3A C1 01 58 */ addi r22, r1, 0x158 +/* 800CDE7C 000CADDC 80 A1 00 A0 */ lwz r5, 0xa0(r1) +/* 800CDE80 000CADE0 7C 00 28 00 */ cmpw r0, r5 +/* 800CDE84 000CADE4 41 80 00 1C */ blt lbl_800CDEA0 +/* 800CDE88 000CADE8 2C 05 00 00 */ cmpwi r5, 0 +/* 800CDE8C 000CADEC 38 61 00 98 */ addi r3, r1, 0x98 +/* 800CDE90 000CADF0 38 80 00 04 */ li r4, 4 +/* 800CDE94 000CADF4 41 82 00 08 */ beq lbl_800CDE9C +/* 800CDE98 000CADF8 54 A4 08 3C */ slwi r4, r5, 1 +lbl_800CDE9C: +/* 800CDE9C 000CADFC 48 00 C9 39 */ bl sub_800da7d4 +lbl_800CDEA0: +/* 800CDEA0 000CAE00 80 01 00 9C */ lwz r0, 0x9c(r1) +/* 800CDEA4 000CAE04 80 61 00 A4 */ lwz r3, 0xa4(r1) +/* 800CDEA8 000CAE08 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800CDEAC 000CAE0C 7E A3 02 15 */ add. r21, r3, r0 +/* 800CDEB0 000CAE10 41 82 00 28 */ beq lbl_800CDED8 +/* 800CDEB4 000CAE14 7E A3 AB 78 */ mr r3, r21 +/* 800CDEB8 000CAE18 7E C4 B3 78 */ mr r4, r22 +/* 800CDEBC 000CAE1C 48 27 2F ED */ bl __ct__6CTokenFRC6CToken +/* 800CDEC0 000CAE20 C0 01 01 60 */ lfs f0, 0x160(r1) +/* 800CDEC4 000CAE24 D0 15 00 08 */ stfs f0, 8(r21) +/* 800CDEC8 000CAE28 C0 01 01 64 */ lfs f0, 0x164(r1) +/* 800CDECC 000CAE2C D0 15 00 0C */ stfs f0, 0xc(r21) +/* 800CDED0 000CAE30 80 01 01 68 */ lwz r0, 0x168(r1) +/* 800CDED4 000CAE34 90 15 00 10 */ stw r0, 0x10(r21) +lbl_800CDED8: +/* 800CDED8 000CAE38 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 800CDEDC 000CAE3C 38 03 00 01 */ addi r0, r3, 1 +/* 800CDEE0 000CAE40 90 01 00 9C */ stw r0, 0x9c(r1) +lbl_800CDEE4: +/* 800CDEE4 000CAE44 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800CDEE8 000CAE48 80 81 04 70 */ lwz r4, 0x470(r1) +/* 800CDEEC 000CAE4C 38 63 00 04 */ addi r3, r3, 4 +/* 800CDEF0 000CAE50 48 26 DD DD */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800CDEF4 000CAE54 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800CDEF8 000CAE58 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800CDEFC 000CAE5C 41 82 01 08 */ beq lbl_800CE004 +/* 800CDF00 000CAE60 38 61 00 98 */ addi r3, r1, 0x98 +/* 800CDF04 000CAE64 38 80 FF FF */ li r4, -1 +/* 800CDF08 000CAE68 4B FF F8 B1 */ bl sub_800cd7b8 +/* 800CDF0C 000CAE6C 88 01 01 6C */ lbz r0, 0x16c(r1) +/* 800CDF10 000CAE70 28 00 00 00 */ cmplwi r0, 0 +/* 800CDF14 000CAE74 41 82 00 1C */ beq lbl_800CDF30 +/* 800CDF18 000CAE78 34 61 01 58 */ addic. r3, r1, 0x158 +/* 800CDF1C 000CAE7C 41 82 00 14 */ beq lbl_800CDF30 +/* 800CDF20 000CAE80 28 03 00 00 */ cmplwi r3, 0 +/* 800CDF24 000CAE84 41 82 00 0C */ beq lbl_800CDF30 +/* 800CDF28 000CAE88 38 80 00 00 */ li r4, 0 +/* 800CDF2C 000CAE8C 48 27 2F 15 */ bl __dt__6CTokenFv +lbl_800CDF30: +/* 800CDF30 000CAE90 88 01 01 84 */ lbz r0, 0x184(r1) +/* 800CDF34 000CAE94 38 60 00 00 */ li r3, 0 +/* 800CDF38 000CAE98 98 61 01 6C */ stb r3, 0x16c(r1) +/* 800CDF3C 000CAE9C 28 00 00 00 */ cmplwi r0, 0 +/* 800CDF40 000CAEA0 41 82 00 1C */ beq lbl_800CDF5C +/* 800CDF44 000CAEA4 34 61 01 70 */ addic. r3, r1, 0x170 +/* 800CDF48 000CAEA8 41 82 00 14 */ beq lbl_800CDF5C +/* 800CDF4C 000CAEAC 28 03 00 00 */ cmplwi r3, 0 +/* 800CDF50 000CAEB0 41 82 00 0C */ beq lbl_800CDF5C +/* 800CDF54 000CAEB4 38 80 00 00 */ li r4, 0 +/* 800CDF58 000CAEB8 48 27 2E E9 */ bl __dt__6CTokenFv +lbl_800CDF5C: +/* 800CDF5C 000CAEBC 88 01 01 9C */ lbz r0, 0x19c(r1) +/* 800CDF60 000CAEC0 38 60 00 00 */ li r3, 0 +/* 800CDF64 000CAEC4 98 61 01 84 */ stb r3, 0x184(r1) +/* 800CDF68 000CAEC8 28 00 00 00 */ cmplwi r0, 0 +/* 800CDF6C 000CAECC 41 82 00 1C */ beq lbl_800CDF88 +/* 800CDF70 000CAED0 34 61 01 88 */ addic. r3, r1, 0x188 +/* 800CDF74 000CAED4 41 82 00 14 */ beq lbl_800CDF88 +/* 800CDF78 000CAED8 28 03 00 00 */ cmplwi r3, 0 +/* 800CDF7C 000CAEDC 41 82 00 0C */ beq lbl_800CDF88 +/* 800CDF80 000CAEE0 38 80 00 00 */ li r4, 0 +/* 800CDF84 000CAEE4 48 27 2E BD */ bl __dt__6CTokenFv +lbl_800CDF88: +/* 800CDF88 000CAEE8 88 01 01 B4 */ lbz r0, 0x1b4(r1) +/* 800CDF8C 000CAEEC 38 60 00 00 */ li r3, 0 +/* 800CDF90 000CAEF0 98 61 01 9C */ stb r3, 0x19c(r1) +/* 800CDF94 000CAEF4 28 00 00 00 */ cmplwi r0, 0 +/* 800CDF98 000CAEF8 41 82 00 1C */ beq lbl_800CDFB4 +/* 800CDF9C 000CAEFC 34 61 01 A0 */ addic. r3, r1, 0x1a0 +/* 800CDFA0 000CAF00 41 82 00 14 */ beq lbl_800CDFB4 +/* 800CDFA4 000CAF04 28 03 00 00 */ cmplwi r3, 0 +/* 800CDFA8 000CAF08 41 82 00 0C */ beq lbl_800CDFB4 +/* 800CDFAC 000CAF0C 38 80 00 00 */ li r4, 0 +/* 800CDFB0 000CAF10 48 27 2E 91 */ bl __dt__6CTokenFv +lbl_800CDFB4: +/* 800CDFB4 000CAF14 88 01 01 CC */ lbz r0, 0x1cc(r1) +/* 800CDFB8 000CAF18 38 60 00 00 */ li r3, 0 +/* 800CDFBC 000CAF1C 98 61 01 B4 */ stb r3, 0x1b4(r1) +/* 800CDFC0 000CAF20 28 00 00 00 */ cmplwi r0, 0 +/* 800CDFC4 000CAF24 41 82 00 1C */ beq lbl_800CDFE0 +/* 800CDFC8 000CAF28 34 61 01 B8 */ addic. r3, r1, 0x1b8 +/* 800CDFCC 000CAF2C 41 82 00 14 */ beq lbl_800CDFE0 +/* 800CDFD0 000CAF30 28 03 00 00 */ cmplwi r3, 0 +/* 800CDFD4 000CAF34 41 82 00 0C */ beq lbl_800CDFE0 +/* 800CDFD8 000CAF38 38 80 00 00 */ li r4, 0 +/* 800CDFDC 000CAF3C 48 27 2E 65 */ bl __dt__6CTokenFv +lbl_800CDFE0: +/* 800CDFE0 000CAF40 38 00 00 00 */ li r0, 0 +/* 800CDFE4 000CAF44 38 61 03 1C */ addi r3, r1, 0x31c +/* 800CDFE8 000CAF48 98 01 01 CC */ stb r0, 0x1cc(r1) +/* 800CDFEC 000CAF4C 38 80 FF FF */ li r4, -1 +/* 800CDFF0 000CAF50 48 03 86 19 */ bl __dt__16CActorParametersFv +/* 800CDFF4 000CAF54 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800CDFF8 000CAF58 48 26 FA E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CDFFC 000CAF5C 38 60 00 00 */ li r3, 0 +/* 800CE000 000CAF60 48 00 03 C8 */ b lbl_800CE3C8 +lbl_800CE004: +/* 800CE004 000CAF64 7F E3 FB 78 */ mr r3, r31 +/* 800CE008 000CAF68 48 27 0C 21 */ bl ReadFloat__12CInputStreamFv +/* 800CE00C 000CAF6C D0 21 04 CC */ stfs f1, 0x4cc(r1) +/* 800CE010 000CAF70 7F E3 FB 78 */ mr r3, r31 +/* 800CE014 000CAF74 48 27 0C 15 */ bl ReadFloat__12CInputStreamFv +/* 800CE018 000CAF78 D0 21 04 C8 */ stfs f1, 0x4c8(r1) +/* 800CE01C 000CAF7C 7F E3 FB 78 */ mr r3, r31 +/* 800CE020 000CAF80 48 27 0C 09 */ bl ReadFloat__12CInputStreamFv +/* 800CE024 000CAF84 D0 21 04 C4 */ stfs f1, 0x4c4(r1) +/* 800CE028 000CAF88 7F E3 FB 78 */ mr r3, r31 +/* 800CE02C 000CAF8C 48 27 0B FD */ bl ReadFloat__12CInputStreamFv +/* 800CE030 000CAF90 D0 21 04 C0 */ stfs f1, 0x4c0(r1) +/* 800CE034 000CAF94 7F E3 FB 78 */ mr r3, r31 +/* 800CE038 000CAF98 48 27 0B F1 */ bl ReadFloat__12CInputStreamFv +/* 800CE03C 000CAF9C D0 21 04 BC */ stfs f1, 0x4bc(r1) +/* 800CE040 000CAFA0 7F E3 FB 78 */ mr r3, r31 +/* 800CE044 000CAFA4 48 27 0B E5 */ bl ReadFloat__12CInputStreamFv +/* 800CE048 000CAFA8 FD E0 08 90 */ fmr f15, f1 +/* 800CE04C 000CAFAC 7F E3 FB 78 */ mr r3, r31 +/* 800CE050 000CAFB0 48 27 0B D9 */ bl ReadFloat__12CInputStreamFv +/* 800CE054 000CAFB4 FD C0 08 90 */ fmr f14, f1 +/* 800CE058 000CAFB8 7F E3 FB 78 */ mr r3, r31 +/* 800CE05C 000CAFBC 48 27 0B CD */ bl ReadFloat__12CInputStreamFv +/* 800CE060 000CAFC0 FE 00 08 90 */ fmr f16, f1 +/* 800CE064 000CAFC4 7F E3 FB 78 */ mr r3, r31 +/* 800CE068 000CAFC8 48 27 0B C1 */ bl ReadFloat__12CInputStreamFv +/* 800CE06C 000CAFCC FE 20 08 90 */ fmr f17, f1 +/* 800CE070 000CAFD0 7F E3 FB 78 */ mr r3, r31 +/* 800CE074 000CAFD4 48 27 0B B5 */ bl ReadFloat__12CInputStreamFv +/* 800CE078 000CAFD8 FE 40 08 90 */ fmr f18, f1 +/* 800CE07C 000CAFDC 7F E3 FB 78 */ mr r3, r31 +/* 800CE080 000CAFE0 48 27 0B A9 */ bl ReadFloat__12CInputStreamFv +/* 800CE084 000CAFE4 FE 60 08 90 */ fmr f19, f1 +/* 800CE088 000CAFE8 7F E3 FB 78 */ mr r3, r31 +/* 800CE08C 000CAFEC 48 27 0B 9D */ bl ReadFloat__12CInputStreamFv +/* 800CE090 000CAFF0 FE 80 08 90 */ fmr f20, f1 +/* 800CE094 000CAFF4 7F E3 FB 78 */ mr r3, r31 +/* 800CE098 000CAFF8 48 27 0B 91 */ bl ReadFloat__12CInputStreamFv +/* 800CE09C 000CAFFC FE A0 08 90 */ fmr f21, f1 +/* 800CE0A0 000CB000 7F E3 FB 78 */ mr r3, r31 +/* 800CE0A4 000CB004 48 27 0B 85 */ bl ReadFloat__12CInputStreamFv +/* 800CE0A8 000CB008 FE C0 08 90 */ fmr f22, f1 +/* 800CE0AC 000CB00C 7F E3 FB 78 */ mr r3, r31 +/* 800CE0B0 000CB010 48 27 0B 79 */ bl ReadFloat__12CInputStreamFv +/* 800CE0B4 000CB014 FE E0 08 90 */ fmr f23, f1 +/* 800CE0B8 000CB018 7F E3 FB 78 */ mr r3, r31 +/* 800CE0BC 000CB01C 48 27 0B 6D */ bl ReadFloat__12CInputStreamFv +/* 800CE0C0 000CB020 FF 00 08 90 */ fmr f24, f1 +/* 800CE0C4 000CB024 7F E3 FB 78 */ mr r3, r31 +/* 800CE0C8 000CB028 48 27 0B 61 */ bl ReadFloat__12CInputStreamFv +/* 800CE0CC 000CB02C FF 20 08 90 */ fmr f25, f1 +/* 800CE0D0 000CB030 7F E3 FB 78 */ mr r3, r31 +/* 800CE0D4 000CB034 48 27 0B 55 */ bl ReadFloat__12CInputStreamFv +/* 800CE0D8 000CB038 FF 40 08 90 */ fmr f26, f1 +/* 800CE0DC 000CB03C 7F E3 FB 78 */ mr r3, r31 +/* 800CE0E0 000CB040 48 27 0B 49 */ bl ReadFloat__12CInputStreamFv +/* 800CE0E4 000CB044 FF 60 08 90 */ fmr f27, f1 +/* 800CE0E8 000CB048 7F E3 FB 78 */ mr r3, r31 +/* 800CE0EC 000CB04C 48 27 0B 99 */ bl ReadLong__12CInputStreamFv +/* 800CE0F0 000CB050 7C 78 1B 78 */ mr r24, r3 +/* 800CE0F4 000CB054 7F E3 FB 78 */ mr r3, r31 +/* 800CE0F8 000CB058 48 27 0B 31 */ bl ReadFloat__12CInputStreamFv +/* 800CE0FC 000CB05C FF 80 08 90 */ fmr f28, f1 +/* 800CE100 000CB060 7F E3 FB 78 */ mr r3, r31 +/* 800CE104 000CB064 48 27 0B 25 */ bl ReadFloat__12CInputStreamFv +/* 800CE108 000CB068 FF A0 08 90 */ fmr f29, f1 +/* 800CE10C 000CB06C 7F E3 FB 78 */ mr r3, r31 +/* 800CE110 000CB070 48 27 0B 19 */ bl ReadFloat__12CInputStreamFv +/* 800CE114 000CB074 FF C0 08 90 */ fmr f30, f1 +/* 800CE118 000CB078 7F E3 FB 78 */ mr r3, r31 +/* 800CE11C 000CB07C 48 27 0B 0D */ bl ReadFloat__12CInputStreamFv +/* 800CE120 000CB080 FF E0 08 90 */ fmr f31, f1 +/* 800CE124 000CB084 7F E3 FB 78 */ mr r3, r31 +/* 800CE128 000CB088 48 27 0B 5D */ bl ReadLong__12CInputStreamFv +/* 800CE12C 000CB08C 7C 79 1B 78 */ mr r25, r3 +/* 800CE130 000CB090 7F E3 FB 78 */ mr r3, r31 +/* 800CE134 000CB094 48 27 0B A9 */ bl ReadBool__12CInputStreamFv +/* 800CE138 000CB098 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CE13C 000CB09C 7C 7F 1B 78 */ mr r31, r3 +/* 800CE140 000CB0A0 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800CE144 000CB0A4 3A C0 00 00 */ li r22, 0 +/* 800CE148 000CB0A8 38 83 00 0D */ addi r4, r3, 0xd +/* 800CE14C 000CB0AC 3A A0 00 00 */ li r21, 0 +/* 800CE150 000CB0B0 38 60 08 38 */ li r3, 0x838 +/* 800CE154 000CB0B4 38 A0 00 00 */ li r5, 0 +/* 800CE158 000CB0B8 48 24 77 15 */ bl __nw__FUlPCcPCc +/* 800CE15C 000CB0BC 7C 77 1B 79 */ or. r23, r3, r3 +/* 800CE160 000CB0C0 41 82 01 40 */ beq lbl_800CE2A0 +/* 800CE164 000CB0C4 38 61 00 88 */ addi r3, r1, 0x88 +/* 800CE168 000CB0C8 38 81 00 98 */ addi r4, r1, 0x98 +/* 800CE16C 000CB0CC 48 00 03 01 */ bl sub_800ce46c +/* 800CE170 000CB0D0 80 E1 04 70 */ lwz r7, 0x470(r1) +/* 800CE174 000CB0D4 38 A0 00 01 */ li r5, 1 +/* 800CE178 000CB0D8 80 C1 04 74 */ lwz r6, 0x474(r1) +/* 800CE17C 000CB0DC 38 61 02 68 */ addi r3, r1, 0x268 +/* 800CE180 000CB0E0 C0 41 00 A8 */ lfs f2, 0xa8(r1) +/* 800CE184 000CB0E4 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 800CE188 000CB0E8 C0 21 00 AC */ lfs f1, 0xac(r1) +/* 800CE18C 000CB0EC 3A C0 00 01 */ li r22, 1 +/* 800CE190 000CB0F0 C0 01 00 B0 */ lfs f0, 0xb0(r1) +/* 800CE194 000CB0F4 80 01 04 78 */ lwz r0, 0x478(r1) +/* 800CE198 000CB0F8 90 E1 00 C4 */ stw r7, 0xc4(r1) +/* 800CE19C 000CB0FC 90 C1 00 C8 */ stw r6, 0xc8(r1) +/* 800CE1A0 000CB100 D0 41 00 CC */ stfs f2, 0xcc(r1) +/* 800CE1A4 000CB104 D0 21 00 D0 */ stfs f1, 0xd0(r1) +/* 800CE1A8 000CB108 D0 01 00 D4 */ stfs f0, 0xd4(r1) +/* 800CE1AC 000CB10C 98 A1 00 D8 */ stb r5, 0xd8(r1) +/* 800CE1B0 000CB110 90 01 00 DC */ stw r0, 0xdc(r1) +/* 800CE1B4 000CB114 48 04 89 A1 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800CE1B8 000CB118 7F 64 DB 78 */ mr r4, r27 +/* 800CE1BC 000CB11C 38 61 00 78 */ addi r3, r1, 0x78 +/* 800CE1C0 000CB120 3A A0 00 01 */ li r21, 1 +/* 800CE1C4 000CB124 4B F7 EF 19 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CE1C8 000CB128 A0 01 00 78 */ lhz r0, 0x78(r1) +/* 800CE1CC 000CB12C 38 61 03 1C */ addi r3, r1, 0x31c +/* 800CE1D0 000CB130 38 C0 00 01 */ li r6, 1 +/* 800CE1D4 000CB134 38 A0 00 04 */ li r5, 4 +/* 800CE1D8 000CB138 B0 01 00 7C */ sth r0, 0x7c(r1) +/* 800CE1DC 000CB13C 38 81 01 EC */ addi r4, r1, 0x1ec +/* 800CE1E0 000CB140 39 41 01 D0 */ addi r10, r1, 0x1d0 +/* 800CE1E4 000CB144 38 01 00 88 */ addi r0, r1, 0x88 +/* 800CE1E8 000CB148 90 61 00 08 */ stw r3, 8(r1) +/* 800CE1EC 000CB14C FC E0 78 90 */ fmr f7, f15 +/* 800CE1F0 000CB150 FD 00 70 90 */ fmr f8, f14 +/* 800CE1F4 000CB154 C0 21 04 D0 */ lfs f1, 0x4d0(r1) +/* 800CE1F8 000CB158 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800CE1FC 000CB15C 7E E3 BB 78 */ mr r3, r23 +/* 800CE200 000CB160 C0 41 04 CC */ lfs f2, 0x4cc(r1) +/* 800CE204 000CB164 90 C1 00 10 */ stw r6, 0x10(r1) +/* 800CE208 000CB168 C0 61 04 C8 */ lfs f3, 0x4c8(r1) +/* 800CE20C 000CB16C 7F 86 E3 78 */ mr r6, r28 +/* 800CE210 000CB170 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800CE214 000CB174 7F 47 D3 78 */ mr r7, r26 +/* 800CE218 000CB178 C0 81 04 C4 */ lfs f4, 0x4c4(r1) +/* 800CE21C 000CB17C 38 A1 00 B4 */ addi r5, r1, 0xb4 +/* 800CE220 000CB180 90 81 00 18 */ stw r4, 0x18(r1) +/* 800CE224 000CB184 38 81 00 7C */ addi r4, r1, 0x7c +/* 800CE228 000CB188 C0 A1 04 C0 */ lfs f5, 0x4c0(r1) +/* 800CE22C 000CB18C 39 01 02 38 */ addi r8, r1, 0x238 +/* 800CE230 000CB190 93 C1 00 1C */ stw r30, 0x1c(r1) +/* 800CE234 000CB194 39 21 02 68 */ addi r9, r1, 0x268 +/* 800CE238 000CB198 C0 C1 04 BC */ lfs f6, 0x4bc(r1) +/* 800CE23C 000CB19C 91 41 00 20 */ stw r10, 0x20(r1) +/* 800CE240 000CB1A0 39 41 03 84 */ addi r10, r1, 0x384 +/* 800CE244 000CB1A4 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800CE248 000CB1A8 90 01 00 28 */ stw r0, 0x28(r1) +/* 800CE24C 000CB1AC D2 01 00 2C */ stfs f16, 0x2c(r1) +/* 800CE250 000CB1B0 D2 21 00 30 */ stfs f17, 0x30(r1) +/* 800CE254 000CB1B4 D2 41 00 34 */ stfs f18, 0x34(r1) +/* 800CE258 000CB1B8 D2 61 00 38 */ stfs f19, 0x38(r1) +/* 800CE25C 000CB1BC D2 81 00 3C */ stfs f20, 0x3c(r1) +/* 800CE260 000CB1C0 D2 A1 00 40 */ stfs f21, 0x40(r1) +/* 800CE264 000CB1C4 D2 C1 00 44 */ stfs f22, 0x44(r1) +/* 800CE268 000CB1C8 D2 E1 00 48 */ stfs f23, 0x48(r1) +/* 800CE26C 000CB1CC D3 01 00 4C */ stfs f24, 0x4c(r1) +/* 800CE270 000CB1D0 D3 21 00 50 */ stfs f25, 0x50(r1) +/* 800CE274 000CB1D4 D3 41 00 54 */ stfs f26, 0x54(r1) +/* 800CE278 000CB1D8 D3 61 00 58 */ stfs f27, 0x58(r1) +/* 800CE27C 000CB1DC 93 01 00 5C */ stw r24, 0x5c(r1) +/* 800CE280 000CB1E0 D3 81 00 60 */ stfs f28, 0x60(r1) +/* 800CE284 000CB1E4 D3 A1 00 64 */ stfs f29, 0x64(r1) +/* 800CE288 000CB1E8 D3 E1 00 68 */ stfs f31, 0x68(r1) +/* 800CE28C 000CB1EC D3 C1 00 6C */ stfs f30, 0x6c(r1) +/* 800CE290 000CB1F0 93 21 00 70 */ stw r25, 0x70(r1) +/* 800CE294 000CB1F4 93 E1 00 74 */ stw r31, 0x74(r1) +/* 800CE298 000CB1F8 48 09 84 C9 */ bl "__ct__6CDroneF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EMovementTypeQ210CPatterned13EColliderType9EBodyTypeRC11CDamageInfoUiUiUiRC11CDamageInfofUiQ24rstl60vectorRC16CActorParameters" +/* 800CE29C 000CB1FC 7C 77 1B 78 */ mr r23, r3 +lbl_800CE2A0: +/* 800CE2A0 000CB200 7E A0 07 75 */ extsb. r0, r21 +/* 800CE2A4 000CB204 41 82 00 10 */ beq lbl_800CE2B4 +/* 800CE2A8 000CB208 38 61 02 68 */ addi r3, r1, 0x268 +/* 800CE2AC 000CB20C 38 80 FF FF */ li r4, -1 +/* 800CE2B0 000CB210 48 04 87 9D */ bl __dt__10CModelDataFv +lbl_800CE2B4: +/* 800CE2B4 000CB214 7E C0 07 75 */ extsb. r0, r22 +/* 800CE2B8 000CB218 41 82 00 10 */ beq lbl_800CE2C8 +/* 800CE2BC 000CB21C 38 61 00 88 */ addi r3, r1, 0x88 +/* 800CE2C0 000CB220 38 80 FF FF */ li r4, -1 +/* 800CE2C4 000CB224 4B FF F4 F5 */ bl sub_800cd7b8 +lbl_800CE2C8: +/* 800CE2C8 000CB228 38 61 00 98 */ addi r3, r1, 0x98 +/* 800CE2CC 000CB22C 38 80 FF FF */ li r4, -1 +/* 800CE2D0 000CB230 4B FF F4 E9 */ bl sub_800cd7b8 +/* 800CE2D4 000CB234 88 01 01 6C */ lbz r0, 0x16c(r1) +/* 800CE2D8 000CB238 28 00 00 00 */ cmplwi r0, 0 +/* 800CE2DC 000CB23C 41 82 00 1C */ beq lbl_800CE2F8 +/* 800CE2E0 000CB240 34 61 01 58 */ addic. r3, r1, 0x158 +/* 800CE2E4 000CB244 41 82 00 14 */ beq lbl_800CE2F8 +/* 800CE2E8 000CB248 28 03 00 00 */ cmplwi r3, 0 +/* 800CE2EC 000CB24C 41 82 00 0C */ beq lbl_800CE2F8 +/* 800CE2F0 000CB250 38 80 00 00 */ li r4, 0 +/* 800CE2F4 000CB254 48 27 2B 4D */ bl __dt__6CTokenFv +lbl_800CE2F8: +/* 800CE2F8 000CB258 88 01 01 84 */ lbz r0, 0x184(r1) +/* 800CE2FC 000CB25C 38 60 00 00 */ li r3, 0 +/* 800CE300 000CB260 98 61 01 6C */ stb r3, 0x16c(r1) +/* 800CE304 000CB264 28 00 00 00 */ cmplwi r0, 0 +/* 800CE308 000CB268 41 82 00 1C */ beq lbl_800CE324 +/* 800CE30C 000CB26C 34 61 01 70 */ addic. r3, r1, 0x170 +/* 800CE310 000CB270 41 82 00 14 */ beq lbl_800CE324 +/* 800CE314 000CB274 28 03 00 00 */ cmplwi r3, 0 +/* 800CE318 000CB278 41 82 00 0C */ beq lbl_800CE324 +/* 800CE31C 000CB27C 38 80 00 00 */ li r4, 0 +/* 800CE320 000CB280 48 27 2B 21 */ bl __dt__6CTokenFv +lbl_800CE324: +/* 800CE324 000CB284 88 01 01 9C */ lbz r0, 0x19c(r1) +/* 800CE328 000CB288 38 60 00 00 */ li r3, 0 +/* 800CE32C 000CB28C 98 61 01 84 */ stb r3, 0x184(r1) +/* 800CE330 000CB290 28 00 00 00 */ cmplwi r0, 0 +/* 800CE334 000CB294 41 82 00 1C */ beq lbl_800CE350 +/* 800CE338 000CB298 34 61 01 88 */ addic. r3, r1, 0x188 +/* 800CE33C 000CB29C 41 82 00 14 */ beq lbl_800CE350 +/* 800CE340 000CB2A0 28 03 00 00 */ cmplwi r3, 0 +/* 800CE344 000CB2A4 41 82 00 0C */ beq lbl_800CE350 +/* 800CE348 000CB2A8 38 80 00 00 */ li r4, 0 +/* 800CE34C 000CB2AC 48 27 2A F5 */ bl __dt__6CTokenFv +lbl_800CE350: +/* 800CE350 000CB2B0 88 01 01 B4 */ lbz r0, 0x1b4(r1) +/* 800CE354 000CB2B4 38 60 00 00 */ li r3, 0 +/* 800CE358 000CB2B8 98 61 01 9C */ stb r3, 0x19c(r1) +/* 800CE35C 000CB2BC 28 00 00 00 */ cmplwi r0, 0 +/* 800CE360 000CB2C0 41 82 00 1C */ beq lbl_800CE37C +/* 800CE364 000CB2C4 34 61 01 A0 */ addic. r3, r1, 0x1a0 +/* 800CE368 000CB2C8 41 82 00 14 */ beq lbl_800CE37C +/* 800CE36C 000CB2CC 28 03 00 00 */ cmplwi r3, 0 +/* 800CE370 000CB2D0 41 82 00 0C */ beq lbl_800CE37C +/* 800CE374 000CB2D4 38 80 00 00 */ li r4, 0 +/* 800CE378 000CB2D8 48 27 2A C9 */ bl __dt__6CTokenFv +lbl_800CE37C: +/* 800CE37C 000CB2DC 88 01 01 CC */ lbz r0, 0x1cc(r1) +/* 800CE380 000CB2E0 38 60 00 00 */ li r3, 0 +/* 800CE384 000CB2E4 98 61 01 B4 */ stb r3, 0x1b4(r1) +/* 800CE388 000CB2E8 28 00 00 00 */ cmplwi r0, 0 +/* 800CE38C 000CB2EC 41 82 00 1C */ beq lbl_800CE3A8 +/* 800CE390 000CB2F0 34 61 01 B8 */ addic. r3, r1, 0x1b8 +/* 800CE394 000CB2F4 41 82 00 14 */ beq lbl_800CE3A8 +/* 800CE398 000CB2F8 28 03 00 00 */ cmplwi r3, 0 +/* 800CE39C 000CB2FC 41 82 00 0C */ beq lbl_800CE3A8 +/* 800CE3A0 000CB300 38 80 00 00 */ li r4, 0 +/* 800CE3A4 000CB304 48 27 2A 9D */ bl __dt__6CTokenFv +lbl_800CE3A8: +/* 800CE3A8 000CB308 38 00 00 00 */ li r0, 0 +/* 800CE3AC 000CB30C 38 61 03 1C */ addi r3, r1, 0x31c +/* 800CE3B0 000CB310 98 01 01 CC */ stb r0, 0x1cc(r1) +/* 800CE3B4 000CB314 38 80 FF FF */ li r4, -1 +/* 800CE3B8 000CB318 48 03 82 51 */ bl __dt__16CActorParametersFv +/* 800CE3BC 000CB31C 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800CE3C0 000CB320 48 26 F7 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CE3C4 000CB324 7E E3 BB 78 */ mr r3, r23 +lbl_800CE3C8: +/* 800CE3C8 000CB328 E3 E1 06 28 */ psq_l f31, 1576(r1), 0, qr0 +/* 800CE3CC 000CB32C CB E1 06 20 */ lfd f31, 0x620(r1) +/* 800CE3D0 000CB330 E3 C1 06 18 */ psq_l f30, 1560(r1), 0, qr0 +/* 800CE3D4 000CB334 CB C1 06 10 */ lfd f30, 0x610(r1) +/* 800CE3D8 000CB338 E3 A1 06 08 */ psq_l f29, 1544(r1), 0, qr0 +/* 800CE3DC 000CB33C CB A1 06 00 */ lfd f29, 0x600(r1) +/* 800CE3E0 000CB340 E3 81 05 F8 */ psq_l f28, 1528(r1), 0, qr0 +/* 800CE3E4 000CB344 CB 81 05 F0 */ lfd f28, 0x5f0(r1) +/* 800CE3E8 000CB348 E3 61 05 E8 */ psq_l f27, 1512(r1), 0, qr0 +/* 800CE3EC 000CB34C CB 61 05 E0 */ lfd f27, 0x5e0(r1) +/* 800CE3F0 000CB350 E3 41 05 D8 */ psq_l f26, 1496(r1), 0, qr0 +/* 800CE3F4 000CB354 CB 41 05 D0 */ lfd f26, 0x5d0(r1) +/* 800CE3F8 000CB358 E3 21 05 C8 */ psq_l f25, 1480(r1), 0, qr0 +/* 800CE3FC 000CB35C CB 21 05 C0 */ lfd f25, 0x5c0(r1) +/* 800CE400 000CB360 E3 01 05 B8 */ psq_l f24, 1464(r1), 0, qr0 +/* 800CE404 000CB364 CB 01 05 B0 */ lfd f24, 0x5b0(r1) +/* 800CE408 000CB368 E2 E1 05 A8 */ psq_l f23, 1448(r1), 0, qr0 +/* 800CE40C 000CB36C CA E1 05 A0 */ lfd f23, 0x5a0(r1) +/* 800CE410 000CB370 E2 C1 05 98 */ psq_l f22, 1432(r1), 0, qr0 +/* 800CE414 000CB374 CA C1 05 90 */ lfd f22, 0x590(r1) +/* 800CE418 000CB378 E2 A1 05 88 */ psq_l f21, 1416(r1), 0, qr0 +/* 800CE41C 000CB37C CA A1 05 80 */ lfd f21, 0x580(r1) +/* 800CE420 000CB380 E2 81 05 78 */ psq_l f20, 1400(r1), 0, qr0 +/* 800CE424 000CB384 CA 81 05 70 */ lfd f20, 0x570(r1) +/* 800CE428 000CB388 E2 61 05 68 */ psq_l f19, 1384(r1), 0, qr0 +/* 800CE42C 000CB38C CA 61 05 60 */ lfd f19, 0x560(r1) +/* 800CE430 000CB390 E2 41 05 58 */ psq_l f18, 1368(r1), 0, qr0 +/* 800CE434 000CB394 CA 41 05 50 */ lfd f18, 0x550(r1) +/* 800CE438 000CB398 E2 21 05 48 */ psq_l f17, 1352(r1), 0, qr0 +/* 800CE43C 000CB39C CA 21 05 40 */ lfd f17, 0x540(r1) +/* 800CE440 000CB3A0 E2 01 05 38 */ psq_l f16, 1336(r1), 0, qr0 +/* 800CE444 000CB3A4 CA 01 05 30 */ lfd f16, 0x530(r1) +/* 800CE448 000CB3A8 E1 E1 05 28 */ psq_l f15, 1320(r1), 0, qr0 +/* 800CE44C 000CB3AC C9 E1 05 20 */ lfd f15, 0x520(r1) +/* 800CE450 000CB3B0 E1 C1 05 18 */ psq_l f14, 1304(r1), 0, qr0 +/* 800CE454 000CB3B4 C9 C1 05 10 */ lfd f14, 0x510(r1) +/* 800CE458 000CB3B8 BA A1 04 E4 */ lmw r21, 0x4e4(r1) +/* 800CE45C 000CB3BC 80 01 06 34 */ lwz r0, 0x634(r1) +/* 800CE460 000CB3C0 7C 08 03 A6 */ mtlr r0 +/* 800CE464 000CB3C4 38 21 06 30 */ addi r1, r1, 0x630 +/* 800CE468 000CB3C8 4E 80 00 20 */ blr + +.global sub_800ce46c +sub_800ce46c: +/* 800CE46C 000CB3CC 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800CE470 000CB3D0 7C 08 02 A6 */ mflr r0 +/* 800CE474 000CB3D4 90 01 00 24 */ stw r0, 0x24(r1) +/* 800CE478 000CB3D8 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 800CE47C 000CB3DC 7C 9D 23 78 */ mr r29, r4 +/* 800CE480 000CB3E0 7C 7B 1B 78 */ mr r27, r3 +/* 800CE484 000CB3E4 80 04 00 04 */ lwz r0, 4(r4) +/* 800CE488 000CB3E8 90 03 00 04 */ stw r0, 4(r3) +/* 800CE48C 000CB3EC 80 04 00 08 */ lwz r0, 8(r4) +/* 800CE490 000CB3F0 90 03 00 08 */ stw r0, 8(r3) +/* 800CE494 000CB3F4 80 04 00 04 */ lwz r0, 4(r4) +/* 800CE498 000CB3F8 2C 00 00 00 */ cmpwi r0, 0 +/* 800CE49C 000CB3FC 40 82 00 1C */ bne lbl_800CE4B8 +/* 800CE4A0 000CB400 80 1D 00 08 */ lwz r0, 8(r29) +/* 800CE4A4 000CB404 2C 00 00 00 */ cmpwi r0, 0 +/* 800CE4A8 000CB408 40 82 00 10 */ bne lbl_800CE4B8 +/* 800CE4AC 000CB40C 38 00 00 00 */ li r0, 0 +/* 800CE4B0 000CB410 90 1B 00 0C */ stw r0, 0xc(r27) +/* 800CE4B4 000CB414 48 00 00 8C */ b lbl_800CE540 +lbl_800CE4B8: +/* 800CE4B8 000CB418 80 1B 00 08 */ lwz r0, 8(r27) +/* 800CE4BC 000CB41C 1C 60 00 14 */ mulli r3, r0, 0x14 +/* 800CE4C0 000CB420 2C 03 00 00 */ cmpwi r3, 0 +/* 800CE4C4 000CB424 40 82 00 10 */ bne lbl_800CE4D4 +/* 800CE4C8 000CB428 38 00 00 00 */ li r0, 0 +/* 800CE4CC 000CB42C 90 1B 00 0C */ stw r0, 0xc(r27) +/* 800CE4D0 000CB430 48 00 00 1C */ b lbl_800CE4EC +lbl_800CE4D4: +/* 800CE4D4 000CB434 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CE4D8 000CB438 38 A0 00 00 */ li r5, 0 +/* 800CE4DC 000CB43C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CE4E0 000CB440 38 84 00 0D */ addi r4, r4, 0xd +/* 800CE4E4 000CB444 48 24 73 35 */ bl __nwa__FUlPCcPCc +/* 800CE4E8 000CB448 90 7B 00 0C */ stw r3, 0xc(r27) +lbl_800CE4EC: +/* 800CE4EC 000CB44C 83 9B 00 04 */ lwz r28, 4(r27) +/* 800CE4F0 000CB450 3B E0 00 00 */ li r31, 0 +/* 800CE4F4 000CB454 83 BD 00 0C */ lwz r29, 0xc(r29) +/* 800CE4F8 000CB458 83 DB 00 0C */ lwz r30, 0xc(r27) +/* 800CE4FC 000CB45C 48 00 00 3C */ b lbl_800CE538 +lbl_800CE500: +/* 800CE500 000CB460 28 1E 00 00 */ cmplwi r30, 0 +/* 800CE504 000CB464 41 82 00 28 */ beq lbl_800CE52C +/* 800CE508 000CB468 7F C3 F3 78 */ mr r3, r30 +/* 800CE50C 000CB46C 7F A4 EB 78 */ mr r4, r29 +/* 800CE510 000CB470 48 27 29 99 */ bl __ct__6CTokenFRC6CToken +/* 800CE514 000CB474 C0 1D 00 08 */ lfs f0, 8(r29) +/* 800CE518 000CB478 D0 1E 00 08 */ stfs f0, 8(r30) +/* 800CE51C 000CB47C C0 1D 00 0C */ lfs f0, 0xc(r29) +/* 800CE520 000CB480 D0 1E 00 0C */ stfs f0, 0xc(r30) +/* 800CE524 000CB484 80 1D 00 10 */ lwz r0, 0x10(r29) +/* 800CE528 000CB488 90 1E 00 10 */ stw r0, 0x10(r30) +lbl_800CE52C: +/* 800CE52C 000CB48C 3B DE 00 14 */ addi r30, r30, 0x14 +/* 800CE530 000CB490 3B FF 00 01 */ addi r31, r31, 1 +/* 800CE534 000CB494 3B BD 00 14 */ addi r29, r29, 0x14 +lbl_800CE538: +/* 800CE538 000CB498 7C 1F E0 00 */ cmpw r31, r28 +/* 800CE53C 000CB49C 41 80 FF C4 */ blt lbl_800CE500 +lbl_800CE540: +/* 800CE540 000CB4A0 7F 63 DB 78 */ mr r3, r27 +/* 800CE544 000CB4A4 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 800CE548 000CB4A8 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800CE54C 000CB4AC 7C 08 03 A6 */ mtlr r0 +/* 800CE550 000CB4B0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800CE554 000CB4B4 4E 80 00 20 */ blr + +.global LoadFlareDef__FR12CInputStream +LoadFlareDef__FR12CInputStream: +/* 800CE558 000CB4B8 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800CE55C 000CB4BC 7C 08 02 A6 */ mflr r0 +/* 800CE560 000CB4C0 90 01 00 74 */ stw r0, 0x74(r1) +/* 800CE564 000CB4C4 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 800CE568 000CB4C8 F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 800CE56C 000CB4CC DB C1 00 50 */ stfd f30, 0x50(r1) +/* 800CE570 000CB4D0 F3 C1 00 58 */ psq_st f30, 88(r1), 0, qr0 +/* 800CE574 000CB4D4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800CE578 000CB4D8 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800CE57C 000CB4DC 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800CE580 000CB4E0 7C 9E 23 78 */ mr r30, r4 +/* 800CE584 000CB4E4 7C 7D 1B 78 */ mr r29, r3 +/* 800CE588 000CB4E8 7F C3 F3 78 */ mr r3, r30 +/* 800CE58C 000CB4EC 48 27 06 F9 */ bl ReadLong__12CInputStreamFv +/* 800CE590 000CB4F0 2C 03 00 04 */ cmpwi r3, 4 +/* 800CE594 000CB4F4 40 82 00 F4 */ bne lbl_800CE688 +/* 800CE598 000CB4F8 7F C3 F3 78 */ mr r3, r30 +/* 800CE59C 000CB4FC 48 27 06 E9 */ bl ReadLong__12CInputStreamFv +/* 800CE5A0 000CB500 7C 7F 1B 78 */ mr r31, r3 +/* 800CE5A4 000CB504 7F C3 F3 78 */ mr r3, r30 +/* 800CE5A8 000CB508 48 27 06 81 */ bl ReadFloat__12CInputStreamFv +/* 800CE5AC 000CB50C FF E0 08 90 */ fmr f31, f1 +/* 800CE5B0 000CB510 7F C3 F3 78 */ mr r3, r30 +/* 800CE5B4 000CB514 48 27 06 75 */ bl ReadFloat__12CInputStreamFv +/* 800CE5B8 000CB518 FF C0 08 90 */ fmr f30, f1 +/* 800CE5BC 000CB51C 7F C4 F3 78 */ mr r4, r30 +/* 800CE5C0 000CB520 38 61 00 08 */ addi r3, r1, 8 +/* 800CE5C4 000CB524 48 29 4E 89 */ bl __ct__6CColorFR12CInputStream +/* 800CE5C8 000CB528 3C 1F 00 01 */ addis r0, r31, 1 +/* 800CE5CC 000CB52C 28 00 FF FF */ cmplwi r0, 0xffff +/* 800CE5D0 000CB530 41 82 00 B8 */ beq lbl_800CE688 +/* 800CE5D4 000CB534 3C 60 54 58 */ lis r3, 0x54585452@ha +/* 800CE5D8 000CB538 93 E1 00 18 */ stw r31, 0x18(r1) +/* 800CE5DC 000CB53C 38 03 54 52 */ addi r0, r3, 0x54585452@l +/* 800CE5E0 000CB540 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800CE5E4 000CB544 90 01 00 14 */ stw r0, 0x14(r1) +/* 800CE5E8 000CB548 38 61 00 0C */ addi r3, r1, 0xc +/* 800CE5EC 000CB54C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800CE5F0 000CB550 81 84 00 00 */ lwz r12, 0(r4) +/* 800CE5F4 000CB554 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800CE5F8 000CB558 7D 89 03 A6 */ mtctr r12 +/* 800CE5FC 000CB55C 4E 80 04 21 */ bctrl +/* 800CE600 000CB560 38 61 00 1C */ addi r3, r1, 0x1c +/* 800CE604 000CB564 38 81 00 0C */ addi r4, r1, 0xc +/* 800CE608 000CB568 48 27 28 A1 */ bl __ct__6CTokenFRC6CToken +/* 800CE60C 000CB56C 38 61 00 0C */ addi r3, r1, 0xc +/* 800CE610 000CB570 38 80 FF FF */ li r4, -1 +/* 800CE614 000CB574 48 27 28 2D */ bl __dt__6CTokenFv +/* 800CE618 000CB578 38 61 00 1C */ addi r3, r1, 0x1c +/* 800CE61C 000CB57C 48 27 27 69 */ bl Lock__6CTokenFv +/* 800CE620 000CB580 FC 20 F8 90 */ fmr f1, f31 +/* 800CE624 000CB584 80 A1 00 08 */ lwz r5, 8(r1) +/* 800CE628 000CB588 FC 40 F0 90 */ fmr f2, f30 +/* 800CE62C 000CB58C 38 61 00 24 */ addi r3, r1, 0x24 +/* 800CE630 000CB590 38 81 00 1C */ addi r4, r1, 0x1c +/* 800CE634 000CB594 48 13 9D 75 */ bl "__ct__Q211CVisorFlare9CFlareDefFRC17TToken<8CTexture>ffUi" +/* 800CE638 000CB598 38 00 00 01 */ li r0, 1 +/* 800CE63C 000CB59C 28 1D 00 00 */ cmplwi r29, 0 +/* 800CE640 000CB5A0 98 1D 00 14 */ stb r0, 0x14(r29) +/* 800CE644 000CB5A4 41 82 00 28 */ beq lbl_800CE66C +/* 800CE648 000CB5A8 7F A3 EB 78 */ mr r3, r29 +/* 800CE64C 000CB5AC 38 81 00 24 */ addi r4, r1, 0x24 +/* 800CE650 000CB5B0 48 27 28 59 */ bl __ct__6CTokenFRC6CToken +/* 800CE654 000CB5B4 C0 01 00 2C */ lfs f0, 0x2c(r1) +/* 800CE658 000CB5B8 D0 1D 00 08 */ stfs f0, 8(r29) +/* 800CE65C 000CB5BC C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800CE660 000CB5C0 D0 1D 00 0C */ stfs f0, 0xc(r29) +/* 800CE664 000CB5C4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800CE668 000CB5C8 90 1D 00 10 */ stw r0, 0x10(r29) +lbl_800CE66C: +/* 800CE66C 000CB5CC 38 61 00 24 */ addi r3, r1, 0x24 +/* 800CE670 000CB5D0 38 80 00 00 */ li r4, 0 +/* 800CE674 000CB5D4 48 27 27 CD */ bl __dt__6CTokenFv +/* 800CE678 000CB5D8 38 61 00 1C */ addi r3, r1, 0x1c +/* 800CE67C 000CB5DC 38 80 00 00 */ li r4, 0 +/* 800CE680 000CB5E0 48 27 27 C1 */ bl __dt__6CTokenFv +/* 800CE684 000CB5E4 48 00 00 0C */ b lbl_800CE690 +lbl_800CE688: +/* 800CE688 000CB5E8 38 00 00 00 */ li r0, 0 +/* 800CE68C 000CB5EC 98 1D 00 14 */ stb r0, 0x14(r29) +lbl_800CE690: +/* 800CE690 000CB5F0 E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 800CE694 000CB5F4 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 800CE698 000CB5F8 E3 C1 00 58 */ psq_l f30, 88(r1), 0, qr0 +/* 800CE69C 000CB5FC CB C1 00 50 */ lfd f30, 0x50(r1) +/* 800CE6A0 000CB600 83 E1 00 4C */ lwz r31, 0x4c(r1) +/* 800CE6A4 000CB604 83 C1 00 48 */ lwz r30, 0x48(r1) +/* 800CE6A8 000CB608 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800CE6AC 000CB60C 83 A1 00 44 */ lwz r29, 0x44(r1) +/* 800CE6B0 000CB610 7C 08 03 A6 */ mtlr r0 +/* 800CE6B4 000CB614 38 21 00 70 */ addi r1, r1, 0x70 +/* 800CE6B8 000CB618 4E 80 00 20 */ blr + +.global LoadFishCloudModifier__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadFishCloudModifier__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CE6BC 000CB61C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800CE6C0 000CB620 7C 08 02 A6 */ mflr r0 +/* 800CE6C4 000CB624 90 01 00 64 */ stw r0, 0x64(r1) +/* 800CE6C8 000CB628 38 00 00 00 */ li r0, 0 +/* 800CE6CC 000CB62C DB E1 00 58 */ stfd f31, 0x58(r1) +/* 800CE6D0 000CB630 DB C1 00 50 */ stfd f30, 0x50(r1) +/* 800CE6D4 000CB634 BF 21 00 34 */ stmw r25, 0x34(r1) +/* 800CE6D8 000CB638 7C BB 2B 78 */ mr r27, r5 +/* 800CE6DC 000CB63C 2C 1B 00 06 */ cmpwi r27, 6 +/* 800CE6E0 000CB640 7C 7F 1B 78 */ mr r31, r3 +/* 800CE6E4 000CB644 7C 99 23 78 */ mr r25, r4 +/* 800CE6E8 000CB648 7C DA 33 78 */ mr r26, r6 +/* 800CE6EC 000CB64C 41 80 00 10 */ blt lbl_800CE6FC +/* 800CE6F0 000CB650 2C 1B 00 07 */ cmpwi r27, 7 +/* 800CE6F4 000CB654 41 81 00 08 */ bgt lbl_800CE6FC +/* 800CE6F8 000CB658 38 00 00 01 */ li r0, 1 +lbl_800CE6FC: +/* 800CE6FC 000CB65C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800CE700 000CB660 40 82 00 0C */ bne lbl_800CE70C +/* 800CE704 000CB664 38 60 00 00 */ li r3, 0 +/* 800CE708 000CB668 48 00 00 E4 */ b lbl_800CE7EC +lbl_800CE70C: +/* 800CE70C 000CB66C 7F E3 FB 78 */ mr r3, r31 +/* 800CE710 000CB670 7F 24 CB 78 */ mr r4, r25 +/* 800CE714 000CB674 4B F7 6A D1 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CE718 000CB678 7C 64 1B 78 */ mr r4, r3 +/* 800CE71C 000CB67C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800CE720 000CB680 48 26 FA 41 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CE724 000CB684 7F 24 CB 78 */ mr r4, r25 +/* 800CE728 000CB688 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CE72C 000CB68C 48 24 64 61 */ bl __ct__9CVector3fFR12CInputStream +/* 800CE730 000CB690 7F 23 CB 78 */ mr r3, r25 +/* 800CE734 000CB694 48 27 05 A9 */ bl ReadBool__12CInputStreamFv +/* 800CE738 000CB698 7C 7E 1B 78 */ mr r30, r3 +/* 800CE73C 000CB69C 7F 23 CB 78 */ mr r3, r25 +/* 800CE740 000CB6A0 48 27 05 9D */ bl ReadBool__12CInputStreamFv +/* 800CE744 000CB6A4 2C 1B 00 06 */ cmpwi r27, 6 +/* 800CE748 000CB6A8 7C 7D 1B 78 */ mr r29, r3 +/* 800CE74C 000CB6AC 40 81 00 14 */ ble lbl_800CE760 +/* 800CE750 000CB6B0 7F 23 CB 78 */ mr r3, r25 +/* 800CE754 000CB6B4 48 27 05 89 */ bl ReadBool__12CInputStreamFv +/* 800CE758 000CB6B8 7C 7C 1B 78 */ mr r28, r3 +/* 800CE75C 000CB6BC 48 00 00 08 */ b lbl_800CE764 +lbl_800CE760: +/* 800CE760 000CB6C0 3B 80 00 00 */ li r28, 0 +lbl_800CE764: +/* 800CE764 000CB6C4 7F 23 CB 78 */ mr r3, r25 +/* 800CE768 000CB6C8 48 27 04 C1 */ bl ReadFloat__12CInputStreamFv +/* 800CE76C 000CB6CC FF E0 08 90 */ fmr f31, f1 +/* 800CE770 000CB6D0 7F 23 CB 78 */ mr r3, r25 +/* 800CE774 000CB6D4 48 27 04 B5 */ bl ReadFloat__12CInputStreamFv +/* 800CE778 000CB6D8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CE77C 000CB6DC FF C0 08 90 */ fmr f30, f1 +/* 800CE780 000CB6E0 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CE784 000CB6E4 38 A0 00 00 */ li r5, 0 +/* 800CE788 000CB6E8 38 60 00 F8 */ li r3, 0xf8 +/* 800CE78C 000CB6EC 38 84 00 0D */ addi r4, r4, 0xd +/* 800CE790 000CB6F0 48 24 70 DD */ bl __nw__FUlPCcPCc +/* 800CE794 000CB6F4 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800CE798 000CB6F8 41 82 00 48 */ beq lbl_800CE7E0 +/* 800CE79C 000CB6FC 7F E4 FB 78 */ mr r4, r31 +/* 800CE7A0 000CB700 38 61 00 08 */ addi r3, r1, 8 +/* 800CE7A4 000CB704 4B F7 E9 39 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CE7A8 000CB708 A0 01 00 08 */ lhz r0, 8(r1) +/* 800CE7AC 000CB70C FC 20 F8 90 */ fmr f1, f31 +/* 800CE7B0 000CB710 FC 40 F0 90 */ fmr f2, f30 +/* 800CE7B4 000CB714 7F 63 DB 78 */ mr r3, r27 +/* 800CE7B8 000CB718 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800CE7BC 000CB71C 7F C5 F3 78 */ mr r5, r30 +/* 800CE7C0 000CB720 7F 47 D3 78 */ mr r7, r26 +/* 800CE7C4 000CB724 7F A9 EB 78 */ mr r9, r29 +/* 800CE7C8 000CB728 7F 8A E3 78 */ mr r10, r28 +/* 800CE7CC 000CB72C 38 81 00 0C */ addi r4, r1, 0xc +/* 800CE7D0 000CB730 38 C1 00 1C */ addi r6, r1, 0x1c +/* 800CE7D4 000CB734 39 01 00 10 */ addi r8, r1, 0x10 +/* 800CE7D8 000CB738 48 10 4A 01 */ bl "__ct__18CFishCloudModifierF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fbff" +/* 800CE7DC 000CB73C 7C 7B 1B 78 */ mr r27, r3 +lbl_800CE7E0: +/* 800CE7E0 000CB740 38 61 00 1C */ addi r3, r1, 0x1c +/* 800CE7E4 000CB744 48 26 F2 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CE7E8 000CB748 7F 63 DB 78 */ mr r3, r27 +lbl_800CE7EC: +/* 800CE7EC 000CB74C CB E1 00 58 */ lfd f31, 0x58(r1) +/* 800CE7F0 000CB750 CB C1 00 50 */ lfd f30, 0x50(r1) +/* 800CE7F4 000CB754 BB 21 00 34 */ lmw r25, 0x34(r1) +/* 800CE7F8 000CB758 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800CE7FC 000CB75C 7C 08 03 A6 */ mtlr r0 +/* 800CE800 000CB760 38 21 00 60 */ addi r1, r1, 0x60 +/* 800CE804 000CB764 4E 80 00 20 */ blr + +.global LoadFishCloud__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadFishCloud__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CE808 000CB768 94 21 FD 80 */ stwu r1, -0x280(r1) +/* 800CE80C 000CB76C 7C 08 02 A6 */ mflr r0 +/* 800CE810 000CB770 90 01 02 84 */ stw r0, 0x284(r1) +/* 800CE814 000CB774 DB E1 02 70 */ stfd f31, 0x270(r1) +/* 800CE818 000CB778 F3 E1 02 78 */ psq_st f31, 632(r1), 0, qr0 +/* 800CE81C 000CB77C DB C1 02 60 */ stfd f30, 0x260(r1) +/* 800CE820 000CB780 F3 C1 02 68 */ psq_st f30, 616(r1), 0, qr0 +/* 800CE824 000CB784 DB A1 02 50 */ stfd f29, 0x250(r1) +/* 800CE828 000CB788 F3 A1 02 58 */ psq_st f29, 600(r1), 0, qr0 +/* 800CE82C 000CB78C DB 81 02 40 */ stfd f28, 0x240(r1) +/* 800CE830 000CB790 F3 81 02 48 */ psq_st f28, 584(r1), 0, qr0 +/* 800CE834 000CB794 DB 61 02 30 */ stfd f27, 0x230(r1) +/* 800CE838 000CB798 F3 61 02 38 */ psq_st f27, 568(r1), 0, qr0 +/* 800CE83C 000CB79C DB 41 02 20 */ stfd f26, 0x220(r1) +/* 800CE840 000CB7A0 F3 41 02 28 */ psq_st f26, 552(r1), 0, qr0 +/* 800CE844 000CB7A4 DB 21 02 10 */ stfd f25, 0x210(r1) +/* 800CE848 000CB7A8 F3 21 02 18 */ psq_st f25, 536(r1), 0, qr0 +/* 800CE84C 000CB7AC DB 01 02 00 */ stfd f24, 0x200(r1) +/* 800CE850 000CB7B0 F3 01 02 08 */ psq_st f24, 520(r1), 0, qr0 +/* 800CE854 000CB7B4 DA E1 01 F0 */ stfd f23, 0x1f0(r1) +/* 800CE858 000CB7B8 F2 E1 01 F8 */ psq_st f23, 504(r1), 0, qr0 +/* 800CE85C 000CB7BC DA C1 01 E0 */ stfd f22, 0x1e0(r1) +/* 800CE860 000CB7C0 F2 C1 01 E8 */ psq_st f22, 488(r1), 0, qr0 +/* 800CE864 000CB7C4 DA A1 01 D0 */ stfd f21, 0x1d0(r1) +/* 800CE868 000CB7C8 F2 A1 01 D8 */ psq_st f21, 472(r1), 0, qr0 +/* 800CE86C 000CB7CC DA 81 01 C0 */ stfd f20, 0x1c0(r1) +/* 800CE870 000CB7D0 F2 81 01 C8 */ psq_st f20, 456(r1), 0, qr0 +/* 800CE874 000CB7D4 DA 61 01 B0 */ stfd f19, 0x1b0(r1) +/* 800CE878 000CB7D8 F2 61 01 B8 */ psq_st f19, 440(r1), 0, qr0 +/* 800CE87C 000CB7DC DA 41 01 A0 */ stfd f18, 0x1a0(r1) +/* 800CE880 000CB7E0 F2 41 01 A8 */ psq_st f18, 424(r1), 0, qr0 +/* 800CE884 000CB7E4 BD C1 01 58 */ stmw r14, 0x158(r1) +/* 800CE888 000CB7E8 2C 05 00 24 */ cmpwi r5, 0x24 +/* 800CE88C 000CB7EC 90 C1 00 60 */ stw r6, 0x60(r1) +/* 800CE890 000CB7F0 7C 70 1B 78 */ mr r16, r3 +/* 800CE894 000CB7F4 7C 8E 23 78 */ mr r14, r4 +/* 800CE898 000CB7F8 41 82 00 0C */ beq lbl_800CE8A4 +/* 800CE89C 000CB7FC 38 60 00 00 */ li r3, 0 +/* 800CE8A0 000CB800 48 00 03 28 */ b lbl_800CEBC8 +lbl_800CE8A4: +/* 800CE8A4 000CB804 7E 05 83 78 */ mr r5, r16 +/* 800CE8A8 000CB808 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800CE8AC 000CB80C 48 00 BB D1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800CE8B0 000CB810 7D C3 73 78 */ mr r3, r14 +/* 800CE8B4 000CB814 48 27 04 29 */ bl ReadBool__12CInputStreamFv +/* 800CE8B8 000CB818 98 61 01 40 */ stb r3, 0x140(r1) +/* 800CE8BC 000CB81C 7D C3 73 78 */ mr r3, r14 +/* 800CE8C0 000CB820 48 27 03 C5 */ bl ReadLong__12CInputStreamFv +/* 800CE8C4 000CB824 7C 73 1B 78 */ mr r19, r3 +/* 800CE8C8 000CB828 7D C3 73 78 */ mr r3, r14 +/* 800CE8CC 000CB82C 48 27 03 B9 */ bl ReadLong__12CInputStreamFv +/* 800CE8D0 000CB830 7C 74 1B 78 */ mr r20, r3 +/* 800CE8D4 000CB834 7D C3 73 78 */ mr r3, r14 +/* 800CE8D8 000CB838 48 27 03 AD */ bl ReadLong__12CInputStreamFv +/* 800CE8DC 000CB83C 7C 75 1B 78 */ mr r21, r3 +/* 800CE8E0 000CB840 7D C3 73 78 */ mr r3, r14 +/* 800CE8E4 000CB844 48 27 03 A1 */ bl ReadLong__12CInputStreamFv +/* 800CE8E8 000CB848 7C 76 1B 78 */ mr r22, r3 +/* 800CE8EC 000CB84C 7D C3 73 78 */ mr r3, r14 +/* 800CE8F0 000CB850 48 27 03 39 */ bl ReadFloat__12CInputStreamFv +/* 800CE8F4 000CB854 FC 00 08 1E */ fctiwz f0, f1 +/* 800CE8F8 000CB858 7D C3 73 78 */ mr r3, r14 +/* 800CE8FC 000CB85C D8 01 01 38 */ stfd f0, 0x138(r1) +/* 800CE900 000CB860 82 41 01 3C */ lwz r18, 0x13c(r1) +/* 800CE904 000CB864 48 27 03 25 */ bl ReadFloat__12CInputStreamFv +/* 800CE908 000CB868 FF 20 08 90 */ fmr f25, f1 +/* 800CE90C 000CB86C 7D C3 73 78 */ mr r3, r14 +/* 800CE910 000CB870 48 27 03 19 */ bl ReadFloat__12CInputStreamFv +/* 800CE914 000CB874 FF 00 08 90 */ fmr f24, f1 +/* 800CE918 000CB878 7D C3 73 78 */ mr r3, r14 +/* 800CE91C 000CB87C 48 27 03 0D */ bl ReadFloat__12CInputStreamFv +/* 800CE920 000CB880 FE E0 08 90 */ fmr f23, f1 +/* 800CE924 000CB884 7D C3 73 78 */ mr r3, r14 +/* 800CE928 000CB888 48 27 03 01 */ bl ReadFloat__12CInputStreamFv +/* 800CE92C 000CB88C FE C0 08 90 */ fmr f22, f1 +/* 800CE930 000CB890 7D C3 73 78 */ mr r3, r14 +/* 800CE934 000CB894 48 27 02 F5 */ bl ReadFloat__12CInputStreamFv +/* 800CE938 000CB898 FE A0 08 90 */ fmr f21, f1 +/* 800CE93C 000CB89C 7D C3 73 78 */ mr r3, r14 +/* 800CE940 000CB8A0 48 27 02 E9 */ bl ReadFloat__12CInputStreamFv +/* 800CE944 000CB8A4 FE 80 08 90 */ fmr f20, f1 +/* 800CE948 000CB8A8 7D C3 73 78 */ mr r3, r14 +/* 800CE94C 000CB8AC 48 27 02 DD */ bl ReadFloat__12CInputStreamFv +/* 800CE950 000CB8B0 FE 60 08 90 */ fmr f19, f1 +/* 800CE954 000CB8B4 7D C3 73 78 */ mr r3, r14 +/* 800CE958 000CB8B8 48 27 02 D1 */ bl ReadFloat__12CInputStreamFv +/* 800CE95C 000CB8BC FE 40 08 90 */ fmr f18, f1 +/* 800CE960 000CB8C0 7D C3 73 78 */ mr r3, r14 +/* 800CE964 000CB8C4 48 27 02 C5 */ bl ReadFloat__12CInputStreamFv +/* 800CE968 000CB8C8 FF 40 08 90 */ fmr f26, f1 +/* 800CE96C 000CB8CC 7D C3 73 78 */ mr r3, r14 +/* 800CE970 000CB8D0 48 27 02 B9 */ bl ReadFloat__12CInputStreamFv +/* 800CE974 000CB8D4 FF 60 08 90 */ fmr f27, f1 +/* 800CE978 000CB8D8 7D C3 73 78 */ mr r3, r14 +/* 800CE97C 000CB8DC 48 27 02 AD */ bl ReadFloat__12CInputStreamFv +/* 800CE980 000CB8E0 FF 80 08 90 */ fmr f28, f1 +/* 800CE984 000CB8E4 7D C3 73 78 */ mr r3, r14 +/* 800CE988 000CB8E8 48 27 02 A1 */ bl ReadFloat__12CInputStreamFv +/* 800CE98C 000CB8EC FF A0 08 90 */ fmr f29, f1 +/* 800CE990 000CB8F0 7D C3 73 78 */ mr r3, r14 +/* 800CE994 000CB8F4 48 27 02 95 */ bl ReadFloat__12CInputStreamFv +/* 800CE998 000CB8F8 FF C0 08 90 */ fmr f30, f1 +/* 800CE99C 000CB8FC 7D C3 73 78 */ mr r3, r14 +/* 800CE9A0 000CB900 48 27 02 E5 */ bl ReadLong__12CInputStreamFv +/* 800CE9A4 000CB904 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800CE9A8 000CB908 7C 77 1B 78 */ mr r23, r3 +/* 800CE9AC 000CB90C 7E 64 9B 78 */ mr r4, r19 +/* 800CE9B0 000CB910 38 65 00 04 */ addi r3, r5, 4 +/* 800CE9B4 000CB914 48 26 D3 19 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800CE9B8 000CB918 28 03 00 00 */ cmplwi r3, 0 +/* 800CE9BC 000CB91C 40 82 00 14 */ bne lbl_800CE9D0 +/* 800CE9C0 000CB920 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800CE9C4 000CB924 48 26 F1 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CE9C8 000CB928 38 60 00 00 */ li r3, 0 +/* 800CE9CC 000CB92C 48 00 01 FC */ b lbl_800CEBC8 +lbl_800CE9D0: +/* 800CE9D0 000CB930 7D C4 73 78 */ mr r4, r14 +/* 800CE9D4 000CB934 38 61 00 6C */ addi r3, r1, 0x6c +/* 800CE9D8 000CB938 48 29 4A 75 */ bl __ct__6CColorFR12CInputStream +/* 800CE9DC 000CB93C 7D C3 73 78 */ mr r3, r14 +/* 800CE9E0 000CB940 48 27 02 FD */ bl ReadBool__12CInputStreamFv +/* 800CE9E4 000CB944 7C 78 1B 78 */ mr r24, r3 +/* 800CE9E8 000CB948 7D C3 73 78 */ mr r3, r14 +/* 800CE9EC 000CB94C 48 27 02 3D */ bl ReadFloat__12CInputStreamFv +/* 800CE9F0 000CB950 FF E0 08 90 */ fmr f31, f1 +/* 800CE9F4 000CB954 7D C3 73 78 */ mr r3, r14 +/* 800CE9F8 000CB958 48 27 02 8D */ bl ReadLong__12CInputStreamFv +/* 800CE9FC 000CB95C 7C 79 1B 78 */ mr r25, r3 +/* 800CEA00 000CB960 7D C3 73 78 */ mr r3, r14 +/* 800CEA04 000CB964 48 27 02 81 */ bl ReadLong__12CInputStreamFv +/* 800CEA08 000CB968 7C 7A 1B 78 */ mr r26, r3 +/* 800CEA0C 000CB96C 7D C3 73 78 */ mr r3, r14 +/* 800CEA10 000CB970 48 27 02 75 */ bl ReadLong__12CInputStreamFv +/* 800CEA14 000CB974 7C 7B 1B 78 */ mr r27, r3 +/* 800CEA18 000CB978 7D C3 73 78 */ mr r3, r14 +/* 800CEA1C 000CB97C 48 27 02 69 */ bl ReadLong__12CInputStreamFv +/* 800CEA20 000CB980 7C 7C 1B 78 */ mr r28, r3 +/* 800CEA24 000CB984 7D C3 73 78 */ mr r3, r14 +/* 800CEA28 000CB988 48 27 02 5D */ bl ReadLong__12CInputStreamFv +/* 800CEA2C 000CB98C 7C 7D 1B 78 */ mr r29, r3 +/* 800CEA30 000CB990 7D C3 73 78 */ mr r3, r14 +/* 800CEA34 000CB994 48 27 02 51 */ bl ReadLong__12CInputStreamFv +/* 800CEA38 000CB998 7C 7E 1B 78 */ mr r30, r3 +/* 800CEA3C 000CB99C 7D C3 73 78 */ mr r3, r14 +/* 800CEA40 000CB9A0 48 27 02 45 */ bl ReadLong__12CInputStreamFv +/* 800CEA44 000CB9A4 7C 7F 1B 78 */ mr r31, r3 +/* 800CEA48 000CB9A8 7D C3 73 78 */ mr r3, r14 +/* 800CEA4C 000CB9AC 48 27 02 39 */ bl ReadLong__12CInputStreamFv +/* 800CEA50 000CB9B0 90 61 01 44 */ stw r3, 0x144(r1) +/* 800CEA54 000CB9B4 7D C3 73 78 */ mr r3, r14 +/* 800CEA58 000CB9B8 48 27 02 2D */ bl ReadLong__12CInputStreamFv +/* 800CEA5C 000CB9BC 90 61 01 48 */ stw r3, 0x148(r1) +/* 800CEA60 000CB9C0 7D C3 73 78 */ mr r3, r14 +/* 800CEA64 000CB9C4 48 27 02 79 */ bl ReadBool__12CInputStreamFv +/* 800CEA68 000CB9C8 90 61 01 4C */ stw r3, 0x14c(r1) +/* 800CEA6C 000CB9CC 7D C3 73 78 */ mr r3, r14 +/* 800CEA70 000CB9D0 48 27 02 6D */ bl ReadBool__12CInputStreamFv +/* 800CEA74 000CB9D4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CEA78 000CB9D8 7C 6E 1B 78 */ mr r14, r3 +/* 800CEA7C 000CB9DC 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800CEA80 000CB9E0 39 E0 00 00 */ li r15, 0 +/* 800CEA84 000CB9E4 38 83 00 0D */ addi r4, r3, 0xd +/* 800CEA88 000CB9E8 38 60 02 58 */ li r3, 0x258 +/* 800CEA8C 000CB9EC 38 A0 00 00 */ li r5, 0 +/* 800CEA90 000CB9F0 48 24 6D DD */ bl __nw__FUlPCcPCc +/* 800CEA94 000CB9F4 7C 71 1B 79 */ or. r17, r3, r3 +/* 800CEA98 000CB9F8 41 82 01 10 */ beq lbl_800CEBA8 +/* 800CEA9C 000CB9FC C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800CEAA0 000CBA00 38 00 00 01 */ li r0, 1 +/* 800CEAA4 000CBA04 92 81 00 80 */ stw r20, 0x80(r1) +/* 800CEAA8 000CBA08 38 61 00 9C */ addi r3, r1, 0x9c +/* 800CEAAC 000CBA0C 38 81 00 70 */ addi r4, r1, 0x70 +/* 800CEAB0 000CBA10 92 A1 00 84 */ stw r21, 0x84(r1) +/* 800CEAB4 000CBA14 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800CEAB8 000CBA18 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 800CEABC 000CBA1C D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800CEAC0 000CBA20 98 01 00 94 */ stb r0, 0x94(r1) +/* 800CEAC4 000CBA24 92 C1 00 98 */ stw r22, 0x98(r1) +/* 800CEAC8 000CBA28 92 61 00 70 */ stw r19, 0x70(r1) +/* 800CEACC 000CBA2C D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800CEAD0 000CBA30 D0 01 00 78 */ stfs f0, 0x78(r1) +/* 800CEAD4 000CBA34 D0 01 00 7C */ stfs f0, 0x7c(r1) +/* 800CEAD8 000CBA38 48 04 82 85 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800CEADC 000CBA3C 7E 04 83 78 */ mr r4, r16 +/* 800CEAE0 000CBA40 38 61 00 64 */ addi r3, r1, 0x64 +/* 800CEAE4 000CBA44 39 E0 00 01 */ li r15, 1 +/* 800CEAE8 000CBA48 4B F7 E5 F5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CEAEC 000CBA4C A0 61 00 64 */ lhz r3, 0x64(r1) +/* 800CEAF0 000CBA50 38 81 00 80 */ addi r4, r1, 0x80 +/* 800CEAF4 000CBA54 38 01 00 6C */ addi r0, r1, 0x6c +/* 800CEAF8 000CBA58 FC 20 C8 90 */ fmr f1, f25 +/* 800CEAFC 000CBA5C B0 61 00 68 */ sth r3, 0x68(r1) +/* 800CEB00 000CBA60 FC 40 C0 90 */ fmr f2, f24 +/* 800CEB04 000CBA64 FC 60 B8 90 */ fmr f3, f23 +/* 800CEB08 000CBA68 88 A1 01 40 */ lbz r5, 0x140(r1) +/* 800CEB0C 000CBA6C 90 81 00 08 */ stw r4, 8(r1) +/* 800CEB10 000CBA70 FC 80 B0 90 */ fmr f4, f22 +/* 800CEB14 000CBA74 80 E1 00 60 */ lwz r7, 0x60(r1) +/* 800CEB18 000CBA78 92 41 00 0C */ stw r18, 0xc(r1) +/* 800CEB1C 000CBA7C FC A0 A8 90 */ fmr f5, f21 +/* 800CEB20 000CBA80 7E 23 8B 78 */ mr r3, r17 +/* 800CEB24 000CBA84 D3 41 00 10 */ stfs f26, 0x10(r1) +/* 800CEB28 000CBA88 FC C0 A0 90 */ fmr f6, f20 +/* 800CEB2C 000CBA8C 38 81 00 68 */ addi r4, r1, 0x68 +/* 800CEB30 000CBA90 D3 61 00 14 */ stfs f27, 0x14(r1) +/* 800CEB34 000CBA94 FC E0 98 90 */ fmr f7, f19 +/* 800CEB38 000CBA98 38 C1 00 E8 */ addi r6, r1, 0xe8 +/* 800CEB3C 000CBA9C D3 81 00 18 */ stfs f28, 0x18(r1) +/* 800CEB40 000CBAA0 FD 00 90 90 */ fmr f8, f18 +/* 800CEB44 000CBAA4 39 01 01 28 */ addi r8, r1, 0x128 +/* 800CEB48 000CBAA8 D3 A1 00 1C */ stfs f29, 0x1c(r1) +/* 800CEB4C 000CBAAC 39 21 00 F8 */ addi r9, r1, 0xf8 +/* 800CEB50 000CBAB0 39 41 00 9C */ addi r10, r1, 0x9c +/* 800CEB54 000CBAB4 D3 C1 00 20 */ stfs f30, 0x20(r1) +/* 800CEB58 000CBAB8 92 E1 00 24 */ stw r23, 0x24(r1) +/* 800CEB5C 000CBABC 90 01 00 28 */ stw r0, 0x28(r1) +/* 800CEB60 000CBAC0 80 01 01 44 */ lwz r0, 0x144(r1) +/* 800CEB64 000CBAC4 93 01 00 2C */ stw r24, 0x2c(r1) +/* 800CEB68 000CBAC8 D3 E1 00 30 */ stfs f31, 0x30(r1) +/* 800CEB6C 000CBACC 93 21 00 34 */ stw r25, 0x34(r1) +/* 800CEB70 000CBAD0 93 41 00 38 */ stw r26, 0x38(r1) +/* 800CEB74 000CBAD4 93 61 00 3C */ stw r27, 0x3c(r1) +/* 800CEB78 000CBAD8 93 81 00 40 */ stw r28, 0x40(r1) +/* 800CEB7C 000CBADC 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800CEB80 000CBAE0 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800CEB84 000CBAE4 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800CEB88 000CBAE8 90 01 00 50 */ stw r0, 0x50(r1) +/* 800CEB8C 000CBAEC 80 01 01 48 */ lwz r0, 0x148(r1) +/* 800CEB90 000CBAF0 90 01 00 54 */ stw r0, 0x54(r1) +/* 800CEB94 000CBAF4 80 01 01 4C */ lwz r0, 0x14c(r1) +/* 800CEB98 000CBAF8 90 01 00 58 */ stw r0, 0x58(r1) +/* 800CEB9C 000CBAFC 91 C1 00 5C */ stw r14, 0x5c(r1) +/* 800CEBA0 000CBB00 48 10 35 AD */ bl "__ct__10CFishCloudF9TUniqueIdbRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fRC10CModelDatafffff" +/* 800CEBA4 000CBB04 7C 71 1B 78 */ mr r17, r3 +lbl_800CEBA8: +/* 800CEBA8 000CBB08 7D E0 07 75 */ extsb. r0, r15 +/* 800CEBAC 000CBB0C 41 82 00 10 */ beq lbl_800CEBBC +/* 800CEBB0 000CBB10 38 61 00 9C */ addi r3, r1, 0x9c +/* 800CEBB4 000CBB14 38 80 FF FF */ li r4, -1 +/* 800CEBB8 000CBB18 48 04 7E 95 */ bl __dt__10CModelDataFv +lbl_800CEBBC: +/* 800CEBBC 000CBB1C 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800CEBC0 000CBB20 48 26 EF 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CEBC4 000CBB24 7E 23 8B 78 */ mr r3, r17 +lbl_800CEBC8: +/* 800CEBC8 000CBB28 E3 E1 02 78 */ psq_l f31, 632(r1), 0, qr0 +/* 800CEBCC 000CBB2C CB E1 02 70 */ lfd f31, 0x270(r1) +/* 800CEBD0 000CBB30 E3 C1 02 68 */ psq_l f30, 616(r1), 0, qr0 +/* 800CEBD4 000CBB34 CB C1 02 60 */ lfd f30, 0x260(r1) +/* 800CEBD8 000CBB38 E3 A1 02 58 */ psq_l f29, 600(r1), 0, qr0 +/* 800CEBDC 000CBB3C CB A1 02 50 */ lfd f29, 0x250(r1) +/* 800CEBE0 000CBB40 E3 81 02 48 */ psq_l f28, 584(r1), 0, qr0 +/* 800CEBE4 000CBB44 CB 81 02 40 */ lfd f28, 0x240(r1) +/* 800CEBE8 000CBB48 E3 61 02 38 */ psq_l f27, 568(r1), 0, qr0 +/* 800CEBEC 000CBB4C CB 61 02 30 */ lfd f27, 0x230(r1) +/* 800CEBF0 000CBB50 E3 41 02 28 */ psq_l f26, 552(r1), 0, qr0 +/* 800CEBF4 000CBB54 CB 41 02 20 */ lfd f26, 0x220(r1) +/* 800CEBF8 000CBB58 E3 21 02 18 */ psq_l f25, 536(r1), 0, qr0 +/* 800CEBFC 000CBB5C CB 21 02 10 */ lfd f25, 0x210(r1) +/* 800CEC00 000CBB60 E3 01 02 08 */ psq_l f24, 520(r1), 0, qr0 +/* 800CEC04 000CBB64 CB 01 02 00 */ lfd f24, 0x200(r1) +/* 800CEC08 000CBB68 E2 E1 01 F8 */ psq_l f23, 504(r1), 0, qr0 +/* 800CEC0C 000CBB6C CA E1 01 F0 */ lfd f23, 0x1f0(r1) +/* 800CEC10 000CBB70 E2 C1 01 E8 */ psq_l f22, 488(r1), 0, qr0 +/* 800CEC14 000CBB74 CA C1 01 E0 */ lfd f22, 0x1e0(r1) +/* 800CEC18 000CBB78 E2 A1 01 D8 */ psq_l f21, 472(r1), 0, qr0 +/* 800CEC1C 000CBB7C CA A1 01 D0 */ lfd f21, 0x1d0(r1) +/* 800CEC20 000CBB80 E2 81 01 C8 */ psq_l f20, 456(r1), 0, qr0 +/* 800CEC24 000CBB84 CA 81 01 C0 */ lfd f20, 0x1c0(r1) +/* 800CEC28 000CBB88 E2 61 01 B8 */ psq_l f19, 440(r1), 0, qr0 +/* 800CEC2C 000CBB8C CA 61 01 B0 */ lfd f19, 0x1b0(r1) +/* 800CEC30 000CBB90 E2 41 01 A8 */ psq_l f18, 424(r1), 0, qr0 +/* 800CEC34 000CBB94 CA 41 01 A0 */ lfd f18, 0x1a0(r1) +/* 800CEC38 000CBB98 B9 C1 01 58 */ lmw r14, 0x158(r1) +/* 800CEC3C 000CBB9C 80 01 02 84 */ lwz r0, 0x284(r1) +/* 800CEC40 000CBBA0 7C 08 03 A6 */ mtlr r0 +/* 800CEC44 000CBBA4 38 21 02 80 */ addi r1, r1, 0x280 +/* 800CEC48 000CBBA8 4E 80 00 20 */ blr + +.global LoadRoomAcoustics__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadRoomAcoustics__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CEC4C 000CBBAC 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 800CEC50 000CBBB0 7C 08 02 A6 */ mflr r0 +/* 800CEC54 000CBBB4 90 01 01 34 */ stw r0, 0x134(r1) +/* 800CEC58 000CBBB8 39 61 01 30 */ addi r11, r1, 0x130 +/* 800CEC5C 000CBBBC 48 2B AD 65 */ bl sub_803899c0 +/* 800CEC60 000CBBC0 BD C1 00 78 */ stmw r14, 0x78(r1) +/* 800CEC64 000CBBC4 2C 05 00 20 */ cmpwi r5, 0x20 +/* 800CEC68 000CBBC8 90 61 00 58 */ stw r3, 0x58(r1) +/* 800CEC6C 000CBBCC 7C 8E 23 78 */ mr r14, r4 +/* 800CEC70 000CBBD0 90 C1 00 5C */ stw r6, 0x5c(r1) +/* 800CEC74 000CBBD4 41 82 00 0C */ beq lbl_800CEC80 +/* 800CEC78 000CBBD8 38 60 00 00 */ li r3, 0 +/* 800CEC7C 000CBBDC 48 00 02 5C */ b lbl_800CEED8 +lbl_800CEC80: +/* 800CEC80 000CBBE0 4B F7 65 65 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CEC84 000CBBE4 7C 64 1B 78 */ mr r4, r3 +/* 800CEC88 000CBBE8 38 61 00 68 */ addi r3, r1, 0x68 +/* 800CEC8C 000CBBEC 48 26 F4 D5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CEC90 000CBBF0 7D C3 73 78 */ mr r3, r14 +/* 800CEC94 000CBBF4 48 27 00 49 */ bl ReadBool__12CInputStreamFv +/* 800CEC98 000CBBF8 7C 73 1B 78 */ mr r19, r3 +/* 800CEC9C 000CBBFC 7D C3 73 78 */ mr r3, r14 +/* 800CECA0 000CBC00 48 26 FF E5 */ bl ReadLong__12CInputStreamFv +/* 800CECA4 000CBC04 7C 72 1B 78 */ mr r18, r3 +/* 800CECA8 000CBC08 7D C3 73 78 */ mr r3, r14 +/* 800CECAC 000CBC0C 48 27 00 31 */ bl ReadBool__12CInputStreamFv +/* 800CECB0 000CBC10 7C 71 1B 78 */ mr r17, r3 +/* 800CECB4 000CBC14 7D C3 73 78 */ mr r3, r14 +/* 800CECB8 000CBC18 48 27 00 25 */ bl ReadBool__12CInputStreamFv +/* 800CECBC 000CBC1C 7C 70 1B 78 */ mr r16, r3 +/* 800CECC0 000CBC20 7D C3 73 78 */ mr r3, r14 +/* 800CECC4 000CBC24 48 26 FF 65 */ bl ReadFloat__12CInputStreamFv +/* 800CECC8 000CBC28 FF 20 08 90 */ fmr f25, f1 +/* 800CECCC 000CBC2C 7D C3 73 78 */ mr r3, r14 +/* 800CECD0 000CBC30 48 26 FF 59 */ bl ReadFloat__12CInputStreamFv +/* 800CECD4 000CBC34 FF 00 08 90 */ fmr f24, f1 +/* 800CECD8 000CBC38 7D C3 73 78 */ mr r3, r14 +/* 800CECDC 000CBC3C 48 26 FF 4D */ bl ReadFloat__12CInputStreamFv +/* 800CECE0 000CBC40 FE E0 08 90 */ fmr f23, f1 +/* 800CECE4 000CBC44 7D C3 73 78 */ mr r3, r14 +/* 800CECE8 000CBC48 48 26 FF 41 */ bl ReadFloat__12CInputStreamFv +/* 800CECEC 000CBC4C FE C0 08 90 */ fmr f22, f1 +/* 800CECF0 000CBC50 7D C3 73 78 */ mr r3, r14 +/* 800CECF4 000CBC54 48 26 FF 35 */ bl ReadFloat__12CInputStreamFv +/* 800CECF8 000CBC58 FE A0 08 90 */ fmr f21, f1 +/* 800CECFC 000CBC5C 7D C3 73 78 */ mr r3, r14 +/* 800CED00 000CBC60 48 26 FF 29 */ bl ReadFloat__12CInputStreamFv +/* 800CED04 000CBC64 FE 80 08 90 */ fmr f20, f1 +/* 800CED08 000CBC68 7D C3 73 78 */ mr r3, r14 +/* 800CED0C 000CBC6C 48 26 FF D1 */ bl ReadBool__12CInputStreamFv +/* 800CED10 000CBC70 7C 74 1B 78 */ mr r20, r3 +/* 800CED14 000CBC74 7D C3 73 78 */ mr r3, r14 +/* 800CED18 000CBC78 48 26 FF 11 */ bl ReadFloat__12CInputStreamFv +/* 800CED1C 000CBC7C FE 60 08 90 */ fmr f19, f1 +/* 800CED20 000CBC80 7D C3 73 78 */ mr r3, r14 +/* 800CED24 000CBC84 48 26 FF 05 */ bl ReadFloat__12CInputStreamFv +/* 800CED28 000CBC88 FE 40 08 90 */ fmr f18, f1 +/* 800CED2C 000CBC8C 7D C3 73 78 */ mr r3, r14 +/* 800CED30 000CBC90 48 26 FE F9 */ bl ReadFloat__12CInputStreamFv +/* 800CED34 000CBC94 FF 40 08 90 */ fmr f26, f1 +/* 800CED38 000CBC98 7D C3 73 78 */ mr r3, r14 +/* 800CED3C 000CBC9C 48 26 FF A1 */ bl ReadBool__12CInputStreamFv +/* 800CED40 000CBCA0 7C 75 1B 78 */ mr r21, r3 +/* 800CED44 000CBCA4 7D C3 73 78 */ mr r3, r14 +/* 800CED48 000CBCA8 48 26 FF 95 */ bl ReadBool__12CInputStreamFv +/* 800CED4C 000CBCAC 7C 76 1B 78 */ mr r22, r3 +/* 800CED50 000CBCB0 7D C3 73 78 */ mr r3, r14 +/* 800CED54 000CBCB4 48 26 FE D5 */ bl ReadFloat__12CInputStreamFv +/* 800CED58 000CBCB8 FF 60 08 90 */ fmr f27, f1 +/* 800CED5C 000CBCBC 7D C3 73 78 */ mr r3, r14 +/* 800CED60 000CBCC0 48 26 FE C9 */ bl ReadFloat__12CInputStreamFv +/* 800CED64 000CBCC4 FF 80 08 90 */ fmr f28, f1 +/* 800CED68 000CBCC8 7D C3 73 78 */ mr r3, r14 +/* 800CED6C 000CBCCC 48 26 FE BD */ bl ReadFloat__12CInputStreamFv +/* 800CED70 000CBCD0 FF A0 08 90 */ fmr f29, f1 +/* 800CED74 000CBCD4 7D C3 73 78 */ mr r3, r14 +/* 800CED78 000CBCD8 48 26 FE B1 */ bl ReadFloat__12CInputStreamFv +/* 800CED7C 000CBCDC FF C0 08 90 */ fmr f30, f1 +/* 800CED80 000CBCE0 7D C3 73 78 */ mr r3, r14 +/* 800CED84 000CBCE4 48 26 FE A5 */ bl ReadFloat__12CInputStreamFv +/* 800CED88 000CBCE8 FF E0 08 90 */ fmr f31, f1 +/* 800CED8C 000CBCEC 7D C3 73 78 */ mr r3, r14 +/* 800CED90 000CBCF0 48 26 FF 4D */ bl ReadBool__12CInputStreamFv +/* 800CED94 000CBCF4 7C 77 1B 78 */ mr r23, r3 +/* 800CED98 000CBCF8 7D C3 73 78 */ mr r3, r14 +/* 800CED9C 000CBCFC 48 26 FE E9 */ bl ReadLong__12CInputStreamFv +/* 800CEDA0 000CBD00 7C 78 1B 78 */ mr r24, r3 +/* 800CEDA4 000CBD04 7D C3 73 78 */ mr r3, r14 +/* 800CEDA8 000CBD08 48 26 FE DD */ bl ReadLong__12CInputStreamFv +/* 800CEDAC 000CBD0C 7C 79 1B 78 */ mr r25, r3 +/* 800CEDB0 000CBD10 7D C3 73 78 */ mr r3, r14 +/* 800CEDB4 000CBD14 48 26 FE D1 */ bl ReadLong__12CInputStreamFv +/* 800CEDB8 000CBD18 7C 7A 1B 78 */ mr r26, r3 +/* 800CEDBC 000CBD1C 7D C3 73 78 */ mr r3, r14 +/* 800CEDC0 000CBD20 48 26 FE C5 */ bl ReadLong__12CInputStreamFv +/* 800CEDC4 000CBD24 7C 7B 1B 78 */ mr r27, r3 +/* 800CEDC8 000CBD28 7D C3 73 78 */ mr r3, r14 +/* 800CEDCC 000CBD2C 48 26 FE B9 */ bl ReadLong__12CInputStreamFv +/* 800CEDD0 000CBD30 7C 7C 1B 78 */ mr r28, r3 +/* 800CEDD4 000CBD34 7D C3 73 78 */ mr r3, r14 +/* 800CEDD8 000CBD38 48 26 FE AD */ bl ReadLong__12CInputStreamFv +/* 800CEDDC 000CBD3C 7C 7D 1B 78 */ mr r29, r3 +/* 800CEDE0 000CBD40 7D C3 73 78 */ mr r3, r14 +/* 800CEDE4 000CBD44 48 26 FE A1 */ bl ReadLong__12CInputStreamFv +/* 800CEDE8 000CBD48 7C 7E 1B 78 */ mr r30, r3 +/* 800CEDEC 000CBD4C 7D C3 73 78 */ mr r3, r14 +/* 800CEDF0 000CBD50 48 26 FE 95 */ bl ReadLong__12CInputStreamFv +/* 800CEDF4 000CBD54 7C 7F 1B 78 */ mr r31, r3 +/* 800CEDF8 000CBD58 7D C3 73 78 */ mr r3, r14 +/* 800CEDFC 000CBD5C 48 26 FE 89 */ bl ReadLong__12CInputStreamFv +/* 800CEE00 000CBD60 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CEE04 000CBD64 7C 6E 1B 78 */ mr r14, r3 +/* 800CEE08 000CBD68 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CEE0C 000CBD6C 38 60 00 A4 */ li r3, 0xa4 +/* 800CEE10 000CBD70 38 84 00 0D */ addi r4, r4, 0xd +/* 800CEE14 000CBD74 38 A0 00 00 */ li r5, 0 +/* 800CEE18 000CBD78 48 24 6A 55 */ bl __nw__FUlPCcPCc +/* 800CEE1C 000CBD7C 7C 6F 1B 79 */ or. r15, r3, r3 +/* 800CEE20 000CBD80 41 82 00 AC */ beq lbl_800CEECC +/* 800CEE24 000CBD84 80 81 00 58 */ lwz r4, 0x58(r1) +/* 800CEE28 000CBD88 38 61 00 60 */ addi r3, r1, 0x60 +/* 800CEE2C 000CBD8C 4B F7 E2 B1 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CEE30 000CBD90 A0 01 00 60 */ lhz r0, 0x60(r1) +/* 800CEE34 000CBD94 FC 20 C8 90 */ fmr f1, f25 +/* 800CEE38 000CBD98 FC 40 C0 90 */ fmr f2, f24 +/* 800CEE3C 000CBD9C 80 C1 00 5C */ lwz r6, 0x5c(r1) +/* 800CEE40 000CBDA0 B0 01 00 64 */ sth r0, 0x64(r1) +/* 800CEE44 000CBDA4 FC 60 B8 90 */ fmr f3, f23 +/* 800CEE48 000CBDA8 FC 80 B0 90 */ fmr f4, f22 +/* 800CEE4C 000CBDAC 92 81 00 08 */ stw r20, 8(r1) +/* 800CEE50 000CBDB0 FC A0 A8 90 */ fmr f5, f21 +/* 800CEE54 000CBDB4 7D E3 7B 78 */ mr r3, r15 +/* 800CEE58 000CBDB8 D3 41 00 0C */ stfs f26, 0xc(r1) +/* 800CEE5C 000CBDBC FC C0 A0 90 */ fmr f6, f20 +/* 800CEE60 000CBDC0 FC E0 98 90 */ fmr f7, f19 +/* 800CEE64 000CBDC4 7E 67 9B 78 */ mr r7, r19 +/* 800CEE68 000CBDC8 92 A1 00 10 */ stw r21, 0x10(r1) +/* 800CEE6C 000CBDCC FD 00 90 90 */ fmr f8, f18 +/* 800CEE70 000CBDD0 7E 48 93 78 */ mr r8, r18 +/* 800CEE74 000CBDD4 7E 29 8B 78 */ mr r9, r17 +/* 800CEE78 000CBDD8 92 C1 00 14 */ stw r22, 0x14(r1) +/* 800CEE7C 000CBDDC 7E 0A 83 78 */ mr r10, r16 +/* 800CEE80 000CBDE0 38 81 00 64 */ addi r4, r1, 0x64 +/* 800CEE84 000CBDE4 D3 61 00 18 */ stfs f27, 0x18(r1) +/* 800CEE88 000CBDE8 38 A1 00 68 */ addi r5, r1, 0x68 +/* 800CEE8C 000CBDEC D3 81 00 1C */ stfs f28, 0x1c(r1) +/* 800CEE90 000CBDF0 D3 A1 00 20 */ stfs f29, 0x20(r1) +/* 800CEE94 000CBDF4 D3 C1 00 24 */ stfs f30, 0x24(r1) +/* 800CEE98 000CBDF8 D3 E1 00 28 */ stfs f31, 0x28(r1) +/* 800CEE9C 000CBDFC 92 E1 00 2C */ stw r23, 0x2c(r1) +/* 800CEEA0 000CBE00 93 01 00 30 */ stw r24, 0x30(r1) +/* 800CEEA4 000CBE04 93 21 00 34 */ stw r25, 0x34(r1) +/* 800CEEA8 000CBE08 93 41 00 38 */ stw r26, 0x38(r1) +/* 800CEEAC 000CBE0C 93 61 00 3C */ stw r27, 0x3c(r1) +/* 800CEEB0 000CBE10 93 81 00 40 */ stw r28, 0x40(r1) +/* 800CEEB4 000CBE14 93 A1 00 44 */ stw r29, 0x44(r1) +/* 800CEEB8 000CBE18 93 C1 00 48 */ stw r30, 0x48(r1) +/* 800CEEBC 000CBE1C 93 E1 00 4C */ stw r31, 0x4c(r1) +/* 800CEEC0 000CBE20 91 C1 00 50 */ stw r14, 0x50(r1) +/* 800CEEC4 000CBE24 48 0C F1 49 */ bl "__ct__20CScriptRoomAcousticsF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobbbfffffffbfffbbfffffbiiiiiiiii" +/* 800CEEC8 000CBE28 7C 6F 1B 78 */ mr r15, r3 +lbl_800CEECC: +/* 800CEECC 000CBE2C 38 61 00 68 */ addi r3, r1, 0x68 +/* 800CEED0 000CBE30 48 26 EC 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CEED4 000CBE34 7D E3 7B 78 */ mr r3, r15 +lbl_800CEED8: +/* 800CEED8 000CBE38 39 61 01 30 */ addi r11, r1, 0x130 +/* 800CEEDC 000CBE3C 48 2B AB 31 */ bl sub_80389a0c +/* 800CEEE0 000CBE40 B9 C1 00 78 */ lmw r14, 0x78(r1) +/* 800CEEE4 000CBE44 80 01 01 34 */ lwz r0, 0x134(r1) +/* 800CEEE8 000CBE48 7C 08 03 A6 */ mtlr r0 +/* 800CEEEC 000CBE4C 38 21 01 30 */ addi r1, r1, 0x130 +/* 800CEEF0 000CBE50 4E 80 00 20 */ blr + +.global LoadPlayerActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPlayerActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CEEF4 000CBE54 94 21 FC F0 */ stwu r1, -0x310(r1) +/* 800CEEF8 000CBE58 7C 08 02 A6 */ mflr r0 +/* 800CEEFC 000CBE5C 90 01 03 14 */ stw r0, 0x314(r1) +/* 800CEF00 000CBE60 DB E1 03 00 */ stfd f31, 0x300(r1) +/* 800CEF04 000CBE64 F3 E1 03 08 */ psq_st f31, 776(r1), 0, qr0 +/* 800CEF08 000CBE68 DB C1 02 F0 */ stfd f30, 0x2f0(r1) +/* 800CEF0C 000CBE6C F3 C1 02 F8 */ psq_st f30, 760(r1), 0, qr0 +/* 800CEF10 000CBE70 BE A1 02 C4 */ stmw r21, 0x2c4(r1) +/* 800CEF14 000CBE74 2C 05 00 13 */ cmpwi r5, 0x13 +/* 800CEF18 000CBE78 7C 77 1B 78 */ mr r23, r3 +/* 800CEF1C 000CBE7C 7C 99 23 78 */ mr r25, r4 +/* 800CEF20 000CBE80 7C D8 33 78 */ mr r24, r6 +/* 800CEF24 000CBE84 41 82 00 0C */ beq lbl_800CEF30 +/* 800CEF28 000CBE88 38 60 00 00 */ li r3, 0 +/* 800CEF2C 000CBE8C 48 00 03 C0 */ b lbl_800CF2EC +lbl_800CEF30: +/* 800CEF30 000CBE90 7E E5 BB 78 */ mr r5, r23 +/* 800CEF34 000CBE94 38 61 02 74 */ addi r3, r1, 0x274 +/* 800CEF38 000CBE98 48 00 B5 45 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800CEF3C 000CBE9C 7F 24 CB 78 */ mr r4, r25 +/* 800CEF40 000CBEA0 38 61 00 80 */ addi r3, r1, 0x80 +/* 800CEF44 000CBEA4 48 24 5C 49 */ bl __ct__9CVector3fFR12CInputStream +/* 800CEF48 000CBEA8 7F 24 CB 78 */ mr r4, r25 +/* 800CEF4C 000CBEAC 38 61 00 74 */ addi r3, r1, 0x74 +/* 800CEF50 000CBEB0 48 24 5C 3D */ bl __ct__9CVector3fFR12CInputStream +/* 800CEF54 000CBEB4 7F 23 CB 78 */ mr r3, r25 +/* 800CEF58 000CBEB8 48 26 FC D1 */ bl ReadFloat__12CInputStreamFv +/* 800CEF5C 000CBEBC FF E0 08 90 */ fmr f31, f1 +/* 800CEF60 000CBEC0 7F 23 CB 78 */ mr r3, r25 +/* 800CEF64 000CBEC4 48 26 FC C5 */ bl ReadFloat__12CInputStreamFv +/* 800CEF68 000CBEC8 FF C0 08 90 */ fmr f30, f1 +/* 800CEF6C 000CBECC 7F 24 CB 78 */ mr r4, r25 +/* 800CEF70 000CBED0 38 61 00 48 */ addi r3, r1, 0x48 +/* 800CEF74 000CBED4 48 10 48 D1 */ bl __ct__11CHealthInfoFR12CInputStream +/* 800CEF78 000CBED8 7F 24 CB 78 */ mr r4, r25 +/* 800CEF7C 000CBEDC 38 61 02 0C */ addi r3, r1, 0x20c +/* 800CEF80 000CBEE0 48 03 3B D9 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800CEF84 000CBEE4 7F 23 CB 78 */ mr r3, r25 +/* 800CEF88 000CBEE8 48 26 FC FD */ bl ReadLong__12CInputStreamFv +/* 800CEF8C 000CBEEC 7F 24 CB 78 */ mr r4, r25 +/* 800CEF90 000CBEF0 38 61 00 68 */ addi r3, r1, 0x68 +/* 800CEF94 000CBEF4 48 00 B4 79 */ bl LoadAnimationParameters__FR12CInputStream +/* 800CEF98 000CBEF8 83 61 00 68 */ lwz r27, 0x68(r1) +/* 800CEF9C 000CBEFC 7F 24 CB 78 */ mr r4, r25 +/* 800CEFA0 000CBF00 83 41 00 70 */ lwz r26, 0x70(r1) +/* 800CEFA4 000CBF04 38 61 01 3C */ addi r3, r1, 0x13c +/* 800CEFA8 000CBF08 48 00 AD CD */ bl LoadActorParameters__FR12CInputStream +/* 800CEFAC 000CBF0C 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800CEFB0 000CBF10 38 81 01 3C */ addi r4, r1, 0x13c +/* 800CEFB4 000CBF14 4B FF 66 69 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CEFB8 000CBF18 38 61 01 3C */ addi r3, r1, 0x13c +/* 800CEFBC 000CBF1C 38 80 FF FF */ li r4, -1 +/* 800CEFC0 000CBF20 48 03 76 49 */ bl __dt__16CActorParametersFv +/* 800CEFC4 000CBF24 7F 23 CB 78 */ mr r3, r25 +/* 800CEFC8 000CBF28 48 26 FD 15 */ bl ReadBool__12CInputStreamFv +/* 800CEFCC 000CBF2C 7C 7C 1B 78 */ mr r28, r3 +/* 800CEFD0 000CBF30 7F 23 CB 78 */ mr r3, r25 +/* 800CEFD4 000CBF34 48 26 FD 09 */ bl ReadBool__12CInputStreamFv +/* 800CEFD8 000CBF38 7C 75 1B 78 */ mr r21, r3 +/* 800CEFDC 000CBF3C 7F 23 CB 78 */ mr r3, r25 +/* 800CEFE0 000CBF40 48 26 FC FD */ bl ReadBool__12CInputStreamFv +/* 800CEFE4 000CBF44 7C 76 1B 78 */ mr r22, r3 +/* 800CEFE8 000CBF48 7F 23 CB 78 */ mr r3, r25 +/* 800CEFEC 000CBF4C 48 26 FC F1 */ bl ReadBool__12CInputStreamFv +/* 800CEFF0 000CBF50 7C 7D 1B 78 */ mr r29, r3 +/* 800CEFF4 000CBF54 7F 23 CB 78 */ mr r3, r25 +/* 800CEFF8 000CBF58 48 00 AC 05 */ bl LoadParameterFlags__FR12CInputStream +/* 800CEFFC 000CBF5C 7C 7E 1B 78 */ mr r30, r3 +/* 800CF000 000CBF60 7F 23 CB 78 */ mr r3, r25 +/* 800CF004 000CBF64 48 26 FC 81 */ bl ReadLong__12CInputStreamFv +/* 800CF008 000CBF68 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800CF00C 000CBF6C 3B 23 FF FF */ addi r25, r3, -1 +/* 800CF010 000CBF70 7F 64 DB 78 */ mr r4, r27 +/* 800CF014 000CBF74 38 65 00 04 */ addi r3, r5, 4 +/* 800CF018 000CBF78 48 26 CC B5 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800CF01C 000CBF7C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800CF020 000CBF80 40 82 00 20 */ bne lbl_800CF040 +/* 800CF024 000CBF84 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800CF028 000CBF88 38 80 FF FF */ li r4, -1 +/* 800CF02C 000CBF8C 48 03 75 DD */ bl __dt__16CActorParametersFv +/* 800CF030 000CBF90 38 61 02 74 */ addi r3, r1, 0x274 +/* 800CF034 000CBF94 48 26 EA AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CF038 000CBF98 38 60 00 00 */ li r3, 0 +/* 800CF03C 000CBF9C 48 00 02 B0 */ b lbl_800CF2EC +lbl_800CF040: +/* 800CF040 000CBFA0 80 18 00 00 */ lwz r0, 0(r24) +/* 800CF044 000CBFA4 7E E4 BB 78 */ mr r4, r23 +/* 800CF048 000CBFA8 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 800CF04C 000CBFAC 38 A1 00 3C */ addi r5, r1, 0x3c +/* 800CF050 000CBFB0 90 01 00 38 */ stw r0, 0x38(r1) +/* 800CF054 000CBFB4 38 C1 00 80 */ addi r6, r1, 0x80 +/* 800CF058 000CBFB8 38 E1 00 74 */ addi r7, r1, 0x74 +/* 800CF05C 000CBFBC 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800CF060 000CBFC0 48 00 B6 BD */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f +/* 800CF064 000CBFC4 C0 A1 00 A4 */ lfs f5, 0xa4(r1) +/* 800CF068 000CBFC8 38 60 00 00 */ li r3, 0 +/* 800CF06C 000CBFCC C0 81 00 A8 */ lfs f4, 0xa8(r1) +/* 800CF070 000CBFD0 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 800CF074 000CBFD4 C0 61 00 AC */ lfs f3, 0xac(r1) +/* 800CF078 000CBFD8 C0 41 00 B0 */ lfs f2, 0xb0(r1) +/* 800CF07C 000CBFDC C0 21 00 B4 */ lfs f1, 0xb4(r1) +/* 800CF080 000CBFE0 C0 01 00 B8 */ lfs f0, 0xb8(r1) +/* 800CF084 000CBFE4 D0 A1 00 D8 */ stfs f5, 0xd8(r1) +/* 800CF088 000CBFE8 D0 81 00 DC */ stfs f4, 0xdc(r1) +/* 800CF08C 000CBFEC D0 61 00 E0 */ stfs f3, 0xe0(r1) +/* 800CF090 000CBFF0 D0 41 00 E4 */ stfs f2, 0xe4(r1) +/* 800CF094 000CBFF4 D0 21 00 E8 */ stfs f1, 0xe8(r1) +/* 800CF098 000CBFF8 D0 01 00 EC */ stfs f0, 0xec(r1) +/* 800CF09C 000CBFFC 90 61 00 44 */ stw r3, 0x44(r1) +/* 800CF0A0 000CC000 90 61 00 40 */ stw r3, 0x40(r1) +/* 800CF0A4 000CC004 41 82 00 10 */ beq lbl_800CF0B4 +/* 800CF0A8 000CC008 38 00 08 00 */ li r0, 0x800 +/* 800CF0AC 000CC00C 90 61 00 44 */ stw r3, 0x44(r1) +/* 800CF0B0 000CC010 90 01 00 40 */ stw r0, 0x40(r1) +lbl_800CF0B4: +/* 800CF0B4 000CC014 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 800CF0B8 000CC018 41 82 00 1C */ beq lbl_800CF0D4 +/* 800CF0BC 000CC01C 80 81 00 44 */ lwz r4, 0x44(r1) +/* 800CF0C0 000CC020 3C 00 00 08 */ lis r0, 8 +/* 800CF0C4 000CC024 80 61 00 40 */ lwz r3, 0x40(r1) +/* 800CF0C8 000CC028 7C 80 03 78 */ or r0, r4, r0 +/* 800CF0CC 000CC02C 90 01 00 44 */ stw r0, 0x44(r1) +/* 800CF0D0 000CC030 90 61 00 40 */ stw r3, 0x40(r1) +lbl_800CF0D4: +/* 800CF0D4 000CC034 C0 81 00 80 */ lfs f4, 0x80(r1) +/* 800CF0D8 000CC038 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800CF0DC 000CC03C FC 04 08 40 */ fcmpo cr0, f4, f1 +/* 800CF0E0 000CC040 40 80 00 0C */ bge lbl_800CF0EC +/* 800CF0E4 000CC044 38 A0 00 01 */ li r5, 1 +/* 800CF0E8 000CC048 48 00 00 30 */ b lbl_800CF118 +lbl_800CF0EC: +/* 800CF0EC 000CC04C C0 01 00 84 */ lfs f0, 0x84(r1) +/* 800CF0F0 000CC050 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800CF0F4 000CC054 40 80 00 0C */ bge lbl_800CF100 +/* 800CF0F8 000CC058 38 A0 00 01 */ li r5, 1 +/* 800CF0FC 000CC05C 48 00 00 1C */ b lbl_800CF118 +lbl_800CF100: +/* 800CF100 000CC060 C0 01 00 88 */ lfs f0, 0x88(r1) +/* 800CF104 000CC064 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800CF108 000CC068 40 80 00 0C */ bge lbl_800CF114 +/* 800CF10C 000CC06C 38 A0 00 01 */ li r5, 1 +/* 800CF110 000CC070 48 00 00 08 */ b lbl_800CF118 +lbl_800CF114: +/* 800CF114 000CC074 38 A0 00 00 */ li r5, 0 +lbl_800CF118: +/* 800CF118 000CC078 3C 1F BE B2 */ addis r0, r31, 0xbeb2 +/* 800CF11C 000CC07C 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800CF120 000CC080 40 82 01 B4 */ bne lbl_800CF2D4 +/* 800CF124 000CC084 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800CF128 000CC088 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800CF12C 000CC08C C0 61 02 B4 */ lfs f3, 0x2b4(r1) +/* 800CF130 000CC090 38 00 00 04 */ li r0, 4 +/* 800CF134 000CC094 C0 41 02 B8 */ lfs f2, 0x2b8(r1) +/* 800CF138 000CC098 FC 04 00 00 */ fcmpu cr0, f4, f0 +/* 800CF13C 000CC09C C0 21 02 BC */ lfs f1, 0x2bc(r1) +/* 800CF140 000CC0A0 38 80 00 00 */ li r4, 0 +/* 800CF144 000CC0A4 93 61 00 BC */ stw r27, 0xbc(r1) +/* 800CF148 000CC0A8 90 01 00 C0 */ stw r0, 0xc0(r1) +/* 800CF14C 000CC0AC D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 800CF150 000CC0B0 D0 41 00 C8 */ stfs f2, 0xc8(r1) +/* 800CF154 000CC0B4 D0 21 00 CC */ stfs f1, 0xcc(r1) +/* 800CF158 000CC0B8 9B 81 00 D0 */ stb r28, 0xd0(r1) +/* 800CF15C 000CC0BC 93 41 00 D4 */ stw r26, 0xd4(r1) +/* 800CF160 000CC0C0 40 82 00 24 */ bne lbl_800CF184 +/* 800CF164 000CC0C4 C0 21 00 84 */ lfs f1, 0x84(r1) +/* 800CF168 000CC0C8 C0 03 00 04 */ lfs f0, 4(r3) +/* 800CF16C 000CC0CC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800CF170 000CC0D0 40 82 00 14 */ bne lbl_800CF184 +/* 800CF174 000CC0D4 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 800CF178 000CC0D8 C0 03 00 08 */ lfs f0, 8(r3) +/* 800CF17C 000CC0DC FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800CF180 000CC0E0 41 82 00 0C */ beq lbl_800CF18C +lbl_800CF184: +/* 800CF184 000CC0E4 54 A0 06 3F */ clrlwi. r0, r5, 0x18 +/* 800CF188 000CC0E8 41 82 00 08 */ beq lbl_800CF190 +lbl_800CF18C: +/* 800CF18C 000CC0EC 38 80 00 01 */ li r4, 1 +lbl_800CF190: +/* 800CF190 000CC0F0 54 80 06 3F */ clrlwi. r0, r4, 0x18 +/* 800CF194 000CC0F4 41 82 00 64 */ beq lbl_800CF1F8 +/* 800CF198 000CC0F8 C0 22 8E 60 */ lfs f1, lbl_805AAB80@sda21(r2) +/* 800CF19C 000CC0FC 38 61 00 8C */ addi r3, r1, 0x8c +/* 800CF1A0 000CC100 C0 02 8E 64 */ lfs f0, lbl_805AAB84@sda21(r2) +/* 800CF1A4 000CC104 38 81 00 5C */ addi r4, r1, 0x5c +/* 800CF1A8 000CC108 D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800CF1AC 000CC10C 38 A1 00 50 */ addi r5, r1, 0x50 +/* 800CF1B0 000CC110 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 800CF1B4 000CC114 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800CF1B8 000CC118 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800CF1BC 000CC11C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800CF1C0 000CC120 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 800CF1C4 000CC124 48 26 93 45 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800CF1C8 000CC128 80 E1 00 8C */ lwz r7, 0x8c(r1) +/* 800CF1CC 000CC12C 80 C1 00 90 */ lwz r6, 0x90(r1) +/* 800CF1D0 000CC130 80 A1 00 94 */ lwz r5, 0x94(r1) +/* 800CF1D4 000CC134 80 81 00 98 */ lwz r4, 0x98(r1) +/* 800CF1D8 000CC138 80 61 00 9C */ lwz r3, 0x9c(r1) +/* 800CF1DC 000CC13C 80 01 00 A0 */ lwz r0, 0xa0(r1) +/* 800CF1E0 000CC140 90 E1 00 D8 */ stw r7, 0xd8(r1) +/* 800CF1E4 000CC144 90 C1 00 DC */ stw r6, 0xdc(r1) +/* 800CF1E8 000CC148 90 A1 00 E0 */ stw r5, 0xe0(r1) +/* 800CF1EC 000CC14C 90 81 00 E4 */ stw r4, 0xe4(r1) +/* 800CF1F0 000CC150 90 61 00 E8 */ stw r3, 0xe8(r1) +/* 800CF1F4 000CC154 90 01 00 EC */ stw r0, 0xec(r1) +lbl_800CF1F8: +/* 800CF1F8 000CC158 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CF1FC 000CC15C 3B 40 00 00 */ li r26, 0 +/* 800CF200 000CC160 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CF204 000CC164 38 60 03 58 */ li r3, 0x358 +/* 800CF208 000CC168 38 84 00 0D */ addi r4, r4, 0xd +/* 800CF20C 000CC16C 38 A0 00 00 */ li r5, 0 +/* 800CF210 000CC170 48 24 66 5D */ bl __nw__FUlPCcPCc +/* 800CF214 000CC174 7C 75 1B 79 */ or. r21, r3, r3 +/* 800CF218 000CC178 41 82 00 8C */ beq lbl_800CF2A4 +/* 800CF21C 000CC17C 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800CF220 000CC180 4B F6 B5 85 */ bl CModelDataNull__10CModelDataFv +/* 800CF224 000CC184 7E E4 BB 78 */ mr r4, r23 +/* 800CF228 000CC188 38 61 00 30 */ addi r3, r1, 0x30 +/* 800CF22C 000CC18C 3B 40 00 01 */ li r26, 1 +/* 800CF230 000CC190 4B F7 DE AD */ bl AllocateUniqueId__13CStateManagerFv +/* 800CF234 000CC194 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 800CF238 000CC198 38 60 00 01 */ li r3, 1 +/* 800CF23C 000CC19C 38 81 00 40 */ addi r4, r1, 0x40 +/* 800CF240 000CC1A0 38 E1 00 48 */ addi r7, r1, 0x48 +/* 800CF244 000CC1A4 B0 01 00 34 */ sth r0, 0x34(r1) +/* 800CF248 000CC1A8 39 41 02 0C */ addi r10, r1, 0x20c +/* 800CF24C 000CC1AC 38 01 01 A4 */ addi r0, r1, 0x1a4 +/* 800CF250 000CC1B0 FC 20 F8 90 */ fmr f1, f31 +/* 800CF254 000CC1B4 90 61 00 08 */ stw r3, 8(r1) +/* 800CF258 000CC1B8 FC 40 F0 90 */ fmr f2, f30 +/* 800CF25C 000CC1BC 7E A3 AB 78 */ mr r3, r21 +/* 800CF260 000CC1C0 7F 06 C3 78 */ mr r6, r24 +/* 800CF264 000CC1C4 90 81 00 0C */ stw r4, 0xc(r1) +/* 800CF268 000CC1C8 38 81 00 34 */ addi r4, r1, 0x34 +/* 800CF26C 000CC1CC 38 A1 02 74 */ addi r5, r1, 0x274 +/* 800CF270 000CC1D0 90 E1 00 10 */ stw r7, 0x10(r1) +/* 800CF274 000CC1D4 38 E1 02 84 */ addi r7, r1, 0x284 +/* 800CF278 000CC1D8 39 01 00 BC */ addi r8, r1, 0xbc +/* 800CF27C 000CC1DC 39 21 00 F0 */ addi r9, r1, 0xf0 +/* 800CF280 000CC1E0 91 41 00 14 */ stw r10, 0x14(r1) +/* 800CF284 000CC1E4 39 41 00 D8 */ addi r10, r1, 0xd8 +/* 800CF288 000CC1E8 90 01 00 18 */ stw r0, 0x18(r1) +/* 800CF28C 000CC1EC 93 81 00 1C */ stw r28, 0x1c(r1) +/* 800CF290 000CC1F0 93 A1 00 20 */ stw r29, 0x20(r1) +/* 800CF294 000CC1F4 93 C1 00 24 */ stw r30, 0x24(r1) +/* 800CF298 000CC1F8 93 21 00 28 */ stw r25, 0x28(r1) +/* 800CF29C 000CC1FC 48 0D CD 41 */ bl "__ct__18CScriptPlayerActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC8CAnimResRC10CModelDataRC6CAABoxbRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbb" +/* 800CF2A0 000CC200 7C 75 1B 78 */ mr r21, r3 +lbl_800CF2A4: +/* 800CF2A4 000CC204 7F 40 07 75 */ extsb. r0, r26 +/* 800CF2A8 000CC208 41 82 00 10 */ beq lbl_800CF2B8 +/* 800CF2AC 000CC20C 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800CF2B0 000CC210 38 80 FF FF */ li r4, -1 +/* 800CF2B4 000CC214 48 04 77 99 */ bl __dt__10CModelDataFv +lbl_800CF2B8: +/* 800CF2B8 000CC218 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800CF2BC 000CC21C 38 80 FF FF */ li r4, -1 +/* 800CF2C0 000CC220 48 03 73 49 */ bl __dt__16CActorParametersFv +/* 800CF2C4 000CC224 38 61 02 74 */ addi r3, r1, 0x274 +/* 800CF2C8 000CC228 48 26 E8 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CF2CC 000CC22C 7E A3 AB 78 */ mr r3, r21 +/* 800CF2D0 000CC230 48 00 00 1C */ b lbl_800CF2EC +lbl_800CF2D4: +/* 800CF2D4 000CC234 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800CF2D8 000CC238 38 80 FF FF */ li r4, -1 +/* 800CF2DC 000CC23C 48 03 73 2D */ bl __dt__16CActorParametersFv +/* 800CF2E0 000CC240 38 61 02 74 */ addi r3, r1, 0x274 +/* 800CF2E4 000CC244 48 26 E7 FD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CF2E8 000CC248 38 60 00 00 */ li r3, 0 +lbl_800CF2EC: +/* 800CF2EC 000CC24C E3 E1 03 08 */ psq_l f31, 776(r1), 0, qr0 +/* 800CF2F0 000CC250 CB E1 03 00 */ lfd f31, 0x300(r1) +/* 800CF2F4 000CC254 E3 C1 02 F8 */ psq_l f30, 760(r1), 0, qr0 +/* 800CF2F8 000CC258 CB C1 02 F0 */ lfd f30, 0x2f0(r1) +/* 800CF2FC 000CC25C BA A1 02 C4 */ lmw r21, 0x2c4(r1) +/* 800CF300 000CC260 80 01 03 14 */ lwz r0, 0x314(r1) +/* 800CF304 000CC264 7C 08 03 A6 */ mtlr r0 +/* 800CF308 000CC268 38 21 03 10 */ addi r1, r1, 0x310 +/* 800CF30C 000CC26C 4E 80 00 20 */ blr + +.global LoadIceSheegoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadIceSheegoth__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CF310 000CC270 94 21 FB 20 */ stwu r1, -0x4e0(r1) +/* 800CF314 000CC274 7C 08 02 A6 */ mflr r0 +/* 800CF318 000CC278 90 01 04 E4 */ stw r0, 0x4e4(r1) +/* 800CF31C 000CC27C 80 02 A7 38 */ lwz r0, lbl_805AC458@sda21(r2) +/* 800CF320 000CC280 93 E1 04 DC */ stw r31, 0x4dc(r1) +/* 800CF324 000CC284 7C DF 33 78 */ mr r31, r6 +/* 800CF328 000CC288 93 C1 04 D8 */ stw r30, 0x4d8(r1) +/* 800CF32C 000CC28C 7C 7E 1B 78 */ mr r30, r3 +/* 800CF330 000CC290 93 A1 04 D4 */ stw r29, 0x4d4(r1) +/* 800CF334 000CC294 7C BD 2B 78 */ mr r29, r5 +/* 800CF338 000CC298 7C 1D 00 00 */ cmpw r29, r0 +/* 800CF33C 000CC29C 93 81 04 D0 */ stw r28, 0x4d0(r1) +/* 800CF340 000CC2A0 7C 9C 23 78 */ mr r28, r4 +/* 800CF344 000CC2A4 40 80 00 0C */ bge lbl_800CF350 +/* 800CF348 000CC2A8 38 60 00 00 */ li r3, 0 +/* 800CF34C 000CC2AC 48 00 01 90 */ b lbl_800CF4DC +lbl_800CF350: +/* 800CF350 000CC2B0 7F C5 F3 78 */ mr r5, r30 +/* 800CF354 000CC2B4 38 61 01 58 */ addi r3, r1, 0x158 +/* 800CF358 000CC2B8 48 00 B1 25 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800CF35C 000CC2BC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CF360 000CC2C0 7F 84 E3 78 */ mr r4, r28 +/* 800CF364 000CC2C4 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800CF368 000CC2C8 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CF36C 000CC2CC 38 A5 00 EC */ addi r5, r5, 0xec +/* 800CF370 000CC2D0 48 03 64 B9 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800CF374 000CC2D4 88 01 00 18 */ lbz r0, 0x18(r1) +/* 800CF378 000CC2D8 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800CF37C 000CC2DC 28 00 00 00 */ cmplwi r0, 0 +/* 800CF380 000CC2E0 40 82 00 14 */ bne lbl_800CF394 +/* 800CF384 000CC2E4 38 61 01 58 */ addi r3, r1, 0x158 +/* 800CF388 000CC2E8 48 26 E7 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CF38C 000CC2EC 38 60 00 00 */ li r3, 0 +/* 800CF390 000CC2F0 48 00 01 4C */ b lbl_800CF4DC +lbl_800CF394: +/* 800CF394 000CC2F4 7F 84 E3 78 */ mr r4, r28 +/* 800CF398 000CC2F8 38 61 03 98 */ addi r3, r1, 0x398 +/* 800CF39C 000CC2FC 48 03 64 DD */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800CF3A0 000CC300 7F 84 E3 78 */ mr r4, r28 +/* 800CF3A4 000CC304 38 61 00 88 */ addi r3, r1, 0x88 +/* 800CF3A8 000CC308 48 00 A9 CD */ bl LoadActorParameters__FR12CInputStream +/* 800CF3AC 000CC30C 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800CF3B0 000CC310 38 81 00 88 */ addi r4, r1, 0x88 +/* 800CF3B4 000CC314 4B FF 62 69 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CF3B8 000CC318 38 61 00 88 */ addi r3, r1, 0x88 +/* 800CF3BC 000CC31C 38 80 FF FF */ li r4, -1 +/* 800CF3C0 000CC320 48 03 72 49 */ bl __dt__16CActorParametersFv +/* 800CF3C4 000CC324 7F 84 E3 78 */ mr r4, r28 +/* 800CF3C8 000CC328 7F A5 EB 78 */ mr r5, r29 +/* 800CF3CC 000CC32C 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800CF3D0 000CC330 48 0D 78 E5 */ bl __ct__16CIceSheegothDataFR12CInputStreami +/* 800CF3D4 000CC334 80 61 04 84 */ lwz r3, 0x484(r1) +/* 800CF3D8 000CC338 3C 03 00 01 */ addis r0, r3, 1 +/* 800CF3DC 000CC33C 28 00 FF FF */ cmplwi r0, 0xffff +/* 800CF3E0 000CC340 40 82 00 20 */ bne lbl_800CF400 +/* 800CF3E4 000CC344 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800CF3E8 000CC348 38 80 FF FF */ li r4, -1 +/* 800CF3EC 000CC34C 48 03 72 1D */ bl __dt__16CActorParametersFv +/* 800CF3F0 000CC350 38 61 01 58 */ addi r3, r1, 0x158 +/* 800CF3F4 000CC354 48 26 E6 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CF3F8 000CC358 38 60 00 00 */ li r3, 0 +/* 800CF3FC 000CC35C 48 00 00 E0 */ b lbl_800CF4DC +lbl_800CF400: +/* 800CF400 000CC360 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CF404 000CC364 3B 80 00 00 */ li r28, 0 +/* 800CF408 000CC368 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CF40C 000CC36C 38 60 0B 30 */ li r3, 0xb30 +/* 800CF410 000CC370 38 84 00 0D */ addi r4, r4, 0xd +/* 800CF414 000CC374 38 A0 00 00 */ li r5, 0 +/* 800CF418 000CC378 48 24 64 55 */ bl __nw__FUlPCcPCc +/* 800CF41C 000CC37C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800CF420 000CC380 41 82 00 90 */ beq lbl_800CF4B0 +/* 800CF424 000CC384 80 E1 04 84 */ lwz r7, 0x484(r1) +/* 800CF428 000CC388 38 A0 00 01 */ li r5, 1 +/* 800CF42C 000CC38C 80 C1 04 88 */ lwz r6, 0x488(r1) +/* 800CF430 000CC390 38 61 00 3C */ addi r3, r1, 0x3c +/* 800CF434 000CC394 C0 41 01 98 */ lfs f2, 0x198(r1) +/* 800CF438 000CC398 38 81 00 20 */ addi r4, r1, 0x20 +/* 800CF43C 000CC39C C0 21 01 9C */ lfs f1, 0x19c(r1) +/* 800CF440 000CC3A0 C0 01 01 A0 */ lfs f0, 0x1a0(r1) +/* 800CF444 000CC3A4 80 01 04 8C */ lwz r0, 0x48c(r1) +/* 800CF448 000CC3A8 90 E1 00 20 */ stw r7, 0x20(r1) +/* 800CF44C 000CC3AC 90 C1 00 24 */ stw r6, 0x24(r1) +/* 800CF450 000CC3B0 D0 41 00 28 */ stfs f2, 0x28(r1) +/* 800CF454 000CC3B4 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800CF458 000CC3B8 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800CF45C 000CC3BC 98 A1 00 34 */ stb r5, 0x34(r1) +/* 800CF460 000CC3C0 90 01 00 38 */ stw r0, 0x38(r1) +/* 800CF464 000CC3C4 48 04 76 F1 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800CF468 000CC3C8 7F C4 F3 78 */ mr r4, r30 +/* 800CF46C 000CC3CC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CF470 000CC3D0 3B 80 00 01 */ li r28, 1 +/* 800CF474 000CC3D4 4B F7 DC 69 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CF478 000CC3D8 A0 81 00 10 */ lhz r4, 0x10(r1) +/* 800CF47C 000CC3DC 38 01 01 A4 */ addi r0, r1, 0x1a4 +/* 800CF480 000CC3E0 7F A3 EB 78 */ mr r3, r29 +/* 800CF484 000CC3E4 7F E6 FB 78 */ mr r6, r31 +/* 800CF488 000CC3E8 B0 81 00 14 */ sth r4, 0x14(r1) +/* 800CF48C 000CC3EC 38 81 00 14 */ addi r4, r1, 0x14 +/* 800CF490 000CC3F0 38 A1 01 58 */ addi r5, r1, 0x158 +/* 800CF494 000CC3F4 38 E1 01 68 */ addi r7, r1, 0x168 +/* 800CF498 000CC3F8 90 01 00 08 */ stw r0, 8(r1) +/* 800CF49C 000CC3FC 39 01 00 3C */ addi r8, r1, 0x3c +/* 800CF4A0 000CC400 39 21 03 98 */ addi r9, r1, 0x398 +/* 800CF4A4 000CC404 39 41 00 F0 */ addi r10, r1, 0xf0 +/* 800CF4A8 000CC408 48 0D 69 95 */ bl "__ct__12CIceSheegothF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC16CIceSheegothData" +/* 800CF4AC 000CC40C 7C 7D 1B 78 */ mr r29, r3 +lbl_800CF4B0: +/* 800CF4B0 000CC410 7F 80 07 75 */ extsb. r0, r28 +/* 800CF4B4 000CC414 41 82 00 10 */ beq lbl_800CF4C4 +/* 800CF4B8 000CC418 38 61 00 3C */ addi r3, r1, 0x3c +/* 800CF4BC 000CC41C 38 80 FF FF */ li r4, -1 +/* 800CF4C0 000CC420 48 04 75 8D */ bl __dt__10CModelDataFv +lbl_800CF4C4: +/* 800CF4C4 000CC424 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800CF4C8 000CC428 38 80 FF FF */ li r4, -1 +/* 800CF4CC 000CC42C 48 03 71 3D */ bl __dt__16CActorParametersFv +/* 800CF4D0 000CC430 38 61 01 58 */ addi r3, r1, 0x158 +/* 800CF4D4 000CC434 48 26 E6 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CF4D8 000CC438 7F A3 EB 78 */ mr r3, r29 +lbl_800CF4DC: +/* 800CF4DC 000CC43C 80 01 04 E4 */ lwz r0, 0x4e4(r1) +/* 800CF4E0 000CC440 83 E1 04 DC */ lwz r31, 0x4dc(r1) +/* 800CF4E4 000CC444 83 C1 04 D8 */ lwz r30, 0x4d8(r1) +/* 800CF4E8 000CC448 83 A1 04 D4 */ lwz r29, 0x4d4(r1) +/* 800CF4EC 000CC44C 83 81 04 D0 */ lwz r28, 0x4d0(r1) +/* 800CF4F0 000CC450 7C 08 03 A6 */ mtlr r0 +/* 800CF4F4 000CC454 38 21 04 E0 */ addi r1, r1, 0x4e0 +/* 800CF4F8 000CC458 4E 80 00 20 */ blr + +.global LoadEMPulse__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadEMPulse__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CF4FC 000CC45C 94 21 FF 60 */ stwu r1, -0xa0(r1) +/* 800CF500 000CC460 7C 08 02 A6 */ mflr r0 +/* 800CF504 000CC464 90 01 00 A4 */ stw r0, 0xa4(r1) +/* 800CF508 000CC468 39 61 00 A0 */ addi r11, r1, 0xa0 +/* 800CF50C 000CC46C 48 2B A4 D1 */ bl sub_803899dc +/* 800CF510 000CC470 BF 61 00 54 */ stmw r27, 0x54(r1) +/* 800CF514 000CC474 2C 05 00 0C */ cmpwi r5, 0xc +/* 800CF518 000CC478 7C 7B 1B 78 */ mr r27, r3 +/* 800CF51C 000CC47C 7C 9D 23 78 */ mr r29, r4 +/* 800CF520 000CC480 7C DC 33 78 */ mr r28, r6 +/* 800CF524 000CC484 41 82 00 0C */ beq lbl_800CF530 +/* 800CF528 000CC488 38 60 00 00 */ li r3, 0 +/* 800CF52C 000CC48C 48 00 00 FC */ b lbl_800CF628 +lbl_800CF530: +/* 800CF530 000CC490 7F 65 DB 78 */ mr r5, r27 +/* 800CF534 000CC494 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CF538 000CC498 48 00 AF 8D */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800CF53C 000CC49C 7F A3 EB 78 */ mr r3, r29 +/* 800CF540 000CC4A0 48 26 F7 9D */ bl ReadBool__12CInputStreamFv +/* 800CF544 000CC4A4 7C 7F 1B 78 */ mr r31, r3 +/* 800CF548 000CC4A8 7F A3 EB 78 */ mr r3, r29 +/* 800CF54C 000CC4AC 48 26 F6 DD */ bl ReadFloat__12CInputStreamFv +/* 800CF550 000CC4B0 FF E0 08 90 */ fmr f31, f1 +/* 800CF554 000CC4B4 7F A3 EB 78 */ mr r3, r29 +/* 800CF558 000CC4B8 48 26 F6 D1 */ bl ReadFloat__12CInputStreamFv +/* 800CF55C 000CC4BC FF C0 08 90 */ fmr f30, f1 +/* 800CF560 000CC4C0 7F A3 EB 78 */ mr r3, r29 +/* 800CF564 000CC4C4 48 26 F6 C5 */ bl ReadFloat__12CInputStreamFv +/* 800CF568 000CC4C8 FF A0 08 90 */ fmr f29, f1 +/* 800CF56C 000CC4CC 7F A3 EB 78 */ mr r3, r29 +/* 800CF570 000CC4D0 48 26 F6 B9 */ bl ReadFloat__12CInputStreamFv +/* 800CF574 000CC4D4 FF 80 08 90 */ fmr f28, f1 +/* 800CF578 000CC4D8 7F A3 EB 78 */ mr r3, r29 +/* 800CF57C 000CC4DC 48 26 F6 AD */ bl ReadFloat__12CInputStreamFv +/* 800CF580 000CC4E0 FF 60 08 90 */ fmr f27, f1 +/* 800CF584 000CC4E4 7F A3 EB 78 */ mr r3, r29 +/* 800CF588 000CC4E8 48 26 F6 A1 */ bl ReadFloat__12CInputStreamFv +/* 800CF58C 000CC4EC FF 40 08 90 */ fmr f26, f1 +/* 800CF590 000CC4F0 7F A3 EB 78 */ mr r3, r29 +/* 800CF594 000CC4F4 48 26 F6 95 */ bl ReadFloat__12CInputStreamFv +/* 800CF598 000CC4F8 FF 20 08 90 */ fmr f25, f1 +/* 800CF59C 000CC4FC 7F A3 EB 78 */ mr r3, r29 +/* 800CF5A0 000CC500 48 26 F6 E5 */ bl ReadLong__12CInputStreamFv +/* 800CF5A4 000CC504 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CF5A8 000CC508 7C 7E 1B 78 */ mr r30, r3 +/* 800CF5AC 000CC50C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CF5B0 000CC510 38 60 01 18 */ li r3, 0x118 +/* 800CF5B4 000CC514 38 A0 00 00 */ li r5, 0 +/* 800CF5B8 000CC518 38 84 00 0D */ addi r4, r4, 0xd +/* 800CF5BC 000CC51C 48 24 62 B1 */ bl __nw__FUlPCcPCc +/* 800CF5C0 000CC520 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800CF5C4 000CC524 41 82 00 58 */ beq lbl_800CF61C +/* 800CF5C8 000CC528 7F 64 DB 78 */ mr r4, r27 +/* 800CF5CC 000CC52C 38 61 00 08 */ addi r3, r1, 8 +/* 800CF5D0 000CC530 4B F7 DB 0D */ bl AllocateUniqueId__13CStateManagerFv +/* 800CF5D4 000CC534 A0 01 00 08 */ lhz r0, 8(r1) +/* 800CF5D8 000CC538 FC 20 F8 90 */ fmr f1, f31 +/* 800CF5DC 000CC53C FC 40 F0 90 */ fmr f2, f30 +/* 800CF5E0 000CC540 7F A3 EB 78 */ mr r3, r29 +/* 800CF5E4 000CC544 FC 60 E8 90 */ fmr f3, f29 +/* 800CF5E8 000CC548 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800CF5EC 000CC54C FC 80 E0 90 */ fmr f4, f28 +/* 800CF5F0 000CC550 FC A0 D8 90 */ fmr f5, f27 +/* 800CF5F4 000CC554 FC C0 D0 90 */ fmr f6, f26 +/* 800CF5F8 000CC558 7F 86 E3 78 */ mr r6, r28 +/* 800CF5FC 000CC55C FC E0 C8 90 */ fmr f7, f25 +/* 800CF600 000CC560 7F E8 FB 78 */ mr r8, r31 +/* 800CF604 000CC564 7F C9 F3 78 */ mr r9, r30 +/* 800CF608 000CC568 38 81 00 0C */ addi r4, r1, 0xc +/* 800CF60C 000CC56C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800CF610 000CC570 38 E1 00 20 */ addi r7, r1, 0x20 +/* 800CF614 000CC574 48 0B FB 99 */ bl "__ct__14CScriptEMPulseF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfffffUi" +/* 800CF618 000CC578 7C 7D 1B 78 */ mr r29, r3 +lbl_800CF61C: +/* 800CF61C 000CC57C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CF620 000CC580 48 26 E4 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CF624 000CC584 7F A3 EB 78 */ mr r3, r29 +lbl_800CF628: +/* 800CF628 000CC588 39 61 00 A0 */ addi r11, r1, 0xa0 +/* 800CF62C 000CC58C 48 2B A3 FD */ bl sub_80389a28 +/* 800CF630 000CC590 BB 61 00 54 */ lmw r27, 0x54(r1) +/* 800CF634 000CC594 80 01 00 A4 */ lwz r0, 0xa4(r1) +/* 800CF638 000CC598 7C 08 03 A6 */ mtlr r0 +/* 800CF63C 000CC59C 38 21 00 A0 */ addi r1, r1, 0xa0 +/* 800CF640 000CC5A0 4E 80 00 20 */ blr + +.global LoadTargetingPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadTargetingPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CF644 000CC5A4 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800CF648 000CC5A8 7C 08 02 A6 */ mflr r0 +/* 800CF64C 000CC5AC 2C 05 00 04 */ cmpwi r5, 4 +/* 800CF650 000CC5B0 90 01 00 64 */ stw r0, 0x64(r1) +/* 800CF654 000CC5B4 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800CF658 000CC5B8 93 C1 00 58 */ stw r30, 0x58(r1) +/* 800CF65C 000CC5BC 7C 9E 23 78 */ mr r30, r4 +/* 800CF660 000CC5C0 93 A1 00 54 */ stw r29, 0x54(r1) +/* 800CF664 000CC5C4 7C DD 33 78 */ mr r29, r6 +/* 800CF668 000CC5C8 93 81 00 50 */ stw r28, 0x50(r1) +/* 800CF66C 000CC5CC 7C 7C 1B 78 */ mr r28, r3 +/* 800CF670 000CC5D0 41 82 00 0C */ beq lbl_800CF67C +/* 800CF674 000CC5D4 38 60 00 00 */ li r3, 0 +/* 800CF678 000CC5D8 48 00 00 7C */ b lbl_800CF6F4 +lbl_800CF67C: +/* 800CF67C 000CC5DC 7F 85 E3 78 */ mr r5, r28 +/* 800CF680 000CC5E0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CF684 000CC5E4 48 00 AE 41 */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800CF688 000CC5E8 7F C3 F3 78 */ mr r3, r30 +/* 800CF68C 000CC5EC 48 26 F6 51 */ bl ReadBool__12CInputStreamFv +/* 800CF690 000CC5F0 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CF694 000CC5F4 7C 7F 1B 78 */ mr r31, r3 +/* 800CF698 000CC5F8 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CF69C 000CC5FC 38 60 00 F0 */ li r3, 0xf0 +/* 800CF6A0 000CC600 38 A0 00 00 */ li r5, 0 +/* 800CF6A4 000CC604 38 84 00 0D */ addi r4, r4, 0xd +/* 800CF6A8 000CC608 48 24 61 C5 */ bl __nw__FUlPCcPCc +/* 800CF6AC 000CC60C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800CF6B0 000CC610 41 82 00 38 */ beq lbl_800CF6E8 +/* 800CF6B4 000CC614 7F 84 E3 78 */ mr r4, r28 +/* 800CF6B8 000CC618 38 61 00 08 */ addi r3, r1, 8 +/* 800CF6BC 000CC61C 4B F7 DA 21 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CF6C0 000CC620 A0 01 00 08 */ lhz r0, 8(r1) +/* 800CF6C4 000CC624 7F C3 F3 78 */ mr r3, r30 +/* 800CF6C8 000CC628 7F A6 EB 78 */ mr r6, r29 +/* 800CF6CC 000CC62C 7F E8 FB 78 */ mr r8, r31 +/* 800CF6D0 000CC630 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800CF6D4 000CC634 38 81 00 0C */ addi r4, r1, 0xc +/* 800CF6D8 000CC638 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800CF6DC 000CC63C 38 E1 00 20 */ addi r7, r1, 0x20 +/* 800CF6E0 000CC640 48 0B DC D1 */ bl "__ct__21CScriptTargetingPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fb" +/* 800CF6E4 000CC644 7C 7E 1B 78 */ mr r30, r3 +lbl_800CF6E8: +/* 800CF6E8 000CC648 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CF6EC 000CC64C 48 26 E3 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CF6F0 000CC650 7F C3 F3 78 */ mr r3, r30 +lbl_800CF6F4: +/* 800CF6F4 000CC654 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800CF6F8 000CC658 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800CF6FC 000CC65C 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800CF700 000CC660 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 800CF704 000CC664 83 81 00 50 */ lwz r28, 0x50(r1) +/* 800CF708 000CC668 7C 08 03 A6 */ mtlr r0 +/* 800CF70C 000CC66C 38 21 00 60 */ addi r1, r1, 0x60 +/* 800CF710 000CC670 4E 80 00 20 */ blr + +.global LoadBallTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadBallTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CF714 000CC674 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800CF718 000CC678 7C 08 02 A6 */ mflr r0 +/* 800CF71C 000CC67C 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800CF720 000CC680 DB E1 00 A0 */ stfd f31, 0xa0(r1) +/* 800CF724 000CC684 F3 E1 00 A8 */ psq_st f31, 168(r1), 0, qr0 +/* 800CF728 000CC688 DB C1 00 90 */ stfd f30, 0x90(r1) +/* 800CF72C 000CC68C F3 C1 00 98 */ psq_st f30, 152(r1), 0, qr0 +/* 800CF730 000CC690 DB A1 00 80 */ stfd f29, 0x80(r1) +/* 800CF734 000CC694 F3 A1 00 88 */ psq_st f29, 136(r1), 0, qr0 +/* 800CF738 000CC698 BF 61 00 6C */ stmw r27, 0x6c(r1) +/* 800CF73C 000CC69C 2C 05 00 09 */ cmpwi r5, 9 +/* 800CF740 000CC6A0 7C 7B 1B 78 */ mr r27, r3 +/* 800CF744 000CC6A4 7C 9D 23 78 */ mr r29, r4 +/* 800CF748 000CC6A8 7C DC 33 78 */ mr r28, r6 +/* 800CF74C 000CC6AC 41 82 00 0C */ beq lbl_800CF758 +/* 800CF750 000CC6B0 38 60 00 00 */ li r3, 0 +/* 800CF754 000CC6B4 48 00 01 18 */ b lbl_800CF86C +lbl_800CF758: +/* 800CF758 000CC6B8 38 61 00 58 */ addi r3, r1, 0x58 +/* 800CF75C 000CC6BC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800CF760 000CC6C0 48 26 EB 99 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800CF764 000CC6C4 7F A4 EB 78 */ mr r4, r29 +/* 800CF768 000CC6C8 38 61 00 4C */ addi r3, r1, 0x4c +/* 800CF76C 000CC6CC 48 24 54 21 */ bl __ct__9CVector3fFR12CInputStream +/* 800CF770 000CC6D0 7F A4 EB 78 */ mr r4, r29 +/* 800CF774 000CC6D4 38 61 00 40 */ addi r3, r1, 0x40 +/* 800CF778 000CC6D8 48 24 54 15 */ bl __ct__9CVector3fFR12CInputStream +/* 800CF77C 000CC6DC 7F A3 EB 78 */ mr r3, r29 +/* 800CF780 000CC6E0 48 26 F5 5D */ bl ReadBool__12CInputStreamFv +/* 800CF784 000CC6E4 7C 7E 1B 78 */ mr r30, r3 +/* 800CF788 000CC6E8 7F A3 EB 78 */ mr r3, r29 +/* 800CF78C 000CC6EC 48 26 F4 9D */ bl ReadFloat__12CInputStreamFv +/* 800CF790 000CC6F0 FF E0 08 90 */ fmr f31, f1 +/* 800CF794 000CC6F4 7F A3 EB 78 */ mr r3, r29 +/* 800CF798 000CC6F8 48 26 F4 91 */ bl ReadFloat__12CInputStreamFv +/* 800CF79C 000CC6FC FF C0 08 90 */ fmr f30, f1 +/* 800CF7A0 000CC700 7F A3 EB 78 */ mr r3, r29 +/* 800CF7A4 000CC704 48 26 F4 85 */ bl ReadFloat__12CInputStreamFv +/* 800CF7A8 000CC708 FF A0 08 90 */ fmr f29, f1 +/* 800CF7AC 000CC70C 7F A4 EB 78 */ mr r4, r29 +/* 800CF7B0 000CC710 38 61 00 28 */ addi r3, r1, 0x28 +/* 800CF7B4 000CC714 48 24 53 D9 */ bl __ct__9CVector3fFR12CInputStream +/* 800CF7B8 000CC718 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 800CF7BC 000CC71C 7F A3 EB 78 */ mr r3, r29 +/* 800CF7C0 000CC720 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 800CF7C4 000CC724 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800CF7C8 000CC728 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800CF7CC 000CC72C D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800CF7D0 000CC730 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800CF7D4 000CC734 48 26 F5 09 */ bl ReadBool__12CInputStreamFv +/* 800CF7D8 000CC738 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800CF7DC 000CC73C 7C 7F 1B 78 */ mr r31, r3 +/* 800CF7E0 000CC740 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800CF7E4 000CC744 38 60 01 70 */ li r3, 0x170 +/* 800CF7E8 000CC748 38 84 00 0D */ addi r4, r4, 0xd +/* 800CF7EC 000CC74C 38 A0 00 00 */ li r5, 0 +/* 800CF7F0 000CC750 48 24 60 7D */ bl __nw__FUlPCcPCc +/* 800CF7F4 000CC754 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800CF7F8 000CC758 41 82 00 68 */ beq lbl_800CF860 +/* 800CF7FC 000CC75C 80 C1 00 34 */ lwz r6, 0x34(r1) +/* 800CF800 000CC760 7F 64 DB 78 */ mr r4, r27 +/* 800CF804 000CC764 80 A1 00 38 */ lwz r5, 0x38(r1) +/* 800CF808 000CC768 38 61 00 14 */ addi r3, r1, 0x14 +/* 800CF80C 000CC76C 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 800CF810 000CC770 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 800CF814 000CC774 90 A1 00 20 */ stw r5, 0x20(r1) +/* 800CF818 000CC778 90 01 00 24 */ stw r0, 0x24(r1) +/* 800CF81C 000CC77C 4B F7 D8 C1 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CF820 000CC780 A0 01 00 14 */ lhz r0, 0x14(r1) +/* 800CF824 000CC784 FC 20 F8 90 */ fmr f1, f31 +/* 800CF828 000CC788 FC 40 F0 90 */ fmr f2, f30 +/* 800CF82C 000CC78C 7F A3 EB 78 */ mr r3, r29 +/* 800CF830 000CC790 B0 01 00 18 */ sth r0, 0x18(r1) +/* 800CF834 000CC794 FC 60 E8 90 */ fmr f3, f29 +/* 800CF838 000CC798 7F 86 E3 78 */ mr r6, r28 +/* 800CF83C 000CC79C 93 E1 00 08 */ stw r31, 8(r1) +/* 800CF840 000CC7A0 7F C9 F3 78 */ mr r9, r30 +/* 800CF844 000CC7A4 38 81 00 18 */ addi r4, r1, 0x18 +/* 800CF848 000CC7A8 38 A1 00 58 */ addi r5, r1, 0x58 +/* 800CF84C 000CC7AC 38 E1 00 4C */ addi r7, r1, 0x4c +/* 800CF850 000CC7B0 39 01 00 40 */ addi r8, r1, 0x40 +/* 800CF854 000CC7B4 39 41 00 1C */ addi r10, r1, 0x1c +/* 800CF858 000CC7B8 48 0A 70 D5 */ bl "__ct__18CScriptBallTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fbfff9CVector3f" +/* 800CF85C 000CC7BC 7C 7D 1B 78 */ mr r29, r3 +lbl_800CF860: +/* 800CF860 000CC7C0 38 61 00 58 */ addi r3, r1, 0x58 +/* 800CF864 000CC7C4 48 26 E2 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CF868 000CC7C8 7F A3 EB 78 */ mr r3, r29 +lbl_800CF86C: +/* 800CF86C 000CC7CC E3 E1 00 A8 */ psq_l f31, 168(r1), 0, qr0 +/* 800CF870 000CC7D0 CB E1 00 A0 */ lfd f31, 0xa0(r1) +/* 800CF874 000CC7D4 E3 C1 00 98 */ psq_l f30, 152(r1), 0, qr0 +/* 800CF878 000CC7D8 CB C1 00 90 */ lfd f30, 0x90(r1) +/* 800CF87C 000CC7DC E3 A1 00 88 */ psq_l f29, 136(r1), 0, qr0 +/* 800CF880 000CC7E0 CB A1 00 80 */ lfd f29, 0x80(r1) +/* 800CF884 000CC7E4 BB 61 00 6C */ lmw r27, 0x6c(r1) +/* 800CF888 000CC7E8 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800CF88C 000CC7EC 7C 08 03 A6 */ mtlr r0 +/* 800CF890 000CC7F0 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800CF894 000CC7F4 4E 80 00 20 */ blr + +.global LoadMetroidBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadMetroidBeta__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CF898 000CC7F8 94 21 FB D0 */ stwu r1, -0x430(r1) +/* 800CF89C 000CC7FC 7C 08 02 A6 */ mflr r0 +/* 800CF8A0 000CC800 90 01 04 34 */ stw r0, 0x434(r1) +/* 800CF8A4 000CC804 80 02 AA 80 */ lwz r0, lbl_805AC7A0@sda21(r2) +/* 800CF8A8 000CC808 93 E1 04 2C */ stw r31, 0x42c(r1) +/* 800CF8AC 000CC80C 7C DF 33 78 */ mr r31, r6 +/* 800CF8B0 000CC810 93 C1 04 28 */ stw r30, 0x428(r1) +/* 800CF8B4 000CC814 7C 7E 1B 78 */ mr r30, r3 +/* 800CF8B8 000CC818 93 A1 04 24 */ stw r29, 0x424(r1) +/* 800CF8BC 000CC81C 7C BD 2B 78 */ mr r29, r5 +/* 800CF8C0 000CC820 7C 1D 00 00 */ cmpw r29, r0 +/* 800CF8C4 000CC824 93 81 04 20 */ stw r28, 0x420(r1) +/* 800CF8C8 000CC828 7C 9C 23 78 */ mr r28, r4 +/* 800CF8CC 000CC82C 40 80 00 0C */ bge lbl_800CF8D8 +/* 800CF8D0 000CC830 38 60 00 00 */ li r3, 0 +/* 800CF8D4 000CC834 48 00 01 B8 */ b lbl_800CFA8C +lbl_800CF8D8: +/* 800CF8D8 000CC838 4B F7 59 0D */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CF8DC 000CC83C 7C 64 1B 78 */ mr r4, r3 +/* 800CF8E0 000CC840 38 61 00 2C */ addi r3, r1, 0x2c +/* 800CF8E4 000CC844 48 26 E8 7D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CF8E8 000CC848 7F 84 E3 78 */ mr r4, r28 +/* 800CF8EC 000CC84C 38 61 00 58 */ addi r3, r1, 0x58 +/* 800CF8F0 000CC850 48 00 AC 9D */ bl LoadEditorTransform__FR12CInputStream +/* 800CF8F4 000CC854 38 61 00 88 */ addi r3, r1, 0x88 +/* 800CF8F8 000CC858 38 81 00 58 */ addi r4, r1, 0x58 +/* 800CF8FC 000CC85C 48 24 32 79 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800CF900 000CC860 7F 84 E3 78 */ mr r4, r28 +/* 800CF904 000CC864 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CF908 000CC868 48 24 52 85 */ bl __ct__9CVector3fFR12CInputStream +/* 800CF90C 000CC86C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CF910 000CC870 7F 84 E3 78 */ mr r4, r28 +/* 800CF914 000CC874 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800CF918 000CC878 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CF91C 000CC87C 38 A5 00 F9 */ addi r5, r5, 0xf9 +/* 800CF920 000CC880 48 03 5F 09 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800CF924 000CC884 88 01 00 18 */ lbz r0, 0x18(r1) +/* 800CF928 000CC888 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800CF92C 000CC88C 28 00 00 00 */ cmplwi r0, 0 +/* 800CF930 000CC890 40 82 00 14 */ bne lbl_800CF944 +/* 800CF934 000CC894 38 61 00 2C */ addi r3, r1, 0x2c +/* 800CF938 000CC898 48 26 E1 A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CF93C 000CC89C 38 60 00 00 */ li r3, 0 +/* 800CF940 000CC8A0 48 00 01 4C */ b lbl_800CFA8C +lbl_800CF944: +/* 800CF944 000CC8A4 7F 84 E3 78 */ mr r4, r28 +/* 800CF948 000CC8A8 38 61 02 E0 */ addi r3, r1, 0x2e0 +/* 800CF94C 000CC8AC 48 03 5F 2D */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800CF950 000CC8B0 7F 84 E3 78 */ mr r4, r28 +/* 800CF954 000CC8B4 38 61 01 04 */ addi r3, r1, 0x104 +/* 800CF958 000CC8B8 48 00 A4 1D */ bl LoadActorParameters__FR12CInputStream +/* 800CF95C 000CC8BC 38 61 01 6C */ addi r3, r1, 0x16c +/* 800CF960 000CC8C0 38 81 01 04 */ addi r4, r1, 0x104 +/* 800CF964 000CC8C4 4B FF 5C B9 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CF968 000CC8C8 38 61 01 04 */ addi r3, r1, 0x104 +/* 800CF96C 000CC8CC 38 80 FF FF */ li r4, -1 +/* 800CF970 000CC8D0 48 03 6C 99 */ bl __dt__16CActorParametersFv +/* 800CF974 000CC8D4 7F 84 E3 78 */ mr r4, r28 +/* 800CF978 000CC8D8 7F A5 EB 78 */ mr r5, r29 +/* 800CF97C 000CC8DC 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 800CF980 000CC8E0 48 0F 70 7D */ bl __ct__16CMetroidBetaDataFR12CInputStream +/* 800CF984 000CC8E4 80 61 03 CC */ lwz r3, 0x3cc(r1) +/* 800CF988 000CC8E8 3C 03 00 01 */ addis r0, r3, 1 +/* 800CF98C 000CC8EC 28 00 FF FF */ cmplwi r0, 0xffff +/* 800CF990 000CC8F0 40 82 00 20 */ bne lbl_800CF9B0 +/* 800CF994 000CC8F4 38 61 01 6C */ addi r3, r1, 0x16c +/* 800CF998 000CC8F8 38 80 FF FF */ li r4, -1 +/* 800CF99C 000CC8FC 48 03 6C 6D */ bl __dt__16CActorParametersFv +/* 800CF9A0 000CC900 38 61 00 2C */ addi r3, r1, 0x2c +/* 800CF9A4 000CC904 48 26 E1 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CF9A8 000CC908 38 60 00 00 */ li r3, 0 +/* 800CF9AC 000CC90C 48 00 00 E0 */ b lbl_800CFA8C +lbl_800CF9B0: +/* 800CF9B0 000CC910 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CF9B4 000CC914 3B 80 00 00 */ li r28, 0 +/* 800CF9B8 000CC918 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CF9BC 000CC91C 38 60 08 48 */ li r3, 0x848 +/* 800CF9C0 000CC920 38 84 00 0D */ addi r4, r4, 0xd +/* 800CF9C4 000CC924 38 A0 00 00 */ li r5, 0 +/* 800CF9C8 000CC928 48 24 5E A5 */ bl __nw__FUlPCcPCc +/* 800CF9CC 000CC92C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800CF9D0 000CC930 41 82 00 90 */ beq lbl_800CFA60 +/* 800CF9D4 000CC934 80 E1 03 CC */ lwz r7, 0x3cc(r1) +/* 800CF9D8 000CC938 38 A0 00 01 */ li r5, 1 +/* 800CF9DC 000CC93C 80 C1 03 D0 */ lwz r6, 0x3d0(r1) +/* 800CF9E0 000CC940 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800CF9E4 000CC944 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 800CF9E8 000CC948 38 81 00 3C */ addi r4, r1, 0x3c +/* 800CF9EC 000CC94C C0 21 00 24 */ lfs f1, 0x24(r1) +/* 800CF9F0 000CC950 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 800CF9F4 000CC954 80 01 03 D4 */ lwz r0, 0x3d4(r1) +/* 800CF9F8 000CC958 90 E1 00 3C */ stw r7, 0x3c(r1) +/* 800CF9FC 000CC95C 90 C1 00 40 */ stw r6, 0x40(r1) +/* 800CFA00 000CC960 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800CFA04 000CC964 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800CFA08 000CC968 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800CFA0C 000CC96C 98 A1 00 50 */ stb r5, 0x50(r1) +/* 800CFA10 000CC970 90 01 00 54 */ stw r0, 0x54(r1) +/* 800CFA14 000CC974 48 04 71 41 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800CFA18 000CC978 7F C4 F3 78 */ mr r4, r30 +/* 800CFA1C 000CC97C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CFA20 000CC980 3B 80 00 01 */ li r28, 1 +/* 800CFA24 000CC984 4B F7 D6 B9 */ bl AllocateUniqueId__13CStateManagerFv +/* 800CFA28 000CC988 A0 81 00 10 */ lhz r4, 0x10(r1) +/* 800CFA2C 000CC98C 38 01 01 D4 */ addi r0, r1, 0x1d4 +/* 800CFA30 000CC990 7F A3 EB 78 */ mr r3, r29 +/* 800CFA34 000CC994 7F E6 FB 78 */ mr r6, r31 +/* 800CFA38 000CC998 B0 81 00 14 */ sth r4, 0x14(r1) +/* 800CFA3C 000CC99C 38 81 00 14 */ addi r4, r1, 0x14 +/* 800CFA40 000CC9A0 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800CFA44 000CC9A4 38 E1 00 88 */ addi r7, r1, 0x88 +/* 800CFA48 000CC9A8 90 01 00 08 */ stw r0, 8(r1) +/* 800CFA4C 000CC9AC 39 01 00 B8 */ addi r8, r1, 0xb8 +/* 800CFA50 000CC9B0 39 21 02 E0 */ addi r9, r1, 0x2e0 +/* 800CFA54 000CC9B4 39 41 01 6C */ addi r10, r1, 0x16c +/* 800CFA58 000CC9B8 48 0F 66 35 */ bl "__ct__12CMetroidBetaF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CMetroidData" +/* 800CFA5C 000CC9BC 7C 7D 1B 78 */ mr r29, r3 +lbl_800CFA60: +/* 800CFA60 000CC9C0 7F 80 07 75 */ extsb. r0, r28 +/* 800CFA64 000CC9C4 41 82 00 10 */ beq lbl_800CFA74 +/* 800CFA68 000CC9C8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800CFA6C 000CC9CC 38 80 FF FF */ li r4, -1 +/* 800CFA70 000CC9D0 48 04 6F DD */ bl __dt__10CModelDataFv +lbl_800CFA74: +/* 800CFA74 000CC9D4 38 61 01 6C */ addi r3, r1, 0x16c +/* 800CFA78 000CC9D8 38 80 FF FF */ li r4, -1 +/* 800CFA7C 000CC9DC 48 03 6B 8D */ bl __dt__16CActorParametersFv +/* 800CFA80 000CC9E0 38 61 00 2C */ addi r3, r1, 0x2c +/* 800CFA84 000CC9E4 48 26 E0 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CFA88 000CC9E8 7F A3 EB 78 */ mr r3, r29 +lbl_800CFA8C: +/* 800CFA8C 000CC9EC 80 01 04 34 */ lwz r0, 0x434(r1) +/* 800CFA90 000CC9F0 83 E1 04 2C */ lwz r31, 0x42c(r1) +/* 800CFA94 000CC9F4 83 C1 04 28 */ lwz r30, 0x428(r1) +/* 800CFA98 000CC9F8 83 A1 04 24 */ lwz r29, 0x424(r1) +/* 800CFA9C 000CC9FC 83 81 04 20 */ lwz r28, 0x420(r1) +/* 800CFAA0 000CCA00 7C 08 03 A6 */ mtlr r0 +/* 800CFAA4 000CCA04 38 21 04 30 */ addi r1, r1, 0x430 +/* 800CFAA8 000CCA08 4E 80 00 20 */ blr + +.global LoadMetroid__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadMetroid__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CFAAC 000CCA0C 94 21 FB A0 */ stwu r1, -0x460(r1) +/* 800CFAB0 000CCA10 7C 08 02 A6 */ mflr r0 +/* 800CFAB4 000CCA14 90 01 04 64 */ stw r0, 0x464(r1) +/* 800CFAB8 000CCA18 80 02 A0 70 */ lwz r0, lbl_805ABD90@sda21(r2) +/* 800CFABC 000CCA1C BF 61 04 4C */ stmw r27, 0x44c(r1) +/* 800CFAC0 000CCA20 7C BC 2B 78 */ mr r28, r5 +/* 800CFAC4 000CCA24 7C 1C 00 00 */ cmpw r28, r0 +/* 800CFAC8 000CCA28 7C 7D 1B 78 */ mr r29, r3 +/* 800CFACC 000CCA2C 7C 9B 23 78 */ mr r27, r4 +/* 800CFAD0 000CCA30 7C DE 33 78 */ mr r30, r6 +/* 800CFAD4 000CCA34 40 80 00 0C */ bge lbl_800CFAE0 +/* 800CFAD8 000CCA38 38 60 00 00 */ li r3, 0 +/* 800CFADC 000CCA3C 48 00 02 28 */ b lbl_800CFD04 +lbl_800CFAE0: +/* 800CFAE0 000CCA40 4B F7 57 05 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CFAE4 000CCA44 7C 64 1B 78 */ mr r4, r3 +/* 800CFAE8 000CCA48 38 61 00 38 */ addi r3, r1, 0x38 +/* 800CFAEC 000CCA4C 48 26 E6 75 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CFAF0 000CCA50 7F 63 DB 78 */ mr r3, r27 +/* 800CFAF4 000CCA54 48 26 F1 91 */ bl ReadLong__12CInputStreamFv +/* 800CFAF8 000CCA58 7C 60 1B 78 */ mr r0, r3 +/* 800CFAFC 000CCA5C 7F 64 DB 78 */ mr r4, r27 +/* 800CFB00 000CCA60 38 61 00 64 */ addi r3, r1, 0x64 +/* 800CFB04 000CCA64 7C 1F 03 78 */ mr r31, r0 +/* 800CFB08 000CCA68 48 00 AA 85 */ bl LoadEditorTransform__FR12CInputStream +/* 800CFB0C 000CCA6C 38 61 00 94 */ addi r3, r1, 0x94 +/* 800CFB10 000CCA70 38 81 00 64 */ addi r4, r1, 0x64 +/* 800CFB14 000CCA74 48 24 30 61 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800CFB18 000CCA78 7F 64 DB 78 */ mr r4, r27 +/* 800CFB1C 000CCA7C 38 61 00 2C */ addi r3, r1, 0x2c +/* 800CFB20 000CCA80 48 24 50 6D */ bl __ct__9CVector3fFR12CInputStream +/* 800CFB24 000CCA84 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CFB28 000CCA88 7F 64 DB 78 */ mr r4, r27 +/* 800CFB2C 000CCA8C 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800CFB30 000CCA90 38 61 00 24 */ addi r3, r1, 0x24 +/* 800CFB34 000CCA94 38 A5 00 F9 */ addi r5, r5, 0xf9 +/* 800CFB38 000CCA98 48 03 5C F1 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800CFB3C 000CCA9C 88 01 00 24 */ lbz r0, 0x24(r1) +/* 800CFB40 000CCAA0 80 A1 00 28 */ lwz r5, 0x28(r1) +/* 800CFB44 000CCAA4 28 00 00 00 */ cmplwi r0, 0 +/* 800CFB48 000CCAA8 40 82 00 14 */ bne lbl_800CFB5C +/* 800CFB4C 000CCAAC 38 61 00 38 */ addi r3, r1, 0x38 +/* 800CFB50 000CCAB0 48 26 DF 91 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CFB54 000CCAB4 38 60 00 00 */ li r3, 0 +/* 800CFB58 000CCAB8 48 00 01 AC */ b lbl_800CFD04 +lbl_800CFB5C: +/* 800CFB5C 000CCABC 7F 64 DB 78 */ mr r4, r27 +/* 800CFB60 000CCAC0 38 61 03 0C */ addi r3, r1, 0x30c +/* 800CFB64 000CCAC4 48 03 5D 15 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800CFB68 000CCAC8 7F 64 DB 78 */ mr r4, r27 +/* 800CFB6C 000CCACC 38 61 01 10 */ addi r3, r1, 0x110 +/* 800CFB70 000CCAD0 48 00 A2 05 */ bl LoadActorParameters__FR12CInputStream +/* 800CFB74 000CCAD4 38 61 01 78 */ addi r3, r1, 0x178 +/* 800CFB78 000CCAD8 38 81 01 10 */ addi r4, r1, 0x110 +/* 800CFB7C 000CCADC 4B FF 5A A1 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CFB80 000CCAE0 38 61 01 10 */ addi r3, r1, 0x110 +/* 800CFB84 000CCAE4 38 80 FF FF */ li r4, -1 +/* 800CFB88 000CCAE8 48 03 6A 81 */ bl __dt__16CActorParametersFv +/* 800CFB8C 000CCAEC 7F 64 DB 78 */ mr r4, r27 +/* 800CFB90 000CCAF0 7F 85 E3 78 */ mr r5, r28 +/* 800CFB94 000CCAF4 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 800CFB98 000CCAF8 48 0A 2A 25 */ bl __ct__12CMetroidDataFR12CInputStream +/* 800CFB9C 000CCAFC 80 61 03 F8 */ lwz r3, 0x3f8(r1) +/* 800CFBA0 000CCB00 3C 03 00 01 */ addis r0, r3, 1 +/* 800CFBA4 000CCB04 28 00 FF FF */ cmplwi r0, 0xffff +/* 800CFBA8 000CCB08 40 82 00 2C */ bne lbl_800CFBD4 +/* 800CFBAC 000CCB0C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 800CFBB0 000CCB10 38 80 FF FF */ li r4, -1 +/* 800CFBB4 000CCB14 48 00 01 65 */ bl sub_800cfd18 +/* 800CFBB8 000CCB18 38 61 01 78 */ addi r3, r1, 0x178 +/* 800CFBBC 000CCB1C 38 80 FF FF */ li r4, -1 +/* 800CFBC0 000CCB20 48 03 6A 49 */ bl __dt__16CActorParametersFv +/* 800CFBC4 000CCB24 38 61 00 38 */ addi r3, r1, 0x38 +/* 800CFBC8 000CCB28 48 26 DF 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CFBCC 000CCB2C 38 60 00 00 */ li r3, 0 +/* 800CFBD0 000CCB30 48 00 01 34 */ b lbl_800CFD04 +lbl_800CFBD4: +/* 800CFBD4 000CCB34 2C 1F 00 01 */ cmpwi r31, 1 +/* 800CFBD8 000CCB38 40 82 00 2C */ bne lbl_800CFC04 +/* 800CFBDC 000CCB3C 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 800CFBE0 000CCB40 38 80 FF FF */ li r4, -1 +/* 800CFBE4 000CCB44 48 00 01 35 */ bl sub_800cfd18 +/* 800CFBE8 000CCB48 38 61 01 78 */ addi r3, r1, 0x178 +/* 800CFBEC 000CCB4C 38 80 FF FF */ li r4, -1 +/* 800CFBF0 000CCB50 48 03 6A 19 */ bl __dt__16CActorParametersFv +/* 800CFBF4 000CCB54 38 61 00 38 */ addi r3, r1, 0x38 +/* 800CFBF8 000CCB58 48 26 DE E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CFBFC 000CCB5C 38 60 00 00 */ li r3, 0 +/* 800CFC00 000CCB60 48 00 01 04 */ b lbl_800CFD04 +lbl_800CFC04: +/* 800CFC04 000CCB64 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CFC08 000CCB68 3B 60 00 00 */ li r27, 0 +/* 800CFC0C 000CCB6C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CFC10 000CCB70 38 60 09 C8 */ li r3, 0x9c8 +/* 800CFC14 000CCB74 38 84 00 0D */ addi r4, r4, 0xd +/* 800CFC18 000CCB78 38 A0 00 00 */ li r5, 0 +/* 800CFC1C 000CCB7C 48 24 5C 51 */ bl __nw__FUlPCcPCc +/* 800CFC20 000CCB80 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800CFC24 000CCB84 41 82 00 A8 */ beq lbl_800CFCCC +/* 800CFC28 000CCB88 A1 0D A3 8C */ lhz r8, lbl_805A8F4C@sda21(r13) +/* 800CFC2C 000CCB8C 38 A0 00 01 */ li r5, 1 +/* 800CFC30 000CCB90 80 E1 03 F8 */ lwz r7, 0x3f8(r1) +/* 800CFC34 000CCB94 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 800CFC38 000CCB98 80 C1 03 FC */ lwz r6, 0x3fc(r1) +/* 800CFC3C 000CCB9C 38 81 00 48 */ addi r4, r1, 0x48 +/* 800CFC40 000CCBA0 C0 41 00 2C */ lfs f2, 0x2c(r1) +/* 800CFC44 000CCBA4 C0 21 00 30 */ lfs f1, 0x30(r1) +/* 800CFC48 000CCBA8 C0 01 00 34 */ lfs f0, 0x34(r1) +/* 800CFC4C 000CCBAC 80 01 04 00 */ lwz r0, 0x400(r1) +/* 800CFC50 000CCBB0 B1 01 00 20 */ sth r8, 0x20(r1) +/* 800CFC54 000CCBB4 90 E1 00 48 */ stw r7, 0x48(r1) +/* 800CFC58 000CCBB8 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 800CFC5C 000CCBBC D0 41 00 50 */ stfs f2, 0x50(r1) +/* 800CFC60 000CCBC0 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 800CFC64 000CCBC4 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800CFC68 000CCBC8 98 A1 00 5C */ stb r5, 0x5c(r1) +/* 800CFC6C 000CCBCC 90 01 00 60 */ stw r0, 0x60(r1) +/* 800CFC70 000CCBD0 48 04 6E E5 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800CFC74 000CCBD4 7F A4 EB 78 */ mr r4, r29 +/* 800CFC78 000CCBD8 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CFC7C 000CCBDC 3B 60 00 01 */ li r27, 1 +/* 800CFC80 000CCBE0 4B F7 D4 5D */ bl AllocateUniqueId__13CStateManagerFv +/* 800CFC84 000CCBE4 A0 61 00 18 */ lhz r3, 0x18(r1) +/* 800CFC88 000CCBE8 38 81 01 78 */ addi r4, r1, 0x178 +/* 800CFC8C 000CCBEC 39 21 01 E0 */ addi r9, r1, 0x1e0 +/* 800CFC90 000CCBF0 38 01 00 20 */ addi r0, r1, 0x20 +/* 800CFC94 000CCBF4 B0 61 00 1C */ sth r3, 0x1c(r1) +/* 800CFC98 000CCBF8 7F 83 E3 78 */ mr r3, r28 +/* 800CFC9C 000CCBFC 7F E6 FB 78 */ mr r6, r31 +/* 800CFCA0 000CCC00 7F C7 F3 78 */ mr r7, r30 +/* 800CFCA4 000CCC04 90 81 00 08 */ stw r4, 8(r1) +/* 800CFCA8 000CCC08 38 81 00 1C */ addi r4, r1, 0x1c +/* 800CFCAC 000CCC0C 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800CFCB0 000CCC10 39 01 00 94 */ addi r8, r1, 0x94 +/* 800CFCB4 000CCC14 91 21 00 0C */ stw r9, 0xc(r1) +/* 800CFCB8 000CCC18 39 21 00 C4 */ addi r9, r1, 0xc4 +/* 800CFCBC 000CCC1C 39 41 03 0C */ addi r10, r1, 0x30c +/* 800CFCC0 000CCC20 90 01 00 10 */ stw r0, 0x10(r1) +/* 800CFCC4 000CCC24 48 0A 21 A5 */ bl "__ct__8CMetroidF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC12CMetroidData" +/* 800CFCC8 000CCC28 7C 7C 1B 78 */ mr r28, r3 +lbl_800CFCCC: +/* 800CFCCC 000CCC2C 7F 60 07 75 */ extsb. r0, r27 +/* 800CFCD0 000CCC30 41 82 00 10 */ beq lbl_800CFCE0 +/* 800CFCD4 000CCC34 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 800CFCD8 000CCC38 38 80 FF FF */ li r4, -1 +/* 800CFCDC 000CCC3C 48 04 6D 71 */ bl __dt__10CModelDataFv +lbl_800CFCE0: +/* 800CFCE0 000CCC40 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 800CFCE4 000CCC44 38 80 FF FF */ li r4, -1 +/* 800CFCE8 000CCC48 48 00 00 31 */ bl sub_800cfd18 +/* 800CFCEC 000CCC4C 38 61 01 78 */ addi r3, r1, 0x178 +/* 800CFCF0 000CCC50 38 80 FF FF */ li r4, -1 +/* 800CFCF4 000CCC54 48 03 69 15 */ bl __dt__16CActorParametersFv +/* 800CFCF8 000CCC58 38 61 00 38 */ addi r3, r1, 0x38 +/* 800CFCFC 000CCC5C 48 26 DD E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CFD00 000CCC60 7F 83 E3 78 */ mr r3, r28 +lbl_800CFD04: +/* 800CFD04 000CCC64 BB 61 04 4C */ lmw r27, 0x44c(r1) +/* 800CFD08 000CCC68 80 01 04 64 */ lwz r0, 0x464(r1) +/* 800CFD0C 000CCC6C 7C 08 03 A6 */ mtlr r0 +/* 800CFD10 000CCC70 38 21 04 60 */ addi r1, r1, 0x460 +/* 800CFD14 000CCC74 4E 80 00 20 */ blr + +.global sub_800cfd18 +sub_800cfd18: +/* 800CFD18 000CCC78 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800CFD1C 000CCC7C 7C 08 02 A6 */ mflr r0 +/* 800CFD20 000CCC80 90 01 00 14 */ stw r0, 0x14(r1) +/* 800CFD24 000CCC84 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800CFD28 000CCC88 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800CFD2C 000CCC8C 41 82 00 54 */ beq lbl_800CFD80 +/* 800CFD30 000CCC90 34 1F 01 18 */ addic. r0, r31, 0x118 +/* 800CFD34 000CCC94 41 82 00 0C */ beq lbl_800CFD40 +/* 800CFD38 000CCC98 38 00 00 00 */ li r0, 0 +/* 800CFD3C 000CCC9C 98 1F 01 24 */ stb r0, 0x124(r31) +lbl_800CFD40: +/* 800CFD40 000CCCA0 34 1F 01 08 */ addic. r0, r31, 0x108 +/* 800CFD44 000CCCA4 41 82 00 0C */ beq lbl_800CFD50 +/* 800CFD48 000CCCA8 38 00 00 00 */ li r0, 0 +/* 800CFD4C 000CCCAC 98 1F 01 14 */ stb r0, 0x114(r31) +lbl_800CFD50: +/* 800CFD50 000CCCB0 34 1F 00 F8 */ addic. r0, r31, 0xf8 +/* 800CFD54 000CCCB4 41 82 00 0C */ beq lbl_800CFD60 +/* 800CFD58 000CCCB8 38 00 00 00 */ li r0, 0 +/* 800CFD5C 000CCCBC 98 1F 01 04 */ stb r0, 0x104(r31) +lbl_800CFD60: +/* 800CFD60 000CCCC0 34 1F 00 E8 */ addic. r0, r31, 0xe8 +/* 800CFD64 000CCCC4 41 82 00 0C */ beq lbl_800CFD70 +/* 800CFD68 000CCCC8 38 00 00 00 */ li r0, 0 +/* 800CFD6C 000CCCCC 98 1F 00 F4 */ stb r0, 0xf4(r31) +lbl_800CFD70: +/* 800CFD70 000CCCD0 7C 80 07 35 */ extsh. r0, r4 +/* 800CFD74 000CCCD4 40 81 00 0C */ ble lbl_800CFD80 +/* 800CFD78 000CCCD8 7F E3 FB 78 */ mr r3, r31 +/* 800CFD7C 000CCCDC 48 24 5B B5 */ bl Free__7CMemoryFPCv +lbl_800CFD80: +/* 800CFD80 000CCCE0 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800CFD84 000CCCE4 7F E3 FB 78 */ mr r3, r31 +/* 800CFD88 000CCCE8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800CFD8C 000CCCEC 7C 08 03 A6 */ mtlr r0 +/* 800CFD90 000CCCF0 38 21 00 10 */ addi r1, r1, 0x10 +/* 800CFD94 000CCCF4 4E 80 00 20 */ blr + +.global LoadPickupGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPickupGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CFD98 000CCCF8 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800CFD9C 000CCCFC 7C 08 02 A6 */ mflr r0 +/* 800CFDA0 000CCD00 2C 05 00 04 */ cmpwi r5, 4 +/* 800CFDA4 000CCD04 90 01 00 54 */ stw r0, 0x54(r1) +/* 800CFDA8 000CCD08 DB E1 00 48 */ stfd f31, 0x48(r1) +/* 800CFDAC 000CCD0C 93 E1 00 44 */ stw r31, 0x44(r1) +/* 800CFDB0 000CCD10 93 C1 00 40 */ stw r30, 0x40(r1) +/* 800CFDB4 000CCD14 7C 9E 23 78 */ mr r30, r4 +/* 800CFDB8 000CCD18 93 A1 00 3C */ stw r29, 0x3c(r1) +/* 800CFDBC 000CCD1C 7C DD 33 78 */ mr r29, r6 +/* 800CFDC0 000CCD20 93 81 00 38 */ stw r28, 0x38(r1) +/* 800CFDC4 000CCD24 7C 7C 1B 78 */ mr r28, r3 +/* 800CFDC8 000CCD28 41 82 00 0C */ beq lbl_800CFDD4 +/* 800CFDCC 000CCD2C 38 60 00 00 */ li r3, 0 +/* 800CFDD0 000CCD30 48 00 00 9C */ b lbl_800CFE6C +lbl_800CFDD4: +/* 800CFDD4 000CCD34 4B F7 54 11 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CFDD8 000CCD38 7C 64 1B 78 */ mr r4, r3 +/* 800CFDDC 000CCD3C 38 61 00 1C */ addi r3, r1, 0x1c +/* 800CFDE0 000CCD40 48 26 E3 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CFDE4 000CCD44 7F C4 F3 78 */ mr r4, r30 +/* 800CFDE8 000CCD48 38 61 00 10 */ addi r3, r1, 0x10 +/* 800CFDEC 000CCD4C 48 24 4D A1 */ bl __ct__9CVector3fFR12CInputStream +/* 800CFDF0 000CCD50 7F C3 F3 78 */ mr r3, r30 +/* 800CFDF4 000CCD54 48 26 EE E9 */ bl ReadBool__12CInputStreamFv +/* 800CFDF8 000CCD58 7C 7F 1B 78 */ mr r31, r3 +/* 800CFDFC 000CCD5C 7F C3 F3 78 */ mr r3, r30 +/* 800CFE00 000CCD60 48 26 EE 29 */ bl ReadFloat__12CInputStreamFv +/* 800CFE04 000CCD64 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CFE08 000CCD68 FF E0 08 90 */ fmr f31, f1 +/* 800CFE0C 000CCD6C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800CFE10 000CCD70 38 A0 00 00 */ li r5, 0 +/* 800CFE14 000CCD74 38 60 00 48 */ li r3, 0x48 +/* 800CFE18 000CCD78 38 84 00 0D */ addi r4, r4, 0xd +/* 800CFE1C 000CCD7C 48 24 5A 51 */ bl __nw__FUlPCcPCc +/* 800CFE20 000CCD80 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800CFE24 000CCD84 41 82 00 3C */ beq lbl_800CFE60 +/* 800CFE28 000CCD88 7F 84 E3 78 */ mr r4, r28 +/* 800CFE2C 000CCD8C 38 61 00 08 */ addi r3, r1, 8 +/* 800CFE30 000CCD90 4B F7 D2 AD */ bl AllocateUniqueId__13CStateManagerFv +/* 800CFE34 000CCD94 A0 01 00 08 */ lhz r0, 8(r1) +/* 800CFE38 000CCD98 FC 20 F8 90 */ fmr f1, f31 +/* 800CFE3C 000CCD9C 7F C3 F3 78 */ mr r3, r30 +/* 800CFE40 000CCDA0 7F A6 EB 78 */ mr r6, r29 +/* 800CFE44 000CCDA4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800CFE48 000CCDA8 7F E8 FB 78 */ mr r8, r31 +/* 800CFE4C 000CCDAC 38 81 00 0C */ addi r4, r1, 0xc +/* 800CFE50 000CCDB0 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800CFE54 000CCDB4 38 E1 00 10 */ addi r7, r1, 0x10 +/* 800CFE58 000CCDB8 48 08 EA E1 */ bl "__ct__22CScriptPickupGeneratorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3ffb" +/* 800CFE5C 000CCDBC 7C 7E 1B 78 */ mr r30, r3 +lbl_800CFE60: +/* 800CFE60 000CCDC0 38 61 00 1C */ addi r3, r1, 0x1c +/* 800CFE64 000CCDC4 48 26 DC 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CFE68 000CCDC8 7F C3 F3 78 */ mr r3, r30 +lbl_800CFE6C: +/* 800CFE6C 000CCDCC 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800CFE70 000CCDD0 CB E1 00 48 */ lfd f31, 0x48(r1) +/* 800CFE74 000CCDD4 83 E1 00 44 */ lwz r31, 0x44(r1) +/* 800CFE78 000CCDD8 83 C1 00 40 */ lwz r30, 0x40(r1) +/* 800CFE7C 000CCDDC 83 A1 00 3C */ lwz r29, 0x3c(r1) +/* 800CFE80 000CCDE0 83 81 00 38 */ lwz r28, 0x38(r1) +/* 800CFE84 000CCDE4 7C 08 03 A6 */ mtlr r0 +/* 800CFE88 000CCDE8 38 21 00 50 */ addi r1, r1, 0x50 +/* 800CFE8C 000CCDEC 4E 80 00 20 */ blr + +.global LoadRipper__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadRipper__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800CFE90 000CCDF0 94 21 FC 70 */ stwu r1, -0x390(r1) +/* 800CFE94 000CCDF4 7C 08 02 A6 */ mflr r0 +/* 800CFE98 000CCDF8 90 01 03 94 */ stw r0, 0x394(r1) +/* 800CFE9C 000CCDFC 80 02 9E D8 */ lwz r0, lbl_805ABBF8@sda21(r2) +/* 800CFEA0 000CCE00 BF 61 03 7C */ stmw r27, 0x37c(r1) +/* 800CFEA4 000CCE04 7C 7D 1B 78 */ mr r29, r3 +/* 800CFEA8 000CCE08 7C 05 00 00 */ cmpw r5, r0 +/* 800CFEAC 000CCE0C 7C 9C 23 78 */ mr r28, r4 +/* 800CFEB0 000CCE10 7C DE 33 78 */ mr r30, r6 +/* 800CFEB4 000CCE14 41 82 00 0C */ beq lbl_800CFEC0 +/* 800CFEB8 000CCE18 38 60 00 00 */ li r3, 0 +/* 800CFEBC 000CCE1C 48 00 02 2C */ b lbl_800D00E8 +lbl_800CFEC0: +/* 800CFEC0 000CCE20 4B F7 53 25 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800CFEC4 000CCE24 7C 64 1B 78 */ mr r4, r3 +/* 800CFEC8 000CCE28 38 61 00 2C */ addi r3, r1, 0x2c +/* 800CFECC 000CCE2C 48 26 E2 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800CFED0 000CCE30 7F 83 E3 78 */ mr r3, r28 +/* 800CFED4 000CCE34 48 26 ED B1 */ bl ReadLong__12CInputStreamFv +/* 800CFED8 000CCE38 7C 60 1B 78 */ mr r0, r3 +/* 800CFEDC 000CCE3C 7F 84 E3 78 */ mr r4, r28 +/* 800CFEE0 000CCE40 38 61 00 88 */ addi r3, r1, 0x88 +/* 800CFEE4 000CCE44 7C 1F 03 78 */ mr r31, r0 +/* 800CFEE8 000CCE48 48 00 A6 A5 */ bl LoadEditorTransform__FR12CInputStream +/* 800CFEEC 000CCE4C 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800CFEF0 000CCE50 38 81 00 88 */ addi r4, r1, 0x88 +/* 800CFEF4 000CCE54 48 24 2C 81 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800CFEF8 000CCE58 7F 84 E3 78 */ mr r4, r28 +/* 800CFEFC 000CCE5C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800CFF00 000CCE60 48 24 4C 8D */ bl __ct__9CVector3fFR12CInputStream +/* 800CFF04 000CCE64 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CFF08 000CCE68 7F 84 E3 78 */ mr r4, r28 +/* 800CFF0C 000CCE6C 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800CFF10 000CCE70 38 61 00 18 */ addi r3, r1, 0x18 +/* 800CFF14 000CCE74 38 A5 01 01 */ addi r5, r5, 0x101 +/* 800CFF18 000CCE78 48 03 59 11 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800CFF1C 000CCE7C 88 01 00 18 */ lbz r0, 0x18(r1) +/* 800CFF20 000CCE80 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800CFF24 000CCE84 28 00 00 00 */ cmplwi r0, 0 +/* 800CFF28 000CCE88 40 82 00 14 */ bne lbl_800CFF3C +/* 800CFF2C 000CCE8C 38 61 00 2C */ addi r3, r1, 0x2c +/* 800CFF30 000CCE90 48 26 DB B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CFF34 000CCE94 38 60 00 00 */ li r3, 0 +/* 800CFF38 000CCE98 48 00 01 B0 */ b lbl_800D00E8 +lbl_800CFF3C: +/* 800CFF3C 000CCE9C 7F 84 E3 78 */ mr r4, r28 +/* 800CFF40 000CCEA0 38 61 02 34 */ addi r3, r1, 0x234 +/* 800CFF44 000CCEA4 48 03 59 35 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800CFF48 000CCEA8 7F 84 E3 78 */ mr r4, r28 +/* 800CFF4C 000CCEAC 38 61 01 64 */ addi r3, r1, 0x164 +/* 800CFF50 000CCEB0 48 00 9E 25 */ bl LoadActorParameters__FR12CInputStream +/* 800CFF54 000CCEB4 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800CFF58 000CCEB8 38 81 01 64 */ addi r4, r1, 0x164 +/* 800CFF5C 000CCEBC 4B FF 56 C1 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800CFF60 000CCEC0 38 61 01 64 */ addi r3, r1, 0x164 +/* 800CFF64 000CCEC4 38 80 FF FF */ li r4, -1 +/* 800CFF68 000CCEC8 48 03 66 A1 */ bl __dt__16CActorParametersFv +/* 800CFF6C 000CCECC 80 61 03 20 */ lwz r3, 0x320(r1) +/* 800CFF70 000CCED0 3C 03 00 01 */ addis r0, r3, 1 +/* 800CFF74 000CCED4 28 00 FF FF */ cmplwi r0, 0xffff +/* 800CFF78 000CCED8 40 82 00 20 */ bne lbl_800CFF98 +/* 800CFF7C 000CCEDC 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800CFF80 000CCEE0 38 80 FF FF */ li r4, -1 +/* 800CFF84 000CCEE4 48 03 66 85 */ bl __dt__16CActorParametersFv +/* 800CFF88 000CCEE8 38 61 00 2C */ addi r3, r1, 0x2c +/* 800CFF8C 000CCEEC 48 26 DB 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800CFF90 000CCEF0 38 60 00 00 */ li r3, 0 +/* 800CFF94 000CCEF4 48 00 01 54 */ b lbl_800D00E8 +lbl_800CFF98: +/* 800CFF98 000CCEF8 7F 84 E3 78 */ mr r4, r28 +/* 800CFF9C 000CCEFC 38 61 00 58 */ addi r3, r1, 0x58 +/* 800CFFA0 000CCF00 48 00 9C C5 */ bl LoadGrappleParameters__FR12CInputStream +/* 800CFFA4 000CCF04 C1 41 00 58 */ lfs f10, 0x58(r1) +/* 800CFFA8 000CCF08 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800CFFAC 000CCF0C C1 21 00 5C */ lfs f9, 0x5c(r1) +/* 800CFFB0 000CCF10 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800CFFB4 000CCF14 C1 01 00 60 */ lfs f8, 0x60(r1) +/* 800CFFB8 000CCF18 38 83 00 0D */ addi r4, r3, 0xd +/* 800CFFBC 000CCF1C C0 E1 00 64 */ lfs f7, 0x64(r1) +/* 800CFFC0 000CCF20 3B 60 00 00 */ li r27, 0 +/* 800CFFC4 000CCF24 C0 C1 00 68 */ lfs f6, 0x68(r1) +/* 800CFFC8 000CCF28 38 60 05 A0 */ li r3, 0x5a0 +/* 800CFFCC 000CCF2C C0 A1 00 6C */ lfs f5, 0x6c(r1) +/* 800CFFD0 000CCF30 38 A0 00 00 */ li r5, 0 +/* 800CFFD4 000CCF34 C0 81 00 70 */ lfs f4, 0x70(r1) +/* 800CFFD8 000CCF38 C0 61 00 74 */ lfs f3, 0x74(r1) +/* 800CFFDC 000CCF3C C0 41 00 78 */ lfs f2, 0x78(r1) +/* 800CFFE0 000CCF40 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 800CFFE4 000CCF44 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 800CFFE8 000CCF48 88 01 00 84 */ lbz r0, 0x84(r1) +/* 800CFFEC 000CCF4C D1 41 00 B8 */ stfs f10, 0xb8(r1) +/* 800CFFF0 000CCF50 D1 21 00 BC */ stfs f9, 0xbc(r1) +/* 800CFFF4 000CCF54 D1 01 00 C0 */ stfs f8, 0xc0(r1) +/* 800CFFF8 000CCF58 D0 E1 00 C4 */ stfs f7, 0xc4(r1) +/* 800CFFFC 000CCF5C D0 C1 00 C8 */ stfs f6, 0xc8(r1) +/* 800D0000 000CCF60 D0 A1 00 CC */ stfs f5, 0xcc(r1) +/* 800D0004 000CCF64 D0 81 00 D0 */ stfs f4, 0xd0(r1) +/* 800D0008 000CCF68 D0 61 00 D4 */ stfs f3, 0xd4(r1) +/* 800D000C 000CCF6C D0 41 00 D8 */ stfs f2, 0xd8(r1) +/* 800D0010 000CCF70 D0 21 00 DC */ stfs f1, 0xdc(r1) +/* 800D0014 000CCF74 D0 01 00 E0 */ stfs f0, 0xe0(r1) +/* 800D0018 000CCF78 98 01 00 E4 */ stb r0, 0xe4(r1) +/* 800D001C 000CCF7C 48 24 58 51 */ bl __nw__FUlPCcPCc +/* 800D0020 000CCF80 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800D0024 000CCF84 41 82 00 98 */ beq lbl_800D00BC +/* 800D0028 000CCF88 80 E1 03 20 */ lwz r7, 0x320(r1) +/* 800D002C 000CCF8C 38 A0 00 01 */ li r5, 1 +/* 800D0030 000CCF90 80 C1 03 24 */ lwz r6, 0x324(r1) +/* 800D0034 000CCF94 38 61 01 18 */ addi r3, r1, 0x118 +/* 800D0038 000CCF98 C0 41 00 20 */ lfs f2, 0x20(r1) +/* 800D003C 000CCF9C 38 81 00 3C */ addi r4, r1, 0x3c +/* 800D0040 000CCFA0 C0 21 00 24 */ lfs f1, 0x24(r1) +/* 800D0044 000CCFA4 C0 01 00 28 */ lfs f0, 0x28(r1) +/* 800D0048 000CCFA8 80 01 03 28 */ lwz r0, 0x328(r1) +/* 800D004C 000CCFAC 90 E1 00 3C */ stw r7, 0x3c(r1) +/* 800D0050 000CCFB0 90 C1 00 40 */ stw r6, 0x40(r1) +/* 800D0054 000CCFB4 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800D0058 000CCFB8 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800D005C 000CCFBC D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800D0060 000CCFC0 98 A1 00 50 */ stb r5, 0x50(r1) +/* 800D0064 000CCFC4 90 01 00 54 */ stw r0, 0x54(r1) +/* 800D0068 000CCFC8 48 04 6A ED */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D006C 000CCFCC 7F A4 EB 78 */ mr r4, r29 +/* 800D0070 000CCFD0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D0074 000CCFD4 3B 60 00 01 */ li r27, 1 +/* 800D0078 000CCFD8 4B F7 D0 65 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D007C 000CCFDC A0 81 00 10 */ lhz r4, 0x10(r1) +/* 800D0080 000CCFE0 38 A1 01 CC */ addi r5, r1, 0x1cc +/* 800D0084 000CCFE4 38 01 00 B8 */ addi r0, r1, 0xb8 +/* 800D0088 000CCFE8 7F 83 E3 78 */ mr r3, r28 +/* 800D008C 000CCFEC B0 81 00 14 */ sth r4, 0x14(r1) +/* 800D0090 000CCFF0 7F E6 FB 78 */ mr r6, r31 +/* 800D0094 000CCFF4 7F C7 F3 78 */ mr r7, r30 +/* 800D0098 000CCFF8 38 81 00 14 */ addi r4, r1, 0x14 +/* 800D009C 000CCFFC 90 A1 00 08 */ stw r5, 8(r1) +/* 800D00A0 000CD000 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800D00A4 000CD004 39 01 00 E8 */ addi r8, r1, 0xe8 +/* 800D00A8 000CD008 39 21 01 18 */ addi r9, r1, 0x118 +/* 800D00AC 000CD00C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800D00B0 000CD010 39 41 02 34 */ addi r10, r1, 0x234 +/* 800D00B4 000CD014 48 08 C6 7D */ bl "__ct__7CRipperF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC18CGrappleParameters" +/* 800D00B8 000CD018 7C 7C 1B 78 */ mr r28, r3 +lbl_800D00BC: +/* 800D00BC 000CD01C 7F 60 07 75 */ extsb. r0, r27 +/* 800D00C0 000CD020 41 82 00 10 */ beq lbl_800D00D0 +/* 800D00C4 000CD024 38 61 01 18 */ addi r3, r1, 0x118 +/* 800D00C8 000CD028 38 80 FF FF */ li r4, -1 +/* 800D00CC 000CD02C 48 04 69 81 */ bl __dt__10CModelDataFv +lbl_800D00D0: +/* 800D00D0 000CD030 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800D00D4 000CD034 38 80 FF FF */ li r4, -1 +/* 800D00D8 000CD038 48 03 65 31 */ bl __dt__16CActorParametersFv +/* 800D00DC 000CD03C 38 61 00 2C */ addi r3, r1, 0x2c +/* 800D00E0 000CD040 48 26 DA 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D00E4 000CD044 7F 83 E3 78 */ mr r3, r28 +lbl_800D00E8: +/* 800D00E8 000CD048 BB 61 03 7C */ lmw r27, 0x37c(r1) +/* 800D00EC 000CD04C 80 01 03 94 */ lwz r0, 0x394(r1) +/* 800D00F0 000CD050 7C 08 03 A6 */ mtlr r0 +/* 800D00F4 000CD054 38 21 03 90 */ addi r1, r1, 0x390 +/* 800D00F8 000CD058 4E 80 00 20 */ blr + +.global LoadParasite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadParasite__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D00FC 000CD05C 94 21 FB 50 */ stwu r1, -0x4b0(r1) +/* 800D0100 000CD060 7C 08 02 A6 */ mflr r0 +/* 800D0104 000CD064 90 01 04 B4 */ stw r0, 0x4b4(r1) +/* 800D0108 000CD068 DB E1 04 A0 */ stfd f31, 0x4a0(r1) +/* 800D010C 000CD06C F3 E1 04 A8 */ psq_st f31, 1192(r1), 0, qr0 +/* 800D0110 000CD070 DB C1 04 90 */ stfd f30, 0x490(r1) +/* 800D0114 000CD074 F3 C1 04 98 */ psq_st f30, 1176(r1), 0, qr0 +/* 800D0118 000CD078 DB A1 04 80 */ stfd f29, 0x480(r1) +/* 800D011C 000CD07C F3 A1 04 88 */ psq_st f29, 1160(r1), 0, qr0 +/* 800D0120 000CD080 DB 81 04 70 */ stfd f28, 0x470(r1) +/* 800D0124 000CD084 F3 81 04 78 */ psq_st f28, 1144(r1), 0, qr0 +/* 800D0128 000CD088 DB 61 04 60 */ stfd f27, 0x460(r1) +/* 800D012C 000CD08C F3 61 04 68 */ psq_st f27, 1128(r1), 0, qr0 +/* 800D0130 000CD090 DB 41 04 50 */ stfd f26, 0x450(r1) +/* 800D0134 000CD094 F3 41 04 58 */ psq_st f26, 1112(r1), 0, qr0 +/* 800D0138 000CD098 DB 21 04 40 */ stfd f25, 0x440(r1) +/* 800D013C 000CD09C F3 21 04 48 */ psq_st f25, 1096(r1), 0, qr0 +/* 800D0140 000CD0A0 DB 01 04 30 */ stfd f24, 0x430(r1) +/* 800D0144 000CD0A4 F3 01 04 38 */ psq_st f24, 1080(r1), 0, qr0 +/* 800D0148 000CD0A8 DA E1 04 20 */ stfd f23, 0x420(r1) +/* 800D014C 000CD0AC F2 E1 04 28 */ psq_st f23, 1064(r1), 0, qr0 +/* 800D0150 000CD0B0 DA C1 04 10 */ stfd f22, 0x410(r1) +/* 800D0154 000CD0B4 F2 C1 04 18 */ psq_st f22, 1048(r1), 0, qr0 +/* 800D0158 000CD0B8 DA A1 04 00 */ stfd f21, 0x400(r1) +/* 800D015C 000CD0BC F2 A1 04 08 */ psq_st f21, 1032(r1), 0, qr0 +/* 800D0160 000CD0C0 DA 81 03 F0 */ stfd f20, 0x3f0(r1) +/* 800D0164 000CD0C4 F2 81 03 F8 */ psq_st f20, 1016(r1), 0, qr0 +/* 800D0168 000CD0C8 DA 61 03 E0 */ stfd f19, 0x3e0(r1) +/* 800D016C 000CD0CC F2 61 03 E8 */ psq_st f19, 1000(r1), 0, qr0 +/* 800D0170 000CD0D0 DA 41 03 D0 */ stfd f18, 0x3d0(r1) +/* 800D0174 000CD0D4 F2 41 03 D8 */ psq_st f18, 984(r1), 0, qr0 +/* 800D0178 000CD0D8 DA 21 03 C0 */ stfd f17, 0x3c0(r1) +/* 800D017C 000CD0DC F2 21 03 C8 */ psq_st f17, 968(r1), 0, qr0 +/* 800D0180 000CD0E0 DA 01 03 B0 */ stfd f16, 0x3b0(r1) +/* 800D0184 000CD0E4 F2 01 03 B8 */ psq_st f16, 952(r1), 0, qr0 +/* 800D0188 000CD0E8 D9 E1 03 A0 */ stfd f15, 0x3a0(r1) +/* 800D018C 000CD0EC F1 E1 03 A8 */ psq_st f15, 936(r1), 0, qr0 +/* 800D0190 000CD0F0 BF 01 03 80 */ stmw r24, 0x380(r1) +/* 800D0194 000CD0F4 2C 05 00 19 */ cmpwi r5, 0x19 +/* 800D0198 000CD0F8 7C 7B 1B 78 */ mr r27, r3 +/* 800D019C 000CD0FC 7C 98 23 78 */ mr r24, r4 +/* 800D01A0 000CD100 7C DC 33 78 */ mr r28, r6 +/* 800D01A4 000CD104 41 82 00 0C */ beq lbl_800D01B0 +/* 800D01A8 000CD108 38 60 00 00 */ li r3, 0 +/* 800D01AC 000CD10C 48 00 03 80 */ b lbl_800D052C +lbl_800D01B0: +/* 800D01B0 000CD110 4B F7 50 35 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D01B4 000CD114 7C 64 1B 78 */ mr r4, r3 +/* 800D01B8 000CD118 38 61 00 84 */ addi r3, r1, 0x84 +/* 800D01BC 000CD11C 48 26 DF A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D01C0 000CD120 7F 03 C3 78 */ mr r3, r24 +/* 800D01C4 000CD124 48 26 EA C1 */ bl ReadLong__12CInputStreamFv +/* 800D01C8 000CD128 7C 7E 1B 78 */ mr r30, r3 +/* 800D01CC 000CD12C 7F 04 C3 78 */ mr r4, r24 +/* 800D01D0 000CD130 38 61 00 CC */ addi r3, r1, 0xcc +/* 800D01D4 000CD134 48 00 A3 B9 */ bl LoadEditorTransform__FR12CInputStream +/* 800D01D8 000CD138 38 61 00 FC */ addi r3, r1, 0xfc +/* 800D01DC 000CD13C 38 81 00 CC */ addi r4, r1, 0xcc +/* 800D01E0 000CD140 48 24 29 95 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800D01E4 000CD144 7F 04 C3 78 */ mr r4, r24 +/* 800D01E8 000CD148 38 61 00 78 */ addi r3, r1, 0x78 +/* 800D01EC 000CD14C 48 24 49 A1 */ bl __ct__9CVector3fFR12CInputStream +/* 800D01F0 000CD150 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D01F4 000CD154 7F 04 C3 78 */ mr r4, r24 +/* 800D01F8 000CD158 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D01FC 000CD15C 38 61 00 70 */ addi r3, r1, 0x70 +/* 800D0200 000CD160 38 A5 01 08 */ addi r5, r5, 0x108 +/* 800D0204 000CD164 48 03 56 25 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D0208 000CD168 88 01 00 70 */ lbz r0, 0x70(r1) +/* 800D020C 000CD16C 80 A1 00 74 */ lwz r5, 0x74(r1) +/* 800D0210 000CD170 28 00 00 00 */ cmplwi r0, 0 +/* 800D0214 000CD174 40 82 00 14 */ bne lbl_800D0228 +/* 800D0218 000CD178 38 61 00 84 */ addi r3, r1, 0x84 +/* 800D021C 000CD17C 48 26 D8 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D0220 000CD180 38 60 00 00 */ li r3, 0 +/* 800D0224 000CD184 48 00 03 08 */ b lbl_800D052C +lbl_800D0228: +/* 800D0228 000CD188 7F 04 C3 78 */ mr r4, r24 +/* 800D022C 000CD18C 38 61 02 48 */ addi r3, r1, 0x248 +/* 800D0230 000CD190 48 03 56 49 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D0234 000CD194 7F 04 C3 78 */ mr r4, r24 +/* 800D0238 000CD198 38 61 01 78 */ addi r3, r1, 0x178 +/* 800D023C 000CD19C 48 00 9B 39 */ bl LoadActorParameters__FR12CInputStream +/* 800D0240 000CD1A0 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 800D0244 000CD1A4 38 81 01 78 */ addi r4, r1, 0x178 +/* 800D0248 000CD1A8 4B FF 53 D5 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D024C 000CD1AC 38 61 01 78 */ addi r3, r1, 0x178 +/* 800D0250 000CD1B0 38 80 FF FF */ li r4, -1 +/* 800D0254 000CD1B4 48 03 63 B5 */ bl __dt__16CActorParametersFv +/* 800D0258 000CD1B8 7F 03 C3 78 */ mr r3, r24 +/* 800D025C 000CD1BC 48 26 E9 CD */ bl ReadFloat__12CInputStreamFv +/* 800D0260 000CD1C0 FE C0 08 90 */ fmr f22, f1 +/* 800D0264 000CD1C4 7F 03 C3 78 */ mr r3, r24 +/* 800D0268 000CD1C8 48 26 E9 C1 */ bl ReadFloat__12CInputStreamFv +/* 800D026C 000CD1CC FE A0 08 90 */ fmr f21, f1 +/* 800D0270 000CD1D0 7F 03 C3 78 */ mr r3, r24 +/* 800D0274 000CD1D4 48 26 E9 B5 */ bl ReadFloat__12CInputStreamFv +/* 800D0278 000CD1D8 FE 80 08 90 */ fmr f20, f1 +/* 800D027C 000CD1DC 7F 03 C3 78 */ mr r3, r24 +/* 800D0280 000CD1E0 48 26 E9 A9 */ bl ReadFloat__12CInputStreamFv +/* 800D0284 000CD1E4 FE 60 08 90 */ fmr f19, f1 +/* 800D0288 000CD1E8 7F 03 C3 78 */ mr r3, r24 +/* 800D028C 000CD1EC 48 26 E9 9D */ bl ReadFloat__12CInputStreamFv +/* 800D0290 000CD1F0 FE 40 08 90 */ fmr f18, f1 +/* 800D0294 000CD1F4 7F 03 C3 78 */ mr r3, r24 +/* 800D0298 000CD1F8 48 26 E9 91 */ bl ReadFloat__12CInputStreamFv +/* 800D029C 000CD1FC FE 20 08 90 */ fmr f17, f1 +/* 800D02A0 000CD200 7F 03 C3 78 */ mr r3, r24 +/* 800D02A4 000CD204 48 26 E9 85 */ bl ReadFloat__12CInputStreamFv +/* 800D02A8 000CD208 FE 00 08 90 */ fmr f16, f1 +/* 800D02AC 000CD20C 7F 03 C3 78 */ mr r3, r24 +/* 800D02B0 000CD210 48 26 E9 79 */ bl ReadFloat__12CInputStreamFv +/* 800D02B4 000CD214 FD E0 08 90 */ fmr f15, f1 +/* 800D02B8 000CD218 7F 03 C3 78 */ mr r3, r24 +/* 800D02BC 000CD21C 48 26 E9 6D */ bl ReadFloat__12CInputStreamFv +/* 800D02C0 000CD220 FE E0 08 90 */ fmr f23, f1 +/* 800D02C4 000CD224 7F 03 C3 78 */ mr r3, r24 +/* 800D02C8 000CD228 48 26 E9 61 */ bl ReadFloat__12CInputStreamFv +/* 800D02CC 000CD22C FF 00 08 90 */ fmr f24, f1 +/* 800D02D0 000CD230 7F 03 C3 78 */ mr r3, r24 +/* 800D02D4 000CD234 48 26 E9 55 */ bl ReadFloat__12CInputStreamFv +/* 800D02D8 000CD238 FF 20 08 90 */ fmr f25, f1 +/* 800D02DC 000CD23C 7F 03 C3 78 */ mr r3, r24 +/* 800D02E0 000CD240 48 26 E9 49 */ bl ReadFloat__12CInputStreamFv +/* 800D02E4 000CD244 FF 40 08 90 */ fmr f26, f1 +/* 800D02E8 000CD248 7F 03 C3 78 */ mr r3, r24 +/* 800D02EC 000CD24C 48 26 E9 3D */ bl ReadFloat__12CInputStreamFv +/* 800D02F0 000CD250 FF 60 08 90 */ fmr f27, f1 +/* 800D02F4 000CD254 7F 03 C3 78 */ mr r3, r24 +/* 800D02F8 000CD258 48 26 E9 31 */ bl ReadFloat__12CInputStreamFv +/* 800D02FC 000CD25C FF 80 08 90 */ fmr f28, f1 +/* 800D0300 000CD260 7F 03 C3 78 */ mr r3, r24 +/* 800D0304 000CD264 48 26 E9 25 */ bl ReadFloat__12CInputStreamFv +/* 800D0308 000CD268 FF A0 08 90 */ fmr f29, f1 +/* 800D030C 000CD26C 7F 03 C3 78 */ mr r3, r24 +/* 800D0310 000CD270 48 26 E9 19 */ bl ReadFloat__12CInputStreamFv +/* 800D0314 000CD274 FF C0 08 90 */ fmr f30, f1 +/* 800D0318 000CD278 7F 03 C3 78 */ mr r3, r24 +/* 800D031C 000CD27C 48 26 E9 0D */ bl ReadFloat__12CInputStreamFv +/* 800D0320 000CD280 FF E0 08 90 */ fmr f31, f1 +/* 800D0324 000CD284 7F 03 C3 78 */ mr r3, r24 +/* 800D0328 000CD288 48 26 E9 B5 */ bl ReadBool__12CInputStreamFv +/* 800D032C 000CD28C 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D0330 000CD290 7C 7F 1B 78 */ mr r31, r3 +/* 800D0334 000CD294 80 81 03 34 */ lwz r4, 0x334(r1) +/* 800D0338 000CD298 38 65 00 04 */ addi r3, r5, 4 +/* 800D033C 000CD29C 48 26 B9 91 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D0340 000CD2A0 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800D0344 000CD2A4 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D0348 000CD2A8 41 82 00 20 */ beq lbl_800D0368 +/* 800D034C 000CD2AC 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 800D0350 000CD2B0 38 80 FF FF */ li r4, -1 +/* 800D0354 000CD2B4 48 03 62 B5 */ bl __dt__16CActorParametersFv +/* 800D0358 000CD2B8 38 61 00 84 */ addi r3, r1, 0x84 +/* 800D035C 000CD2BC 48 26 D7 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D0360 000CD2C0 38 60 00 00 */ li r3, 0 +/* 800D0364 000CD2C4 48 00 01 C8 */ b lbl_800D052C +lbl_800D0368: +/* 800D0368 000CD2C8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D036C 000CD2CC 3B 40 00 00 */ li r26, 0 +/* 800D0370 000CD2D0 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D0374 000CD2D4 38 60 07 48 */ li r3, 0x748 +/* 800D0378 000CD2D8 38 84 00 0D */ addi r4, r4, 0xd +/* 800D037C 000CD2DC 38 A0 00 00 */ li r5, 0 +/* 800D0380 000CD2E0 48 24 54 ED */ bl __nw__FUlPCcPCc +/* 800D0384 000CD2E4 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800D0388 000CD2E8 41 82 01 78 */ beq lbl_800D0500 +/* 800D038C 000CD2EC 39 40 00 00 */ li r10, 0 +/* 800D0390 000CD2F0 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 800D0394 000CD2F4 51 40 3E 30 */ rlwimi r0, r10, 7, 0x18, 0x18 +/* 800D0398 000CD2F8 C0 62 8E 28 */ lfs f3, lbl_805AAB48@sda21(r2) +/* 800D039C 000CD2FC 98 01 00 6C */ stb r0, 0x6c(r1) +/* 800D03A0 000CD300 54 00 06 3E */ clrlwi r0, r0, 0x18 +/* 800D03A4 000CD304 51 40 36 72 */ rlwimi r0, r10, 6, 0x19, 0x19 +/* 800D03A8 000CD308 89 01 00 C8 */ lbz r8, 0xc8(r1) +/* 800D03AC 000CD30C 80 E1 03 34 */ lwz r7, 0x334(r1) +/* 800D03B0 000CD310 54 09 06 3E */ clrlwi r9, r0, 0x18 +/* 800D03B4 000CD314 98 01 00 6C */ stb r0, 0x6c(r1) +/* 800D03B8 000CD318 51 49 2E B4 */ rlwimi r9, r10, 5, 0x1a, 0x1a +/* 800D03BC 000CD31C 80 C1 03 38 */ lwz r6, 0x338(r1) +/* 800D03C0 000CD320 51 48 3E 30 */ rlwimi r8, r10, 7, 0x18, 0x18 +/* 800D03C4 000CD324 C0 41 00 78 */ lfs f2, 0x78(r1) +/* 800D03C8 000CD328 38 A0 00 01 */ li r5, 1 +/* 800D03CC 000CD32C C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 800D03D0 000CD330 38 61 01 2C */ addi r3, r1, 0x12c +/* 800D03D4 000CD334 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 800D03D8 000CD338 38 81 00 94 */ addi r4, r1, 0x94 +/* 800D03DC 000CD33C 80 01 03 3C */ lwz r0, 0x33c(r1) +/* 800D03E0 000CD340 91 41 00 68 */ stw r10, 0x68(r1) +/* 800D03E4 000CD344 99 21 00 6C */ stb r9, 0x6c(r1) +/* 800D03E8 000CD348 91 41 00 B0 */ stw r10, 0xb0(r1) +/* 800D03EC 000CD34C 99 21 00 B4 */ stb r9, 0xb4(r1) +/* 800D03F0 000CD350 D0 61 00 B8 */ stfs f3, 0xb8(r1) +/* 800D03F4 000CD354 D0 61 00 BC */ stfs f3, 0xbc(r1) +/* 800D03F8 000CD358 D0 61 00 C0 */ stfs f3, 0xc0(r1) +/* 800D03FC 000CD35C D0 61 00 C4 */ stfs f3, 0xc4(r1) +/* 800D0400 000CD360 99 01 00 C8 */ stb r8, 0xc8(r1) +/* 800D0404 000CD364 90 E1 00 94 */ stw r7, 0x94(r1) +/* 800D0408 000CD368 90 C1 00 98 */ stw r6, 0x98(r1) +/* 800D040C 000CD36C D0 41 00 9C */ stfs f2, 0x9c(r1) +/* 800D0410 000CD370 D0 21 00 A0 */ stfs f1, 0xa0(r1) +/* 800D0414 000CD374 D0 01 00 A4 */ stfs f0, 0xa4(r1) +/* 800D0418 000CD378 98 A1 00 A8 */ stb r5, 0xa8(r1) +/* 800D041C 000CD37C 90 01 00 AC */ stw r0, 0xac(r1) +/* 800D0420 000CD380 48 04 67 35 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D0424 000CD384 7F 64 DB 78 */ mr r4, r27 +/* 800D0428 000CD388 38 61 00 60 */ addi r3, r1, 0x60 +/* 800D042C 000CD38C 3B 40 00 01 */ li r26, 1 +/* 800D0430 000CD390 4B F7 CC AD */ bl AllocateUniqueId__13CStateManagerFv +/* 800D0434 000CD394 A0 81 00 60 */ lhz r4, 0x60(r1) +/* 800D0438 000CD398 3C 60 80 57 */ lis r3, lbl_8056D578@ha +/* 800D043C 000CD39C 38 00 00 06 */ li r0, 6 +/* 800D0440 000CD3A0 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) +/* 800D0444 000CD3A4 B0 81 00 64 */ sth r4, 0x64(r1) +/* 800D0448 000CD3A8 3B 20 00 00 */ li r25, 0 +/* 800D044C 000CD3AC 3B 63 D5 78 */ addi r27, r3, lbl_8056D578@l +/* 800D0450 000CD3B0 39 81 00 B0 */ addi r12, r1, 0xb0 +/* 800D0454 000CD3B4 90 01 00 08 */ stw r0, 8(r1) +/* 800D0458 000CD3B8 39 60 FF FF */ li r11, -1 +/* 800D045C 000CD3BC A3 02 C5 FC */ lhz r24, lbl_805AE31C@sda21(r2) +/* 800D0460 000CD3C0 FC 20 B0 90 */ fmr f1, f22 +/* 800D0464 000CD3C4 D2 E1 00 0C */ stfs f23, 0xc(r1) +/* 800D0468 000CD3C8 FC 40 A8 90 */ fmr f2, f21 +/* 800D046C 000CD3CC FC 60 A0 90 */ fmr f3, f20 +/* 800D0470 000CD3D0 38 01 01 E0 */ addi r0, r1, 0x1e0 +/* 800D0474 000CD3D4 D3 01 00 10 */ stfs f24, 0x10(r1) +/* 800D0478 000CD3D8 FC 80 98 90 */ fmr f4, f19 +/* 800D047C 000CD3DC 7F A3 EB 78 */ mr r3, r29 +/* 800D0480 000CD3E0 D3 21 00 14 */ stfs f25, 0x14(r1) +/* 800D0484 000CD3E4 FC A0 90 90 */ fmr f5, f18 +/* 800D0488 000CD3E8 7F C6 F3 78 */ mr r6, r30 +/* 800D048C 000CD3EC D3 41 00 18 */ stfs f26, 0x18(r1) +/* 800D0490 000CD3F0 FC C0 88 90 */ fmr f6, f17 +/* 800D0494 000CD3F4 7F 87 E3 78 */ mr r7, r28 +/* 800D0498 000CD3F8 D3 61 00 1C */ stfs f27, 0x1c(r1) +/* 800D049C 000CD3FC FC E0 80 90 */ fmr f7, f16 +/* 800D04A0 000CD400 38 81 00 64 */ addi r4, r1, 0x64 +/* 800D04A4 000CD404 D3 81 00 20 */ stfs f28, 0x20(r1) +/* 800D04A8 000CD408 FD 00 78 90 */ fmr f8, f15 +/* 800D04AC 000CD40C 38 A1 00 84 */ addi r5, r1, 0x84 +/* 800D04B0 000CD410 D3 A1 00 24 */ stfs f29, 0x24(r1) +/* 800D04B4 000CD414 39 01 00 FC */ addi r8, r1, 0xfc +/* 800D04B8 000CD418 39 21 01 2C */ addi r9, r1, 0x12c +/* 800D04BC 000CD41C D3 C1 00 28 */ stfs f30, 0x28(r1) +/* 800D04C0 000CD420 39 41 02 48 */ addi r10, r1, 0x248 +/* 800D04C4 000CD424 D3 E1 00 2C */ stfs f31, 0x2c(r1) +/* 800D04C8 000CD428 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800D04CC 000CD42C 93 E1 00 34 */ stw r31, 0x34(r1) +/* 800D04D0 000CD430 93 21 00 38 */ stw r25, 0x38(r1) +/* 800D04D4 000CD434 93 61 00 3C */ stw r27, 0x3c(r1) +/* 800D04D8 000CD438 91 81 00 40 */ stw r12, 0x40(r1) +/* 800D04DC 000CD43C 93 01 00 44 */ stw r24, 0x44(r1) +/* 800D04E0 000CD440 93 01 00 48 */ stw r24, 0x48(r1) +/* 800D04E4 000CD444 93 01 00 4C */ stw r24, 0x4c(r1) +/* 800D04E8 000CD448 91 61 00 50 */ stw r11, 0x50(r1) +/* 800D04EC 000CD44C 91 61 00 54 */ stw r11, 0x54(r1) +/* 800D04F0 000CD450 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800D04F4 000CD454 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800D04F8 000CD458 48 08 9F 6D */ bl "__ct__9CParasiteF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfo9EBodyTypefffffffffffffffffbUiRC10Something1RC10Something2UsUsUsUiUifRC16CActorParameters" +/* 800D04FC 000CD45C 7C 7D 1B 78 */ mr r29, r3 +lbl_800D0500: +/* 800D0500 000CD460 7F 40 07 75 */ extsb. r0, r26 +/* 800D0504 000CD464 41 82 00 10 */ beq lbl_800D0514 +/* 800D0508 000CD468 38 61 01 2C */ addi r3, r1, 0x12c +/* 800D050C 000CD46C 38 80 FF FF */ li r4, -1 +/* 800D0510 000CD470 48 04 65 3D */ bl __dt__10CModelDataFv +lbl_800D0514: +/* 800D0514 000CD474 38 61 01 E0 */ addi r3, r1, 0x1e0 +/* 800D0518 000CD478 38 80 FF FF */ li r4, -1 +/* 800D051C 000CD47C 48 03 60 ED */ bl __dt__16CActorParametersFv +/* 800D0520 000CD480 38 61 00 84 */ addi r3, r1, 0x84 +/* 800D0524 000CD484 48 26 D5 BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D0528 000CD488 7F A3 EB 78 */ mr r3, r29 +lbl_800D052C: +/* 800D052C 000CD48C E3 E1 04 A8 */ psq_l f31, 1192(r1), 0, qr0 +/* 800D0530 000CD490 CB E1 04 A0 */ lfd f31, 0x4a0(r1) +/* 800D0534 000CD494 E3 C1 04 98 */ psq_l f30, 1176(r1), 0, qr0 +/* 800D0538 000CD498 CB C1 04 90 */ lfd f30, 0x490(r1) +/* 800D053C 000CD49C E3 A1 04 88 */ psq_l f29, 1160(r1), 0, qr0 +/* 800D0540 000CD4A0 CB A1 04 80 */ lfd f29, 0x480(r1) +/* 800D0544 000CD4A4 E3 81 04 78 */ psq_l f28, 1144(r1), 0, qr0 +/* 800D0548 000CD4A8 CB 81 04 70 */ lfd f28, 0x470(r1) +/* 800D054C 000CD4AC E3 61 04 68 */ psq_l f27, 1128(r1), 0, qr0 +/* 800D0550 000CD4B0 CB 61 04 60 */ lfd f27, 0x460(r1) +/* 800D0554 000CD4B4 E3 41 04 58 */ psq_l f26, 1112(r1), 0, qr0 +/* 800D0558 000CD4B8 CB 41 04 50 */ lfd f26, 0x450(r1) +/* 800D055C 000CD4BC E3 21 04 48 */ psq_l f25, 1096(r1), 0, qr0 +/* 800D0560 000CD4C0 CB 21 04 40 */ lfd f25, 0x440(r1) +/* 800D0564 000CD4C4 E3 01 04 38 */ psq_l f24, 1080(r1), 0, qr0 +/* 800D0568 000CD4C8 CB 01 04 30 */ lfd f24, 0x430(r1) +/* 800D056C 000CD4CC E2 E1 04 28 */ psq_l f23, 1064(r1), 0, qr0 +/* 800D0570 000CD4D0 CA E1 04 20 */ lfd f23, 0x420(r1) +/* 800D0574 000CD4D4 E2 C1 04 18 */ psq_l f22, 1048(r1), 0, qr0 +/* 800D0578 000CD4D8 CA C1 04 10 */ lfd f22, 0x410(r1) +/* 800D057C 000CD4DC E2 A1 04 08 */ psq_l f21, 1032(r1), 0, qr0 +/* 800D0580 000CD4E0 CA A1 04 00 */ lfd f21, 0x400(r1) +/* 800D0584 000CD4E4 E2 81 03 F8 */ psq_l f20, 1016(r1), 0, qr0 +/* 800D0588 000CD4E8 CA 81 03 F0 */ lfd f20, 0x3f0(r1) +/* 800D058C 000CD4EC E2 61 03 E8 */ psq_l f19, 1000(r1), 0, qr0 +/* 800D0590 000CD4F0 CA 61 03 E0 */ lfd f19, 0x3e0(r1) +/* 800D0594 000CD4F4 E2 41 03 D8 */ psq_l f18, 984(r1), 0, qr0 +/* 800D0598 000CD4F8 CA 41 03 D0 */ lfd f18, 0x3d0(r1) +/* 800D059C 000CD4FC E2 21 03 C8 */ psq_l f17, 968(r1), 0, qr0 +/* 800D05A0 000CD500 CA 21 03 C0 */ lfd f17, 0x3c0(r1) +/* 800D05A4 000CD504 E2 01 03 B8 */ psq_l f16, 952(r1), 0, qr0 +/* 800D05A8 000CD508 CA 01 03 B0 */ lfd f16, 0x3b0(r1) +/* 800D05AC 000CD50C E1 E1 03 A8 */ psq_l f15, 936(r1), 0, qr0 +/* 800D05B0 000CD510 C9 E1 03 A0 */ lfd f15, 0x3a0(r1) +/* 800D05B4 000CD514 BB 01 03 80 */ lmw r24, 0x380(r1) +/* 800D05B8 000CD518 80 01 04 B4 */ lwz r0, 0x4b4(r1) +/* 800D05BC 000CD51C 7C 08 03 A6 */ mtlr r0 +/* 800D05C0 000CD520 38 21 04 B0 */ addi r1, r1, 0x4b0 +/* 800D05C4 000CD524 4E 80 00 20 */ blr + +.global LoadFlaahgra__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadFlaahgra__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D05C8 000CD528 94 21 FB D0 */ stwu r1, -0x430(r1) +/* 800D05CC 000CD52C 7C 08 02 A6 */ mflr r0 +/* 800D05D0 000CD530 90 01 04 34 */ stw r0, 0x434(r1) +/* 800D05D4 000CD534 80 02 A8 98 */ lwz r0, lbl_805AC5B8@sda21(r2) +/* 800D05D8 000CD538 93 E1 04 2C */ stw r31, 0x42c(r1) +/* 800D05DC 000CD53C 7C DF 33 78 */ mr r31, r6 +/* 800D05E0 000CD540 93 C1 04 28 */ stw r30, 0x428(r1) +/* 800D05E4 000CD544 7C 7E 1B 78 */ mr r30, r3 +/* 800D05E8 000CD548 93 A1 04 24 */ stw r29, 0x424(r1) +/* 800D05EC 000CD54C 7C BD 2B 78 */ mr r29, r5 +/* 800D05F0 000CD550 7C 1D 00 00 */ cmpw r29, r0 +/* 800D05F4 000CD554 93 81 04 20 */ stw r28, 0x420(r1) +/* 800D05F8 000CD558 7C 9C 23 78 */ mr r28, r4 +/* 800D05FC 000CD55C 40 80 00 0C */ bge lbl_800D0608 +/* 800D0600 000CD560 38 60 00 00 */ li r3, 0 +/* 800D0604 000CD564 48 00 01 F0 */ b lbl_800D07F4 +lbl_800D0608: +/* 800D0608 000CD568 7F C5 F3 78 */ mr r5, r30 +/* 800D060C 000CD56C 38 61 01 34 */ addi r3, r1, 0x134 +/* 800D0610 000CD570 48 00 9E 6D */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D0614 000CD574 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D0618 000CD578 7F 84 E3 78 */ mr r4, r28 +/* 800D061C 000CD57C 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D0620 000CD580 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D0624 000CD584 38 A5 01 11 */ addi r5, r5, 0x111 +/* 800D0628 000CD588 48 03 52 01 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D062C 000CD58C 88 01 00 18 */ lbz r0, 0x18(r1) +/* 800D0630 000CD590 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800D0634 000CD594 28 00 00 00 */ cmplwi r0, 0 +/* 800D0638 000CD598 40 82 00 14 */ bne lbl_800D064C +/* 800D063C 000CD59C 38 61 01 34 */ addi r3, r1, 0x134 +/* 800D0640 000CD5A0 48 26 D4 A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D0644 000CD5A4 38 60 00 00 */ li r3, 0 +/* 800D0648 000CD5A8 48 00 01 AC */ b lbl_800D07F4 +lbl_800D064C: +/* 800D064C 000CD5AC 7F 84 E3 78 */ mr r4, r28 +/* 800D0650 000CD5B0 38 61 02 DC */ addi r3, r1, 0x2dc +/* 800D0654 000CD5B4 48 03 52 25 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D0658 000CD5B8 7F 84 E3 78 */ mr r4, r28 +/* 800D065C 000CD5BC 38 61 00 64 */ addi r3, r1, 0x64 +/* 800D0660 000CD5C0 48 00 97 15 */ bl LoadActorParameters__FR12CInputStream +/* 800D0664 000CD5C4 38 61 00 CC */ addi r3, r1, 0xcc +/* 800D0668 000CD5C8 38 81 00 64 */ addi r4, r1, 0x64 +/* 800D066C 000CD5CC 4B FF 4F B1 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D0670 000CD5D0 38 61 00 64 */ addi r3, r1, 0x64 +/* 800D0674 000CD5D4 38 80 FF FF */ li r4, -1 +/* 800D0678 000CD5D8 48 03 5F 91 */ bl __dt__16CActorParametersFv +/* 800D067C 000CD5DC 7F 84 E3 78 */ mr r4, r28 +/* 800D0680 000CD5E0 7F A5 EB 78 */ mr r5, r29 +/* 800D0684 000CD5E4 38 61 01 80 */ addi r3, r1, 0x180 +/* 800D0688 000CD5E8 48 0E 3B 51 */ bl __ct__13CFlaahgraDataFR12CInputStream +/* 800D068C 000CD5EC 80 81 03 C8 */ lwz r4, 0x3c8(r1) +/* 800D0690 000CD5F0 39 00 00 01 */ li r8, 1 +/* 800D0694 000CD5F4 80 61 03 CC */ lwz r3, 0x3cc(r1) +/* 800D0698 000CD5F8 3C 04 00 01 */ addis r0, r4, 1 +/* 800D069C 000CD5FC C0 41 01 74 */ lfs f2, 0x174(r1) +/* 800D06A0 000CD600 C0 21 01 78 */ lfs f1, 0x178(r1) +/* 800D06A4 000CD604 28 00 FF FF */ cmplwi r0, 0xffff +/* 800D06A8 000CD608 C0 01 01 7C */ lfs f0, 0x17c(r1) +/* 800D06AC 000CD60C 80 01 03 D0 */ lwz r0, 0x3d0(r1) +/* 800D06B0 000CD610 90 81 00 48 */ stw r4, 0x48(r1) +/* 800D06B4 000CD614 90 61 00 4C */ stw r3, 0x4c(r1) +/* 800D06B8 000CD618 D0 41 00 50 */ stfs f2, 0x50(r1) +/* 800D06BC 000CD61C D0 21 00 54 */ stfs f1, 0x54(r1) +/* 800D06C0 000CD620 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800D06C4 000CD624 99 01 00 5C */ stb r8, 0x5c(r1) +/* 800D06C8 000CD628 90 01 00 60 */ stw r0, 0x60(r1) +/* 800D06CC 000CD62C 40 82 00 60 */ bne lbl_800D072C +/* 800D06D0 000CD630 D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800D06D4 000CD634 80 E1 02 CC */ lwz r7, 0x2cc(r1) +/* 800D06D8 000CD638 80 C1 02 D0 */ lwz r6, 0x2d0(r1) +/* 800D06DC 000CD63C 80 A1 02 D4 */ lwz r5, 0x2d4(r1) +/* 800D06E0 000CD640 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800D06E4 000CD644 80 81 00 34 */ lwz r4, 0x34(r1) +/* 800D06E8 000CD648 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800D06EC 000CD64C 80 61 00 38 */ lwz r3, 0x38(r1) +/* 800D06F0 000CD650 80 01 00 3C */ lwz r0, 0x3c(r1) +/* 800D06F4 000CD654 90 E1 00 20 */ stw r7, 0x20(r1) +/* 800D06F8 000CD658 90 C1 00 24 */ stw r6, 0x24(r1) +/* 800D06FC 000CD65C 90 A1 00 28 */ stw r5, 0x28(r1) +/* 800D0700 000CD660 90 E1 00 2C */ stw r7, 0x2c(r1) +/* 800D0704 000CD664 90 C1 00 30 */ stw r6, 0x30(r1) +/* 800D0708 000CD668 99 01 00 40 */ stb r8, 0x40(r1) +/* 800D070C 000CD66C 90 A1 00 44 */ stw r5, 0x44(r1) +/* 800D0710 000CD670 90 E1 00 48 */ stw r7, 0x48(r1) +/* 800D0714 000CD674 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 800D0718 000CD678 90 81 00 50 */ stw r4, 0x50(r1) +/* 800D071C 000CD67C 90 61 00 54 */ stw r3, 0x54(r1) +/* 800D0720 000CD680 90 01 00 58 */ stw r0, 0x58(r1) +/* 800D0724 000CD684 99 01 00 5C */ stb r8, 0x5c(r1) +/* 800D0728 000CD688 90 A1 00 60 */ stw r5, 0x60(r1) +lbl_800D072C: +/* 800D072C 000CD68C 80 61 00 48 */ lwz r3, 0x48(r1) +/* 800D0730 000CD690 3C 03 00 01 */ addis r0, r3, 1 +/* 800D0734 000CD694 28 00 FF FF */ cmplwi r0, 0xffff +/* 800D0738 000CD698 40 82 00 30 */ bne lbl_800D0768 +/* 800D073C 000CD69C 34 61 02 58 */ addic. r3, r1, 0x258 +/* 800D0740 000CD6A0 41 82 00 0C */ beq lbl_800D074C +/* 800D0744 000CD6A4 38 80 FF FF */ li r4, -1 +/* 800D0748 000CD6A8 48 03 5E C1 */ bl __dt__16CActorParametersFv +lbl_800D074C: +/* 800D074C 000CD6AC 38 61 00 CC */ addi r3, r1, 0xcc +/* 800D0750 000CD6B0 38 80 FF FF */ li r4, -1 +/* 800D0754 000CD6B4 48 03 5E B5 */ bl __dt__16CActorParametersFv +/* 800D0758 000CD6B8 38 61 01 34 */ addi r3, r1, 0x134 +/* 800D075C 000CD6BC 48 26 D3 85 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D0760 000CD6C0 38 60 00 00 */ li r3, 0 +/* 800D0764 000CD6C4 48 00 00 90 */ b lbl_800D07F4 +lbl_800D0768: +/* 800D0768 000CD6C8 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D076C 000CD6CC 38 60 08 E8 */ li r3, 0x8e8 +/* 800D0770 000CD6D0 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D0774 000CD6D4 38 A0 00 00 */ li r5, 0 +/* 800D0778 000CD6D8 38 84 00 0D */ addi r4, r4, 0xd +/* 800D077C 000CD6DC 48 24 50 F1 */ bl __nw__FUlPCcPCc +/* 800D0780 000CD6E0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800D0784 000CD6E4 41 82 00 48 */ beq lbl_800D07CC +/* 800D0788 000CD6E8 7F C4 F3 78 */ mr r4, r30 +/* 800D078C 000CD6EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D0790 000CD6F0 4B F7 C9 4D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D0794 000CD6F4 A0 81 00 10 */ lhz r4, 0x10(r1) +/* 800D0798 000CD6F8 38 01 01 80 */ addi r0, r1, 0x180 +/* 800D079C 000CD6FC 7F A3 EB 78 */ mr r3, r29 +/* 800D07A0 000CD700 7F E6 FB 78 */ mr r6, r31 +/* 800D07A4 000CD704 B0 81 00 14 */ sth r4, 0x14(r1) +/* 800D07A8 000CD708 38 81 00 14 */ addi r4, r1, 0x14 +/* 800D07AC 000CD70C 38 A1 01 34 */ addi r5, r1, 0x134 +/* 800D07B0 000CD710 38 E1 01 44 */ addi r7, r1, 0x144 +/* 800D07B4 000CD714 90 01 00 08 */ stw r0, 8(r1) +/* 800D07B8 000CD718 39 01 00 48 */ addi r8, r1, 0x48 +/* 800D07BC 000CD71C 39 21 02 DC */ addi r9, r1, 0x2dc +/* 800D07C0 000CD720 39 41 00 CC */ addi r10, r1, 0xcc +/* 800D07C4 000CD724 48 0E 32 0D */ bl "__ct__9CFlaahgraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersRC13CFlaahgraData" +/* 800D07C8 000CD728 7C 7D 1B 78 */ mr r29, r3 +lbl_800D07CC: +/* 800D07CC 000CD72C 34 61 02 58 */ addic. r3, r1, 0x258 +/* 800D07D0 000CD730 41 82 00 0C */ beq lbl_800D07DC +/* 800D07D4 000CD734 38 80 FF FF */ li r4, -1 +/* 800D07D8 000CD738 48 03 5E 31 */ bl __dt__16CActorParametersFv +lbl_800D07DC: +/* 800D07DC 000CD73C 38 61 00 CC */ addi r3, r1, 0xcc +/* 800D07E0 000CD740 38 80 FF FF */ li r4, -1 +/* 800D07E4 000CD744 48 03 5E 25 */ bl __dt__16CActorParametersFv +/* 800D07E8 000CD748 38 61 01 34 */ addi r3, r1, 0x134 +/* 800D07EC 000CD74C 48 26 D2 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D07F0 000CD750 7F A3 EB 78 */ mr r3, r29 +lbl_800D07F4: +/* 800D07F4 000CD754 80 01 04 34 */ lwz r0, 0x434(r1) +/* 800D07F8 000CD758 83 E1 04 2C */ lwz r31, 0x42c(r1) +/* 800D07FC 000CD75C 83 C1 04 28 */ lwz r30, 0x428(r1) +/* 800D0800 000CD760 83 A1 04 24 */ lwz r29, 0x424(r1) +/* 800D0804 000CD764 83 81 04 20 */ lwz r28, 0x420(r1) +/* 800D0808 000CD768 7C 08 03 A6 */ mtlr r0 +/* 800D080C 000CD76C 38 21 04 30 */ addi r1, r1, 0x430 +/* 800D0810 000CD770 4E 80 00 20 */ blr + +.global LoadNewIntroBoss__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadNewIntroBoss__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D0814 000CD774 94 21 FC C0 */ stwu r1, -0x340(r1) +/* 800D0818 000CD778 7C 08 02 A6 */ mflr r0 +/* 800D081C 000CD77C 90 01 03 44 */ stw r0, 0x344(r1) +/* 800D0820 000CD780 DB E1 03 30 */ stfd f31, 0x330(r1) +/* 800D0824 000CD784 F3 E1 03 38 */ psq_st f31, 824(r1), 0, qr0 +/* 800D0828 000CD788 BE E1 03 0C */ stmw r23, 0x30c(r1) +/* 800D082C 000CD78C 2C 05 00 0D */ cmpwi r5, 0xd +/* 800D0830 000CD790 7C 79 1B 78 */ mr r25, r3 +/* 800D0834 000CD794 7C 98 23 78 */ mr r24, r4 +/* 800D0838 000CD798 7C DA 33 78 */ mr r26, r6 +/* 800D083C 000CD79C 41 82 00 0C */ beq lbl_800D0848 +/* 800D0840 000CD7A0 38 60 00 00 */ li r3, 0 +/* 800D0844 000CD7A4 48 00 01 EC */ b lbl_800D0A30 +lbl_800D0848: +/* 800D0848 000CD7A8 7F 25 CB 78 */ mr r5, r25 +/* 800D084C 000CD7AC 38 61 01 84 */ addi r3, r1, 0x184 +/* 800D0850 000CD7B0 48 00 9C 2D */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D0854 000CD7B4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D0858 000CD7B8 7F 04 C3 78 */ mr r4, r24 +/* 800D085C 000CD7BC 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D0860 000CD7C0 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D0864 000CD7C4 38 A5 01 1A */ addi r5, r5, 0x11a +/* 800D0868 000CD7C8 48 03 4F C1 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D086C 000CD7CC 88 01 00 28 */ lbz r0, 0x28(r1) +/* 800D0870 000CD7D0 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 800D0874 000CD7D4 28 00 00 00 */ cmplwi r0, 0 +/* 800D0878 000CD7D8 40 82 00 14 */ bne lbl_800D088C +/* 800D087C 000CD7DC 38 61 01 84 */ addi r3, r1, 0x184 +/* 800D0880 000CD7E0 48 26 D2 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D0884 000CD7E4 38 60 00 00 */ li r3, 0 +/* 800D0888 000CD7E8 48 00 01 A8 */ b lbl_800D0A30 +lbl_800D088C: +/* 800D088C 000CD7EC 7F 04 C3 78 */ mr r4, r24 +/* 800D0890 000CD7F0 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 800D0894 000CD7F4 48 03 4F E5 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D0898 000CD7F8 7F 04 C3 78 */ mr r4, r24 +/* 800D089C 000CD7FC 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800D08A0 000CD800 48 00 94 D5 */ bl LoadActorParameters__FR12CInputStream +/* 800D08A4 000CD804 38 61 01 1C */ addi r3, r1, 0x11c +/* 800D08A8 000CD808 38 81 00 B4 */ addi r4, r1, 0xb4 +/* 800D08AC 000CD80C 4B FF 4D 71 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D08B0 000CD810 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800D08B4 000CD814 38 80 FF FF */ li r4, -1 +/* 800D08B8 000CD818 48 03 5D 51 */ bl __dt__16CActorParametersFv +/* 800D08BC 000CD81C 7F 03 C3 78 */ mr r3, r24 +/* 800D08C0 000CD820 48 26 E3 69 */ bl ReadFloat__12CInputStreamFv +/* 800D08C4 000CD824 FF E0 08 90 */ fmr f31, f1 +/* 800D08C8 000CD828 7F 03 C3 78 */ mr r3, r24 +/* 800D08CC 000CD82C 48 26 E3 B9 */ bl ReadLong__12CInputStreamFv +/* 800D08D0 000CD830 7C 7B 1B 78 */ mr r27, r3 +/* 800D08D4 000CD834 7F 04 C3 78 */ mr r4, r24 +/* 800D08D8 000CD838 38 61 00 4C */ addi r3, r1, 0x4c +/* 800D08DC 000CD83C 4B FF 2C 85 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D08E0 000CD840 7F 03 C3 78 */ mr r3, r24 +/* 800D08E4 000CD844 48 26 E3 A1 */ bl ReadLong__12CInputStreamFv +/* 800D08E8 000CD848 7C 7C 1B 78 */ mr r28, r3 +/* 800D08EC 000CD84C 7F 03 C3 78 */ mr r3, r24 +/* 800D08F0 000CD850 48 26 E3 95 */ bl ReadLong__12CInputStreamFv +/* 800D08F4 000CD854 7C 7D 1B 78 */ mr r29, r3 +/* 800D08F8 000CD858 7F 03 C3 78 */ mr r3, r24 +/* 800D08FC 000CD85C 48 26 E3 89 */ bl ReadLong__12CInputStreamFv +/* 800D0900 000CD860 7C 7E 1B 78 */ mr r30, r3 +/* 800D0904 000CD864 7F 03 C3 78 */ mr r3, r24 +/* 800D0908 000CD868 48 26 E3 7D */ bl ReadLong__12CInputStreamFv +/* 800D090C 000CD86C 80 81 02 BC */ lwz r4, 0x2bc(r1) +/* 800D0910 000CD870 7C 7F 1B 78 */ mr r31, r3 +/* 800D0914 000CD874 3C 04 00 01 */ addis r0, r4, 1 +/* 800D0918 000CD878 28 00 FF FF */ cmplwi r0, 0xffff +/* 800D091C 000CD87C 40 82 00 20 */ bne lbl_800D093C +/* 800D0920 000CD880 38 61 01 1C */ addi r3, r1, 0x11c +/* 800D0924 000CD884 38 80 FF FF */ li r4, -1 +/* 800D0928 000CD888 48 03 5C E1 */ bl __dt__16CActorParametersFv +/* 800D092C 000CD88C 38 61 01 84 */ addi r3, r1, 0x184 +/* 800D0930 000CD890 48 26 D1 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D0934 000CD894 38 60 00 00 */ li r3, 0 +/* 800D0938 000CD898 48 00 00 F8 */ b lbl_800D0A30 +lbl_800D093C: +/* 800D093C 000CD89C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D0940 000CD8A0 3A E0 00 00 */ li r23, 0 +/* 800D0944 000CD8A4 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D0948 000CD8A8 38 60 06 80 */ li r3, 0x680 +/* 800D094C 000CD8AC 38 84 00 0D */ addi r4, r4, 0xd +/* 800D0950 000CD8B0 38 A0 00 00 */ li r5, 0 +/* 800D0954 000CD8B4 48 24 4F 19 */ bl __nw__FUlPCcPCc +/* 800D0958 000CD8B8 7C 78 1B 79 */ or. r24, r3, r3 +/* 800D095C 000CD8BC 41 82 00 A8 */ beq lbl_800D0A04 +/* 800D0960 000CD8C0 80 E1 02 BC */ lwz r7, 0x2bc(r1) +/* 800D0964 000CD8C4 38 A0 00 01 */ li r5, 1 +/* 800D0968 000CD8C8 80 C1 02 C0 */ lwz r6, 0x2c0(r1) +/* 800D096C 000CD8CC 38 61 00 68 */ addi r3, r1, 0x68 +/* 800D0970 000CD8D0 C0 41 01 C4 */ lfs f2, 0x1c4(r1) +/* 800D0974 000CD8D4 38 81 00 30 */ addi r4, r1, 0x30 +/* 800D0978 000CD8D8 C0 21 01 C8 */ lfs f1, 0x1c8(r1) +/* 800D097C 000CD8DC C0 01 01 CC */ lfs f0, 0x1cc(r1) +/* 800D0980 000CD8E0 80 01 02 C4 */ lwz r0, 0x2c4(r1) +/* 800D0984 000CD8E4 90 E1 00 30 */ stw r7, 0x30(r1) +/* 800D0988 000CD8E8 90 C1 00 34 */ stw r6, 0x34(r1) +/* 800D098C 000CD8EC D0 41 00 38 */ stfs f2, 0x38(r1) +/* 800D0990 000CD8F0 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800D0994 000CD8F4 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800D0998 000CD8F8 98 A1 00 44 */ stb r5, 0x44(r1) +/* 800D099C 000CD8FC 90 01 00 48 */ stw r0, 0x48(r1) +/* 800D09A0 000CD900 48 04 61 B5 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D09A4 000CD904 7F 24 CB 78 */ mr r4, r25 +/* 800D09A8 000CD908 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D09AC 000CD90C 3A E0 00 01 */ li r23, 1 +/* 800D09B0 000CD910 4B F7 C7 2D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D09B4 000CD914 A0 81 00 20 */ lhz r4, 0x20(r1) +/* 800D09B8 000CD918 38 01 00 4C */ addi r0, r1, 0x4c +/* 800D09BC 000CD91C FC 20 F8 90 */ fmr f1, f31 +/* 800D09C0 000CD920 7F 03 C3 78 */ mr r3, r24 +/* 800D09C4 000CD924 B0 81 00 24 */ sth r4, 0x24(r1) +/* 800D09C8 000CD928 7F 46 D3 78 */ mr r6, r26 +/* 800D09CC 000CD92C 38 81 00 24 */ addi r4, r1, 0x24 +/* 800D09D0 000CD930 38 A1 01 84 */ addi r5, r1, 0x184 +/* 800D09D4 000CD934 93 61 00 08 */ stw r27, 8(r1) +/* 800D09D8 000CD938 38 E1 01 94 */ addi r7, r1, 0x194 +/* 800D09DC 000CD93C 39 01 00 68 */ addi r8, r1, 0x68 +/* 800D09E0 000CD940 39 21 01 D0 */ addi r9, r1, 0x1d0 +/* 800D09E4 000CD944 90 01 00 0C */ stw r0, 0xc(r1) +/* 800D09E8 000CD948 39 41 01 1C */ addi r10, r1, 0x11c +/* 800D09EC 000CD94C 93 81 00 10 */ stw r28, 0x10(r1) +/* 800D09F0 000CD950 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800D09F4 000CD954 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800D09F8 000CD958 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800D09FC 000CD95C 48 0B B4 85 */ bl "__ct__13CNewIntroBossF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersfUiRC11CDamageInfoUiUiUiUi" +/* 800D0A00 000CD960 7C 78 1B 78 */ mr r24, r3 +lbl_800D0A04: +/* 800D0A04 000CD964 7E E0 07 75 */ extsb. r0, r23 +/* 800D0A08 000CD968 41 82 00 10 */ beq lbl_800D0A18 +/* 800D0A0C 000CD96C 38 61 00 68 */ addi r3, r1, 0x68 +/* 800D0A10 000CD970 38 80 FF FF */ li r4, -1 +/* 800D0A14 000CD974 48 04 60 39 */ bl __dt__10CModelDataFv +lbl_800D0A18: +/* 800D0A18 000CD978 38 61 01 1C */ addi r3, r1, 0x11c +/* 800D0A1C 000CD97C 38 80 FF FF */ li r4, -1 +/* 800D0A20 000CD980 48 03 5B E9 */ bl __dt__16CActorParametersFv +/* 800D0A24 000CD984 38 61 01 84 */ addi r3, r1, 0x184 +/* 800D0A28 000CD988 48 26 D0 B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D0A2C 000CD98C 7F 03 C3 78 */ mr r3, r24 +lbl_800D0A30: +/* 800D0A30 000CD990 E3 E1 03 38 */ psq_l f31, 824(r1), 0, qr0 +/* 800D0A34 000CD994 CB E1 03 30 */ lfd f31, 0x330(r1) +/* 800D0A38 000CD998 BA E1 03 0C */ lmw r23, 0x30c(r1) +/* 800D0A3C 000CD99C 80 01 03 44 */ lwz r0, 0x344(r1) +/* 800D0A40 000CD9A0 7C 08 03 A6 */ mtlr r0 +/* 800D0A44 000CD9A4 38 21 03 40 */ addi r1, r1, 0x340 +/* 800D0A48 000CD9A8 4E 80 00 20 */ blr + +.global LoadMetaree__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadMetaree__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D0A4C 000CD9AC 94 21 FC 70 */ stwu r1, -0x390(r1) +/* 800D0A50 000CD9B0 7C 08 02 A6 */ mflr r0 +/* 800D0A54 000CD9B4 90 01 03 94 */ stw r0, 0x394(r1) +/* 800D0A58 000CD9B8 DB E1 03 80 */ stfd f31, 0x380(r1) +/* 800D0A5C 000CD9BC F3 E1 03 88 */ psq_st f31, 904(r1), 0, qr0 +/* 800D0A60 000CD9C0 DB C1 03 70 */ stfd f30, 0x370(r1) +/* 800D0A64 000CD9C4 F3 C1 03 78 */ psq_st f30, 888(r1), 0, qr0 +/* 800D0A68 000CD9C8 DB A1 03 60 */ stfd f29, 0x360(r1) +/* 800D0A6C 000CD9CC F3 A1 03 68 */ psq_st f29, 872(r1), 0, qr0 +/* 800D0A70 000CD9D0 DB 81 03 50 */ stfd f28, 0x350(r1) +/* 800D0A74 000CD9D4 F3 81 03 58 */ psq_st f28, 856(r1), 0, qr0 +/* 800D0A78 000CD9D8 93 E1 03 4C */ stw r31, 0x34c(r1) +/* 800D0A7C 000CD9DC 93 C1 03 48 */ stw r30, 0x348(r1) +/* 800D0A80 000CD9E0 93 A1 03 44 */ stw r29, 0x344(r1) +/* 800D0A84 000CD9E4 93 81 03 40 */ stw r28, 0x340(r1) +/* 800D0A88 000CD9E8 2C 05 00 0C */ cmpwi r5, 0xc +/* 800D0A8C 000CD9EC 7C 7E 1B 78 */ mr r30, r3 +/* 800D0A90 000CD9F0 7C 9D 23 78 */ mr r29, r4 +/* 800D0A94 000CD9F4 7C DF 33 78 */ mr r31, r6 +/* 800D0A98 000CD9F8 41 82 00 0C */ beq lbl_800D0AA4 +/* 800D0A9C 000CD9FC 38 60 00 00 */ li r3, 0 +/* 800D0AA0 000CDA00 48 00 02 24 */ b lbl_800D0CC4 +lbl_800D0AA4: +/* 800D0AA4 000CDA04 4B F7 47 41 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D0AA8 000CDA08 7C 64 1B 78 */ mr r4, r3 +/* 800D0AAC 000CDA0C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D0AB0 000CDA10 48 26 D6 B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D0AB4 000CDA14 7F A4 EB 78 */ mr r4, r29 +/* 800D0AB8 000CDA18 38 61 00 88 */ addi r3, r1, 0x88 +/* 800D0ABC 000CDA1C 48 00 9A D1 */ bl LoadEditorTransform__FR12CInputStream +/* 800D0AC0 000CDA20 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800D0AC4 000CDA24 38 81 00 88 */ addi r4, r1, 0x88 +/* 800D0AC8 000CDA28 48 24 20 AD */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800D0ACC 000CDA2C 7F A4 EB 78 */ mr r4, r29 +/* 800D0AD0 000CDA30 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D0AD4 000CDA34 48 24 40 B9 */ bl __ct__9CVector3fFR12CInputStream +/* 800D0AD8 000CDA38 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D0ADC 000CDA3C 7F A4 EB 78 */ mr r4, r29 +/* 800D0AE0 000CDA40 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D0AE4 000CDA44 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D0AE8 000CDA48 38 A5 01 27 */ addi r5, r5, 0x127 +/* 800D0AEC 000CDA4C 48 03 4D 3D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D0AF0 000CDA50 88 01 00 20 */ lbz r0, 0x20(r1) +/* 800D0AF4 000CDA54 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 800D0AF8 000CDA58 28 00 00 00 */ cmplwi r0, 0 +/* 800D0AFC 000CDA5C 40 82 00 14 */ bne lbl_800D0B10 +/* 800D0B00 000CDA60 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D0B04 000CDA64 48 26 CF DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D0B08 000CDA68 38 60 00 00 */ li r3, 0 +/* 800D0B0C 000CDA6C 48 00 01 B8 */ b lbl_800D0CC4 +lbl_800D0B10: +/* 800D0B10 000CDA70 7F A4 EB 78 */ mr r4, r29 +/* 800D0B14 000CDA74 38 61 02 04 */ addi r3, r1, 0x204 +/* 800D0B18 000CDA78 48 03 4D 61 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D0B1C 000CDA7C 7F A4 EB 78 */ mr r4, r29 +/* 800D0B20 000CDA80 38 61 01 34 */ addi r3, r1, 0x134 +/* 800D0B24 000CDA84 48 00 92 51 */ bl LoadActorParameters__FR12CInputStream +/* 800D0B28 000CDA88 38 61 01 9C */ addi r3, r1, 0x19c +/* 800D0B2C 000CDA8C 38 81 01 34 */ addi r4, r1, 0x134 +/* 800D0B30 000CDA90 4B FF 4A ED */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D0B34 000CDA94 38 61 01 34 */ addi r3, r1, 0x134 +/* 800D0B38 000CDA98 38 80 FF FF */ li r4, -1 +/* 800D0B3C 000CDA9C 48 03 5A CD */ bl __dt__16CActorParametersFv +/* 800D0B40 000CDAA0 7F A4 EB 78 */ mr r4, r29 +/* 800D0B44 000CDAA4 38 61 00 6C */ addi r3, r1, 0x6c +/* 800D0B48 000CDAA8 4B FF 2A 19 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D0B4C 000CDAAC 7F A3 EB 78 */ mr r3, r29 +/* 800D0B50 000CDAB0 48 26 E0 D9 */ bl ReadFloat__12CInputStreamFv +/* 800D0B54 000CDAB4 FF E0 08 90 */ fmr f31, f1 +/* 800D0B58 000CDAB8 7F A4 EB 78 */ mr r4, r29 +/* 800D0B5C 000CDABC 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D0B60 000CDAC0 48 24 40 2D */ bl __ct__9CVector3fFR12CInputStream +/* 800D0B64 000CDAC4 7F A3 EB 78 */ mr r3, r29 +/* 800D0B68 000CDAC8 48 26 E0 C1 */ bl ReadFloat__12CInputStreamFv +/* 800D0B6C 000CDACC FF C0 08 90 */ fmr f30, f1 +/* 800D0B70 000CDAD0 7F A3 EB 78 */ mr r3, r29 +/* 800D0B74 000CDAD4 48 26 E0 B5 */ bl ReadFloat__12CInputStreamFv +/* 800D0B78 000CDAD8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800D0B7C 000CDADC FF A0 08 90 */ fmr f29, f1 +/* 800D0B80 000CDAE0 80 81 02 F0 */ lwz r4, 0x2f0(r1) +/* 800D0B84 000CDAE4 38 63 00 04 */ addi r3, r3, 4 +/* 800D0B88 000CDAE8 48 26 B1 45 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D0B8C 000CDAEC 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800D0B90 000CDAF0 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D0B94 000CDAF4 41 82 00 20 */ beq lbl_800D0BB4 +/* 800D0B98 000CDAF8 38 61 01 9C */ addi r3, r1, 0x19c +/* 800D0B9C 000CDAFC 38 80 FF FF */ li r4, -1 +/* 800D0BA0 000CDB00 48 03 5A 69 */ bl __dt__16CActorParametersFv +/* 800D0BA4 000CDB04 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D0BA8 000CDB08 48 26 CF 39 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D0BAC 000CDB0C 38 60 00 00 */ li r3, 0 +/* 800D0BB0 000CDB10 48 00 01 14 */ b lbl_800D0CC4 +lbl_800D0BB4: +/* 800D0BB4 000CDB14 7F A3 EB 78 */ mr r3, r29 +/* 800D0BB8 000CDB18 48 26 E0 71 */ bl ReadFloat__12CInputStreamFv +/* 800D0BBC 000CDB1C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D0BC0 000CDB20 FF 80 08 90 */ fmr f28, f1 +/* 800D0BC4 000CDB24 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800D0BC8 000CDB28 3B 80 00 00 */ li r28, 0 +/* 800D0BCC 000CDB2C 38 83 00 0D */ addi r4, r3, 0xd +/* 800D0BD0 000CDB30 38 A0 00 00 */ li r5, 0 +/* 800D0BD4 000CDB34 38 60 05 D0 */ li r3, 0x5d0 +/* 800D0BD8 000CDB38 48 24 4C 95 */ bl __nw__FUlPCcPCc +/* 800D0BDC 000CDB3C 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800D0BE0 000CDB40 41 82 00 B8 */ beq lbl_800D0C98 +/* 800D0BE4 000CDB44 80 E1 02 F0 */ lwz r7, 0x2f0(r1) +/* 800D0BE8 000CDB48 38 A0 00 01 */ li r5, 1 +/* 800D0BEC 000CDB4C 80 C1 02 F4 */ lwz r6, 0x2f4(r1) +/* 800D0BF0 000CDB50 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800D0BF4 000CDB54 C0 41 00 34 */ lfs f2, 0x34(r1) +/* 800D0BF8 000CDB58 38 81 00 50 */ addi r4, r1, 0x50 +/* 800D0BFC 000CDB5C C0 21 00 38 */ lfs f1, 0x38(r1) +/* 800D0C00 000CDB60 C0 01 00 3C */ lfs f0, 0x3c(r1) +/* 800D0C04 000CDB64 80 01 02 F8 */ lwz r0, 0x2f8(r1) +/* 800D0C08 000CDB68 90 E1 00 50 */ stw r7, 0x50(r1) +/* 800D0C0C 000CDB6C 90 C1 00 54 */ stw r6, 0x54(r1) +/* 800D0C10 000CDB70 D0 41 00 58 */ stfs f2, 0x58(r1) +/* 800D0C14 000CDB74 D0 21 00 5C */ stfs f1, 0x5c(r1) +/* 800D0C18 000CDB78 D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800D0C1C 000CDB7C 98 A1 00 64 */ stb r5, 0x64(r1) +/* 800D0C20 000CDB80 90 01 00 68 */ stw r0, 0x68(r1) +/* 800D0C24 000CDB84 48 04 5F 31 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D0C28 000CDB88 7F C4 F3 78 */ mr r4, r30 +/* 800D0C2C 000CDB8C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D0C30 000CDB90 3B 80 00 01 */ li r28, 1 +/* 800D0C34 000CDB94 4B F7 C4 A9 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D0C38 000CDB98 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 800D0C3C 000CDB9C 38 A1 00 6C */ addi r5, r1, 0x6c +/* 800D0C40 000CDBA0 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D0C44 000CDBA4 38 80 00 00 */ li r4, 0 +/* 800D0C48 000CDBA8 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800D0C4C 000CDBAC FC 20 F8 90 */ fmr f1, f31 +/* 800D0C50 000CDBB0 FC 40 F0 90 */ fmr f2, f30 +/* 800D0C54 000CDBB4 38 01 01 9C */ addi r0, r1, 0x19c +/* 800D0C58 000CDBB8 90 A1 00 08 */ stw r5, 8(r1) +/* 800D0C5C 000CDBBC FC 60 E8 90 */ fmr f3, f29 +/* 800D0C60 000CDBC0 FC 80 E0 90 */ fmr f4, f28 +/* 800D0C64 000CDBC4 90 61 00 0C */ stw r3, 0xc(r1) +/* 800D0C68 000CDBC8 7F A3 EB 78 */ mr r3, r29 +/* 800D0C6C 000CDBCC 7F E7 FB 78 */ mr r7, r31 +/* 800D0C70 000CDBD0 90 81 00 10 */ stw r4, 0x10(r1) +/* 800D0C74 000CDBD4 38 81 00 1C */ addi r4, r1, 0x1c +/* 800D0C78 000CDBD8 38 A1 00 40 */ addi r5, r1, 0x40 +/* 800D0C7C 000CDBDC 39 01 00 B8 */ addi r8, r1, 0xb8 +/* 800D0C80 000CDBE0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800D0C84 000CDBE4 39 21 00 E8 */ addi r9, r1, 0xe8 +/* 800D0C88 000CDBE8 39 41 02 04 */ addi r10, r1, 0x204 +/* 800D0C8C 000CDBEC 38 C0 00 00 */ li r6, 0 +/* 800D0C90 000CDBF0 48 07 E0 F5 */ bl "__ct__8CMetareeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC11CDamageInfofRC9CVector3ff9EBodyTypeffRC16CActorParameters" +/* 800D0C94 000CDBF4 7C 7D 1B 78 */ mr r29, r3 +lbl_800D0C98: +/* 800D0C98 000CDBF8 7F 80 07 75 */ extsb. r0, r28 +/* 800D0C9C 000CDBFC 41 82 00 10 */ beq lbl_800D0CAC +/* 800D0CA0 000CDC00 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800D0CA4 000CDC04 38 80 FF FF */ li r4, -1 +/* 800D0CA8 000CDC08 48 04 5D A5 */ bl __dt__10CModelDataFv +lbl_800D0CAC: +/* 800D0CAC 000CDC0C 38 61 01 9C */ addi r3, r1, 0x19c +/* 800D0CB0 000CDC10 38 80 FF FF */ li r4, -1 +/* 800D0CB4 000CDC14 48 03 59 55 */ bl __dt__16CActorParametersFv +/* 800D0CB8 000CDC18 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D0CBC 000CDC1C 48 26 CE 25 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D0CC0 000CDC20 7F A3 EB 78 */ mr r3, r29 +lbl_800D0CC4: +/* 800D0CC4 000CDC24 E3 E1 03 88 */ psq_l f31, 904(r1), 0, qr0 +/* 800D0CC8 000CDC28 CB E1 03 80 */ lfd f31, 0x380(r1) +/* 800D0CCC 000CDC2C E3 C1 03 78 */ psq_l f30, 888(r1), 0, qr0 +/* 800D0CD0 000CDC30 CB C1 03 70 */ lfd f30, 0x370(r1) +/* 800D0CD4 000CDC34 E3 A1 03 68 */ psq_l f29, 872(r1), 0, qr0 +/* 800D0CD8 000CDC38 CB A1 03 60 */ lfd f29, 0x360(r1) +/* 800D0CDC 000CDC3C E3 81 03 58 */ psq_l f28, 856(r1), 0, qr0 +/* 800D0CE0 000CDC40 CB 81 03 50 */ lfd f28, 0x350(r1) +/* 800D0CE4 000CDC44 83 E1 03 4C */ lwz r31, 0x34c(r1) +/* 800D0CE8 000CDC48 83 C1 03 48 */ lwz r30, 0x348(r1) +/* 800D0CEC 000CDC4C 83 A1 03 44 */ lwz r29, 0x344(r1) +/* 800D0CF0 000CDC50 80 01 03 94 */ lwz r0, 0x394(r1) +/* 800D0CF4 000CDC54 83 81 03 40 */ lwz r28, 0x340(r1) +/* 800D0CF8 000CDC58 7C 08 03 A6 */ mtlr r0 +/* 800D0CFC 000CDC5C 38 21 03 90 */ addi r1, r1, 0x390 +/* 800D0D00 000CDC60 4E 80 00 20 */ blr + +.global LoadDockAreaChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadDockAreaChange__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D0D04 000CDC64 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800D0D08 000CDC68 7C 08 02 A6 */ mflr r0 +/* 800D0D0C 000CDC6C 2C 05 00 03 */ cmpwi r5, 3 +/* 800D0D10 000CDC70 90 01 00 44 */ stw r0, 0x44(r1) +/* 800D0D14 000CDC74 BF 61 00 2C */ stmw r27, 0x2c(r1) +/* 800D0D18 000CDC78 7C 7B 1B 78 */ mr r27, r3 +/* 800D0D1C 000CDC7C 7C 9D 23 78 */ mr r29, r4 +/* 800D0D20 000CDC80 7C DC 33 78 */ mr r28, r6 +/* 800D0D24 000CDC84 41 82 00 0C */ beq lbl_800D0D30 +/* 800D0D28 000CDC88 38 60 00 00 */ li r3, 0 +/* 800D0D2C 000CDC8C 48 00 00 8C */ b lbl_800D0DB8 +lbl_800D0D30: +/* 800D0D30 000CDC90 4B F7 44 B5 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D0D34 000CDC94 7C 64 1B 78 */ mr r4, r3 +/* 800D0D38 000CDC98 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D0D3C 000CDC9C 48 26 D4 25 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D0D40 000CDCA0 7F A3 EB 78 */ mr r3, r29 +/* 800D0D44 000CDCA4 48 26 DF 41 */ bl ReadLong__12CInputStreamFv +/* 800D0D48 000CDCA8 7C 7E 1B 78 */ mr r30, r3 +/* 800D0D4C 000CDCAC 7F A3 EB 78 */ mr r3, r29 +/* 800D0D50 000CDCB0 48 26 DF 8D */ bl ReadBool__12CInputStreamFv +/* 800D0D54 000CDCB4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D0D58 000CDCB8 7C 7F 1B 78 */ mr r31, r3 +/* 800D0D5C 000CDCBC 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D0D60 000CDCC0 38 60 00 38 */ li r3, 0x38 +/* 800D0D64 000CDCC4 38 84 00 0D */ addi r4, r4, 0xd +/* 800D0D68 000CDCC8 38 A0 00 00 */ li r5, 0 +/* 800D0D6C 000CDCCC 48 24 4B 01 */ bl __nw__FUlPCcPCc +/* 800D0D70 000CDCD0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800D0D74 000CDCD4 41 82 00 38 */ beq lbl_800D0DAC +/* 800D0D78 000CDCD8 7F 64 DB 78 */ mr r4, r27 +/* 800D0D7C 000CDCDC 38 61 00 08 */ addi r3, r1, 8 +/* 800D0D80 000CDCE0 4B F7 C3 5D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D0D84 000CDCE4 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D0D88 000CDCE8 7F A3 EB 78 */ mr r3, r29 +/* 800D0D8C 000CDCEC 7F 86 E3 78 */ mr r6, r28 +/* 800D0D90 000CDCF0 7F C7 F3 78 */ mr r7, r30 +/* 800D0D94 000CDCF4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D0D98 000CDCF8 38 81 00 0C */ addi r4, r1, 0xc +/* 800D0D9C 000CDCFC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D0DA0 000CDD00 57 E8 06 3E */ clrlwi r8, r31, 0x18 +/* 800D0DA4 000CDD04 48 07 E3 95 */ bl "__ct__21CScriptDockAreaChangeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoib" +/* 800D0DA8 000CDD08 7C 7D 1B 78 */ mr r29, r3 +lbl_800D0DAC: +/* 800D0DAC 000CDD0C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D0DB0 000CDD10 48 26 CD 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D0DB4 000CDD14 7F A3 EB 78 */ mr r3, r29 +lbl_800D0DB8: +/* 800D0DB8 000CDD18 BB 61 00 2C */ lmw r27, 0x2c(r1) +/* 800D0DBC 000CDD1C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800D0DC0 000CDD20 7C 08 03 A6 */ mtlr r0 +/* 800D0DC4 000CDD24 38 21 00 40 */ addi r1, r1, 0x40 +/* 800D0DC8 000CDD28 4E 80 00 20 */ blr + +.global LoadAreaAttributes__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadAreaAttributes__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D0DCC 000CDD2C 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800D0DD0 000CDD30 7C 08 02 A6 */ mflr r0 +/* 800D0DD4 000CDD34 90 01 00 54 */ stw r0, 0x54(r1) +/* 800D0DD8 000CDD38 39 61 00 50 */ addi r11, r1, 0x50 +/* 800D0DDC 000CDD3C 48 2B 8C 0D */ bl sub_803899e8 +/* 800D0DE0 000CDD40 BF 21 00 14 */ stmw r25, 0x14(r1) +/* 800D0DE4 000CDD44 2C 05 00 09 */ cmpwi r5, 9 +/* 800D0DE8 000CDD48 7C 79 1B 78 */ mr r25, r3 +/* 800D0DEC 000CDD4C 7C 9B 23 78 */ mr r27, r4 +/* 800D0DF0 000CDD50 7C DA 33 78 */ mr r26, r6 +/* 800D0DF4 000CDD54 41 82 00 0C */ beq lbl_800D0E00 +/* 800D0DF8 000CDD58 38 60 00 00 */ li r3, 0 +/* 800D0DFC 000CDD5C 48 00 00 F4 */ b lbl_800D0EF0 +lbl_800D0E00: +/* 800D0E00 000CDD60 7F 63 DB 78 */ mr r3, r27 +/* 800D0E04 000CDD64 48 26 DE 81 */ bl ReadLong__12CInputStreamFv +/* 800D0E08 000CDD68 2C 03 00 01 */ cmpwi r3, 1 +/* 800D0E0C 000CDD6C 41 82 00 0C */ beq lbl_800D0E18 +/* 800D0E10 000CDD70 38 60 00 00 */ li r3, 0 +/* 800D0E14 000CDD74 48 00 00 DC */ b lbl_800D0EF0 +lbl_800D0E18: +/* 800D0E18 000CDD78 7F 63 DB 78 */ mr r3, r27 +/* 800D0E1C 000CDD7C 48 26 DE C1 */ bl ReadBool__12CInputStreamFv +/* 800D0E20 000CDD80 7C 60 1B 78 */ mr r0, r3 +/* 800D0E24 000CDD84 7F 63 DB 78 */ mr r3, r27 +/* 800D0E28 000CDD88 7C 1D 03 78 */ mr r29, r0 +/* 800D0E2C 000CDD8C 48 26 DE 59 */ bl ReadLong__12CInputStreamFv +/* 800D0E30 000CDD90 7C 60 1B 78 */ mr r0, r3 +/* 800D0E34 000CDD94 7F 63 DB 78 */ mr r3, r27 +/* 800D0E38 000CDD98 7C 1C 03 78 */ mr r28, r0 +/* 800D0E3C 000CDD9C 48 26 DD ED */ bl ReadFloat__12CInputStreamFv +/* 800D0E40 000CDDA0 FF E0 08 90 */ fmr f31, f1 +/* 800D0E44 000CDDA4 7F 63 DB 78 */ mr r3, r27 +/* 800D0E48 000CDDA8 48 26 DD E1 */ bl ReadFloat__12CInputStreamFv +/* 800D0E4C 000CDDAC FF C0 08 90 */ fmr f30, f1 +/* 800D0E50 000CDDB0 7F 63 DB 78 */ mr r3, r27 +/* 800D0E54 000CDDB4 48 26 DD D5 */ bl ReadFloat__12CInputStreamFv +/* 800D0E58 000CDDB8 FF A0 08 90 */ fmr f29, f1 +/* 800D0E5C 000CDDBC 7F 63 DB 78 */ mr r3, r27 +/* 800D0E60 000CDDC0 48 26 DD C9 */ bl ReadFloat__12CInputStreamFv +/* 800D0E64 000CDDC4 FF 80 08 90 */ fmr f28, f1 +/* 800D0E68 000CDDC8 7F 63 DB 78 */ mr r3, r27 +/* 800D0E6C 000CDDCC 48 26 DE 19 */ bl ReadLong__12CInputStreamFv +/* 800D0E70 000CDDD0 7C 7F 1B 78 */ mr r31, r3 +/* 800D0E74 000CDDD4 7F 63 DB 78 */ mr r3, r27 +/* 800D0E78 000CDDD8 48 26 DE 0D */ bl ReadLong__12CInputStreamFv +/* 800D0E7C 000CDDDC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D0E80 000CDDE0 7C 60 1B 78 */ mr r0, r3 +/* 800D0E84 000CDDE4 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D0E88 000CDDE8 38 60 00 54 */ li r3, 0x54 +/* 800D0E8C 000CDDEC 38 A0 00 00 */ li r5, 0 +/* 800D0E90 000CDDF0 7C 1B 03 78 */ mr r27, r0 +/* 800D0E94 000CDDF4 38 84 00 0D */ addi r4, r4, 0xd +/* 800D0E98 000CDDF8 48 24 49 D5 */ bl __nw__FUlPCcPCc +/* 800D0E9C 000CDDFC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800D0EA0 000CDE00 41 82 00 4C */ beq lbl_800D0EEC +/* 800D0EA4 000CDE04 7F 24 CB 78 */ mr r4, r25 +/* 800D0EA8 000CDE08 38 61 00 08 */ addi r3, r1, 8 +/* 800D0EAC 000CDE0C 4B F7 C2 31 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D0EB0 000CDE10 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D0EB4 000CDE14 FC 20 F8 90 */ fmr f1, f31 +/* 800D0EB8 000CDE18 FC 40 F0 90 */ fmr f2, f30 +/* 800D0EBC 000CDE1C 7F C3 F3 78 */ mr r3, r30 +/* 800D0EC0 000CDE20 FC 60 E8 90 */ fmr f3, f29 +/* 800D0EC4 000CDE24 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D0EC8 000CDE28 FC 80 E0 90 */ fmr f4, f28 +/* 800D0ECC 000CDE2C 7F 45 D3 78 */ mr r5, r26 +/* 800D0ED0 000CDE30 7F A6 EB 78 */ mr r6, r29 +/* 800D0ED4 000CDE34 7F 87 E3 78 */ mr r7, r28 +/* 800D0ED8 000CDE38 7F E8 FB 78 */ mr r8, r31 +/* 800D0EDC 000CDE3C 7F 69 DB 78 */ mr r9, r27 +/* 800D0EE0 000CDE40 38 81 00 0C */ addi r4, r1, 0xc +/* 800D0EE4 000CDE44 48 0E C6 E5 */ bl __ct__21CScriptAreaAttributesF9TUniqueIdRC11CEntityInfob10EEnvFxTypeffffi11EPhazonType +/* 800D0EE8 000CDE48 7C 7E 1B 78 */ mr r30, r3 +lbl_800D0EEC: +/* 800D0EEC 000CDE4C 7F C3 F3 78 */ mr r3, r30 +lbl_800D0EF0: +/* 800D0EF0 000CDE50 39 61 00 50 */ addi r11, r1, 0x50 +/* 800D0EF4 000CDE54 48 2B 8B 41 */ bl sub_80389a34 +/* 800D0EF8 000CDE58 BB 21 00 14 */ lmw r25, 0x14(r1) +/* 800D0EFC 000CDE5C 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800D0F00 000CDE60 7C 08 03 A6 */ mtlr r0 +/* 800D0F04 000CDE64 38 21 00 50 */ addi r1, r1, 0x50 +/* 800D0F08 000CDE68 4E 80 00 20 */ blr + +.global LoadDistanceFog__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadDistanceFog__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D0F0C 000CDE6C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800D0F10 000CDE70 7C 08 02 A6 */ mflr r0 +/* 800D0F14 000CDE74 90 01 00 74 */ stw r0, 0x74(r1) +/* 800D0F18 000CDE78 DB E1 00 60 */ stfd f31, 0x60(r1) +/* 800D0F1C 000CDE7C F3 E1 00 68 */ psq_st f31, 104(r1), 0, qr0 +/* 800D0F20 000CDE80 BF 41 00 48 */ stmw r26, 0x48(r1) +/* 800D0F24 000CDE84 2C 05 00 08 */ cmpwi r5, 8 +/* 800D0F28 000CDE88 7C 7A 1B 78 */ mr r26, r3 +/* 800D0F2C 000CDE8C 7C 9C 23 78 */ mr r28, r4 +/* 800D0F30 000CDE90 7C DB 33 78 */ mr r27, r6 +/* 800D0F34 000CDE94 41 82 00 0C */ beq lbl_800D0F40 +/* 800D0F38 000CDE98 38 60 00 00 */ li r3, 0 +/* 800D0F3C 000CDE9C 48 00 01 90 */ b lbl_800D10CC +lbl_800D0F40: +/* 800D0F40 000CDEA0 4B F7 42 A5 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D0F44 000CDEA4 7C 64 1B 78 */ mr r4, r3 +/* 800D0F48 000CDEA8 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D0F4C 000CDEAC 48 26 D2 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D0F50 000CDEB0 7F 83 E3 78 */ mr r3, r28 +/* 800D0F54 000CDEB4 48 26 DD 31 */ bl ReadLong__12CInputStreamFv +/* 800D0F58 000CDEB8 7C 7D 1B 78 */ mr r29, r3 +/* 800D0F5C 000CDEBC 7F 84 E3 78 */ mr r4, r28 +/* 800D0F60 000CDEC0 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D0F64 000CDEC4 48 29 24 E9 */ bl __ct__6CColorFR12CInputStream +/* 800D0F68 000CDEC8 7F 83 E3 78 */ mr r3, r28 +/* 800D0F6C 000CDECC 48 26 DC BD */ bl ReadFloat__12CInputStreamFv +/* 800D0F70 000CDED0 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800D0F74 000CDED4 7F 83 E3 78 */ mr r3, r28 +/* 800D0F78 000CDED8 48 26 DC B1 */ bl ReadFloat__12CInputStreamFv +/* 800D0F7C 000CDEDC D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800D0F80 000CDEE0 7F 83 E3 78 */ mr r3, r28 +/* 800D0F84 000CDEE4 48 26 DC A5 */ bl ReadFloat__12CInputStreamFv +/* 800D0F88 000CDEE8 FF E0 08 90 */ fmr f31, f1 +/* 800D0F8C 000CDEEC 7F 83 E3 78 */ mr r3, r28 +/* 800D0F90 000CDEF0 48 26 DC 99 */ bl ReadFloat__12CInputStreamFv +/* 800D0F94 000CDEF4 D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800D0F98 000CDEF8 7F 83 E3 78 */ mr r3, r28 +/* 800D0F9C 000CDEFC 48 26 DC 8D */ bl ReadFloat__12CInputStreamFv +/* 800D0FA0 000CDF00 D0 21 00 28 */ stfs f1, 0x28(r1) +/* 800D0FA4 000CDF04 7F 83 E3 78 */ mr r3, r28 +/* 800D0FA8 000CDF08 48 26 DD 35 */ bl ReadBool__12CInputStreamFv +/* 800D0FAC 000CDF0C 7C 7E 1B 78 */ mr r30, r3 +/* 800D0FB0 000CDF10 7F 83 E3 78 */ mr r3, r28 +/* 800D0FB4 000CDF14 48 26 DD 29 */ bl ReadBool__12CInputStreamFv +/* 800D0FB8 000CDF18 2C 1D 00 03 */ cmpwi r29, 3 +/* 800D0FBC 000CDF1C 7C 7F 1B 78 */ mr r31, r3 +/* 800D0FC0 000CDF20 41 82 00 48 */ beq lbl_800D1008 +/* 800D0FC4 000CDF24 40 80 00 1C */ bge lbl_800D0FE0 +/* 800D0FC8 000CDF28 2C 1D 00 01 */ cmpwi r29, 1 +/* 800D0FCC 000CDF2C 41 82 00 2C */ beq lbl_800D0FF8 +/* 800D0FD0 000CDF30 40 80 00 30 */ bge lbl_800D1000 +/* 800D0FD4 000CDF34 2C 1D 00 00 */ cmpwi r29, 0 +/* 800D0FD8 000CDF38 40 80 00 18 */ bge lbl_800D0FF0 +/* 800D0FDC 000CDF3C 48 00 00 44 */ b lbl_800D1020 +lbl_800D0FE0: +/* 800D0FE0 000CDF40 2C 1D 00 05 */ cmpwi r29, 5 +/* 800D0FE4 000CDF44 41 82 00 34 */ beq lbl_800D1018 +/* 800D0FE8 000CDF48 40 80 00 38 */ bge lbl_800D1020 +/* 800D0FEC 000CDF4C 48 00 00 24 */ b lbl_800D1010 +lbl_800D0FF0: +/* 800D0FF0 000CDF50 3B 80 00 00 */ li r28, 0 +/* 800D0FF4 000CDF54 48 00 00 3C */ b lbl_800D1030 +lbl_800D0FF8: +/* 800D0FF8 000CDF58 3B 80 00 02 */ li r28, 2 +/* 800D0FFC 000CDF5C 48 00 00 34 */ b lbl_800D1030 +lbl_800D1000: +/* 800D1000 000CDF60 3B 80 00 04 */ li r28, 4 +/* 800D1004 000CDF64 48 00 00 2C */ b lbl_800D1030 +lbl_800D1008: +/* 800D1008 000CDF68 3B 80 00 05 */ li r28, 5 +/* 800D100C 000CDF6C 48 00 00 24 */ b lbl_800D1030 +lbl_800D1010: +/* 800D1010 000CDF70 3B 80 00 06 */ li r28, 6 +/* 800D1014 000CDF74 48 00 00 1C */ b lbl_800D1030 +lbl_800D1018: +/* 800D1018 000CDF78 3B 80 00 07 */ li r28, 7 +/* 800D101C 000CDF7C 48 00 00 14 */ b lbl_800D1030 +lbl_800D1020: +/* 800D1020 000CDF80 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D1024 000CDF84 48 26 CA BD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D1028 000CDF88 38 60 00 00 */ li r3, 0 +/* 800D102C 000CDF8C 48 00 00 A0 */ b lbl_800D10CC +lbl_800D1030: +/* 800D1030 000CDF90 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D1034 000CDF94 38 60 00 64 */ li r3, 0x64 +/* 800D1038 000CDF98 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D103C 000CDF9C 38 A0 00 00 */ li r5, 0 +/* 800D1040 000CDFA0 38 84 00 0D */ addi r4, r4, 0xd +/* 800D1044 000CDFA4 48 24 48 29 */ bl __nw__FUlPCcPCc +/* 800D1048 000CDFA8 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800D104C 000CDFAC 41 82 00 74 */ beq lbl_800D10C0 +/* 800D1050 000CDFB0 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 800D1054 000CDFB4 7F 44 D3 78 */ mr r4, r26 +/* 800D1058 000CDFB8 80 01 00 28 */ lwz r0, 0x28(r1) +/* 800D105C 000CDFBC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D1060 000CDFC0 90 A1 00 1C */ stw r5, 0x1c(r1) +/* 800D1064 000CDFC4 90 01 00 20 */ stw r0, 0x20(r1) +/* 800D1068 000CDFC8 4B F7 C0 75 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D106C 000CDFCC A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800D1070 000CDFD0 57 C4 06 3E */ clrlwi r4, r30, 0x18 +/* 800D1074 000CDFD4 C0 42 8E 28 */ lfs f2, lbl_805AAB48@sda21(r2) +/* 800D1078 000CDFD8 FC 20 F8 90 */ fmr f1, f31 +/* 800D107C 000CDFDC B0 01 00 14 */ sth r0, 0x14(r1) +/* 800D1080 000CDFE0 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 800D1084 000CDFE4 FC 60 10 90 */ fmr f3, f2 +/* 800D1088 000CDFE8 7F A3 EB 78 */ mr r3, r29 +/* 800D108C 000CDFEC 90 81 00 08 */ stw r4, 8(r1) +/* 800D1090 000CDFF0 FC 80 10 90 */ fmr f4, f2 +/* 800D1094 000CDFF4 7F 66 DB 78 */ mr r6, r27 +/* 800D1098 000CDFF8 FC A0 10 90 */ fmr f5, f2 +/* 800D109C 000CDFFC 90 01 00 0C */ stw r0, 0xc(r1) +/* 800D10A0 000CE000 7F 87 E3 78 */ mr r7, r28 +/* 800D10A4 000CE004 38 81 00 14 */ addi r4, r1, 0x14 +/* 800D10A8 000CE008 38 A1 00 34 */ addi r5, r1, 0x34 +/* 800D10AC 000CE00C 39 01 00 18 */ addi r8, r1, 0x18 +/* 800D10B0 000CE010 39 21 00 2C */ addi r9, r1, 0x2c +/* 800D10B4 000CE014 39 41 00 1C */ addi r10, r1, 0x1c +/* 800D10B8 000CE018 48 07 C1 A1 */ bl "__ct__18CScriptDistanceFogF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC11ERglFogModeRC6CColorRC9CVector2ff9CVector2fbbffff" +/* 800D10BC 000CE01C 7C 7D 1B 78 */ mr r29, r3 +lbl_800D10C0: +/* 800D10C0 000CE020 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D10C4 000CE024 48 26 CA 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D10C8 000CE028 7F A3 EB 78 */ mr r3, r29 +lbl_800D10CC: +/* 800D10CC 000CE02C E3 E1 00 68 */ psq_l f31, 104(r1), 0, qr0 +/* 800D10D0 000CE030 CB E1 00 60 */ lfd f31, 0x60(r1) +/* 800D10D4 000CE034 BB 41 00 48 */ lmw r26, 0x48(r1) +/* 800D10D8 000CE038 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800D10DC 000CE03C 7C 08 03 A6 */ mtlr r0 +/* 800D10E0 000CE040 38 21 00 70 */ addi r1, r1, 0x70 +/* 800D10E4 000CE044 4E 80 00 20 */ blr + +.global LoadSpankWeed__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSpankWeed__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D10E8 000CE048 94 21 FC D0 */ stwu r1, -0x330(r1) +/* 800D10EC 000CE04C 7C 08 02 A6 */ mflr r0 +/* 800D10F0 000CE050 90 01 03 34 */ stw r0, 0x334(r1) +/* 800D10F4 000CE054 DB E1 03 20 */ stfd f31, 0x320(r1) +/* 800D10F8 000CE058 F3 E1 03 28 */ psq_st f31, 808(r1), 0, qr0 +/* 800D10FC 000CE05C DB C1 03 10 */ stfd f30, 0x310(r1) +/* 800D1100 000CE060 F3 C1 03 18 */ psq_st f30, 792(r1), 0, qr0 +/* 800D1104 000CE064 DB A1 03 00 */ stfd f29, 0x300(r1) +/* 800D1108 000CE068 F3 A1 03 08 */ psq_st f29, 776(r1), 0, qr0 +/* 800D110C 000CE06C DB 81 02 F0 */ stfd f28, 0x2f0(r1) +/* 800D1110 000CE070 F3 81 02 F8 */ psq_st f28, 760(r1), 0, qr0 +/* 800D1114 000CE074 93 E1 02 EC */ stw r31, 0x2ec(r1) +/* 800D1118 000CE078 93 C1 02 E8 */ stw r30, 0x2e8(r1) +/* 800D111C 000CE07C 93 A1 02 E4 */ stw r29, 0x2e4(r1) +/* 800D1120 000CE080 93 81 02 E0 */ stw r28, 0x2e0(r1) +/* 800D1124 000CE084 2C 05 00 0B */ cmpwi r5, 0xb +/* 800D1128 000CE088 7C 7D 1B 78 */ mr r29, r3 +/* 800D112C 000CE08C 7C 9F 23 78 */ mr r31, r4 +/* 800D1130 000CE090 7C DE 33 78 */ mr r30, r6 +/* 800D1134 000CE094 41 82 00 0C */ beq lbl_800D1140 +/* 800D1138 000CE098 38 60 00 00 */ li r3, 0 +/* 800D113C 000CE09C 48 00 01 C0 */ b lbl_800D12FC +lbl_800D1140: +/* 800D1140 000CE0A0 7F A5 EB 78 */ mr r5, r29 +/* 800D1144 000CE0A4 38 61 01 50 */ addi r3, r1, 0x150 +/* 800D1148 000CE0A8 48 00 93 35 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D114C 000CE0AC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D1150 000CE0B0 7F E4 FB 78 */ mr r4, r31 +/* 800D1154 000CE0B4 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D1158 000CE0B8 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D115C 000CE0BC 38 A5 01 2F */ addi r5, r5, 0x12f +/* 800D1160 000CE0C0 48 03 46 C9 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D1164 000CE0C4 88 01 00 10 */ lbz r0, 0x10(r1) +/* 800D1168 000CE0C8 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 800D116C 000CE0CC 28 00 00 00 */ cmplwi r0, 0 +/* 800D1170 000CE0D0 40 82 00 14 */ bne lbl_800D1184 +/* 800D1174 000CE0D4 38 61 01 50 */ addi r3, r1, 0x150 +/* 800D1178 000CE0D8 48 26 C9 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D117C 000CE0DC 38 60 00 00 */ li r3, 0 +/* 800D1180 000CE0E0 48 00 01 7C */ b lbl_800D12FC +lbl_800D1184: +/* 800D1184 000CE0E4 7F E4 FB 78 */ mr r4, r31 +/* 800D1188 000CE0E8 38 61 01 9C */ addi r3, r1, 0x19c +/* 800D118C 000CE0EC 48 03 46 ED */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D1190 000CE0F0 7F E4 FB 78 */ mr r4, r31 +/* 800D1194 000CE0F4 38 61 00 80 */ addi r3, r1, 0x80 +/* 800D1198 000CE0F8 48 00 8B DD */ bl LoadActorParameters__FR12CInputStream +/* 800D119C 000CE0FC 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800D11A0 000CE100 38 81 00 80 */ addi r4, r1, 0x80 +/* 800D11A4 000CE104 4B FF 44 79 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D11A8 000CE108 38 61 00 80 */ addi r3, r1, 0x80 +/* 800D11AC 000CE10C 38 80 FF FF */ li r4, -1 +/* 800D11B0 000CE110 48 03 54 59 */ bl __dt__16CActorParametersFv +/* 800D11B4 000CE114 7F E3 FB 78 */ mr r3, r31 +/* 800D11B8 000CE118 48 26 DB 25 */ bl ReadBool__12CInputStreamFv +/* 800D11BC 000CE11C 7F E3 FB 78 */ mr r3, r31 +/* 800D11C0 000CE120 48 26 DA 69 */ bl ReadFloat__12CInputStreamFv +/* 800D11C4 000CE124 FF E0 08 90 */ fmr f31, f1 +/* 800D11C8 000CE128 7F E3 FB 78 */ mr r3, r31 +/* 800D11CC 000CE12C 48 26 DA 5D */ bl ReadFloat__12CInputStreamFv +/* 800D11D0 000CE130 FF C0 08 90 */ fmr f30, f1 +/* 800D11D4 000CE134 7F E3 FB 78 */ mr r3, r31 +/* 800D11D8 000CE138 48 26 DA 51 */ bl ReadFloat__12CInputStreamFv +/* 800D11DC 000CE13C FF A0 08 90 */ fmr f29, f1 +/* 800D11E0 000CE140 7F E3 FB 78 */ mr r3, r31 +/* 800D11E4 000CE144 48 26 DA 45 */ bl ReadFloat__12CInputStreamFv +/* 800D11E8 000CE148 80 61 02 88 */ lwz r3, 0x288(r1) +/* 800D11EC 000CE14C FF 80 08 90 */ fmr f28, f1 +/* 800D11F0 000CE150 3C 03 00 01 */ addis r0, r3, 1 +/* 800D11F4 000CE154 28 00 FF FF */ cmplwi r0, 0xffff +/* 800D11F8 000CE158 40 82 00 20 */ bne lbl_800D1218 +/* 800D11FC 000CE15C 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800D1200 000CE160 38 80 FF FF */ li r4, -1 +/* 800D1204 000CE164 48 03 54 05 */ bl __dt__16CActorParametersFv +/* 800D1208 000CE168 38 61 01 50 */ addi r3, r1, 0x150 +/* 800D120C 000CE16C 48 26 C8 D5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D1210 000CE170 38 60 00 00 */ li r3, 0 +/* 800D1214 000CE174 48 00 00 E8 */ b lbl_800D12FC +lbl_800D1218: +/* 800D1218 000CE178 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D121C 000CE17C 3B 80 00 00 */ li r28, 0 +/* 800D1220 000CE180 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D1224 000CE184 38 60 05 C0 */ li r3, 0x5c0 +/* 800D1228 000CE188 38 84 00 0D */ addi r4, r4, 0xd +/* 800D122C 000CE18C 38 A0 00 00 */ li r5, 0 +/* 800D1230 000CE190 48 24 46 3D */ bl __nw__FUlPCcPCc +/* 800D1234 000CE194 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800D1238 000CE198 41 82 00 98 */ beq lbl_800D12D0 +/* 800D123C 000CE19C 80 E1 02 88 */ lwz r7, 0x288(r1) +/* 800D1240 000CE1A0 38 A0 00 01 */ li r5, 1 +/* 800D1244 000CE1A4 80 C1 02 8C */ lwz r6, 0x28c(r1) +/* 800D1248 000CE1A8 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D124C 000CE1AC C0 41 01 90 */ lfs f2, 0x190(r1) +/* 800D1250 000CE1B0 38 81 00 18 */ addi r4, r1, 0x18 +/* 800D1254 000CE1B4 C0 21 01 94 */ lfs f1, 0x194(r1) +/* 800D1258 000CE1B8 C0 01 01 98 */ lfs f0, 0x198(r1) +/* 800D125C 000CE1BC 80 01 02 90 */ lwz r0, 0x290(r1) +/* 800D1260 000CE1C0 90 E1 00 18 */ stw r7, 0x18(r1) +/* 800D1264 000CE1C4 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 800D1268 000CE1C8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 800D126C 000CE1CC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800D1270 000CE1D0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800D1274 000CE1D4 98 A1 00 2C */ stb r5, 0x2c(r1) +/* 800D1278 000CE1D8 90 01 00 30 */ stw r0, 0x30(r1) +/* 800D127C 000CE1DC 48 04 58 D9 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D1280 000CE1E0 7F A4 EB 78 */ mr r4, r29 +/* 800D1284 000CE1E4 38 61 00 08 */ addi r3, r1, 8 +/* 800D1288 000CE1E8 3B 80 00 01 */ li r28, 1 +/* 800D128C 000CE1EC 4B F7 BE 51 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D1290 000CE1F0 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D1294 000CE1F4 FC 20 F8 90 */ fmr f1, f31 +/* 800D1298 000CE1F8 FC 40 F0 90 */ fmr f2, f30 +/* 800D129C 000CE1FC 7F E3 FB 78 */ mr r3, r31 +/* 800D12A0 000CE200 FC 60 E8 90 */ fmr f3, f29 +/* 800D12A4 000CE204 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D12A8 000CE208 FC 80 E0 90 */ fmr f4, f28 +/* 800D12AC 000CE20C 7F C6 F3 78 */ mr r6, r30 +/* 800D12B0 000CE210 38 81 00 0C */ addi r4, r1, 0xc +/* 800D12B4 000CE214 38 A1 01 50 */ addi r5, r1, 0x150 +/* 800D12B8 000CE218 38 E1 01 60 */ addi r7, r1, 0x160 +/* 800D12BC 000CE21C 39 01 00 34 */ addi r8, r1, 0x34 +/* 800D12C0 000CE220 39 21 00 E8 */ addi r9, r1, 0xe8 +/* 800D12C4 000CE224 39 41 01 9C */ addi r10, r1, 0x19c +/* 800D12C8 000CE228 48 08 51 51 */ bl "__ct__10CSpankWeedF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoffff" +/* 800D12CC 000CE22C 7C 7F 1B 78 */ mr r31, r3 +lbl_800D12D0: +/* 800D12D0 000CE230 7F 80 07 75 */ extsb. r0, r28 +/* 800D12D4 000CE234 41 82 00 10 */ beq lbl_800D12E4 +/* 800D12D8 000CE238 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D12DC 000CE23C 38 80 FF FF */ li r4, -1 +/* 800D12E0 000CE240 48 04 57 6D */ bl __dt__10CModelDataFv +lbl_800D12E4: +/* 800D12E4 000CE244 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800D12E8 000CE248 38 80 FF FF */ li r4, -1 +/* 800D12EC 000CE24C 48 03 53 1D */ bl __dt__16CActorParametersFv +/* 800D12F0 000CE250 38 61 01 50 */ addi r3, r1, 0x150 +/* 800D12F4 000CE254 48 26 C7 ED */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D12F8 000CE258 7F E3 FB 78 */ mr r3, r31 +lbl_800D12FC: +/* 800D12FC 000CE25C E3 E1 03 28 */ psq_l f31, 808(r1), 0, qr0 +/* 800D1300 000CE260 CB E1 03 20 */ lfd f31, 0x320(r1) +/* 800D1304 000CE264 E3 C1 03 18 */ psq_l f30, 792(r1), 0, qr0 +/* 800D1308 000CE268 CB C1 03 10 */ lfd f30, 0x310(r1) +/* 800D130C 000CE26C E3 A1 03 08 */ psq_l f29, 776(r1), 0, qr0 +/* 800D1310 000CE270 CB A1 03 00 */ lfd f29, 0x300(r1) +/* 800D1314 000CE274 E3 81 02 F8 */ psq_l f28, 760(r1), 0, qr0 +/* 800D1318 000CE278 CB 81 02 F0 */ lfd f28, 0x2f0(r1) +/* 800D131C 000CE27C 83 E1 02 EC */ lwz r31, 0x2ec(r1) +/* 800D1320 000CE280 83 C1 02 E8 */ lwz r30, 0x2e8(r1) +/* 800D1324 000CE284 83 A1 02 E4 */ lwz r29, 0x2e4(r1) +/* 800D1328 000CE288 80 01 03 34 */ lwz r0, 0x334(r1) +/* 800D132C 000CE28C 83 81 02 E0 */ lwz r28, 0x2e0(r1) +/* 800D1330 000CE290 7C 08 03 A6 */ mtlr r0 +/* 800D1334 000CE294 38 21 03 30 */ addi r1, r1, 0x330 +/* 800D1338 000CE298 4E 80 00 20 */ blr + +.global LoadFireFlea__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadFireFlea__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D133C 000CE29C 94 21 FD 00 */ stwu r1, -0x300(r1) +/* 800D1340 000CE2A0 7C 08 02 A6 */ mflr r0 +/* 800D1344 000CE2A4 90 01 03 04 */ stw r0, 0x304(r1) +/* 800D1348 000CE2A8 DB E1 02 F0 */ stfd f31, 0x2f0(r1) +/* 800D134C 000CE2AC F3 E1 02 F8 */ psq_st f31, 760(r1), 0, qr0 +/* 800D1350 000CE2B0 93 E1 02 EC */ stw r31, 0x2ec(r1) +/* 800D1354 000CE2B4 93 C1 02 E8 */ stw r30, 0x2e8(r1) +/* 800D1358 000CE2B8 93 A1 02 E4 */ stw r29, 0x2e4(r1) +/* 800D135C 000CE2BC 93 81 02 E0 */ stw r28, 0x2e0(r1) +/* 800D1360 000CE2C0 2C 05 00 09 */ cmpwi r5, 9 +/* 800D1364 000CE2C4 7C 7D 1B 78 */ mr r29, r3 +/* 800D1368 000CE2C8 7C 9F 23 78 */ mr r31, r4 +/* 800D136C 000CE2CC 7C DE 33 78 */ mr r30, r6 +/* 800D1370 000CE2D0 41 82 00 0C */ beq lbl_800D137C +/* 800D1374 000CE2D4 38 60 00 00 */ li r3, 0 +/* 800D1378 000CE2D8 48 00 01 98 */ b lbl_800D1510 +lbl_800D137C: +/* 800D137C 000CE2DC 7F A5 EB 78 */ mr r5, r29 +/* 800D1380 000CE2E0 38 61 01 50 */ addi r3, r1, 0x150 +/* 800D1384 000CE2E4 48 00 90 F9 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D1388 000CE2E8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D138C 000CE2EC 7F E4 FB 78 */ mr r4, r31 +/* 800D1390 000CE2F0 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D1394 000CE2F4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D1398 000CE2F8 38 A5 01 39 */ addi r5, r5, 0x139 +/* 800D139C 000CE2FC 48 03 44 8D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D13A0 000CE300 88 01 00 10 */ lbz r0, 0x10(r1) +/* 800D13A4 000CE304 80 A1 00 14 */ lwz r5, 0x14(r1) +/* 800D13A8 000CE308 28 00 00 00 */ cmplwi r0, 0 +/* 800D13AC 000CE30C 40 82 00 14 */ bne lbl_800D13C0 +/* 800D13B0 000CE310 38 61 01 50 */ addi r3, r1, 0x150 +/* 800D13B4 000CE314 48 26 C7 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D13B8 000CE318 38 60 00 00 */ li r3, 0 +/* 800D13BC 000CE31C 48 00 01 54 */ b lbl_800D1510 +lbl_800D13C0: +/* 800D13C0 000CE320 7F E4 FB 78 */ mr r4, r31 +/* 800D13C4 000CE324 38 61 01 9C */ addi r3, r1, 0x19c +/* 800D13C8 000CE328 48 03 44 B1 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D13CC 000CE32C 7F E4 FB 78 */ mr r4, r31 +/* 800D13D0 000CE330 38 61 00 80 */ addi r3, r1, 0x80 +/* 800D13D4 000CE334 48 00 89 A1 */ bl LoadActorParameters__FR12CInputStream +/* 800D13D8 000CE338 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800D13DC 000CE33C 38 81 00 80 */ addi r4, r1, 0x80 +/* 800D13E0 000CE340 4B FF 42 3D */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D13E4 000CE344 38 61 00 80 */ addi r3, r1, 0x80 +/* 800D13E8 000CE348 38 80 FF FF */ li r4, -1 +/* 800D13EC 000CE34C 48 03 52 1D */ bl __dt__16CActorParametersFv +/* 800D13F0 000CE350 7F E3 FB 78 */ mr r3, r31 +/* 800D13F4 000CE354 48 26 D8 E9 */ bl ReadBool__12CInputStreamFv +/* 800D13F8 000CE358 7F E3 FB 78 */ mr r3, r31 +/* 800D13FC 000CE35C 48 26 D8 E1 */ bl ReadBool__12CInputStreamFv +/* 800D1400 000CE360 7F E3 FB 78 */ mr r3, r31 +/* 800D1404 000CE364 48 26 D8 25 */ bl ReadFloat__12CInputStreamFv +/* 800D1408 000CE368 80 61 02 88 */ lwz r3, 0x288(r1) +/* 800D140C 000CE36C FF E0 08 90 */ fmr f31, f1 +/* 800D1410 000CE370 3C 03 00 01 */ addis r0, r3, 1 +/* 800D1414 000CE374 28 00 FF FF */ cmplwi r0, 0xffff +/* 800D1418 000CE378 40 82 00 20 */ bne lbl_800D1438 +/* 800D141C 000CE37C 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800D1420 000CE380 38 80 FF FF */ li r4, -1 +/* 800D1424 000CE384 48 03 51 E5 */ bl __dt__16CActorParametersFv +/* 800D1428 000CE388 38 61 01 50 */ addi r3, r1, 0x150 +/* 800D142C 000CE38C 48 26 C6 B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D1430 000CE390 38 60 00 00 */ li r3, 0 +/* 800D1434 000CE394 48 00 00 DC */ b lbl_800D1510 +lbl_800D1438: +/* 800D1438 000CE398 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D143C 000CE39C 3B 80 00 00 */ li r28, 0 +/* 800D1440 000CE3A0 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D1444 000CE3A4 38 60 0E 70 */ li r3, 0xe70 +/* 800D1448 000CE3A8 38 84 00 0D */ addi r4, r4, 0xd +/* 800D144C 000CE3AC 38 A0 00 00 */ li r5, 0 +/* 800D1450 000CE3B0 48 24 44 1D */ bl __nw__FUlPCcPCc +/* 800D1454 000CE3B4 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800D1458 000CE3B8 41 82 00 8C */ beq lbl_800D14E4 +/* 800D145C 000CE3BC 80 E1 02 88 */ lwz r7, 0x288(r1) +/* 800D1460 000CE3C0 38 A0 00 01 */ li r5, 1 +/* 800D1464 000CE3C4 80 C1 02 8C */ lwz r6, 0x28c(r1) +/* 800D1468 000CE3C8 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D146C 000CE3CC C0 41 01 90 */ lfs f2, 0x190(r1) +/* 800D1470 000CE3D0 38 81 00 18 */ addi r4, r1, 0x18 +/* 800D1474 000CE3D4 C0 21 01 94 */ lfs f1, 0x194(r1) +/* 800D1478 000CE3D8 C0 01 01 98 */ lfs f0, 0x198(r1) +/* 800D147C 000CE3DC 80 01 02 90 */ lwz r0, 0x290(r1) +/* 800D1480 000CE3E0 90 E1 00 18 */ stw r7, 0x18(r1) +/* 800D1484 000CE3E4 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 800D1488 000CE3E8 D0 41 00 20 */ stfs f2, 0x20(r1) +/* 800D148C 000CE3EC D0 21 00 24 */ stfs f1, 0x24(r1) +/* 800D1490 000CE3F0 D0 01 00 28 */ stfs f0, 0x28(r1) +/* 800D1494 000CE3F4 98 A1 00 2C */ stb r5, 0x2c(r1) +/* 800D1498 000CE3F8 90 01 00 30 */ stw r0, 0x30(r1) +/* 800D149C 000CE3FC 48 04 56 B9 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D14A0 000CE400 7F A4 EB 78 */ mr r4, r29 +/* 800D14A4 000CE404 38 61 00 08 */ addi r3, r1, 8 +/* 800D14A8 000CE408 3B 80 00 01 */ li r28, 1 +/* 800D14AC 000CE40C 4B F7 BC 31 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D14B0 000CE410 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D14B4 000CE414 FC 20 F8 90 */ fmr f1, f31 +/* 800D14B8 000CE418 7F E3 FB 78 */ mr r3, r31 +/* 800D14BC 000CE41C 7F C6 F3 78 */ mr r6, r30 +/* 800D14C0 000CE420 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D14C4 000CE424 38 81 00 0C */ addi r4, r1, 0xc +/* 800D14C8 000CE428 38 A1 01 50 */ addi r5, r1, 0x150 +/* 800D14CC 000CE42C 38 E1 01 60 */ addi r7, r1, 0x160 +/* 800D14D0 000CE430 39 01 00 34 */ addi r8, r1, 0x34 +/* 800D14D4 000CE434 39 21 00 E8 */ addi r9, r1, 0xe8 +/* 800D14D8 000CE438 39 41 01 9C */ addi r10, r1, 0x19c +/* 800D14DC 000CE43C 48 07 24 CD */ bl "__ct__9CFireFleaF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfof" +/* 800D14E0 000CE440 7C 7F 1B 78 */ mr r31, r3 +lbl_800D14E4: +/* 800D14E4 000CE444 7F 80 07 75 */ extsb. r0, r28 +/* 800D14E8 000CE448 41 82 00 10 */ beq lbl_800D14F8 +/* 800D14EC 000CE44C 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D14F0 000CE450 38 80 FF FF */ li r4, -1 +/* 800D14F4 000CE454 48 04 55 59 */ bl __dt__10CModelDataFv +lbl_800D14F8: +/* 800D14F8 000CE458 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800D14FC 000CE45C 38 80 FF FF */ li r4, -1 +/* 800D1500 000CE460 48 03 51 09 */ bl __dt__16CActorParametersFv +/* 800D1504 000CE464 38 61 01 50 */ addi r3, r1, 0x150 +/* 800D1508 000CE468 48 26 C5 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D150C 000CE46C 7F E3 FB 78 */ mr r3, r31 +lbl_800D1510: +/* 800D1510 000CE470 E3 E1 02 F8 */ psq_l f31, 760(r1), 0, qr0 +/* 800D1514 000CE474 80 01 03 04 */ lwz r0, 0x304(r1) +/* 800D1518 000CE478 CB E1 02 F0 */ lfd f31, 0x2f0(r1) +/* 800D151C 000CE47C 83 E1 02 EC */ lwz r31, 0x2ec(r1) +/* 800D1520 000CE480 83 C1 02 E8 */ lwz r30, 0x2e8(r1) +/* 800D1524 000CE484 83 A1 02 E4 */ lwz r29, 0x2e4(r1) +/* 800D1528 000CE488 83 81 02 E0 */ lwz r28, 0x2e0(r1) +/* 800D152C 000CE48C 7C 08 03 A6 */ mtlr r0 +/* 800D1530 000CE490 38 21 03 00 */ addi r1, r1, 0x300 +/* 800D1534 000CE494 4E 80 00 20 */ blr + +.global LoadPuddleToadGamma__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPuddleToadGamma__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D1538 000CE498 94 21 FC 10 */ stwu r1, -0x3f0(r1) +/* 800D153C 000CE49C 7C 08 02 A6 */ mflr r0 +/* 800D1540 000CE4A0 90 01 03 F4 */ stw r0, 0x3f4(r1) +/* 800D1544 000CE4A4 DB E1 03 E0 */ stfd f31, 0x3e0(r1) +/* 800D1548 000CE4A8 F3 E1 03 E8 */ psq_st f31, 1000(r1), 0, qr0 +/* 800D154C 000CE4AC DB C1 03 D0 */ stfd f30, 0x3d0(r1) +/* 800D1550 000CE4B0 F3 C1 03 D8 */ psq_st f30, 984(r1), 0, qr0 +/* 800D1554 000CE4B4 DB A1 03 C0 */ stfd f29, 0x3c0(r1) +/* 800D1558 000CE4B8 F3 A1 03 C8 */ psq_st f29, 968(r1), 0, qr0 +/* 800D155C 000CE4BC DB 81 03 B0 */ stfd f28, 0x3b0(r1) +/* 800D1560 000CE4C0 F3 81 03 B8 */ psq_st f28, 952(r1), 0, qr0 +/* 800D1564 000CE4C4 DB 61 03 A0 */ stfd f27, 0x3a0(r1) +/* 800D1568 000CE4C8 F3 61 03 A8 */ psq_st f27, 936(r1), 0, qr0 +/* 800D156C 000CE4CC DB 41 03 90 */ stfd f26, 0x390(r1) +/* 800D1570 000CE4D0 F3 41 03 98 */ psq_st f26, 920(r1), 0, qr0 +/* 800D1574 000CE4D4 BF 41 03 78 */ stmw r26, 0x378(r1) +/* 800D1578 000CE4D8 2C 05 00 11 */ cmpwi r5, 0x11 +/* 800D157C 000CE4DC 7C 7B 1B 78 */ mr r27, r3 +/* 800D1580 000CE4E0 7C 9D 23 78 */ mr r29, r4 +/* 800D1584 000CE4E4 7C DC 33 78 */ mr r28, r6 +/* 800D1588 000CE4E8 41 82 00 0C */ beq lbl_800D1594 +/* 800D158C 000CE4EC 38 60 00 00 */ li r3, 0 +/* 800D1590 000CE4F0 48 00 02 4C */ b lbl_800D17DC +lbl_800D1594: +/* 800D1594 000CE4F4 4B F7 3C 51 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D1598 000CE4F8 7C 64 1B 78 */ mr r4, r3 +/* 800D159C 000CE4FC 38 61 00 54 */ addi r3, r1, 0x54 +/* 800D15A0 000CE500 48 26 CB C1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D15A4 000CE504 7F A3 EB 78 */ mr r3, r29 +/* 800D15A8 000CE508 48 26 D6 DD */ bl ReadLong__12CInputStreamFv +/* 800D15AC 000CE50C 7C 7E 1B 78 */ mr r30, r3 +/* 800D15B0 000CE510 7F A4 EB 78 */ mr r4, r29 +/* 800D15B4 000CE514 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800D15B8 000CE518 48 00 8F D5 */ bl LoadEditorTransform__FR12CInputStream +/* 800D15BC 000CE51C 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800D15C0 000CE520 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 800D15C4 000CE524 48 24 15 B1 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800D15C8 000CE528 7F A4 EB 78 */ mr r4, r29 +/* 800D15CC 000CE52C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D15D0 000CE530 48 24 35 BD */ bl __ct__9CVector3fFR12CInputStream +/* 800D15D4 000CE534 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D15D8 000CE538 7F A4 EB 78 */ mr r4, r29 +/* 800D15DC 000CE53C 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D15E0 000CE540 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D15E4 000CE544 38 A5 01 42 */ addi r5, r5, 0x142 +/* 800D15E8 000CE548 48 03 42 41 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D15EC 000CE54C 88 01 00 28 */ lbz r0, 0x28(r1) +/* 800D15F0 000CE550 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 800D15F4 000CE554 28 00 00 00 */ cmplwi r0, 0 +/* 800D15F8 000CE558 40 82 00 14 */ bne lbl_800D160C +/* 800D15FC 000CE55C 38 61 00 54 */ addi r3, r1, 0x54 +/* 800D1600 000CE560 48 26 C4 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D1604 000CE564 38 60 00 00 */ li r3, 0 +/* 800D1608 000CE568 48 00 01 D4 */ b lbl_800D17DC +lbl_800D160C: +/* 800D160C 000CE56C 7F A4 EB 78 */ mr r4, r29 +/* 800D1610 000CE570 38 61 02 34 */ addi r3, r1, 0x234 +/* 800D1614 000CE574 48 03 42 65 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D1618 000CE578 7F A4 EB 78 */ mr r4, r29 +/* 800D161C 000CE57C 38 61 01 64 */ addi r3, r1, 0x164 +/* 800D1620 000CE580 48 00 87 55 */ bl LoadActorParameters__FR12CInputStream +/* 800D1624 000CE584 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800D1628 000CE588 38 81 01 64 */ addi r4, r1, 0x164 +/* 800D162C 000CE58C 4B FF 3F F1 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D1630 000CE590 38 61 01 64 */ addi r3, r1, 0x164 +/* 800D1634 000CE594 38 80 FF FF */ li r4, -1 +/* 800D1638 000CE598 48 03 4F D1 */ bl __dt__16CActorParametersFv +/* 800D163C 000CE59C 7F A3 EB 78 */ mr r3, r29 +/* 800D1640 000CE5A0 48 26 D5 E9 */ bl ReadFloat__12CInputStreamFv +/* 800D1644 000CE5A4 FF E0 08 90 */ fmr f31, f1 +/* 800D1648 000CE5A8 7F A3 EB 78 */ mr r3, r29 +/* 800D164C 000CE5AC 48 26 D5 DD */ bl ReadFloat__12CInputStreamFv +/* 800D1650 000CE5B0 FF C0 08 90 */ fmr f30, f1 +/* 800D1654 000CE5B4 7F A3 EB 78 */ mr r3, r29 +/* 800D1658 000CE5B8 48 26 D5 D1 */ bl ReadFloat__12CInputStreamFv +/* 800D165C 000CE5BC FF A0 08 90 */ fmr f29, f1 +/* 800D1660 000CE5C0 7F A4 EB 78 */ mr r4, r29 +/* 800D1664 000CE5C4 38 61 00 3C */ addi r3, r1, 0x3c +/* 800D1668 000CE5C8 48 24 35 25 */ bl __ct__9CVector3fFR12CInputStream +/* 800D166C 000CE5CC 7F A3 EB 78 */ mr r3, r29 +/* 800D1670 000CE5D0 48 26 D5 B9 */ bl ReadFloat__12CInputStreamFv +/* 800D1674 000CE5D4 FF 80 08 90 */ fmr f28, f1 +/* 800D1678 000CE5D8 7F A3 EB 78 */ mr r3, r29 +/* 800D167C 000CE5DC 48 26 D5 AD */ bl ReadFloat__12CInputStreamFv +/* 800D1680 000CE5E0 FF 60 08 90 */ fmr f27, f1 +/* 800D1684 000CE5E4 7F A3 EB 78 */ mr r3, r29 +/* 800D1688 000CE5E8 48 26 D5 A1 */ bl ReadFloat__12CInputStreamFv +/* 800D168C 000CE5EC FF 40 08 90 */ fmr f26, f1 +/* 800D1690 000CE5F0 7F A4 EB 78 */ mr r4, r29 +/* 800D1694 000CE5F4 38 61 00 9C */ addi r3, r1, 0x9c +/* 800D1698 000CE5F8 4B FF 1E C9 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D169C 000CE5FC 7F A4 EB 78 */ mr r4, r29 +/* 800D16A0 000CE600 38 61 00 80 */ addi r3, r1, 0x80 +/* 800D16A4 000CE604 4B FF 1E BD */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D16A8 000CE608 7F A3 EB 78 */ mr r3, r29 +/* 800D16AC 000CE60C 48 26 D5 D9 */ bl ReadLong__12CInputStreamFv +/* 800D16B0 000CE610 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D16B4 000CE614 7C 7F 1B 78 */ mr r31, r3 +/* 800D16B8 000CE618 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800D16BC 000CE61C 3B 40 00 00 */ li r26, 0 +/* 800D16C0 000CE620 38 83 00 0D */ addi r4, r3, 0xd +/* 800D16C4 000CE624 38 60 05 F0 */ li r3, 0x5f0 +/* 800D16C8 000CE628 38 A0 00 00 */ li r5, 0 +/* 800D16CC 000CE62C 48 24 41 A1 */ bl __nw__FUlPCcPCc +/* 800D16D0 000CE630 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800D16D4 000CE634 41 82 00 DC */ beq lbl_800D17B0 +/* 800D16D8 000CE638 81 41 00 3C */ lwz r10, 0x3c(r1) +/* 800D16DC 000CE63C 38 A0 00 01 */ li r5, 1 +/* 800D16E0 000CE640 81 21 00 40 */ lwz r9, 0x40(r1) +/* 800D16E4 000CE644 38 61 01 18 */ addi r3, r1, 0x118 +/* 800D16E8 000CE648 81 01 00 44 */ lwz r8, 0x44(r1) +/* 800D16EC 000CE64C 38 81 00 64 */ addi r4, r1, 0x64 +/* 800D16F0 000CE650 80 E1 03 20 */ lwz r7, 0x320(r1) +/* 800D16F4 000CE654 80 C1 03 24 */ lwz r6, 0x324(r1) +/* 800D16F8 000CE658 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 800D16FC 000CE65C C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 800D1700 000CE660 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 800D1704 000CE664 80 01 03 28 */ lwz r0, 0x328(r1) +/* 800D1708 000CE668 91 41 00 30 */ stw r10, 0x30(r1) +/* 800D170C 000CE66C 91 21 00 34 */ stw r9, 0x34(r1) +/* 800D1710 000CE670 91 01 00 38 */ stw r8, 0x38(r1) +/* 800D1714 000CE674 90 E1 00 64 */ stw r7, 0x64(r1) +/* 800D1718 000CE678 90 C1 00 68 */ stw r6, 0x68(r1) +/* 800D171C 000CE67C D0 41 00 6C */ stfs f2, 0x6c(r1) +/* 800D1720 000CE680 D0 21 00 70 */ stfs f1, 0x70(r1) +/* 800D1724 000CE684 D0 01 00 74 */ stfs f0, 0x74(r1) +/* 800D1728 000CE688 98 A1 00 78 */ stb r5, 0x78(r1) +/* 800D172C 000CE68C 90 01 00 7C */ stw r0, 0x7c(r1) +/* 800D1730 000CE690 48 04 54 25 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D1734 000CE694 7F 64 DB 78 */ mr r4, r27 +/* 800D1738 000CE698 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D173C 000CE69C 3B 40 00 01 */ li r26, 1 +/* 800D1740 000CE6A0 4B F7 B9 9D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D1744 000CE6A4 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 800D1748 000CE6A8 38 C1 01 CC */ addi r6, r1, 0x1cc +/* 800D174C 000CE6AC 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800D1750 000CE6B0 38 81 00 9C */ addi r4, r1, 0x9c +/* 800D1754 000CE6B4 B0 01 00 24 */ sth r0, 0x24(r1) +/* 800D1758 000CE6B8 38 01 00 80 */ addi r0, r1, 0x80 +/* 800D175C 000CE6BC FC 20 F8 90 */ fmr f1, f31 +/* 800D1760 000CE6C0 7F A3 EB 78 */ mr r3, r29 +/* 800D1764 000CE6C4 90 C1 00 08 */ stw r6, 8(r1) +/* 800D1768 000CE6C8 FC 40 F0 90 */ fmr f2, f30 +/* 800D176C 000CE6CC FC 60 E8 90 */ fmr f3, f29 +/* 800D1770 000CE6D0 7F C6 F3 78 */ mr r6, r30 +/* 800D1774 000CE6D4 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800D1778 000CE6D8 FC 80 E0 90 */ fmr f4, f28 +/* 800D177C 000CE6DC FC A0 D8 90 */ fmr f5, f27 +/* 800D1780 000CE6E0 7F 87 E3 78 */ mr r7, r28 +/* 800D1784 000CE6E4 90 81 00 10 */ stw r4, 0x10(r1) +/* 800D1788 000CE6E8 FC C0 D0 90 */ fmr f6, f26 +/* 800D178C 000CE6EC 38 81 00 24 */ addi r4, r1, 0x24 +/* 800D1790 000CE6F0 90 01 00 14 */ stw r0, 0x14(r1) +/* 800D1794 000CE6F4 38 A1 00 54 */ addi r5, r1, 0x54 +/* 800D1798 000CE6F8 39 01 00 E8 */ addi r8, r1, 0xe8 +/* 800D179C 000CE6FC 93 E1 00 18 */ stw r31, 0x18(r1) +/* 800D17A0 000CE700 39 21 01 18 */ addi r9, r1, 0x118 +/* 800D17A4 000CE704 39 41 02 34 */ addi r10, r1, 0x234 +/* 800D17A8 000CE708 48 07 B4 89 */ bl "__ct__16CPuddleToadGammaF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoRC16CActorParametersfff9CVector3ffffRC11CDamageInfoRC11CDamageInfo" +/* 800D17AC 000CE70C 7C 7D 1B 78 */ mr r29, r3 +lbl_800D17B0: +/* 800D17B0 000CE710 7F 40 07 75 */ extsb. r0, r26 +/* 800D17B4 000CE714 41 82 00 10 */ beq lbl_800D17C4 +/* 800D17B8 000CE718 38 61 01 18 */ addi r3, r1, 0x118 +/* 800D17BC 000CE71C 38 80 FF FF */ li r4, -1 +/* 800D17C0 000CE720 48 04 52 8D */ bl __dt__10CModelDataFv +lbl_800D17C4: +/* 800D17C4 000CE724 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800D17C8 000CE728 38 80 FF FF */ li r4, -1 +/* 800D17CC 000CE72C 48 03 4E 3D */ bl __dt__16CActorParametersFv +/* 800D17D0 000CE730 38 61 00 54 */ addi r3, r1, 0x54 +/* 800D17D4 000CE734 48 26 C3 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D17D8 000CE738 7F A3 EB 78 */ mr r3, r29 +lbl_800D17DC: +/* 800D17DC 000CE73C E3 E1 03 E8 */ psq_l f31, 1000(r1), 0, qr0 +/* 800D17E0 000CE740 CB E1 03 E0 */ lfd f31, 0x3e0(r1) +/* 800D17E4 000CE744 E3 C1 03 D8 */ psq_l f30, 984(r1), 0, qr0 +/* 800D17E8 000CE748 CB C1 03 D0 */ lfd f30, 0x3d0(r1) +/* 800D17EC 000CE74C E3 A1 03 C8 */ psq_l f29, 968(r1), 0, qr0 +/* 800D17F0 000CE750 CB A1 03 C0 */ lfd f29, 0x3c0(r1) +/* 800D17F4 000CE754 E3 81 03 B8 */ psq_l f28, 952(r1), 0, qr0 +/* 800D17F8 000CE758 CB 81 03 B0 */ lfd f28, 0x3b0(r1) +/* 800D17FC 000CE75C E3 61 03 A8 */ psq_l f27, 936(r1), 0, qr0 +/* 800D1800 000CE760 CB 61 03 A0 */ lfd f27, 0x3a0(r1) +/* 800D1804 000CE764 E3 41 03 98 */ psq_l f26, 920(r1), 0, qr0 +/* 800D1808 000CE768 CB 41 03 90 */ lfd f26, 0x390(r1) +/* 800D180C 000CE76C BB 41 03 78 */ lmw r26, 0x378(r1) +/* 800D1810 000CE770 80 01 03 F4 */ lwz r0, 0x3f4(r1) +/* 800D1814 000CE774 7C 08 03 A6 */ mtlr r0 +/* 800D1818 000CE778 38 21 03 F0 */ addi r1, r1, 0x3f0 +/* 800D181C 000CE77C 4E 80 00 20 */ blr + +.global LoadDebugCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadDebugCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D1820 000CE780 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800D1824 000CE784 7C 08 02 A6 */ mflr r0 +/* 800D1828 000CE788 2C 05 00 04 */ cmpwi r5, 4 +/* 800D182C 000CE78C 90 01 00 64 */ stw r0, 0x64(r1) +/* 800D1830 000CE790 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800D1834 000CE794 93 C1 00 58 */ stw r30, 0x58(r1) +/* 800D1838 000CE798 7C 9E 23 78 */ mr r30, r4 +/* 800D183C 000CE79C 93 A1 00 54 */ stw r29, 0x54(r1) +/* 800D1840 000CE7A0 7C DD 33 78 */ mr r29, r6 +/* 800D1844 000CE7A4 93 81 00 50 */ stw r28, 0x50(r1) +/* 800D1848 000CE7A8 7C 7C 1B 78 */ mr r28, r3 +/* 800D184C 000CE7AC 41 82 00 0C */ beq lbl_800D1858 +/* 800D1850 000CE7B0 38 60 00 00 */ li r3, 0 +/* 800D1854 000CE7B4 48 00 00 7C */ b lbl_800D18D0 +lbl_800D1858: +/* 800D1858 000CE7B8 7F 85 E3 78 */ mr r5, r28 +/* 800D185C 000CE7BC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D1860 000CE7C0 48 00 8C 65 */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D1864 000CE7C4 7F C3 F3 78 */ mr r3, r30 +/* 800D1868 000CE7C8 48 26 D4 1D */ bl ReadLong__12CInputStreamFv +/* 800D186C 000CE7CC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D1870 000CE7D0 7C 7F 1B 78 */ mr r31, r3 +/* 800D1874 000CE7D4 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D1878 000CE7D8 38 60 00 F0 */ li r3, 0xf0 +/* 800D187C 000CE7DC 38 A0 00 00 */ li r5, 0 +/* 800D1880 000CE7E0 38 84 00 0D */ addi r4, r4, 0xd +/* 800D1884 000CE7E4 48 24 3F E9 */ bl __nw__FUlPCcPCc +/* 800D1888 000CE7E8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800D188C 000CE7EC 41 82 00 38 */ beq lbl_800D18C4 +/* 800D1890 000CE7F0 7F 84 E3 78 */ mr r4, r28 +/* 800D1894 000CE7F4 38 61 00 08 */ addi r3, r1, 8 +/* 800D1898 000CE7F8 4B F7 B8 45 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D189C 000CE7FC A0 01 00 08 */ lhz r0, 8(r1) +/* 800D18A0 000CE800 7F C3 F3 78 */ mr r3, r30 +/* 800D18A4 000CE804 7F A6 EB 78 */ mr r6, r29 +/* 800D18A8 000CE808 7F E8 FB 78 */ mr r8, r31 +/* 800D18AC 000CE80C B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D18B0 000CE810 38 81 00 0C */ addi r4, r1, 0xc +/* 800D18B4 000CE814 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D18B8 000CE818 38 E1 00 20 */ addi r7, r1, 0x20 +/* 800D18BC 000CE81C 48 07 93 C1 */ bl "__ct__26CScriptDebugCameraWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUi" +/* 800D18C0 000CE820 7C 7E 1B 78 */ mr r30, r3 +lbl_800D18C4: +/* 800D18C4 000CE824 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D18C8 000CE828 48 26 C2 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D18CC 000CE82C 7F C3 F3 78 */ mr r3, r30 +lbl_800D18D0: +/* 800D18D0 000CE830 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800D18D4 000CE834 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800D18D8 000CE838 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800D18DC 000CE83C 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 800D18E0 000CE840 83 81 00 50 */ lwz r28, 0x50(r1) +/* 800D18E4 000CE844 7C 08 03 A6 */ mtlr r0 +/* 800D18E8 000CE848 38 21 00 60 */ addi r1, r1, 0x60 +/* 800D18EC 000CE84C 4E 80 00 20 */ blr + +.global LoadSpiderBallAttractionSurface__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSpiderBallAttractionSurface__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D18F0 000CE850 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800D18F4 000CE854 7C 08 02 A6 */ mflr r0 +/* 800D18F8 000CE858 2C 05 00 05 */ cmpwi r5, 5 +/* 800D18FC 000CE85C 90 01 00 74 */ stw r0, 0x74(r1) +/* 800D1900 000CE860 93 E1 00 6C */ stw r31, 0x6c(r1) +/* 800D1904 000CE864 93 C1 00 68 */ stw r30, 0x68(r1) +/* 800D1908 000CE868 7C 9E 23 78 */ mr r30, r4 +/* 800D190C 000CE86C 93 A1 00 64 */ stw r29, 0x64(r1) +/* 800D1910 000CE870 7C DD 33 78 */ mr r29, r6 +/* 800D1914 000CE874 93 81 00 60 */ stw r28, 0x60(r1) +/* 800D1918 000CE878 7C 7C 1B 78 */ mr r28, r3 +/* 800D191C 000CE87C 41 82 00 0C */ beq lbl_800D1928 +/* 800D1920 000CE880 38 60 00 00 */ li r3, 0 +/* 800D1924 000CE884 48 00 00 80 */ b lbl_800D19A4 +lbl_800D1928: +/* 800D1928 000CE888 7F 85 E3 78 */ mr r5, r28 +/* 800D192C 000CE88C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D1930 000CE890 48 00 8B 4D */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D1934 000CE894 7F C3 F3 78 */ mr r3, r30 +/* 800D1938 000CE898 48 26 D3 A5 */ bl ReadBool__12CInputStreamFv +/* 800D193C 000CE89C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D1940 000CE8A0 7C 7F 1B 78 */ mr r31, r3 +/* 800D1944 000CE8A4 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D1948 000CE8A8 38 60 01 10 */ li r3, 0x110 +/* 800D194C 000CE8AC 38 A0 00 00 */ li r5, 0 +/* 800D1950 000CE8B0 38 84 00 0D */ addi r4, r4, 0xd +/* 800D1954 000CE8B4 48 24 3F 19 */ bl __nw__FUlPCcPCc +/* 800D1958 000CE8B8 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800D195C 000CE8BC 41 82 00 3C */ beq lbl_800D1998 +/* 800D1960 000CE8C0 7F 84 E3 78 */ mr r4, r28 +/* 800D1964 000CE8C4 38 61 00 08 */ addi r3, r1, 8 +/* 800D1968 000CE8C8 4B F7 B7 75 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D196C 000CE8CC A0 01 00 08 */ lhz r0, 8(r1) +/* 800D1970 000CE8D0 7F C3 F3 78 */ mr r3, r30 +/* 800D1974 000CE8D4 7F A6 EB 78 */ mr r6, r29 +/* 800D1978 000CE8D8 7F E9 FB 78 */ mr r9, r31 +/* 800D197C 000CE8DC B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D1980 000CE8E0 38 81 00 0C */ addi r4, r1, 0xc +/* 800D1984 000CE8E4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D1988 000CE8E8 38 E1 00 20 */ addi r7, r1, 0x20 +/* 800D198C 000CE8EC 39 01 00 50 */ addi r8, r1, 0x50 +/* 800D1990 000CE8F0 48 07 95 8D */ bl "__ct__34CScriptSpiderBallAttractionSurfaceF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fb" +/* 800D1994 000CE8F4 7C 7E 1B 78 */ mr r30, r3 +lbl_800D1998: +/* 800D1998 000CE8F8 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D199C 000CE8FC 48 26 C1 45 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D19A0 000CE900 7F C3 F3 78 */ mr r3, r30 +lbl_800D19A4: +/* 800D19A4 000CE904 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800D19A8 000CE908 83 E1 00 6C */ lwz r31, 0x6c(r1) +/* 800D19AC 000CE90C 83 C1 00 68 */ lwz r30, 0x68(r1) +/* 800D19B0 000CE910 83 A1 00 64 */ lwz r29, 0x64(r1) +/* 800D19B4 000CE914 83 81 00 60 */ lwz r28, 0x60(r1) +/* 800D19B8 000CE918 7C 08 03 A6 */ mtlr r0 +/* 800D19BC 000CE91C 38 21 00 70 */ addi r1, r1, 0x70 +/* 800D19C0 000CE920 4E 80 00 20 */ blr + +.global LoadPuddleSpore__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPuddleSpore__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D19C4 000CE924 94 21 FC 50 */ stwu r1, -0x3b0(r1) +/* 800D19C8 000CE928 7C 08 02 A6 */ mflr r0 +/* 800D19CC 000CE92C 90 01 03 B4 */ stw r0, 0x3b4(r1) +/* 800D19D0 000CE930 DB E1 03 A0 */ stfd f31, 0x3a0(r1) +/* 800D19D4 000CE934 F3 E1 03 A8 */ psq_st f31, 936(r1), 0, qr0 +/* 800D19D8 000CE938 DB C1 03 90 */ stfd f30, 0x390(r1) +/* 800D19DC 000CE93C F3 C1 03 98 */ psq_st f30, 920(r1), 0, qr0 +/* 800D19E0 000CE940 DB A1 03 80 */ stfd f29, 0x380(r1) +/* 800D19E4 000CE944 F3 A1 03 88 */ psq_st f29, 904(r1), 0, qr0 +/* 800D19E8 000CE948 DB 81 03 70 */ stfd f28, 0x370(r1) +/* 800D19EC 000CE94C F3 81 03 78 */ psq_st f28, 888(r1), 0, qr0 +/* 800D19F0 000CE950 DB 61 03 60 */ stfd f27, 0x360(r1) +/* 800D19F4 000CE954 F3 61 03 68 */ psq_st f27, 872(r1), 0, qr0 +/* 800D19F8 000CE958 BF 01 03 40 */ stmw r24, 0x340(r1) +/* 800D19FC 000CE95C 2C 05 00 10 */ cmpwi r5, 0x10 +/* 800D1A00 000CE960 7C 7A 1B 78 */ mr r26, r3 +/* 800D1A04 000CE964 7C 9C 23 78 */ mr r28, r4 +/* 800D1A08 000CE968 7C DB 33 78 */ mr r27, r6 +/* 800D1A0C 000CE96C 41 82 00 0C */ beq lbl_800D1A18 +/* 800D1A10 000CE970 38 60 00 00 */ li r3, 0 +/* 800D1A14 000CE974 48 00 02 64 */ b lbl_800D1C78 +lbl_800D1A18: +/* 800D1A18 000CE978 4B F7 37 CD */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D1A1C 000CE97C 7C 64 1B 78 */ mr r4, r3 +/* 800D1A20 000CE980 38 61 00 3C */ addi r3, r1, 0x3c +/* 800D1A24 000CE984 48 26 C7 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D1A28 000CE988 7F 83 E3 78 */ mr r3, r28 +/* 800D1A2C 000CE98C 48 26 D2 59 */ bl ReadLong__12CInputStreamFv +/* 800D1A30 000CE990 7C 7D 1B 78 */ mr r29, r3 +/* 800D1A34 000CE994 7F 84 E3 78 */ mr r4, r28 +/* 800D1A38 000CE998 38 61 00 84 */ addi r3, r1, 0x84 +/* 800D1A3C 000CE99C 48 00 8B 51 */ bl LoadEditorTransform__FR12CInputStream +/* 800D1A40 000CE9A0 38 61 00 B4 */ addi r3, r1, 0xb4 +/* 800D1A44 000CE9A4 38 81 00 84 */ addi r4, r1, 0x84 +/* 800D1A48 000CE9A8 48 24 11 2D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800D1A4C 000CE9AC 7F 84 E3 78 */ mr r4, r28 +/* 800D1A50 000CE9B0 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D1A54 000CE9B4 48 24 31 39 */ bl __ct__9CVector3fFR12CInputStream +/* 800D1A58 000CE9B8 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D1A5C 000CE9BC 7F 84 E3 78 */ mr r4, r28 +/* 800D1A60 000CE9C0 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D1A64 000CE9C4 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D1A68 000CE9C8 38 A5 01 54 */ addi r5, r5, 0x154 +/* 800D1A6C 000CE9CC 48 03 3D BD */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D1A70 000CE9D0 88 01 00 28 */ lbz r0, 0x28(r1) +/* 800D1A74 000CE9D4 80 A1 00 2C */ lwz r5, 0x2c(r1) +/* 800D1A78 000CE9D8 28 00 00 00 */ cmplwi r0, 0 +/* 800D1A7C 000CE9DC 40 82 00 14 */ bne lbl_800D1A90 +/* 800D1A80 000CE9E0 38 61 00 3C */ addi r3, r1, 0x3c +/* 800D1A84 000CE9E4 48 26 C0 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D1A88 000CE9E8 38 60 00 00 */ li r3, 0 +/* 800D1A8C 000CE9EC 48 00 01 EC */ b lbl_800D1C78 +lbl_800D1A90: +/* 800D1A90 000CE9F0 7F 84 E3 78 */ mr r4, r28 +/* 800D1A94 000CE9F4 38 61 02 00 */ addi r3, r1, 0x200 +/* 800D1A98 000CE9F8 48 03 3D E1 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D1A9C 000CE9FC 7F 84 E3 78 */ mr r4, r28 +/* 800D1AA0 000CEA00 38 61 01 30 */ addi r3, r1, 0x130 +/* 800D1AA4 000CEA04 48 00 82 D1 */ bl LoadActorParameters__FR12CInputStream +/* 800D1AA8 000CEA08 38 61 01 98 */ addi r3, r1, 0x198 +/* 800D1AAC 000CEA0C 38 81 01 30 */ addi r4, r1, 0x130 +/* 800D1AB0 000CEA10 4B FF 3B 6D */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D1AB4 000CEA14 38 61 01 30 */ addi r3, r1, 0x130 +/* 800D1AB8 000CEA18 38 80 FF FF */ li r4, -1 +/* 800D1ABC 000CEA1C 48 03 4B 4D */ bl __dt__16CActorParametersFv +/* 800D1AC0 000CEA20 7F 83 E3 78 */ mr r3, r28 +/* 800D1AC4 000CEA24 48 26 D2 19 */ bl ReadBool__12CInputStreamFv +/* 800D1AC8 000CEA28 7C 79 1B 78 */ mr r25, r3 +/* 800D1ACC 000CEA2C 7F 83 E3 78 */ mr r3, r28 +/* 800D1AD0 000CEA30 48 26 D1 B5 */ bl ReadLong__12CInputStreamFv +/* 800D1AD4 000CEA34 7C 7E 1B 78 */ mr r30, r3 +/* 800D1AD8 000CEA38 7F 83 E3 78 */ mr r3, r28 +/* 800D1ADC 000CEA3C 48 26 D1 4D */ bl ReadFloat__12CInputStreamFv +/* 800D1AE0 000CEA40 FF E0 08 90 */ fmr f31, f1 +/* 800D1AE4 000CEA44 7F 83 E3 78 */ mr r3, r28 +/* 800D1AE8 000CEA48 48 26 D1 41 */ bl ReadFloat__12CInputStreamFv +/* 800D1AEC 000CEA4C FF C0 08 90 */ fmr f30, f1 +/* 800D1AF0 000CEA50 7F 83 E3 78 */ mr r3, r28 +/* 800D1AF4 000CEA54 48 26 D1 35 */ bl ReadFloat__12CInputStreamFv +/* 800D1AF8 000CEA58 FF A0 08 90 */ fmr f29, f1 +/* 800D1AFC 000CEA5C 7F 83 E3 78 */ mr r3, r28 +/* 800D1B00 000CEA60 48 26 D1 29 */ bl ReadFloat__12CInputStreamFv +/* 800D1B04 000CEA64 FF 80 08 90 */ fmr f28, f1 +/* 800D1B08 000CEA68 7F 83 E3 78 */ mr r3, r28 +/* 800D1B0C 000CEA6C 48 26 D1 1D */ bl ReadFloat__12CInputStreamFv +/* 800D1B10 000CEA70 FF 60 08 90 */ fmr f27, f1 +/* 800D1B14 000CEA74 7F 83 E3 78 */ mr r3, r28 +/* 800D1B18 000CEA78 48 26 D1 6D */ bl ReadLong__12CInputStreamFv +/* 800D1B1C 000CEA7C 7C 7F 1B 78 */ mr r31, r3 +/* 800D1B20 000CEA80 7F 84 E3 78 */ mr r4, r28 +/* 800D1B24 000CEA84 38 61 00 68 */ addi r3, r1, 0x68 +/* 800D1B28 000CEA88 4B FF 1A 39 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D1B2C 000CEA8C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800D1B30 000CEA90 80 81 02 EC */ lwz r4, 0x2ec(r1) +/* 800D1B34 000CEA94 38 63 00 04 */ addi r3, r3, 4 +/* 800D1B38 000CEA98 48 26 A1 95 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D1B3C 000CEA9C 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800D1B40 000CEAA0 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D1B44 000CEAA4 41 82 00 20 */ beq lbl_800D1B64 +/* 800D1B48 000CEAA8 38 61 01 98 */ addi r3, r1, 0x198 +/* 800D1B4C 000CEAAC 38 80 FF FF */ li r4, -1 +/* 800D1B50 000CEAB0 48 03 4A B9 */ bl __dt__16CActorParametersFv +/* 800D1B54 000CEAB4 38 61 00 3C */ addi r3, r1, 0x3c +/* 800D1B58 000CEAB8 48 26 BF 89 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D1B5C 000CEABC 38 60 00 00 */ li r3, 0 +/* 800D1B60 000CEAC0 48 00 01 18 */ b lbl_800D1C78 +lbl_800D1B64: +/* 800D1B64 000CEAC4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D1B68 000CEAC8 3B 00 00 00 */ li r24, 0 +/* 800D1B6C 000CEACC 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D1B70 000CEAD0 38 60 06 18 */ li r3, 0x618 +/* 800D1B74 000CEAD4 38 84 00 0D */ addi r4, r4, 0xd +/* 800D1B78 000CEAD8 38 A0 00 00 */ li r5, 0 +/* 800D1B7C 000CEADC 48 24 3C F1 */ bl __nw__FUlPCcPCc +/* 800D1B80 000CEAE0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800D1B84 000CEAE4 41 82 00 C8 */ beq lbl_800D1C4C +/* 800D1B88 000CEAE8 57 23 06 3E */ clrlwi r3, r25, 0x18 +/* 800D1B8C 000CEAEC 80 81 02 EC */ lwz r4, 0x2ec(r1) +/* 800D1B90 000CEAF0 80 C1 02 F0 */ lwz r6, 0x2f0(r1) +/* 800D1B94 000CEAF4 7C 03 00 D0 */ neg r0, r3 +/* 800D1B98 000CEAF8 C0 41 00 30 */ lfs f2, 0x30(r1) +/* 800D1B9C 000CEAFC 38 A0 00 01 */ li r5, 1 +/* 800D1BA0 000CEB00 C0 21 00 34 */ lfs f1, 0x34(r1) +/* 800D1BA4 000CEB04 7C 00 1B 78 */ or r0, r0, r3 +/* 800D1BA8 000CEB08 C0 01 00 38 */ lfs f0, 0x38(r1) +/* 800D1BAC 000CEB0C 54 19 0F FE */ srwi r25, r0, 0x1f +/* 800D1BB0 000CEB10 80 01 02 F4 */ lwz r0, 0x2f4(r1) +/* 800D1BB4 000CEB14 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 800D1BB8 000CEB18 90 81 00 4C */ stw r4, 0x4c(r1) +/* 800D1BBC 000CEB1C 38 81 00 4C */ addi r4, r1, 0x4c +/* 800D1BC0 000CEB20 90 C1 00 50 */ stw r6, 0x50(r1) +/* 800D1BC4 000CEB24 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800D1BC8 000CEB28 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800D1BCC 000CEB2C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800D1BD0 000CEB30 98 A1 00 60 */ stb r5, 0x60(r1) +/* 800D1BD4 000CEB34 90 01 00 64 */ stw r0, 0x64(r1) +/* 800D1BD8 000CEB38 48 04 4F 7D */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D1BDC 000CEB3C 7F 44 D3 78 */ mr r4, r26 +/* 800D1BE0 000CEB40 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D1BE4 000CEB44 3B 00 00 01 */ li r24, 1 +/* 800D1BE8 000CEB48 4B F7 B4 F5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D1BEC 000CEB4C A0 61 00 20 */ lhz r3, 0x20(r1) +/* 800D1BF0 000CEB50 38 A1 01 98 */ addi r5, r1, 0x198 +/* 800D1BF4 000CEB54 FC 20 F8 90 */ fmr f1, f31 +/* 800D1BF8 000CEB58 38 01 00 68 */ addi r0, r1, 0x68 +/* 800D1BFC 000CEB5C B0 61 00 24 */ sth r3, 0x24(r1) +/* 800D1C00 000CEB60 FC 40 F0 90 */ fmr f2, f30 +/* 800D1C04 000CEB64 FC 60 E8 90 */ fmr f3, f29 +/* 800D1C08 000CEB68 7F 83 E3 78 */ mr r3, r28 +/* 800D1C0C 000CEB6C 93 21 00 08 */ stw r25, 8(r1) +/* 800D1C10 000CEB70 FC 80 E0 90 */ fmr f4, f28 +/* 800D1C14 000CEB74 FC A0 D8 90 */ fmr f5, f27 +/* 800D1C18 000CEB78 7F A6 EB 78 */ mr r6, r29 +/* 800D1C1C 000CEB7C 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800D1C20 000CEB80 7F 67 DB 78 */ mr r7, r27 +/* 800D1C24 000CEB84 38 81 00 24 */ addi r4, r1, 0x24 +/* 800D1C28 000CEB88 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800D1C2C 000CEB8C 38 A1 00 3C */ addi r5, r1, 0x3c +/* 800D1C30 000CEB90 39 01 00 B4 */ addi r8, r1, 0xb4 +/* 800D1C34 000CEB94 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800D1C38 000CEB98 39 21 00 E4 */ addi r9, r1, 0xe4 +/* 800D1C3C 000CEB9C 39 41 02 00 */ addi r10, r1, 0x200 +/* 800D1C40 000CEBA0 90 01 00 18 */ stw r0, 0x18(r1) +/* 800D1C44 000CEBA4 48 07 67 4D */ bl "__ct__12CPuddleSporeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EColliderTypeUifffffRC16CActorParametersUiRC11CDamageInfo" +/* 800D1C48 000CEBA8 7C 7C 1B 78 */ mr r28, r3 +lbl_800D1C4C: +/* 800D1C4C 000CEBAC 7F 00 07 75 */ extsb. r0, r24 +/* 800D1C50 000CEBB0 41 82 00 10 */ beq lbl_800D1C60 +/* 800D1C54 000CEBB4 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 800D1C58 000CEBB8 38 80 FF FF */ li r4, -1 +/* 800D1C5C 000CEBBC 48 04 4D F1 */ bl __dt__10CModelDataFv +lbl_800D1C60: +/* 800D1C60 000CEBC0 38 61 01 98 */ addi r3, r1, 0x198 +/* 800D1C64 000CEBC4 38 80 FF FF */ li r4, -1 +/* 800D1C68 000CEBC8 48 03 49 A1 */ bl __dt__16CActorParametersFv +/* 800D1C6C 000CEBCC 38 61 00 3C */ addi r3, r1, 0x3c +/* 800D1C70 000CEBD0 48 26 BE 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D1C74 000CEBD4 7F 83 E3 78 */ mr r3, r28 +lbl_800D1C78: +/* 800D1C78 000CEBD8 E3 E1 03 A8 */ psq_l f31, 936(r1), 0, qr0 +/* 800D1C7C 000CEBDC CB E1 03 A0 */ lfd f31, 0x3a0(r1) +/* 800D1C80 000CEBE0 E3 C1 03 98 */ psq_l f30, 920(r1), 0, qr0 +/* 800D1C84 000CEBE4 CB C1 03 90 */ lfd f30, 0x390(r1) +/* 800D1C88 000CEBE8 E3 A1 03 88 */ psq_l f29, 904(r1), 0, qr0 +/* 800D1C8C 000CEBEC CB A1 03 80 */ lfd f29, 0x380(r1) +/* 800D1C90 000CEBF0 E3 81 03 78 */ psq_l f28, 888(r1), 0, qr0 +/* 800D1C94 000CEBF4 CB 81 03 70 */ lfd f28, 0x370(r1) +/* 800D1C98 000CEBF8 E3 61 03 68 */ psq_l f27, 872(r1), 0, qr0 +/* 800D1C9C 000CEBFC CB 61 03 60 */ lfd f27, 0x360(r1) +/* 800D1CA0 000CEC00 BB 01 03 40 */ lmw r24, 0x340(r1) +/* 800D1CA4 000CEC04 80 01 03 B4 */ lwz r0, 0x3b4(r1) +/* 800D1CA8 000CEC08 7C 08 03 A6 */ mtlr r0 +/* 800D1CAC 000CEC0C 38 21 03 B0 */ addi r1, r1, 0x3b0 +/* 800D1CB0 000CEC10 4E 80 00 20 */ blr + +.global LoadChozoGhost__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadChozoGhost__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D1CB4 000CEC14 94 21 FB 70 */ stwu r1, -0x490(r1) +/* 800D1CB8 000CEC18 7C 08 02 A6 */ mflr r0 +/* 800D1CBC 000CEC1C 90 01 04 94 */ stw r0, 0x494(r1) +/* 800D1CC0 000CEC20 DB E1 04 80 */ stfd f31, 0x480(r1) +/* 800D1CC4 000CEC24 F3 E1 04 88 */ psq_st f31, 1160(r1), 0, qr0 +/* 800D1CC8 000CEC28 DB C1 04 70 */ stfd f30, 0x470(r1) +/* 800D1CCC 000CEC2C F3 C1 04 78 */ psq_st f30, 1144(r1), 0, qr0 +/* 800D1CD0 000CEC30 DB A1 04 60 */ stfd f29, 0x460(r1) +/* 800D1CD4 000CEC34 F3 A1 04 68 */ psq_st f29, 1128(r1), 0, qr0 +/* 800D1CD8 000CEC38 DB 81 04 50 */ stfd f28, 0x450(r1) +/* 800D1CDC 000CEC3C F3 81 04 58 */ psq_st f28, 1112(r1), 0, qr0 +/* 800D1CE0 000CEC40 DB 61 04 40 */ stfd f27, 0x440(r1) +/* 800D1CE4 000CEC44 F3 61 04 48 */ psq_st f27, 1096(r1), 0, qr0 +/* 800D1CE8 000CEC48 DB 41 04 30 */ stfd f26, 0x430(r1) +/* 800D1CEC 000CEC4C F3 41 04 38 */ psq_st f26, 1080(r1), 0, qr0 +/* 800D1CF0 000CEC50 DB 21 04 20 */ stfd f25, 0x420(r1) +/* 800D1CF4 000CEC54 F3 21 04 28 */ psq_st f25, 1064(r1), 0, qr0 +/* 800D1CF8 000CEC58 DB 01 04 10 */ stfd f24, 0x410(r1) +/* 800D1CFC 000CEC5C F3 01 04 18 */ psq_st f24, 1048(r1), 0, qr0 +/* 800D1D00 000CEC60 DA E1 04 00 */ stfd f23, 0x400(r1) +/* 800D1D04 000CEC64 F2 E1 04 08 */ psq_st f23, 1032(r1), 0, qr0 +/* 800D1D08 000CEC68 BE 21 03 C4 */ stmw r17, 0x3c4(r1) +/* 800D1D0C 000CEC6C 2C 05 00 1F */ cmpwi r5, 0x1f +/* 800D1D10 000CEC70 7C 72 1B 78 */ mr r18, r3 +/* 800D1D14 000CEC74 7C 91 23 78 */ mr r17, r4 +/* 800D1D18 000CEC78 7C D3 33 78 */ mr r19, r6 +/* 800D1D1C 000CEC7C 41 82 00 0C */ beq lbl_800D1D28 +/* 800D1D20 000CEC80 38 60 00 00 */ li r3, 0 +/* 800D1D24 000CEC84 48 00 03 48 */ b lbl_800D206C +lbl_800D1D28: +/* 800D1D28 000CEC88 7E 45 93 78 */ mr r5, r18 +/* 800D1D2C 000CEC8C 38 61 02 30 */ addi r3, r1, 0x230 +/* 800D1D30 000CEC90 48 00 87 4D */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D1D34 000CEC94 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D1D38 000CEC98 7E 24 8B 78 */ mr r4, r17 +/* 800D1D3C 000CEC9C 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D1D40 000CECA0 38 61 00 58 */ addi r3, r1, 0x58 +/* 800D1D44 000CECA4 38 A5 01 61 */ addi r5, r5, 0x161 +/* 800D1D48 000CECA8 48 03 3A E1 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D1D4C 000CECAC 88 01 00 58 */ lbz r0, 0x58(r1) +/* 800D1D50 000CECB0 80 A1 00 5C */ lwz r5, 0x5c(r1) +/* 800D1D54 000CECB4 28 00 00 00 */ cmplwi r0, 0 +/* 800D1D58 000CECB8 40 82 00 14 */ bne lbl_800D1D6C +/* 800D1D5C 000CECBC 38 61 02 30 */ addi r3, r1, 0x230 +/* 800D1D60 000CECC0 48 26 BD 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D1D64 000CECC4 38 60 00 00 */ li r3, 0 +/* 800D1D68 000CECC8 48 00 03 04 */ b lbl_800D206C +lbl_800D1D6C: +/* 800D1D6C 000CECCC 7E 24 8B 78 */ mr r4, r17 +/* 800D1D70 000CECD0 38 61 02 7C */ addi r3, r1, 0x27c +/* 800D1D74 000CECD4 48 03 3B 05 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D1D78 000CECD8 7E 24 8B 78 */ mr r4, r17 +/* 800D1D7C 000CECDC 38 61 01 60 */ addi r3, r1, 0x160 +/* 800D1D80 000CECE0 48 00 7F F5 */ bl LoadActorParameters__FR12CInputStream +/* 800D1D84 000CECE4 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 800D1D88 000CECE8 38 81 01 60 */ addi r4, r1, 0x160 +/* 800D1D8C 000CECEC 4B FF 38 91 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D1D90 000CECF0 38 61 01 60 */ addi r3, r1, 0x160 +/* 800D1D94 000CECF4 38 80 FF FF */ li r4, -1 +/* 800D1D98 000CECF8 48 03 48 71 */ bl __dt__16CActorParametersFv +/* 800D1D9C 000CECFC 7E 23 8B 78 */ mr r3, r17 +/* 800D1DA0 000CED00 48 26 CE 89 */ bl ReadFloat__12CInputStreamFv +/* 800D1DA4 000CED04 FF C0 08 90 */ fmr f30, f1 +/* 800D1DA8 000CED08 7E 23 8B 78 */ mr r3, r17 +/* 800D1DAC 000CED0C 48 26 CE 7D */ bl ReadFloat__12CInputStreamFv +/* 800D1DB0 000CED10 FF A0 08 90 */ fmr f29, f1 +/* 800D1DB4 000CED14 7E 23 8B 78 */ mr r3, r17 +/* 800D1DB8 000CED18 48 26 CE 71 */ bl ReadFloat__12CInputStreamFv +/* 800D1DBC 000CED1C FF 80 08 90 */ fmr f28, f1 +/* 800D1DC0 000CED20 7E 23 8B 78 */ mr r3, r17 +/* 800D1DC4 000CED24 48 26 CE 65 */ bl ReadFloat__12CInputStreamFv +/* 800D1DC8 000CED28 FF 60 08 90 */ fmr f27, f1 +/* 800D1DCC 000CED2C 7E 23 8B 78 */ mr r3, r17 +/* 800D1DD0 000CED30 48 26 CE B5 */ bl ReadLong__12CInputStreamFv +/* 800D1DD4 000CED34 7C 75 1B 78 */ mr r21, r3 +/* 800D1DD8 000CED38 7E 24 8B 78 */ mr r4, r17 +/* 800D1DDC 000CED3C 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800D1DE0 000CED40 4B FF 17 81 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D1DE4 000CED44 7E 23 8B 78 */ mr r3, r17 +/* 800D1DE8 000CED48 48 26 CE 9D */ bl ReadLong__12CInputStreamFv +/* 800D1DEC 000CED4C 7C 76 1B 78 */ mr r22, r3 +/* 800D1DF0 000CED50 7E 24 8B 78 */ mr r4, r17 +/* 800D1DF4 000CED54 38 61 00 DC */ addi r3, r1, 0xdc +/* 800D1DF8 000CED58 4B FF 17 69 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D1DFC 000CED5C 7E 24 8B 78 */ mr r4, r17 +/* 800D1E00 000CED60 38 61 00 BC */ addi r3, r1, 0xbc +/* 800D1E04 000CED64 48 07 09 A5 */ bl __ct__Q211CChozoGhost13CBehaveChanceFR12CInputStream +/* 800D1E08 000CED68 7E 24 8B 78 */ mr r4, r17 +/* 800D1E0C 000CED6C 38 61 00 9C */ addi r3, r1, 0x9c +/* 800D1E10 000CED70 48 07 09 99 */ bl __ct__Q211CChozoGhost13CBehaveChanceFR12CInputStream +/* 800D1E14 000CED74 7E 24 8B 78 */ mr r4, r17 +/* 800D1E18 000CED78 38 61 00 7C */ addi r3, r1, 0x7c +/* 800D1E1C 000CED7C 48 07 09 8D */ bl __ct__Q211CChozoGhost13CBehaveChanceFR12CInputStream +/* 800D1E20 000CED80 7E 23 8B 78 */ mr r3, r17 +/* 800D1E24 000CED84 48 26 CE 61 */ bl ReadLong__12CInputStreamFv +/* 800D1E28 000CED88 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 800D1E2C 000CED8C 48 21 6B 85 */ bl TranslateSFXID__11CSfxManagerFUs +/* 800D1E30 000CED90 7C 77 1B 78 */ mr r23, r3 +/* 800D1E34 000CED94 7E 23 8B 78 */ mr r3, r17 +/* 800D1E38 000CED98 48 26 CD F1 */ bl ReadFloat__12CInputStreamFv +/* 800D1E3C 000CED9C FF 40 08 90 */ fmr f26, f1 +/* 800D1E40 000CEDA0 7E 23 8B 78 */ mr r3, r17 +/* 800D1E44 000CEDA4 48 26 CE 41 */ bl ReadLong__12CInputStreamFv +/* 800D1E48 000CEDA8 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 800D1E4C 000CEDAC 48 21 6B 65 */ bl TranslateSFXID__11CSfxManagerFUs +/* 800D1E50 000CEDB0 7C 78 1B 78 */ mr r24, r3 +/* 800D1E54 000CEDB4 7E 23 8B 78 */ mr r3, r17 +/* 800D1E58 000CEDB8 48 26 CE 2D */ bl ReadLong__12CInputStreamFv +/* 800D1E5C 000CEDBC 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 800D1E60 000CEDC0 48 21 6B 51 */ bl TranslateSFXID__11CSfxManagerFUs +/* 800D1E64 000CEDC4 7C 79 1B 78 */ mr r25, r3 +/* 800D1E68 000CEDC8 7E 23 8B 78 */ mr r3, r17 +/* 800D1E6C 000CEDCC 48 26 CE 19 */ bl ReadLong__12CInputStreamFv +/* 800D1E70 000CEDD0 7C 7A 1B 78 */ mr r26, r3 +/* 800D1E74 000CEDD4 7E 23 8B 78 */ mr r3, r17 +/* 800D1E78 000CEDD8 48 26 CD B1 */ bl ReadFloat__12CInputStreamFv +/* 800D1E7C 000CEDDC FF 20 08 90 */ fmr f25, f1 +/* 800D1E80 000CEDE0 7E 23 8B 78 */ mr r3, r17 +/* 800D1E84 000CEDE4 48 26 CE 01 */ bl ReadLong__12CInputStreamFv +/* 800D1E88 000CEDE8 7C 7B 1B 78 */ mr r27, r3 +/* 800D1E8C 000CEDEC 7E 23 8B 78 */ mr r3, r17 +/* 800D1E90 000CEDF0 48 26 CD 99 */ bl ReadFloat__12CInputStreamFv +/* 800D1E94 000CEDF4 FF 00 08 90 */ fmr f24, f1 +/* 800D1E98 000CEDF8 7E 23 8B 78 */ mr r3, r17 +/* 800D1E9C 000CEDFC 48 26 CD E9 */ bl ReadLong__12CInputStreamFv +/* 800D1EA0 000CEE00 7C 7C 1B 78 */ mr r28, r3 +/* 800D1EA4 000CEE04 7E 23 8B 78 */ mr r3, r17 +/* 800D1EA8 000CEE08 48 26 CD DD */ bl ReadLong__12CInputStreamFv +/* 800D1EAC 000CEE0C 54 63 04 3E */ clrlwi r3, r3, 0x10 +/* 800D1EB0 000CEE10 48 21 6B 01 */ bl TranslateSFXID__11CSfxManagerFUs +/* 800D1EB4 000CEE14 7C 7D 1B 78 */ mr r29, r3 +/* 800D1EB8 000CEE18 7E 23 8B 78 */ mr r3, r17 +/* 800D1EBC 000CEE1C 48 26 CD 6D */ bl ReadFloat__12CInputStreamFv +/* 800D1EC0 000CEE20 FE E0 08 90 */ fmr f23, f1 +/* 800D1EC4 000CEE24 7E 23 8B 78 */ mr r3, r17 +/* 800D1EC8 000CEE28 48 26 CD 61 */ bl ReadFloat__12CInputStreamFv +/* 800D1ECC 000CEE2C FF E0 08 90 */ fmr f31, f1 +/* 800D1ED0 000CEE30 7E 23 8B 78 */ mr r3, r17 +/* 800D1ED4 000CEE34 48 26 CD B1 */ bl ReadLong__12CInputStreamFv +/* 800D1ED8 000CEE38 7C 7E 1B 78 */ mr r30, r3 +/* 800D1EDC 000CEE3C 7E 23 8B 78 */ mr r3, r17 +/* 800D1EE0 000CEE40 48 26 CD A5 */ bl ReadLong__12CInputStreamFv +/* 800D1EE4 000CEE44 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D1EE8 000CEE48 7C 7F 1B 78 */ mr r31, r3 +/* 800D1EEC 000CEE4C 80 81 03 68 */ lwz r4, 0x368(r1) +/* 800D1EF0 000CEE50 38 65 00 04 */ addi r3, r5, 4 +/* 800D1EF4 000CEE54 48 26 9D D9 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D1EF8 000CEE58 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800D1EFC 000CEE5C 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D1F00 000CEE60 41 82 00 20 */ beq lbl_800D1F20 +/* 800D1F04 000CEE64 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 800D1F08 000CEE68 38 80 FF FF */ li r4, -1 +/* 800D1F0C 000CEE6C 48 03 46 FD */ bl __dt__16CActorParametersFv +/* 800D1F10 000CEE70 38 61 02 30 */ addi r3, r1, 0x230 +/* 800D1F14 000CEE74 48 26 BB CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D1F18 000CEE78 38 60 00 00 */ li r3, 0 +/* 800D1F1C 000CEE7C 48 00 01 50 */ b lbl_800D206C +lbl_800D1F20: +/* 800D1F20 000CEE80 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D1F24 000CEE84 3A 20 00 00 */ li r17, 0 +/* 800D1F28 000CEE88 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D1F2C 000CEE8C 38 60 06 E0 */ li r3, 0x6e0 +/* 800D1F30 000CEE90 38 84 00 0D */ addi r4, r4, 0xd +/* 800D1F34 000CEE94 38 A0 00 00 */ li r5, 0 +/* 800D1F38 000CEE98 48 24 39 35 */ bl __nw__FUlPCcPCc +/* 800D1F3C 000CEE9C 7C 74 1B 79 */ or. r20, r3, r3 +/* 800D1F40 000CEEA0 41 82 01 00 */ beq lbl_800D2040 +/* 800D1F44 000CEEA4 80 E1 03 68 */ lwz r7, 0x368(r1) +/* 800D1F48 000CEEA8 38 A0 00 01 */ li r5, 1 +/* 800D1F4C 000CEEAC 80 C2 83 F0 */ lwz r6, lbl_805AA110@sda21(r2) +/* 800D1F50 000CEEB0 38 61 01 14 */ addi r3, r1, 0x114 +/* 800D1F54 000CEEB4 C0 41 02 70 */ lfs f2, 0x270(r1) +/* 800D1F58 000CEEB8 38 81 00 60 */ addi r4, r1, 0x60 +/* 800D1F5C 000CEEBC C0 21 02 74 */ lfs f1, 0x274(r1) +/* 800D1F60 000CEEC0 C0 01 02 78 */ lfs f0, 0x278(r1) +/* 800D1F64 000CEEC4 80 01 03 70 */ lwz r0, 0x370(r1) +/* 800D1F68 000CEEC8 90 E1 00 60 */ stw r7, 0x60(r1) +/* 800D1F6C 000CEECC 90 C1 00 64 */ stw r6, 0x64(r1) +/* 800D1F70 000CEED0 D0 41 00 68 */ stfs f2, 0x68(r1) +/* 800D1F74 000CEED4 D0 21 00 6C */ stfs f1, 0x6c(r1) +/* 800D1F78 000CEED8 D0 01 00 70 */ stfs f0, 0x70(r1) +/* 800D1F7C 000CEEDC 98 A1 00 74 */ stb r5, 0x74(r1) +/* 800D1F80 000CEEE0 90 01 00 78 */ stw r0, 0x78(r1) +/* 800D1F84 000CEEE4 48 04 4B D1 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D1F88 000CEEE8 7E 44 93 78 */ mr r4, r18 +/* 800D1F8C 000CEEEC 38 61 00 50 */ addi r3, r1, 0x50 +/* 800D1F90 000CEEF0 3A 20 00 01 */ li r17, 1 +/* 800D1F94 000CEEF4 4B F7 B1 49 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D1F98 000CEEF8 A0 01 00 50 */ lhz r0, 0x50(r1) +/* 800D1F9C 000CEEFC 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 800D1FA0 000CEF00 38 A1 00 DC */ addi r5, r1, 0xdc +/* 800D1FA4 000CEF04 38 E1 00 7C */ addi r7, r1, 0x7c +/* 800D1FA8 000CEF08 B0 01 00 54 */ sth r0, 0x54(r1) +/* 800D1FAC 000CEF0C 39 01 00 9C */ addi r8, r1, 0x9c +/* 800D1FB0 000CEF10 38 01 00 BC */ addi r0, r1, 0xbc +/* 800D1FB4 000CEF14 FC 20 F0 90 */ fmr f1, f30 +/* 800D1FB8 000CEF18 92 A1 00 08 */ stw r21, 8(r1) +/* 800D1FBC 000CEF1C FC 40 E8 90 */ fmr f2, f29 +/* 800D1FC0 000CEF20 FC 60 E0 90 */ fmr f3, f28 +/* 800D1FC4 000CEF24 7E 83 A3 78 */ mr r3, r20 +/* 800D1FC8 000CEF28 90 81 00 0C */ stw r4, 0xc(r1) +/* 800D1FCC 000CEF2C FC 80 D8 90 */ fmr f4, f27 +/* 800D1FD0 000CEF30 7E 66 9B 78 */ mr r6, r19 +/* 800D1FD4 000CEF34 92 C1 00 10 */ stw r22, 0x10(r1) +/* 800D1FD8 000CEF38 FC A0 D0 90 */ fmr f5, f26 +/* 800D1FDC 000CEF3C 38 81 00 54 */ addi r4, r1, 0x54 +/* 800D1FE0 000CEF40 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800D1FE4 000CEF44 FC C0 C8 90 */ fmr f6, f25 +/* 800D1FE8 000CEF48 38 A1 02 30 */ addi r5, r1, 0x230 +/* 800D1FEC 000CEF4C 90 E1 00 18 */ stw r7, 0x18(r1) +/* 800D1FF0 000CEF50 FC E0 C0 90 */ fmr f7, f24 +/* 800D1FF4 000CEF54 38 E1 02 40 */ addi r7, r1, 0x240 +/* 800D1FF8 000CEF58 91 01 00 1C */ stw r8, 0x1c(r1) +/* 800D1FFC 000CEF5C FD 00 B8 90 */ fmr f8, f23 +/* 800D2000 000CEF60 39 01 01 14 */ addi r8, r1, 0x114 +/* 800D2004 000CEF64 90 01 00 20 */ stw r0, 0x20(r1) +/* 800D2008 000CEF68 39 21 01 C8 */ addi r9, r1, 0x1c8 +/* 800D200C 000CEF6C 39 41 02 7C */ addi r10, r1, 0x27c +/* 800D2010 000CEF70 92 E1 00 24 */ stw r23, 0x24(r1) +/* 800D2014 000CEF74 93 01 00 28 */ stw r24, 0x28(r1) +/* 800D2018 000CEF78 93 21 00 2C */ stw r25, 0x2c(r1) +/* 800D201C 000CEF7C 93 41 00 30 */ stw r26, 0x30(r1) +/* 800D2020 000CEF80 93 61 00 34 */ stw r27, 0x34(r1) +/* 800D2024 000CEF84 93 81 00 38 */ stw r28, 0x38(r1) +/* 800D2028 000CEF88 93 A1 00 3C */ stw r29, 0x3c(r1) +/* 800D202C 000CEF8C D3 E1 00 40 */ stfs f31, 0x40(r1) +/* 800D2030 000CEF90 93 C1 00 44 */ stw r30, 0x44(r1) +/* 800D2034 000CEF94 93 E1 00 48 */ stw r31, 0x48(r1) +/* 800D2038 000CEF98 48 06 FE 0D */ bl "__ct__11CChozoGhostF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoffffUiRC11CDamageInfoUiRC11CDamageInfoRCQ211CChozoGhost13CBehaveChanceRCQ211CChozoGhost13CBehaveChanceRCQ211CChozoGhost13CBehaveChance" +/* 800D203C 000CEF9C 7C 74 1B 78 */ mr r20, r3 +lbl_800D2040: +/* 800D2040 000CEFA0 7E 20 07 75 */ extsb. r0, r17 +/* 800D2044 000CEFA4 41 82 00 10 */ beq lbl_800D2054 +/* 800D2048 000CEFA8 38 61 01 14 */ addi r3, r1, 0x114 +/* 800D204C 000CEFAC 38 80 FF FF */ li r4, -1 +/* 800D2050 000CEFB0 48 04 49 FD */ bl __dt__10CModelDataFv +lbl_800D2054: +/* 800D2054 000CEFB4 38 61 01 C8 */ addi r3, r1, 0x1c8 +/* 800D2058 000CEFB8 38 80 FF FF */ li r4, -1 +/* 800D205C 000CEFBC 48 03 45 AD */ bl __dt__16CActorParametersFv +/* 800D2060 000CEFC0 38 61 02 30 */ addi r3, r1, 0x230 +/* 800D2064 000CEFC4 48 26 BA 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2068 000CEFC8 7E 83 A3 78 */ mr r3, r20 +lbl_800D206C: +/* 800D206C 000CEFCC E3 E1 04 88 */ psq_l f31, 1160(r1), 0, qr0 +/* 800D2070 000CEFD0 CB E1 04 80 */ lfd f31, 0x480(r1) +/* 800D2074 000CEFD4 E3 C1 04 78 */ psq_l f30, 1144(r1), 0, qr0 +/* 800D2078 000CEFD8 CB C1 04 70 */ lfd f30, 0x470(r1) +/* 800D207C 000CEFDC E3 A1 04 68 */ psq_l f29, 1128(r1), 0, qr0 +/* 800D2080 000CEFE0 CB A1 04 60 */ lfd f29, 0x460(r1) +/* 800D2084 000CEFE4 E3 81 04 58 */ psq_l f28, 1112(r1), 0, qr0 +/* 800D2088 000CEFE8 CB 81 04 50 */ lfd f28, 0x450(r1) +/* 800D208C 000CEFEC E3 61 04 48 */ psq_l f27, 1096(r1), 0, qr0 +/* 800D2090 000CEFF0 CB 61 04 40 */ lfd f27, 0x440(r1) +/* 800D2094 000CEFF4 E3 41 04 38 */ psq_l f26, 1080(r1), 0, qr0 +/* 800D2098 000CEFF8 CB 41 04 30 */ lfd f26, 0x430(r1) +/* 800D209C 000CEFFC E3 21 04 28 */ psq_l f25, 1064(r1), 0, qr0 +/* 800D20A0 000CF000 CB 21 04 20 */ lfd f25, 0x420(r1) +/* 800D20A4 000CF004 E3 01 04 18 */ psq_l f24, 1048(r1), 0, qr0 +/* 800D20A8 000CF008 CB 01 04 10 */ lfd f24, 0x410(r1) +/* 800D20AC 000CF00C E2 E1 04 08 */ psq_l f23, 1032(r1), 0, qr0 +/* 800D20B0 000CF010 CA E1 04 00 */ lfd f23, 0x400(r1) +/* 800D20B4 000CF014 BA 21 03 C4 */ lmw r17, 0x3c4(r1) +/* 800D20B8 000CF018 80 01 04 94 */ lwz r0, 0x494(r1) +/* 800D20BC 000CF01C 7C 08 03 A6 */ mtlr r0 +/* 800D20C0 000CF020 38 21 04 90 */ addi r1, r1, 0x490 +/* 800D20C4 000CF024 4E 80 00 20 */ blr + +.global LoadFlickerBat__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadFlickerBat__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D20C8 000CF028 94 21 FC C0 */ stwu r1, -0x340(r1) +/* 800D20CC 000CF02C 7C 08 02 A6 */ mflr r0 +/* 800D20D0 000CF030 2C 05 00 0A */ cmpwi r5, 0xa +/* 800D20D4 000CF034 90 01 03 44 */ stw r0, 0x344(r1) +/* 800D20D8 000CF038 BF 01 03 20 */ stmw r24, 0x320(r1) +/* 800D20DC 000CF03C 7C 7A 1B 78 */ mr r26, r3 +/* 800D20E0 000CF040 7C 9C 23 78 */ mr r28, r4 +/* 800D20E4 000CF044 7C DB 33 78 */ mr r27, r6 +/* 800D20E8 000CF048 41 82 00 0C */ beq lbl_800D20F4 +/* 800D20EC 000CF04C 38 60 00 00 */ li r3, 0 +/* 800D20F0 000CF050 48 00 02 08 */ b lbl_800D22F8 +lbl_800D20F4: +/* 800D20F4 000CF054 4B F7 30 F1 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D20F8 000CF058 7C 64 1B 78 */ mr r4, r3 +/* 800D20FC 000CF05C 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D2100 000CF060 48 26 C0 61 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D2104 000CF064 7F 83 E3 78 */ mr r3, r28 +/* 800D2108 000CF068 48 26 CB 7D */ bl ReadLong__12CInputStreamFv +/* 800D210C 000CF06C 7C 7D 1B 78 */ mr r29, r3 +/* 800D2110 000CF070 7F 84 E3 78 */ mr r4, r28 +/* 800D2114 000CF074 38 61 00 60 */ addi r3, r1, 0x60 +/* 800D2118 000CF078 48 00 84 75 */ bl LoadEditorTransform__FR12CInputStream +/* 800D211C 000CF07C 38 61 00 90 */ addi r3, r1, 0x90 +/* 800D2120 000CF080 38 81 00 60 */ addi r4, r1, 0x60 +/* 800D2124 000CF084 48 24 0A 51 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800D2128 000CF088 7F 84 E3 78 */ mr r4, r28 +/* 800D212C 000CF08C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D2130 000CF090 48 24 2A 5D */ bl __ct__9CVector3fFR12CInputStream +/* 800D2134 000CF094 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D2138 000CF098 7F 84 E3 78 */ mr r4, r28 +/* 800D213C 000CF09C 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D2140 000CF0A0 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D2144 000CF0A4 38 A5 01 6D */ addi r5, r5, 0x16d +/* 800D2148 000CF0A8 48 03 36 E1 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D214C 000CF0AC 88 01 00 20 */ lbz r0, 0x20(r1) +/* 800D2150 000CF0B0 80 A1 00 24 */ lwz r5, 0x24(r1) +/* 800D2154 000CF0B4 28 00 00 00 */ cmplwi r0, 0 +/* 800D2158 000CF0B8 40 82 00 14 */ bne lbl_800D216C +/* 800D215C 000CF0BC 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D2160 000CF0C0 48 26 B9 81 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2164 000CF0C4 38 60 00 00 */ li r3, 0 +/* 800D2168 000CF0C8 48 00 01 90 */ b lbl_800D22F8 +lbl_800D216C: +/* 800D216C 000CF0CC 7F 84 E3 78 */ mr r4, r28 +/* 800D2170 000CF0D0 38 61 01 DC */ addi r3, r1, 0x1dc +/* 800D2174 000CF0D4 48 03 37 05 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D2178 000CF0D8 7F 84 E3 78 */ mr r4, r28 +/* 800D217C 000CF0DC 38 61 01 0C */ addi r3, r1, 0x10c +/* 800D2180 000CF0E0 48 00 7B F5 */ bl LoadActorParameters__FR12CInputStream +/* 800D2184 000CF0E4 38 61 01 74 */ addi r3, r1, 0x174 +/* 800D2188 000CF0E8 38 81 01 0C */ addi r4, r1, 0x10c +/* 800D218C 000CF0EC 4B FF 34 91 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D2190 000CF0F0 38 61 01 0C */ addi r3, r1, 0x10c +/* 800D2194 000CF0F4 38 80 FF FF */ li r4, -1 +/* 800D2198 000CF0F8 48 03 44 71 */ bl __dt__16CActorParametersFv +/* 800D219C 000CF0FC 7F 83 E3 78 */ mr r3, r28 +/* 800D21A0 000CF100 48 26 CB 3D */ bl ReadBool__12CInputStreamFv +/* 800D21A4 000CF104 7C 79 1B 78 */ mr r25, r3 +/* 800D21A8 000CF108 7F 83 E3 78 */ mr r3, r28 +/* 800D21AC 000CF10C 48 26 CB 31 */ bl ReadBool__12CInputStreamFv +/* 800D21B0 000CF110 7C 7E 1B 78 */ mr r30, r3 +/* 800D21B4 000CF114 7F 83 E3 78 */ mr r3, r28 +/* 800D21B8 000CF118 48 26 CB 25 */ bl ReadBool__12CInputStreamFv +/* 800D21BC 000CF11C 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D21C0 000CF120 7C 7F 1B 78 */ mr r31, r3 +/* 800D21C4 000CF124 80 81 02 C8 */ lwz r4, 0x2c8(r1) +/* 800D21C8 000CF128 38 65 00 04 */ addi r3, r5, 4 +/* 800D21CC 000CF12C 48 26 9B 01 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D21D0 000CF130 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800D21D4 000CF134 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D21D8 000CF138 41 82 00 20 */ beq lbl_800D21F8 +/* 800D21DC 000CF13C 38 61 01 74 */ addi r3, r1, 0x174 +/* 800D21E0 000CF140 38 80 FF FF */ li r4, -1 +/* 800D21E4 000CF144 48 03 44 25 */ bl __dt__16CActorParametersFv +/* 800D21E8 000CF148 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D21EC 000CF14C 48 26 B8 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D21F0 000CF150 38 60 00 00 */ li r3, 0 +/* 800D21F4 000CF154 48 00 01 04 */ b lbl_800D22F8 +lbl_800D21F8: +/* 800D21F8 000CF158 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D21FC 000CF15C 3B 00 00 00 */ li r24, 0 +/* 800D2200 000CF160 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D2204 000CF164 38 60 05 88 */ li r3, 0x588 +/* 800D2208 000CF168 38 84 00 0D */ addi r4, r4, 0xd +/* 800D220C 000CF16C 38 A0 00 00 */ li r5, 0 +/* 800D2210 000CF170 48 24 36 5D */ bl __nw__FUlPCcPCc +/* 800D2214 000CF174 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800D2218 000CF178 41 82 00 B4 */ beq lbl_800D22CC +/* 800D221C 000CF17C 57 23 06 3E */ clrlwi r3, r25, 0x18 +/* 800D2220 000CF180 80 81 02 C8 */ lwz r4, 0x2c8(r1) +/* 800D2224 000CF184 80 C1 02 CC */ lwz r6, 0x2cc(r1) +/* 800D2228 000CF188 7C 03 00 D0 */ neg r0, r3 +/* 800D222C 000CF18C C0 41 00 28 */ lfs f2, 0x28(r1) +/* 800D2230 000CF190 38 A0 00 01 */ li r5, 1 +/* 800D2234 000CF194 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 800D2238 000CF198 7C 00 1B 78 */ or r0, r0, r3 +/* 800D223C 000CF19C C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800D2240 000CF1A0 54 19 0F FE */ srwi r25, r0, 0x1f +/* 800D2244 000CF1A4 80 01 02 D0 */ lwz r0, 0x2d0(r1) +/* 800D2248 000CF1A8 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800D224C 000CF1AC 90 81 00 44 */ stw r4, 0x44(r1) +/* 800D2250 000CF1B0 38 81 00 44 */ addi r4, r1, 0x44 +/* 800D2254 000CF1B4 90 C1 00 48 */ stw r6, 0x48(r1) +/* 800D2258 000CF1B8 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 800D225C 000CF1BC D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800D2260 000CF1C0 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800D2264 000CF1C4 98 A1 00 58 */ stb r5, 0x58(r1) +/* 800D2268 000CF1C8 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800D226C 000CF1CC 48 04 48 E9 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D2270 000CF1D0 7F 44 D3 78 */ mr r4, r26 +/* 800D2274 000CF1D4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D2278 000CF1D8 3B 00 00 01 */ li r24, 1 +/* 800D227C 000CF1DC 4B F7 AE 61 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D2280 000CF1E0 A0 61 00 18 */ lhz r3, 0x18(r1) +/* 800D2284 000CF1E4 57 C9 06 3E */ clrlwi r9, r30, 0x18 +/* 800D2288 000CF1E8 39 61 01 74 */ addi r11, r1, 0x174 +/* 800D228C 000CF1EC 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 800D2290 000CF1F0 B0 61 00 1C */ sth r3, 0x1c(r1) +/* 800D2294 000CF1F4 7F 83 E3 78 */ mr r3, r28 +/* 800D2298 000CF1F8 7F A6 EB 78 */ mr r6, r29 +/* 800D229C 000CF1FC 7F 67 DB 78 */ mr r7, r27 +/* 800D22A0 000CF200 93 21 00 08 */ stw r25, 8(r1) +/* 800D22A4 000CF204 38 81 00 1C */ addi r4, r1, 0x1c +/* 800D22A8 000CF208 38 A1 00 34 */ addi r5, r1, 0x34 +/* 800D22AC 000CF20C 39 01 00 90 */ addi r8, r1, 0x90 +/* 800D22B0 000CF210 91 21 00 0C */ stw r9, 0xc(r1) +/* 800D22B4 000CF214 39 21 00 C0 */ addi r9, r1, 0xc0 +/* 800D22B8 000CF218 39 41 01 DC */ addi r10, r1, 0x1dc +/* 800D22BC 000CF21C 91 61 00 10 */ stw r11, 0x10(r1) +/* 800D22C0 000CF220 90 01 00 14 */ stw r0, 0x14(r1) +/* 800D22C4 000CF224 48 05 F0 39 */ bl "__ct__11CFlickerBatF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>Q210CPatterned11EFlavorTypeRC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned13EColliderTypebRC16CActorParameters" +/* 800D22C8 000CF228 7C 7C 1B 78 */ mr r28, r3 +lbl_800D22CC: +/* 800D22CC 000CF22C 7F 00 07 75 */ extsb. r0, r24 +/* 800D22D0 000CF230 41 82 00 10 */ beq lbl_800D22E0 +/* 800D22D4 000CF234 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800D22D8 000CF238 38 80 FF FF */ li r4, -1 +/* 800D22DC 000CF23C 48 04 47 71 */ bl __dt__10CModelDataFv +lbl_800D22E0: +/* 800D22E0 000CF240 38 61 01 74 */ addi r3, r1, 0x174 +/* 800D22E4 000CF244 38 80 FF FF */ li r4, -1 +/* 800D22E8 000CF248 48 03 43 21 */ bl __dt__16CActorParametersFv +/* 800D22EC 000CF24C 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D22F0 000CF250 48 26 B7 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D22F4 000CF254 7F 83 E3 78 */ mr r3, r28 +lbl_800D22F8: +/* 800D22F8 000CF258 BB 01 03 20 */ lmw r24, 0x320(r1) +/* 800D22FC 000CF25C 80 01 03 44 */ lwz r0, 0x344(r1) +/* 800D2300 000CF260 7C 08 03 A6 */ mtlr r0 +/* 800D2304 000CF264 38 21 03 40 */ addi r1, r1, 0x340 +/* 800D2308 000CF268 4E 80 00 20 */ blr + +.global LoadGrapplePoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadGrapplePoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D230C 000CF26C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800D2310 000CF270 7C 08 02 A6 */ mflr r0 +/* 800D2314 000CF274 2C 05 00 05 */ cmpwi r5, 5 +/* 800D2318 000CF278 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800D231C 000CF27C 93 E1 00 DC */ stw r31, 0xdc(r1) +/* 800D2320 000CF280 93 C1 00 D8 */ stw r30, 0xd8(r1) +/* 800D2324 000CF284 7C 9E 23 78 */ mr r30, r4 +/* 800D2328 000CF288 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 800D232C 000CF28C 7C DD 33 78 */ mr r29, r6 +/* 800D2330 000CF290 93 81 00 D0 */ stw r28, 0xd0(r1) +/* 800D2334 000CF294 7C 7C 1B 78 */ mr r28, r3 +/* 800D2338 000CF298 41 82 00 0C */ beq lbl_800D2344 +/* 800D233C 000CF29C 38 60 00 00 */ li r3, 0 +/* 800D2340 000CF2A0 48 00 01 2C */ b lbl_800D246C +lbl_800D2344: +/* 800D2344 000CF2A4 4B F7 2E A1 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D2348 000CF2A8 7C 64 1B 78 */ mr r4, r3 +/* 800D234C 000CF2AC 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D2350 000CF2B0 48 26 BE 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D2354 000CF2B4 7F C4 F3 78 */ mr r4, r30 +/* 800D2358 000CF2B8 38 61 00 1C */ addi r3, r1, 0x1c +/* 800D235C 000CF2BC 48 24 28 31 */ bl __ct__9CVector3fFR12CInputStream +/* 800D2360 000CF2C0 7F C4 F3 78 */ mr r4, r30 +/* 800D2364 000CF2C4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D2368 000CF2C8 48 24 28 25 */ bl __ct__9CVector3fFR12CInputStream +/* 800D236C 000CF2CC 7F C3 F3 78 */ mr r3, r30 +/* 800D2370 000CF2D0 48 26 C9 6D */ bl ReadBool__12CInputStreamFv +/* 800D2374 000CF2D4 7C 7F 1B 78 */ mr r31, r3 +/* 800D2378 000CF2D8 7F C4 F3 78 */ mr r4, r30 +/* 800D237C 000CF2DC 38 61 00 68 */ addi r3, r1, 0x68 +/* 800D2380 000CF2E0 48 00 78 E5 */ bl LoadGrappleParameters__FR12CInputStream +/* 800D2384 000CF2E4 88 61 00 94 */ lbz r3, 0x94(r1) +/* 800D2388 000CF2E8 C1 41 00 68 */ lfs f10, 0x68(r1) +/* 800D238C 000CF2EC C1 21 00 6C */ lfs f9, 0x6c(r1) +/* 800D2390 000CF2F0 54 60 CF FF */ rlwinm. r0, r3, 0x19, 0x1f, 0x1f +/* 800D2394 000CF2F4 C1 01 00 70 */ lfs f8, 0x70(r1) +/* 800D2398 000CF2F8 C0 E1 00 74 */ lfs f7, 0x74(r1) +/* 800D239C 000CF2FC C0 C1 00 78 */ lfs f6, 0x78(r1) +/* 800D23A0 000CF300 C0 A1 00 7C */ lfs f5, 0x7c(r1) +/* 800D23A4 000CF304 C0 81 00 80 */ lfs f4, 0x80(r1) +/* 800D23A8 000CF308 C0 61 00 84 */ lfs f3, 0x84(r1) +/* 800D23AC 000CF30C C0 41 00 88 */ lfs f2, 0x88(r1) +/* 800D23B0 000CF310 C0 21 00 8C */ lfs f1, 0x8c(r1) +/* 800D23B4 000CF314 C0 01 00 90 */ lfs f0, 0x90(r1) +/* 800D23B8 000CF318 D1 41 00 98 */ stfs f10, 0x98(r1) +/* 800D23BC 000CF31C D1 21 00 9C */ stfs f9, 0x9c(r1) +/* 800D23C0 000CF320 D1 01 00 A0 */ stfs f8, 0xa0(r1) +/* 800D23C4 000CF324 D0 E1 00 A4 */ stfs f7, 0xa4(r1) +/* 800D23C8 000CF328 D0 C1 00 A8 */ stfs f6, 0xa8(r1) +/* 800D23CC 000CF32C D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 800D23D0 000CF330 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 800D23D4 000CF334 D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 800D23D8 000CF338 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 800D23DC 000CF33C D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 800D23E0 000CF340 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 800D23E4 000CF344 98 61 00 C4 */ stb r3, 0xc4(r1) +/* 800D23E8 000CF348 41 82 00 10 */ beq lbl_800D23F8 +/* 800D23EC 000CF34C C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) +/* 800D23F0 000CF350 D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800D23F4 000CF354 D0 01 00 14 */ stfs f0, 0x14(r1) +lbl_800D23F8: +/* 800D23F8 000CF358 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D23FC 000CF35C 38 60 01 30 */ li r3, 0x130 +/* 800D2400 000CF360 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D2404 000CF364 38 A0 00 00 */ li r5, 0 +/* 800D2408 000CF368 38 84 00 0D */ addi r4, r4, 0xd +/* 800D240C 000CF36C 48 24 34 61 */ bl __nw__FUlPCcPCc +/* 800D2410 000CF370 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800D2414 000CF374 41 82 00 4C */ beq lbl_800D2460 +/* 800D2418 000CF378 7F 84 E3 78 */ mr r4, r28 +/* 800D241C 000CF37C 38 61 00 08 */ addi r3, r1, 8 +/* 800D2420 000CF380 4B F7 AC BD */ bl AllocateUniqueId__13CStateManagerFv +/* 800D2424 000CF384 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D2428 000CF388 38 61 00 38 */ addi r3, r1, 0x38 +/* 800D242C 000CF38C 38 81 00 10 */ addi r4, r1, 0x10 +/* 800D2430 000CF390 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800D2434 000CF394 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D2438 000CF398 48 00 81 AD */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f +/* 800D243C 000CF39C 7F C3 F3 78 */ mr r3, r30 +/* 800D2440 000CF3A0 7F A6 EB 78 */ mr r6, r29 +/* 800D2444 000CF3A4 7F E8 FB 78 */ mr r8, r31 +/* 800D2448 000CF3A8 38 81 00 0C */ addi r4, r1, 0xc +/* 800D244C 000CF3AC 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800D2450 000CF3B0 38 E1 00 38 */ addi r7, r1, 0x38 +/* 800D2454 000CF3B4 39 21 00 98 */ addi r9, r1, 0x98 +/* 800D2458 000CF3B8 48 05 D4 C9 */ bl "__ct__19CScriptGrapplePointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC18CGrappleParameters" +/* 800D245C 000CF3BC 7C 7E 1B 78 */ mr r30, r3 +lbl_800D2460: +/* 800D2460 000CF3C0 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D2464 000CF3C4 48 26 B6 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2468 000CF3C8 7F C3 F3 78 */ mr r3, r30 +lbl_800D246C: +/* 800D246C 000CF3CC 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800D2470 000CF3D0 83 E1 00 DC */ lwz r31, 0xdc(r1) +/* 800D2474 000CF3D4 83 C1 00 D8 */ lwz r30, 0xd8(r1) +/* 800D2478 000CF3D8 83 A1 00 D4 */ lwz r29, 0xd4(r1) +/* 800D247C 000CF3DC 83 81 00 D0 */ lwz r28, 0xd0(r1) +/* 800D2480 000CF3E0 7C 08 03 A6 */ mtlr r0 +/* 800D2484 000CF3E4 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800D2488 000CF3E8 4E 80 00 20 */ blr + +.global LoadBloodFlower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadBloodFlower__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D248C 000CF3EC 94 21 FC 60 */ stwu r1, -0x3a0(r1) +/* 800D2490 000CF3F0 7C 08 02 A6 */ mflr r0 +/* 800D2494 000CF3F4 90 01 03 A4 */ stw r0, 0x3a4(r1) +/* 800D2498 000CF3F8 DB E1 03 90 */ stfd f31, 0x390(r1) +/* 800D249C 000CF3FC F3 E1 03 98 */ psq_st f31, 920(r1), 0, qr0 +/* 800D24A0 000CF400 BE 81 03 60 */ stmw r20, 0x360(r1) +/* 800D24A4 000CF404 2C 05 00 12 */ cmpwi r5, 0x12 +/* 800D24A8 000CF408 7C 75 1B 78 */ mr r21, r3 +/* 800D24AC 000CF40C 7C 94 23 78 */ mr r20, r4 +/* 800D24B0 000CF410 7C D6 33 78 */ mr r22, r6 +/* 800D24B4 000CF414 41 82 00 0C */ beq lbl_800D24C0 +/* 800D24B8 000CF418 38 60 00 00 */ li r3, 0 +/* 800D24BC 000CF41C 48 00 02 54 */ b lbl_800D2710 +lbl_800D24C0: +/* 800D24C0 000CF420 7E A5 AB 78 */ mr r5, r21 +/* 800D24C4 000CF424 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 800D24C8 000CF428 48 00 7F B5 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D24CC 000CF42C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D24D0 000CF430 7E 84 A3 78 */ mr r4, r20 +/* 800D24D4 000CF434 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D24D8 000CF438 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D24DC 000CF43C 38 A5 01 78 */ addi r5, r5, 0x178 +/* 800D24E0 000CF440 48 03 33 49 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D24E4 000CF444 88 01 00 40 */ lbz r0, 0x40(r1) +/* 800D24E8 000CF448 80 A1 00 44 */ lwz r5, 0x44(r1) +/* 800D24EC 000CF44C 28 00 00 00 */ cmplwi r0, 0 +/* 800D24F0 000CF450 40 82 00 14 */ bne lbl_800D2504 +/* 800D24F4 000CF454 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 800D24F8 000CF458 48 26 B5 E9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D24FC 000CF45C 38 60 00 00 */ li r3, 0 +/* 800D2500 000CF460 48 00 02 10 */ b lbl_800D2710 +lbl_800D2504: +/* 800D2504 000CF464 7E 84 A3 78 */ mr r4, r20 +/* 800D2508 000CF468 38 61 02 20 */ addi r3, r1, 0x220 +/* 800D250C 000CF46C 48 03 33 6D */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D2510 000CF470 7E 84 A3 78 */ mr r4, r20 +/* 800D2514 000CF474 38 61 01 04 */ addi r3, r1, 0x104 +/* 800D2518 000CF478 48 00 78 5D */ bl LoadActorParameters__FR12CInputStream +/* 800D251C 000CF47C 38 61 01 6C */ addi r3, r1, 0x16c +/* 800D2520 000CF480 38 81 01 04 */ addi r4, r1, 0x104 +/* 800D2524 000CF484 4B FF 30 F9 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D2528 000CF488 38 61 01 04 */ addi r3, r1, 0x104 +/* 800D252C 000CF48C 38 80 FF FF */ li r4, -1 +/* 800D2530 000CF490 48 03 40 D9 */ bl __dt__16CActorParametersFv +/* 800D2534 000CF494 7E 83 A3 78 */ mr r3, r20 +/* 800D2538 000CF498 48 26 C7 4D */ bl ReadLong__12CInputStreamFv +/* 800D253C 000CF49C 7C 78 1B 78 */ mr r24, r3 +/* 800D2540 000CF4A0 7E 83 A3 78 */ mr r3, r20 +/* 800D2544 000CF4A4 48 26 C7 41 */ bl ReadLong__12CInputStreamFv +/* 800D2548 000CF4A8 7C 79 1B 78 */ mr r25, r3 +/* 800D254C 000CF4AC 7E 83 A3 78 */ mr r3, r20 +/* 800D2550 000CF4B0 48 26 C7 35 */ bl ReadLong__12CInputStreamFv +/* 800D2554 000CF4B4 7C 7A 1B 78 */ mr r26, r3 +/* 800D2558 000CF4B8 7E 84 A3 78 */ mr r4, r20 +/* 800D255C 000CF4BC 38 61 00 9C */ addi r3, r1, 0x9c +/* 800D2560 000CF4C0 4B FF 10 01 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D2564 000CF4C4 7E 84 A3 78 */ mr r4, r20 +/* 800D2568 000CF4C8 38 61 00 80 */ addi r3, r1, 0x80 +/* 800D256C 000CF4CC 4B FF 0F F5 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D2570 000CF4D0 7E 84 A3 78 */ mr r4, r20 +/* 800D2574 000CF4D4 38 61 00 64 */ addi r3, r1, 0x64 +/* 800D2578 000CF4D8 4B FF 0F E9 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D257C 000CF4DC 7E 83 A3 78 */ mr r3, r20 +/* 800D2580 000CF4E0 48 26 C7 05 */ bl ReadLong__12CInputStreamFv +/* 800D2584 000CF4E4 7C 7B 1B 78 */ mr r27, r3 +/* 800D2588 000CF4E8 7E 83 A3 78 */ mr r3, r20 +/* 800D258C 000CF4EC 48 26 C6 F9 */ bl ReadLong__12CInputStreamFv +/* 800D2590 000CF4F0 7C 7C 1B 78 */ mr r28, r3 +/* 800D2594 000CF4F4 7E 83 A3 78 */ mr r3, r20 +/* 800D2598 000CF4F8 48 26 C6 ED */ bl ReadLong__12CInputStreamFv +/* 800D259C 000CF4FC 7C 7D 1B 78 */ mr r29, r3 +/* 800D25A0 000CF500 7E 83 A3 78 */ mr r3, r20 +/* 800D25A4 000CF504 48 26 C6 85 */ bl ReadFloat__12CInputStreamFv +/* 800D25A8 000CF508 FF E0 08 90 */ fmr f31, f1 +/* 800D25AC 000CF50C 7E 83 A3 78 */ mr r3, r20 +/* 800D25B0 000CF510 48 26 C6 D5 */ bl ReadLong__12CInputStreamFv +/* 800D25B4 000CF514 7C 7E 1B 78 */ mr r30, r3 +/* 800D25B8 000CF518 7E 83 A3 78 */ mr r3, r20 +/* 800D25BC 000CF51C 48 26 C6 C9 */ bl ReadLong__12CInputStreamFv +/* 800D25C0 000CF520 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D25C4 000CF524 7C 7F 1B 78 */ mr r31, r3 +/* 800D25C8 000CF528 80 81 03 0C */ lwz r4, 0x30c(r1) +/* 800D25CC 000CF52C 38 65 00 04 */ addi r3, r5, 4 +/* 800D25D0 000CF530 48 26 96 FD */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D25D4 000CF534 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800D25D8 000CF538 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D25DC 000CF53C 41 82 00 20 */ beq lbl_800D25FC +/* 800D25E0 000CF540 38 61 01 6C */ addi r3, r1, 0x16c +/* 800D25E4 000CF544 38 80 FF FF */ li r4, -1 +/* 800D25E8 000CF548 48 03 40 21 */ bl __dt__16CActorParametersFv +/* 800D25EC 000CF54C 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 800D25F0 000CF550 48 26 B4 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D25F4 000CF554 38 60 00 00 */ li r3, 0 +/* 800D25F8 000CF558 48 00 01 18 */ b lbl_800D2710 +lbl_800D25FC: +/* 800D25FC 000CF55C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D2600 000CF560 3A 80 00 00 */ li r20, 0 +/* 800D2604 000CF564 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D2608 000CF568 38 60 06 28 */ li r3, 0x628 +/* 800D260C 000CF56C 38 84 00 0D */ addi r4, r4, 0xd +/* 800D2610 000CF570 38 A0 00 00 */ li r5, 0 +/* 800D2614 000CF574 48 24 32 59 */ bl __nw__FUlPCcPCc +/* 800D2618 000CF578 7C 77 1B 79 */ or. r23, r3, r3 +/* 800D261C 000CF57C 41 82 00 C8 */ beq lbl_800D26E4 +/* 800D2620 000CF580 80 E1 03 0C */ lwz r7, 0x30c(r1) +/* 800D2624 000CF584 38 A0 00 01 */ li r5, 1 +/* 800D2628 000CF588 80 C1 03 10 */ lwz r6, 0x310(r1) +/* 800D262C 000CF58C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800D2630 000CF590 C0 41 02 14 */ lfs f2, 0x214(r1) +/* 800D2634 000CF594 38 81 00 48 */ addi r4, r1, 0x48 +/* 800D2638 000CF598 C0 21 02 18 */ lfs f1, 0x218(r1) +/* 800D263C 000CF59C C0 01 02 1C */ lfs f0, 0x21c(r1) +/* 800D2640 000CF5A0 80 01 03 14 */ lwz r0, 0x314(r1) +/* 800D2644 000CF5A4 90 E1 00 48 */ stw r7, 0x48(r1) +/* 800D2648 000CF5A8 90 C1 00 4C */ stw r6, 0x4c(r1) +/* 800D264C 000CF5AC D0 41 00 50 */ stfs f2, 0x50(r1) +/* 800D2650 000CF5B0 D0 21 00 54 */ stfs f1, 0x54(r1) +/* 800D2654 000CF5B4 D0 01 00 58 */ stfs f0, 0x58(r1) +/* 800D2658 000CF5B8 98 A1 00 5C */ stb r5, 0x5c(r1) +/* 800D265C 000CF5BC 90 01 00 60 */ stw r0, 0x60(r1) +/* 800D2660 000CF5C0 48 04 44 F5 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D2664 000CF5C4 7E A4 AB 78 */ mr r4, r21 +/* 800D2668 000CF5C8 38 61 00 38 */ addi r3, r1, 0x38 +/* 800D266C 000CF5CC 3A 80 00 01 */ li r20, 1 +/* 800D2670 000CF5D0 4B F7 AA 6D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D2674 000CF5D4 A0 01 00 38 */ lhz r0, 0x38(r1) +/* 800D2678 000CF5D8 38 A1 01 6C */ addi r5, r1, 0x16c +/* 800D267C 000CF5DC 39 81 00 9C */ addi r12, r1, 0x9c +/* 800D2680 000CF5E0 39 61 00 80 */ addi r11, r1, 0x80 +/* 800D2684 000CF5E4 B0 01 00 3C */ sth r0, 0x3c(r1) +/* 800D2688 000CF5E8 38 01 00 64 */ addi r0, r1, 0x64 +/* 800D268C 000CF5EC FC 20 F8 90 */ fmr f1, f31 +/* 800D2690 000CF5F0 7E E3 BB 78 */ mr r3, r23 +/* 800D2694 000CF5F4 93 21 00 08 */ stw r25, 8(r1) +/* 800D2698 000CF5F8 7E C6 B3 78 */ mr r6, r22 +/* 800D269C 000CF5FC 7F 0A C3 78 */ mr r10, r24 +/* 800D26A0 000CF600 38 81 00 3C */ addi r4, r1, 0x3c +/* 800D26A4 000CF604 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800D26A8 000CF608 38 A1 01 D4 */ addi r5, r1, 0x1d4 +/* 800D26AC 000CF60C 38 E1 01 E4 */ addi r7, r1, 0x1e4 +/* 800D26B0 000CF610 39 01 00 B8 */ addi r8, r1, 0xb8 +/* 800D26B4 000CF614 93 41 00 10 */ stw r26, 0x10(r1) +/* 800D26B8 000CF618 39 21 02 20 */ addi r9, r1, 0x220 +/* 800D26BC 000CF61C 91 81 00 14 */ stw r12, 0x14(r1) +/* 800D26C0 000CF620 91 61 00 18 */ stw r11, 0x18(r1) +/* 800D26C4 000CF624 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800D26C8 000CF628 93 61 00 20 */ stw r27, 0x20(r1) +/* 800D26CC 000CF62C 93 81 00 24 */ stw r28, 0x24(r1) +/* 800D26D0 000CF630 93 A1 00 28 */ stw r29, 0x28(r1) +/* 800D26D4 000CF634 93 C1 00 2C */ stw r30, 0x2c(r1) +/* 800D26D8 000CF638 93 E1 00 30 */ stw r31, 0x30(r1) +/* 800D26DC 000CF63C 48 04 79 11 */ bl "__ct__12CBloodFlowerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoUiUiRC16CActorParametersUiRC11CDamageInfoRC11CDamageInfoUiUiUi" +/* 800D26E0 000CF640 7C 77 1B 78 */ mr r23, r3 +lbl_800D26E4: +/* 800D26E4 000CF644 7E 80 07 75 */ extsb. r0, r20 +/* 800D26E8 000CF648 41 82 00 10 */ beq lbl_800D26F8 +/* 800D26EC 000CF64C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800D26F0 000CF650 38 80 FF FF */ li r4, -1 +/* 800D26F4 000CF654 48 04 43 59 */ bl __dt__10CModelDataFv +lbl_800D26F8: +/* 800D26F8 000CF658 38 61 01 6C */ addi r3, r1, 0x16c +/* 800D26FC 000CF65C 38 80 FF FF */ li r4, -1 +/* 800D2700 000CF660 48 03 3F 09 */ bl __dt__16CActorParametersFv +/* 800D2704 000CF664 38 61 01 D4 */ addi r3, r1, 0x1d4 +/* 800D2708 000CF668 48 26 B3 D9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D270C 000CF66C 7E E3 BB 78 */ mr r3, r23 +lbl_800D2710: +/* 800D2710 000CF670 E3 E1 03 98 */ psq_l f31, 920(r1), 0, qr0 +/* 800D2714 000CF674 CB E1 03 90 */ lfd f31, 0x390(r1) +/* 800D2718 000CF678 BA 81 03 60 */ lmw r20, 0x360(r1) +/* 800D271C 000CF67C 80 01 03 A4 */ lwz r0, 0x3a4(r1) +/* 800D2720 000CF680 7C 08 03 A6 */ mtlr r0 +/* 800D2724 000CF684 38 21 03 A0 */ addi r1, r1, 0x3a0 +/* 800D2728 000CF688 4E 80 00 20 */ blr + +.global LoadSpiderBallWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSpiderBallWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D272C 000CF68C 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800D2730 000CF690 7C 08 02 A6 */ mflr r0 +/* 800D2734 000CF694 2C 05 00 05 */ cmpwi r5, 5 +/* 800D2738 000CF698 90 01 00 74 */ stw r0, 0x74(r1) +/* 800D273C 000CF69C BF 61 00 5C */ stmw r27, 0x5c(r1) +/* 800D2740 000CF6A0 7C 7B 1B 78 */ mr r27, r3 +/* 800D2744 000CF6A4 7C 9D 23 78 */ mr r29, r4 +/* 800D2748 000CF6A8 7C DC 33 78 */ mr r28, r6 +/* 800D274C 000CF6AC 41 82 00 0C */ beq lbl_800D2758 +/* 800D2750 000CF6B0 38 60 00 00 */ li r3, 0 +/* 800D2754 000CF6B4 48 00 00 8C */ b lbl_800D27E0 +lbl_800D2758: +/* 800D2758 000CF6B8 7F 65 DB 78 */ mr r5, r27 +/* 800D275C 000CF6BC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D2760 000CF6C0 48 00 7D 65 */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D2764 000CF6C4 7F A3 EB 78 */ mr r3, r29 +/* 800D2768 000CF6C8 48 26 C5 75 */ bl ReadBool__12CInputStreamFv +/* 800D276C 000CF6CC 7C 7F 1B 78 */ mr r31, r3 +/* 800D2770 000CF6D0 7F A3 EB 78 */ mr r3, r29 +/* 800D2774 000CF6D4 48 26 C5 11 */ bl ReadLong__12CInputStreamFv +/* 800D2778 000CF6D8 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D277C 000CF6DC 7C 7E 1B 78 */ mr r30, r3 +/* 800D2780 000CF6E0 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D2784 000CF6E4 38 60 01 18 */ li r3, 0x118 +/* 800D2788 000CF6E8 38 A0 00 00 */ li r5, 0 +/* 800D278C 000CF6EC 38 84 00 0D */ addi r4, r4, 0xd +/* 800D2790 000CF6F0 48 24 30 DD */ bl __nw__FUlPCcPCc +/* 800D2794 000CF6F4 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800D2798 000CF6F8 41 82 00 3C */ beq lbl_800D27D4 +/* 800D279C 000CF6FC 7F 64 DB 78 */ mr r4, r27 +/* 800D27A0 000CF700 38 61 00 08 */ addi r3, r1, 8 +/* 800D27A4 000CF704 4B F7 A9 39 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D27A8 000CF708 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D27AC 000CF70C 7F A3 EB 78 */ mr r3, r29 +/* 800D27B0 000CF710 7F 86 E3 78 */ mr r6, r28 +/* 800D27B4 000CF714 7F C9 F3 78 */ mr r9, r30 +/* 800D27B8 000CF718 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D27BC 000CF71C 38 81 00 0C */ addi r4, r1, 0xc +/* 800D27C0 000CF720 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D27C4 000CF724 38 E1 00 20 */ addi r7, r1, 0x20 +/* 800D27C8 000CF728 57 E8 06 3E */ clrlwi r8, r31, 0x18 +/* 800D27CC 000CF72C 48 04 63 0D */ bl "__ct__25CScriptSpiderBallWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUi" +/* 800D27D0 000CF730 7C 7D 1B 78 */ mr r29, r3 +lbl_800D27D4: +/* 800D27D4 000CF734 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D27D8 000CF738 48 26 B3 09 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D27DC 000CF73C 7F A3 EB 78 */ mr r3, r29 +lbl_800D27E0: +/* 800D27E0 000CF740 BB 61 00 5C */ lmw r27, 0x5c(r1) +/* 800D27E4 000CF744 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800D27E8 000CF748 7C 08 03 A6 */ mtlr r0 +/* 800D27EC 000CF74C 38 21 00 70 */ addi r1, r1, 0x70 +/* 800D27F0 000CF750 4E 80 00 20 */ blr + +.global LoadAiJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadAiJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D27F4 000CF754 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800D27F8 000CF758 7C 08 02 A6 */ mflr r0 +/* 800D27FC 000CF75C 2C 05 00 05 */ cmpwi r5, 5 +/* 800D2800 000CF760 90 01 00 74 */ stw r0, 0x74(r1) +/* 800D2804 000CF764 DB E1 00 68 */ stfd f31, 0x68(r1) +/* 800D2808 000CF768 93 E1 00 64 */ stw r31, 0x64(r1) +/* 800D280C 000CF76C 93 C1 00 60 */ stw r30, 0x60(r1) +/* 800D2810 000CF770 7C 9E 23 78 */ mr r30, r4 +/* 800D2814 000CF774 93 A1 00 5C */ stw r29, 0x5c(r1) +/* 800D2818 000CF778 7C DD 33 78 */ mr r29, r6 +/* 800D281C 000CF77C 93 81 00 58 */ stw r28, 0x58(r1) +/* 800D2820 000CF780 7C 7C 1B 78 */ mr r28, r3 +/* 800D2824 000CF784 41 82 00 0C */ beq lbl_800D2830 +/* 800D2828 000CF788 38 60 00 00 */ li r3, 0 +/* 800D282C 000CF78C 48 00 00 8C */ b lbl_800D28B8 +lbl_800D2830: +/* 800D2830 000CF790 7F 85 E3 78 */ mr r5, r28 +/* 800D2834 000CF794 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D2838 000CF798 48 00 7C 8D */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D283C 000CF79C 7F C3 F3 78 */ mr r3, r30 +/* 800D2840 000CF7A0 48 26 C4 9D */ bl ReadBool__12CInputStreamFv +/* 800D2844 000CF7A4 7C 7F 1B 78 */ mr r31, r3 +/* 800D2848 000CF7A8 7F C3 F3 78 */ mr r3, r30 +/* 800D284C 000CF7AC 48 26 C3 DD */ bl ReadFloat__12CInputStreamFv +/* 800D2850 000CF7B0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D2854 000CF7B4 FF E0 08 90 */ fmr f31, f1 +/* 800D2858 000CF7B8 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D285C 000CF7BC 38 A0 00 00 */ li r5, 0 +/* 800D2860 000CF7C0 38 60 01 18 */ li r3, 0x118 +/* 800D2864 000CF7C4 38 84 00 0D */ addi r4, r4, 0xd +/* 800D2868 000CF7C8 48 24 30 05 */ bl __nw__FUlPCcPCc +/* 800D286C 000CF7CC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800D2870 000CF7D0 41 82 00 3C */ beq lbl_800D28AC +/* 800D2874 000CF7D4 7F 84 E3 78 */ mr r4, r28 +/* 800D2878 000CF7D8 38 61 00 08 */ addi r3, r1, 8 +/* 800D287C 000CF7DC 4B F7 A8 61 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D2880 000CF7E0 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D2884 000CF7E4 FC 20 F8 90 */ fmr f1, f31 +/* 800D2888 000CF7E8 7F C3 F3 78 */ mr r3, r30 +/* 800D288C 000CF7EC 7F A6 EB 78 */ mr r6, r29 +/* 800D2890 000CF7F0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D2894 000CF7F4 7F E8 FB 78 */ mr r8, r31 +/* 800D2898 000CF7F8 38 81 00 0C */ addi r4, r1, 0xc +/* 800D289C 000CF7FC 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D28A0 000CF800 38 E1 00 20 */ addi r7, r1, 0x20 +/* 800D28A4 000CF804 48 11 CB B9 */ bl "__ct__18CScriptAiJumpPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbf" +/* 800D28A8 000CF808 7C 7E 1B 78 */ mr r30, r3 +lbl_800D28AC: +/* 800D28AC 000CF80C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D28B0 000CF810 48 26 B2 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D28B4 000CF814 7F C3 F3 78 */ mr r3, r30 +lbl_800D28B8: +/* 800D28B8 000CF818 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800D28BC 000CF81C CB E1 00 68 */ lfd f31, 0x68(r1) +/* 800D28C0 000CF820 83 E1 00 64 */ lwz r31, 0x64(r1) +/* 800D28C4 000CF824 83 C1 00 60 */ lwz r30, 0x60(r1) +/* 800D28C8 000CF828 83 A1 00 5C */ lwz r29, 0x5c(r1) +/* 800D28CC 000CF82C 83 81 00 58 */ lwz r28, 0x58(r1) +/* 800D28D0 000CF830 7C 08 03 A6 */ mtlr r0 +/* 800D28D4 000CF834 38 21 00 70 */ addi r1, r1, 0x70 +/* 800D28D8 000CF838 4E 80 00 20 */ blr + +.global LoadCoverPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadCoverPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D28DC 000CF83C 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800D28E0 000CF840 7C 08 02 A6 */ mflr r0 +/* 800D28E4 000CF844 2C 05 00 09 */ cmpwi r5, 9 +/* 800D28E8 000CF848 90 01 00 84 */ stw r0, 0x84(r1) +/* 800D28EC 000CF84C DB E1 00 78 */ stfd f31, 0x78(r1) +/* 800D28F0 000CF850 DB C1 00 70 */ stfd f30, 0x70(r1) +/* 800D28F4 000CF854 DB A1 00 68 */ stfd f29, 0x68(r1) +/* 800D28F8 000CF858 BF 41 00 50 */ stmw r26, 0x50(r1) +/* 800D28FC 000CF85C 7C 7A 1B 78 */ mr r26, r3 +/* 800D2900 000CF860 7C 9C 23 78 */ mr r28, r4 +/* 800D2904 000CF864 7C DB 33 78 */ mr r27, r6 +/* 800D2908 000CF868 41 82 00 0C */ beq lbl_800D2914 +/* 800D290C 000CF86C 38 60 00 00 */ li r3, 0 +/* 800D2910 000CF870 48 00 00 CC */ b lbl_800D29DC +lbl_800D2914: +/* 800D2914 000CF874 7F 45 D3 78 */ mr r5, r26 +/* 800D2918 000CF878 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D291C 000CF87C 48 00 7B A9 */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D2920 000CF880 7F 83 E3 78 */ mr r3, r28 +/* 800D2924 000CF884 48 26 C3 B9 */ bl ReadBool__12CInputStreamFv +/* 800D2928 000CF888 7C 7F 1B 78 */ mr r31, r3 +/* 800D292C 000CF88C 7F 83 E3 78 */ mr r3, r28 +/* 800D2930 000CF890 48 26 C3 55 */ bl ReadLong__12CInputStreamFv +/* 800D2934 000CF894 7C 7E 1B 78 */ mr r30, r3 +/* 800D2938 000CF898 7F 83 E3 78 */ mr r3, r28 +/* 800D293C 000CF89C 48 26 C3 A1 */ bl ReadBool__12CInputStreamFv +/* 800D2940 000CF8A0 7C 7D 1B 78 */ mr r29, r3 +/* 800D2944 000CF8A4 7F 83 E3 78 */ mr r3, r28 +/* 800D2948 000CF8A8 48 26 C2 E1 */ bl ReadFloat__12CInputStreamFv +/* 800D294C 000CF8AC FF E0 08 90 */ fmr f31, f1 +/* 800D2950 000CF8B0 7F 83 E3 78 */ mr r3, r28 +/* 800D2954 000CF8B4 48 26 C2 D5 */ bl ReadFloat__12CInputStreamFv +/* 800D2958 000CF8B8 FF C0 08 90 */ fmr f30, f1 +/* 800D295C 000CF8BC 7F 83 E3 78 */ mr r3, r28 +/* 800D2960 000CF8C0 48 26 C2 C9 */ bl ReadFloat__12CInputStreamFv +/* 800D2964 000CF8C4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D2968 000CF8C8 FF A0 08 90 */ fmr f29, f1 +/* 800D296C 000CF8CC 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D2970 000CF8D0 38 A0 00 00 */ li r5, 0 +/* 800D2974 000CF8D4 38 60 01 20 */ li r3, 0x120 +/* 800D2978 000CF8D8 38 84 00 0D */ addi r4, r4, 0xd +/* 800D297C 000CF8DC 48 24 2E F1 */ bl __nw__FUlPCcPCc +/* 800D2980 000CF8E0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800D2984 000CF8E4 41 82 00 4C */ beq lbl_800D29D0 +/* 800D2988 000CF8E8 7F 44 D3 78 */ mr r4, r26 +/* 800D298C 000CF8EC 38 61 00 08 */ addi r3, r1, 8 +/* 800D2990 000CF8F0 4B F7 A7 4D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D2994 000CF8F4 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D2998 000CF8F8 FC 20 F8 90 */ fmr f1, f31 +/* 800D299C 000CF8FC FC 40 F0 90 */ fmr f2, f30 +/* 800D29A0 000CF900 7F 83 E3 78 */ mr r3, r28 +/* 800D29A4 000CF904 FC 60 E8 90 */ fmr f3, f29 +/* 800D29A8 000CF908 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D29AC 000CF90C 7F 66 DB 78 */ mr r6, r27 +/* 800D29B0 000CF910 7F E8 FB 78 */ mr r8, r31 +/* 800D29B4 000CF914 7F C9 F3 78 */ mr r9, r30 +/* 800D29B8 000CF918 7F AA EB 78 */ mr r10, r29 +/* 800D29BC 000CF91C 38 81 00 0C */ addi r4, r1, 0xc +/* 800D29C0 000CF920 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D29C4 000CF924 38 E1 00 20 */ addi r7, r1, 0x20 +/* 800D29C8 000CF928 48 05 AD 4D */ bl "__ct__17CScriptCoverPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbUibfff" +/* 800D29CC 000CF92C 7C 7C 1B 78 */ mr r28, r3 +lbl_800D29D0: +/* 800D29D0 000CF930 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D29D4 000CF934 48 26 B1 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D29D8 000CF938 7F 83 E3 78 */ mr r3, r28 +lbl_800D29DC: +/* 800D29DC 000CF93C CB E1 00 78 */ lfd f31, 0x78(r1) +/* 800D29E0 000CF940 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 800D29E4 000CF944 CB A1 00 68 */ lfd f29, 0x68(r1) +/* 800D29E8 000CF948 BB 41 00 50 */ lmw r26, 0x50(r1) +/* 800D29EC 000CF94C 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800D29F0 000CF950 7C 08 03 A6 */ mtlr r0 +/* 800D29F4 000CF954 38 21 00 80 */ addi r1, r1, 0x80 +/* 800D29F8 000CF958 4E 80 00 20 */ blr + +.global LoadFlyingPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadFlyingPirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D29FC 000CF95C 94 21 FD 00 */ stwu r1, -0x300(r1) +/* 800D2A00 000CF960 7C 08 02 A6 */ mflr r0 +/* 800D2A04 000CF964 90 01 03 04 */ stw r0, 0x304(r1) +/* 800D2A08 000CF968 80 02 AF 50 */ lwz r0, lbl_805ACC70@sda21(r2) +/* 800D2A0C 000CF96C BF 41 02 E8 */ stmw r26, 0x2e8(r1) +/* 800D2A10 000CF970 7C BE 2B 78 */ mr r30, r5 +/* 800D2A14 000CF974 7C 1E 00 00 */ cmpw r30, r0 +/* 800D2A18 000CF978 7C 7C 1B 78 */ mr r28, r3 +/* 800D2A1C 000CF97C 7C 9D 23 78 */ mr r29, r4 +/* 800D2A20 000CF980 7C DF 33 78 */ mr r31, r6 +/* 800D2A24 000CF984 40 80 00 0C */ bge lbl_800D2A30 +/* 800D2A28 000CF988 38 60 00 00 */ li r3, 0 +/* 800D2A2C 000CF98C 48 00 01 8C */ b lbl_800D2BB8 +lbl_800D2A30: +/* 800D2A30 000CF990 7F 85 E3 78 */ mr r5, r28 +/* 800D2A34 000CF994 38 61 01 58 */ addi r3, r1, 0x158 +/* 800D2A38 000CF998 48 00 7A 45 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D2A3C 000CF99C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D2A40 000CF9A0 7F A4 EB 78 */ mr r4, r29 +/* 800D2A44 000CF9A4 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D2A48 000CF9A8 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D2A4C 000CF9AC 38 A5 01 85 */ addi r5, r5, 0x185 +/* 800D2A50 000CF9B0 48 03 2D D9 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D2A54 000CF9B4 88 01 00 18 */ lbz r0, 0x18(r1) +/* 800D2A58 000CF9B8 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800D2A5C 000CF9BC 28 00 00 00 */ cmplwi r0, 0 +/* 800D2A60 000CF9C0 40 82 00 14 */ bne lbl_800D2A74 +/* 800D2A64 000CF9C4 38 61 01 58 */ addi r3, r1, 0x158 +/* 800D2A68 000CF9C8 48 26 B0 79 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2A6C 000CF9CC 38 60 00 00 */ li r3, 0 +/* 800D2A70 000CF9D0 48 00 01 48 */ b lbl_800D2BB8 +lbl_800D2A74: +/* 800D2A74 000CF9D4 7F A4 EB 78 */ mr r4, r29 +/* 800D2A78 000CF9D8 38 61 01 A4 */ addi r3, r1, 0x1a4 +/* 800D2A7C 000CF9DC 48 03 2D FD */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D2A80 000CF9E0 7F A4 EB 78 */ mr r4, r29 +/* 800D2A84 000CF9E4 38 61 00 88 */ addi r3, r1, 0x88 +/* 800D2A88 000CF9E8 48 00 72 ED */ bl LoadActorParameters__FR12CInputStream +/* 800D2A8C 000CF9EC 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800D2A90 000CF9F0 38 81 00 88 */ addi r4, r1, 0x88 +/* 800D2A94 000CF9F4 4B FF 2B 89 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D2A98 000CF9F8 38 61 00 88 */ addi r3, r1, 0x88 +/* 800D2A9C 000CF9FC 38 80 FF FF */ li r4, -1 +/* 800D2AA0 000CFA00 48 03 3B 69 */ bl __dt__16CActorParametersFv +/* 800D2AA4 000CFA04 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800D2AA8 000CFA08 80 81 02 90 */ lwz r4, 0x290(r1) +/* 800D2AAC 000CFA0C 38 63 00 04 */ addi r3, r3, 4 +/* 800D2AB0 000CFA10 48 26 92 1D */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D2AB4 000CFA14 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800D2AB8 000CFA18 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D2ABC 000CFA1C 41 82 00 20 */ beq lbl_800D2ADC +/* 800D2AC0 000CFA20 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800D2AC4 000CFA24 38 80 FF FF */ li r4, -1 +/* 800D2AC8 000CFA28 48 03 3B 41 */ bl __dt__16CActorParametersFv +/* 800D2ACC 000CFA2C 38 61 01 58 */ addi r3, r1, 0x158 +/* 800D2AD0 000CFA30 48 26 B0 11 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2AD4 000CFA34 38 60 00 00 */ li r3, 0 +/* 800D2AD8 000CFA38 48 00 00 E0 */ b lbl_800D2BB8 +lbl_800D2ADC: +/* 800D2ADC 000CFA3C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D2AE0 000CFA40 3B 40 00 00 */ li r26, 0 +/* 800D2AE4 000CFA44 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D2AE8 000CFA48 38 60 08 A8 */ li r3, 0x8a8 +/* 800D2AEC 000CFA4C 38 84 00 0D */ addi r4, r4, 0xd +/* 800D2AF0 000CFA50 38 A0 00 00 */ li r5, 0 +/* 800D2AF4 000CFA54 48 24 2D 79 */ bl __nw__FUlPCcPCc +/* 800D2AF8 000CFA58 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800D2AFC 000CFA5C 41 82 00 90 */ beq lbl_800D2B8C +/* 800D2B00 000CFA60 80 E1 02 90 */ lwz r7, 0x290(r1) +/* 800D2B04 000CFA64 38 A0 00 01 */ li r5, 1 +/* 800D2B08 000CFA68 80 C1 02 94 */ lwz r6, 0x294(r1) +/* 800D2B0C 000CFA6C 38 61 00 3C */ addi r3, r1, 0x3c +/* 800D2B10 000CFA70 C0 41 01 98 */ lfs f2, 0x198(r1) +/* 800D2B14 000CFA74 38 81 00 20 */ addi r4, r1, 0x20 +/* 800D2B18 000CFA78 C0 21 01 9C */ lfs f1, 0x19c(r1) +/* 800D2B1C 000CFA7C C0 01 01 A0 */ lfs f0, 0x1a0(r1) +/* 800D2B20 000CFA80 80 01 02 98 */ lwz r0, 0x298(r1) +/* 800D2B24 000CFA84 90 E1 00 20 */ stw r7, 0x20(r1) +/* 800D2B28 000CFA88 90 C1 00 24 */ stw r6, 0x24(r1) +/* 800D2B2C 000CFA8C D0 41 00 28 */ stfs f2, 0x28(r1) +/* 800D2B30 000CFA90 D0 21 00 2C */ stfs f1, 0x2c(r1) +/* 800D2B34 000CFA94 D0 01 00 30 */ stfs f0, 0x30(r1) +/* 800D2B38 000CFA98 98 A1 00 34 */ stb r5, 0x34(r1) +/* 800D2B3C 000CFA9C 90 01 00 38 */ stw r0, 0x38(r1) +/* 800D2B40 000CFAA0 48 04 40 15 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D2B44 000CFAA4 7F 84 E3 78 */ mr r4, r28 +/* 800D2B48 000CFAA8 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D2B4C 000CFAAC 3B 40 00 01 */ li r26, 1 +/* 800D2B50 000CFAB0 4B F7 A5 8D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D2B54 000CFAB4 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800D2B58 000CFAB8 7F 63 DB 78 */ mr r3, r27 +/* 800D2B5C 000CFABC 7F E6 FB 78 */ mr r6, r31 +/* 800D2B60 000CFAC0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800D2B64 000CFAC4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800D2B68 000CFAC8 38 A1 01 58 */ addi r5, r1, 0x158 +/* 800D2B6C 000CFACC 38 E1 01 68 */ addi r7, r1, 0x168 +/* 800D2B70 000CFAD0 39 01 00 3C */ addi r8, r1, 0x3c +/* 800D2B74 000CFAD4 93 A1 00 08 */ stw r29, 8(r1) +/* 800D2B78 000CFAD8 39 21 00 F0 */ addi r9, r1, 0xf0 +/* 800D2B7C 000CFADC 39 41 01 A4 */ addi r10, r1, 0x1a4 +/* 800D2B80 000CFAE0 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800D2B84 000CFAE4 48 12 B8 65 */ bl "__ct__13CFlyingPirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoffUiUiRC11CDamageInfoUsUiRC11CDamageInfoUiffUiRC11CDamageInfoifffUsUs" +/* 800D2B88 000CFAE8 7C 7B 1B 78 */ mr r27, r3 +lbl_800D2B8C: +/* 800D2B8C 000CFAEC 7F 40 07 75 */ extsb. r0, r26 +/* 800D2B90 000CFAF0 41 82 00 10 */ beq lbl_800D2BA0 +/* 800D2B94 000CFAF4 38 61 00 3C */ addi r3, r1, 0x3c +/* 800D2B98 000CFAF8 38 80 FF FF */ li r4, -1 +/* 800D2B9C 000CFAFC 48 04 3E B1 */ bl __dt__10CModelDataFv +lbl_800D2BA0: +/* 800D2BA0 000CFB00 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800D2BA4 000CFB04 38 80 FF FF */ li r4, -1 +/* 800D2BA8 000CFB08 48 03 3A 61 */ bl __dt__16CActorParametersFv +/* 800D2BAC 000CFB0C 38 61 01 58 */ addi r3, r1, 0x158 +/* 800D2BB0 000CFB10 48 26 AF 31 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2BB4 000CFB14 7F 63 DB 78 */ mr r3, r27 +lbl_800D2BB8: +/* 800D2BB8 000CFB18 BB 41 02 E8 */ lmw r26, 0x2e8(r1) +/* 800D2BBC 000CFB1C 80 01 03 04 */ lwz r0, 0x304(r1) +/* 800D2BC0 000CFB20 7C 08 03 A6 */ mtlr r0 +/* 800D2BC4 000CFB24 38 21 03 00 */ addi r1, r1, 0x300 +/* 800D2BC8 000CFB28 4E 80 00 20 */ blr + +.global LoadSpacePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSpacePirate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D2BCC 000CFB2C 94 21 FC B0 */ stwu r1, -0x350(r1) +/* 800D2BD0 000CFB30 7C 08 02 A6 */ mflr r0 +/* 800D2BD4 000CFB34 90 01 03 54 */ stw r0, 0x354(r1) +/* 800D2BD8 000CFB38 80 02 97 B8 */ lwz r0, lbl_805AB4D8@sda21(r2) +/* 800D2BDC 000CFB3C BF 41 03 38 */ stmw r26, 0x338(r1) +/* 800D2BE0 000CFB40 7C BE 2B 78 */ mr r30, r5 +/* 800D2BE4 000CFB44 7C 1E 00 00 */ cmpw r30, r0 +/* 800D2BE8 000CFB48 7C 7C 1B 78 */ mr r28, r3 +/* 800D2BEC 000CFB4C 7C 9D 23 78 */ mr r29, r4 +/* 800D2BF0 000CFB50 7C DF 33 78 */ mr r31, r6 +/* 800D2BF4 000CFB54 40 80 00 0C */ bge lbl_800D2C00 +/* 800D2BF8 000CFB58 38 60 00 00 */ li r3, 0 +/* 800D2BFC 000CFB5C 48 00 02 1C */ b lbl_800D2E18 +lbl_800D2C00: +/* 800D2C00 000CFB60 7F 85 E3 78 */ mr r5, r28 +/* 800D2C04 000CFB64 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800D2C08 000CFB68 48 00 78 75 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D2C0C 000CFB6C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D2C10 000CFB70 7F A4 EB 78 */ mr r4, r29 +/* 800D2C14 000CFB74 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D2C18 000CFB78 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D2C1C 000CFB7C 38 A5 01 92 */ addi r5, r5, 0x192 +/* 800D2C20 000CFB80 48 03 2C 09 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D2C24 000CFB84 88 01 00 18 */ lbz r0, 0x18(r1) +/* 800D2C28 000CFB88 80 A1 00 1C */ lwz r5, 0x1c(r1) +/* 800D2C2C 000CFB8C 28 00 00 00 */ cmplwi r0, 0 +/* 800D2C30 000CFB90 40 82 00 14 */ bne lbl_800D2C44 +/* 800D2C34 000CFB94 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800D2C38 000CFB98 48 26 AE A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2C3C 000CFB9C 38 60 00 00 */ li r3, 0 +/* 800D2C40 000CFBA0 48 00 01 D8 */ b lbl_800D2E18 +lbl_800D2C44: +/* 800D2C44 000CFBA4 7F A4 EB 78 */ mr r4, r29 +/* 800D2C48 000CFBA8 38 61 01 F4 */ addi r3, r1, 0x1f4 +/* 800D2C4C 000CFBAC 48 03 2C 2D */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D2C50 000CFBB0 7F A4 EB 78 */ mr r4, r29 +/* 800D2C54 000CFBB4 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800D2C58 000CFBB8 48 00 71 1D */ bl LoadActorParameters__FR12CInputStream +/* 800D2C5C 000CFBBC 38 61 01 40 */ addi r3, r1, 0x140 +/* 800D2C60 000CFBC0 38 81 00 D8 */ addi r4, r1, 0xd8 +/* 800D2C64 000CFBC4 4B FF 29 B9 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D2C68 000CFBC8 38 61 00 D8 */ addi r3, r1, 0xd8 +/* 800D2C6C 000CFBCC 38 80 FF FF */ li r4, -1 +/* 800D2C70 000CFBD0 48 03 39 99 */ bl __dt__16CActorParametersFv +/* 800D2C74 000CFBD4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800D2C78 000CFBD8 80 81 02 E0 */ lwz r4, 0x2e0(r1) +/* 800D2C7C 000CFBDC 38 63 00 04 */ addi r3, r3, 4 +/* 800D2C80 000CFBE0 48 26 90 4D */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D2C84 000CFBE4 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800D2C88 000CFBE8 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D2C8C 000CFBEC 41 82 00 20 */ beq lbl_800D2CAC +/* 800D2C90 000CFBF0 38 61 01 40 */ addi r3, r1, 0x140 +/* 800D2C94 000CFBF4 38 80 FF FF */ li r4, -1 +/* 800D2C98 000CFBF8 48 03 39 71 */ bl __dt__16CActorParametersFv +/* 800D2C9C 000CFBFC 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800D2CA0 000CFC00 48 26 AE 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2CA4 000CFC04 38 60 00 00 */ li r3, 0 +/* 800D2CA8 000CFC08 48 00 01 70 */ b lbl_800D2E18 +lbl_800D2CAC: +/* 800D2CAC 000CFC0C 80 01 02 E4 */ lwz r0, 0x2e4(r1) +/* 800D2CB0 000CFC10 2C 00 00 00 */ cmpwi r0, 0 +/* 800D2CB4 000CFC14 40 82 00 88 */ bne lbl_800D2D3C +/* 800D2CB8 000CFC18 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D2CBC 000CFC1C 38 61 00 50 */ addi r3, r1, 0x50 +/* 800D2CC0 000CFC20 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D2CC4 000CFC24 38 84 01 9F */ addi r4, r4, 0x19f +/* 800D2CC8 000CFC28 4B F3 1F F1 */ bl string_l__4rstlFPCc +/* 800D2CCC 000CFC2C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D2CD0 000CFC30 38 81 00 50 */ addi r4, r1, 0x50 +/* 800D2CD4 000CFC34 38 A1 01 A8 */ addi r5, r1, 0x1a8 +/* 800D2CD8 000CFC38 4B F3 1F 85 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D2CDC 000CFC3C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D2CE0 000CFC40 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D2CE4 000CFC44 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D2CE8 000CFC48 38 84 01 AE */ addi r4, r4, 0x1ae +/* 800D2CEC 000CFC4C 4B F3 1F CD */ bl string_l__4rstlFPCc +/* 800D2CF0 000CFC50 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D2CF4 000CFC54 38 81 00 40 */ addi r4, r1, 0x40 +/* 800D2CF8 000CFC58 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800D2CFC 000CFC5C 4B F3 1F 61 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D2D00 000CFC60 38 61 00 60 */ addi r3, r1, 0x60 +/* 800D2D04 000CFC64 38 81 00 20 */ addi r4, r1, 0x20 +/* 800D2D08 000CFC68 48 26 B4 59 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D2D0C 000CFC6C 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D2D10 000CFC70 48 26 AD D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2D14 000CFC74 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D2D18 000CFC78 48 26 AD C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2D1C 000CFC7C 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D2D20 000CFC80 48 26 AD C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2D24 000CFC84 38 61 00 50 */ addi r3, r1, 0x50 +/* 800D2D28 000CFC88 48 26 AD B9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2D2C 000CFC8C 38 00 00 02 */ li r0, 2 +/* 800D2D30 000CFC90 38 61 00 60 */ addi r3, r1, 0x60 +/* 800D2D34 000CFC94 90 01 02 E4 */ stw r0, 0x2e4(r1) +/* 800D2D38 000CFC98 48 26 AD A9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800D2D3C: +/* 800D2D3C 000CFC9C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D2D40 000CFCA0 3B 40 00 00 */ li r26, 0 +/* 800D2D44 000CFCA4 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D2D48 000CFCA8 38 60 08 E0 */ li r3, 0x8e0 +/* 800D2D4C 000CFCAC 38 84 00 0D */ addi r4, r4, 0xd +/* 800D2D50 000CFCB0 38 A0 00 00 */ li r5, 0 +/* 800D2D54 000CFCB4 48 24 2B 19 */ bl __nw__FUlPCcPCc +/* 800D2D58 000CFCB8 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800D2D5C 000CFCBC 41 82 00 90 */ beq lbl_800D2DEC +/* 800D2D60 000CFCC0 80 E1 02 E0 */ lwz r7, 0x2e0(r1) +/* 800D2D64 000CFCC4 38 A0 00 01 */ li r5, 1 +/* 800D2D68 000CFCC8 80 C1 02 E4 */ lwz r6, 0x2e4(r1) +/* 800D2D6C 000CFCCC 38 61 00 8C */ addi r3, r1, 0x8c +/* 800D2D70 000CFCD0 C0 41 01 E8 */ lfs f2, 0x1e8(r1) +/* 800D2D74 000CFCD4 38 81 00 70 */ addi r4, r1, 0x70 +/* 800D2D78 000CFCD8 C0 21 01 EC */ lfs f1, 0x1ec(r1) +/* 800D2D7C 000CFCDC C0 01 01 F0 */ lfs f0, 0x1f0(r1) +/* 800D2D80 000CFCE0 80 01 02 E8 */ lwz r0, 0x2e8(r1) +/* 800D2D84 000CFCE4 90 E1 00 70 */ stw r7, 0x70(r1) +/* 800D2D88 000CFCE8 90 C1 00 74 */ stw r6, 0x74(r1) +/* 800D2D8C 000CFCEC D0 41 00 78 */ stfs f2, 0x78(r1) +/* 800D2D90 000CFCF0 D0 21 00 7C */ stfs f1, 0x7c(r1) +/* 800D2D94 000CFCF4 D0 01 00 80 */ stfs f0, 0x80(r1) +/* 800D2D98 000CFCF8 98 A1 00 84 */ stb r5, 0x84(r1) +/* 800D2D9C 000CFCFC 90 01 00 88 */ stw r0, 0x88(r1) +/* 800D2DA0 000CFD00 48 04 3D B5 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D2DA4 000CFD04 7F 84 E3 78 */ mr r4, r28 +/* 800D2DA8 000CFD08 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D2DAC 000CFD0C 3B 40 00 01 */ li r26, 1 +/* 800D2DB0 000CFD10 4B F7 A3 2D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D2DB4 000CFD14 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800D2DB8 000CFD18 7F 63 DB 78 */ mr r3, r27 +/* 800D2DBC 000CFD1C 7F E6 FB 78 */ mr r6, r31 +/* 800D2DC0 000CFD20 38 81 00 14 */ addi r4, r1, 0x14 +/* 800D2DC4 000CFD24 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800D2DC8 000CFD28 38 A1 01 A8 */ addi r5, r1, 0x1a8 +/* 800D2DCC 000CFD2C 38 E1 01 B8 */ addi r7, r1, 0x1b8 +/* 800D2DD0 000CFD30 39 01 00 8C */ addi r8, r1, 0x8c +/* 800D2DD4 000CFD34 93 A1 00 08 */ stw r29, 8(r1) +/* 800D2DD8 000CFD38 39 21 01 40 */ addi r9, r1, 0x140 +/* 800D2DDC 000CFD3C 39 41 01 F4 */ addi r10, r1, 0x1f4 +/* 800D2DE0 000CFD40 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800D2DE4 000CFD44 48 05 75 65 */ bl "__ct__12CSpacePirateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC14CPatternedInfoiififfUiUiRC11CDamageInfoUsRC11CDamageInfoiUi11CDamageInfoiUsffUsfi" +/* 800D2DE8 000CFD48 7C 7B 1B 78 */ mr r27, r3 +lbl_800D2DEC: +/* 800D2DEC 000CFD4C 7F 40 07 75 */ extsb. r0, r26 +/* 800D2DF0 000CFD50 41 82 00 10 */ beq lbl_800D2E00 +/* 800D2DF4 000CFD54 38 61 00 8C */ addi r3, r1, 0x8c +/* 800D2DF8 000CFD58 38 80 FF FF */ li r4, -1 +/* 800D2DFC 000CFD5C 48 04 3C 51 */ bl __dt__10CModelDataFv +lbl_800D2E00: +/* 800D2E00 000CFD60 38 61 01 40 */ addi r3, r1, 0x140 +/* 800D2E04 000CFD64 38 80 FF FF */ li r4, -1 +/* 800D2E08 000CFD68 48 03 38 01 */ bl __dt__16CActorParametersFv +/* 800D2E0C 000CFD6C 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800D2E10 000CFD70 48 26 AC D1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D2E14 000CFD74 7F 63 DB 78 */ mr r3, r27 +lbl_800D2E18: +/* 800D2E18 000CFD78 BB 41 03 38 */ lmw r26, 0x338(r1) +/* 800D2E1C 000CFD7C 80 01 03 54 */ lwz r0, 0x354(r1) +/* 800D2E20 000CFD80 7C 08 03 A6 */ mtlr r0 +/* 800D2E24 000CFD84 38 21 03 50 */ addi r1, r1, 0x350 +/* 800D2E28 000CFD88 4E 80 00 20 */ blr + +.global LoadMapStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadMapStation__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D2E2C 000CFD8C 38 60 00 00 */ li r3, 0 +/* 800D2E30 000CFD90 4E 80 00 20 */ blr + +.global LoadFogVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadFogVolume__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D2E34 000CFD94 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 800D2E38 000CFD98 7C 08 02 A6 */ mflr r0 +/* 800D2E3C 000CFD9C 90 01 01 04 */ stw r0, 0x104(r1) +/* 800D2E40 000CFDA0 DB E1 00 F0 */ stfd f31, 0xf0(r1) +/* 800D2E44 000CFDA4 F3 E1 00 F8 */ psq_st f31, 248(r1), 0, qr0 +/* 800D2E48 000CFDA8 DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 800D2E4C 000CFDAC F3 C1 00 E8 */ psq_st f30, 232(r1), 0, qr0 +/* 800D2E50 000CFDB0 BF 41 00 C8 */ stmw r26, 0xc8(r1) +/* 800D2E54 000CFDB4 2C 05 00 07 */ cmpwi r5, 7 +/* 800D2E58 000CFDB8 7C 7B 1B 78 */ mr r27, r3 +/* 800D2E5C 000CFDBC 7C 9C 23 78 */ mr r28, r4 +/* 800D2E60 000CFDC0 7C DE 33 78 */ mr r30, r6 +/* 800D2E64 000CFDC4 41 82 00 0C */ beq lbl_800D2E70 +/* 800D2E68 000CFDC8 38 60 00 00 */ li r3, 0 +/* 800D2E6C 000CFDCC 48 00 01 E4 */ b lbl_800D3050 +lbl_800D2E70: +/* 800D2E70 000CFDD0 4B F7 23 75 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D2E74 000CFDD4 7C 64 1B 78 */ mr r4, r3 +/* 800D2E78 000CFDD8 38 61 00 6C */ addi r3, r1, 0x6c +/* 800D2E7C 000CFDDC 48 26 B2 E5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D2E80 000CFDE0 7F 84 E3 78 */ mr r4, r28 +/* 800D2E84 000CFDE4 38 61 00 60 */ addi r3, r1, 0x60 +/* 800D2E88 000CFDE8 48 24 1D 05 */ bl __ct__9CVector3fFR12CInputStream +/* 800D2E8C 000CFDEC 7F 84 E3 78 */ mr r4, r28 +/* 800D2E90 000CFDF0 38 61 00 54 */ addi r3, r1, 0x54 +/* 800D2E94 000CFDF4 48 24 1C F9 */ bl __ct__9CVector3fFR12CInputStream +/* 800D2E98 000CFDF8 7F 83 E3 78 */ mr r3, r28 +/* 800D2E9C 000CFDFC 48 26 BD 8D */ bl ReadFloat__12CInputStreamFv +/* 800D2EA0 000CFE00 FF E0 08 90 */ fmr f31, f1 +/* 800D2EA4 000CFE04 7F 83 E3 78 */ mr r3, r28 +/* 800D2EA8 000CFE08 48 26 BD 81 */ bl ReadFloat__12CInputStreamFv +/* 800D2EAC 000CFE0C FF C0 08 90 */ fmr f30, f1 +/* 800D2EB0 000CFE10 7F 84 E3 78 */ mr r4, r28 +/* 800D2EB4 000CFE14 38 61 00 38 */ addi r3, r1, 0x38 +/* 800D2EB8 000CFE18 48 29 05 95 */ bl __ct__6CColorFR12CInputStream +/* 800D2EBC 000CFE1C 7F 83 E3 78 */ mr r3, r28 +/* 800D2EC0 000CFE20 48 26 BE 1D */ bl ReadBool__12CInputStreamFv +/* 800D2EC4 000CFE24 C0 41 00 54 */ lfs f2, 0x54(r1) +/* 800D2EC8 000CFE28 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D2ECC 000CFE2C C0 21 00 58 */ lfs f1, 0x58(r1) +/* 800D2ED0 000CFE30 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D2ED4 000CFE34 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 800D2ED8 000CFE38 FC 40 12 10 */ fabs f2, f2 +/* 800D2EDC 000CFE3C FC 20 0A 10 */ fabs f1, f1 +/* 800D2EE0 000CFE40 7C 7D 1B 78 */ mr r29, r3 +/* 800D2EE4 000CFE44 FC 00 02 10 */ fabs f0, f0 +/* 800D2EE8 000CFE48 C0 62 8E 60 */ lfs f3, lbl_805AAB80@sda21(r2) +/* 800D2EEC 000CFE4C FC 40 10 18 */ frsp f2, f2 +/* 800D2EF0 000CFE50 FC 20 08 18 */ frsp f1, f1 +/* 800D2EF4 000CFE54 FC 00 00 18 */ frsp f0, f0 +/* 800D2EF8 000CFE58 38 84 00 0D */ addi r4, r4, 0xd +/* 800D2EFC 000CFE5C EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800D2F00 000CFE60 3B 40 00 00 */ li r26, 0 +/* 800D2F04 000CFE64 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800D2F08 000CFE68 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800D2F0C 000CFE6C D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800D2F10 000CFE70 38 60 01 F8 */ li r3, 0x1f8 +/* 800D2F14 000CFE74 38 A0 00 00 */ li r5, 0 +/* 800D2F18 000CFE78 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800D2F1C 000CFE7C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800D2F20 000CFE80 48 24 29 4D */ bl __nw__FUlPCcPCc +/* 800D2F24 000CFE84 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800D2F28 000CFE88 41 82 01 0C */ beq lbl_800D3034 +/* 800D2F2C 000CFE8C 88 01 00 40 */ lbz r0, 0x40(r1) +/* 800D2F30 000CFE90 38 C0 00 00 */ li r6, 0 +/* 800D2F34 000CFE94 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 800D2F38 000CFE98 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) +/* 800D2F3C 000CFE9C 98 01 00 40 */ stb r0, 0x40(r1) +/* 800D2F40 000CFEA0 54 04 06 3E */ clrlwi r4, r0, 0x18 +/* 800D2F44 000CFEA4 50 C4 36 72 */ rlwimi r4, r6, 6, 0x19, 0x19 +/* 800D2F48 000CFEA8 38 E0 FF FF */ li r7, -1 +/* 800D2F4C 000CFEAC 88 01 00 94 */ lbz r0, 0x94(r1) +/* 800D2F50 000CFEB0 50 C0 3E 30 */ rlwimi r0, r6, 7, 0x18, 0x18 +/* 800D2F54 000CFEB4 54 85 06 3E */ clrlwi r5, r4, 0x18 +/* 800D2F58 000CFEB8 98 81 00 40 */ stb r4, 0x40(r1) +/* 800D2F5C 000CFEBC 50 C5 2E B4 */ rlwimi r5, r6, 5, 0x1a, 0x1a +/* 800D2F60 000CFEC0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D2F64 000CFEC4 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D2F68 000CFEC8 90 E1 00 3C */ stw r7, 0x3c(r1) +/* 800D2F6C 000CFECC 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D2F70 000CFED0 98 A1 00 40 */ stb r5, 0x40(r1) +/* 800D2F74 000CFED4 38 84 00 74 */ addi r4, r4, 0x74 +/* 800D2F78 000CFED8 90 E1 00 7C */ stw r7, 0x7c(r1) +/* 800D2F7C 000CFEDC 98 A1 00 80 */ stb r5, 0x80(r1) +/* 800D2F80 000CFEE0 D0 01 00 84 */ stfs f0, 0x84(r1) +/* 800D2F84 000CFEE4 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800D2F88 000CFEE8 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 800D2F8C 000CFEEC D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800D2F90 000CFEF0 98 01 00 94 */ stb r0, 0x94(r1) +/* 800D2F94 000CFEF4 4B F3 1D 25 */ bl string_l__4rstlFPCc +/* 800D2F98 000CFEF8 7F 64 DB 78 */ mr r4, r27 +/* 800D2F9C 000CFEFC 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D2FA0 000CFF00 3B 40 00 01 */ li r26, 1 +/* 800D2FA4 000CFF04 4B F7 A1 39 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D2FA8 000CFF08 A0 01 00 30 */ lhz r0, 0x30(r1) +/* 800D2FAC 000CFF0C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800D2FB0 000CFF10 38 83 66 A0 */ addi r4, r3, skZero3f@l +/* 800D2FB4 000CFF14 A3 82 C5 FC */ lhz r28, lbl_805AE31C@sda21(r2) +/* 800D2FB8 000CFF18 B0 01 00 34 */ sth r0, 0x34(r1) +/* 800D2FBC 000CFF1C 38 61 00 98 */ addi r3, r1, 0x98 +/* 800D2FC0 000CFF20 38 A1 00 60 */ addi r5, r1, 0x60 +/* 800D2FC4 000CFF24 48 00 76 21 */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f +/* 800D2FC8 000CFF28 38 01 00 38 */ addi r0, r1, 0x38 +/* 800D2FCC 000CFF2C C0 62 8E 28 */ lfs f3, lbl_805AAB48@sda21(r2) +/* 800D2FD0 000CFF30 90 01 00 08 */ stw r0, 8(r1) +/* 800D2FD4 000CFF34 57 A3 06 3E */ clrlwi r3, r29, 0x18 +/* 800D2FD8 000CFF38 38 81 00 7C */ addi r4, r1, 0x7c +/* 800D2FDC 000CFF3C 38 00 FF FF */ li r0, -1 +/* 800D2FE0 000CFF40 90 61 00 0C */ stw r3, 0xc(r1) +/* 800D2FE4 000CFF44 FC 20 F8 90 */ fmr f1, f31 +/* 800D2FE8 000CFF48 FC 40 F0 90 */ fmr f2, f30 +/* 800D2FEC 000CFF4C 7F E3 FB 78 */ mr r3, r31 +/* 800D2FF0 000CFF50 90 81 00 10 */ stw r4, 0x10(r1) +/* 800D2FF4 000CFF54 FC 80 18 90 */ fmr f4, f3 +/* 800D2FF8 000CFF58 7F C6 F3 78 */ mr r6, r30 +/* 800D2FFC 000CFF5C 90 01 00 14 */ stw r0, 0x14(r1) +/* 800D3000 000CFF60 38 81 00 34 */ addi r4, r1, 0x34 +/* 800D3004 000CFF64 38 A1 00 6C */ addi r5, r1, 0x6c +/* 800D3008 000CFF68 90 01 00 18 */ stw r0, 0x18(r1) +/* 800D300C 000CFF6C 38 E1 00 98 */ addi r7, r1, 0x98 +/* 800D3010 000CFF70 39 21 00 44 */ addi r9, r1, 0x44 +/* 800D3014 000CFF74 39 41 00 54 */ addi r10, r1, 0x54 +/* 800D3018 000CFF78 90 01 00 1C */ stw r0, 0x1c(r1) +/* 800D301C 000CFF7C 39 00 00 2F */ li r8, 0x2f +/* 800D3020 000CFF80 93 81 00 20 */ stw r28, 0x20(r1) +/* 800D3024 000CFF84 93 81 00 24 */ stw r28, 0x24(r1) +/* 800D3028 000CFF88 93 81 00 28 */ stw r28, 0x28(r1) +/* 800D302C 000CFF8C 48 07 FB 95 */ bl "__ct__22CScriptSpecialFunctionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ222CScriptSpecialFunction16ESpecialFunctionRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffffRC9CVector3fRC6CColorbRC11CDamageInfoUiUiUiUsUsUs" +/* 800D3030 000CFF90 7C 7F 1B 78 */ mr r31, r3 +lbl_800D3034: +/* 800D3034 000CFF94 7F 40 07 75 */ extsb. r0, r26 +/* 800D3038 000CFF98 41 82 00 0C */ beq lbl_800D3044 +/* 800D303C 000CFF9C 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D3040 000CFFA0 48 26 AA A1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +lbl_800D3044: +/* 800D3044 000CFFA4 38 61 00 6C */ addi r3, r1, 0x6c +/* 800D3048 000CFFA8 48 26 AA 99 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D304C 000CFFAC 7F E3 FB 78 */ mr r3, r31 +lbl_800D3050: +/* 800D3050 000CFFB0 E3 E1 00 F8 */ psq_l f31, 248(r1), 0, qr0 +/* 800D3054 000CFFB4 CB E1 00 F0 */ lfd f31, 0xf0(r1) +/* 800D3058 000CFFB8 E3 C1 00 E8 */ psq_l f30, 232(r1), 0, qr0 +/* 800D305C 000CFFBC CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 800D3060 000CFFC0 BB 41 00 C8 */ lmw r26, 0xc8(r1) +/* 800D3064 000CFFC4 80 01 01 04 */ lwz r0, 0x104(r1) +/* 800D3068 000CFFC8 7C 08 03 A6 */ mtlr r0 +/* 800D306C 000CFFCC 38 21 01 00 */ addi r1, r1, 0x100 +/* 800D3070 000CFFD0 4E 80 00 20 */ blr + +.global LoadSpecialFunction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSpecialFunction__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D3074 000CFFD4 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 800D3078 000CFFD8 7C 08 02 A6 */ mflr r0 +/* 800D307C 000CFFDC 90 01 01 24 */ stw r0, 0x124(r1) +/* 800D3080 000CFFE0 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 800D3084 000CFFE4 F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 800D3088 000CFFE8 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 800D308C 000CFFEC F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 800D3090 000CFFF0 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 800D3094 000CFFF4 F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 800D3098 000CFFF8 DB 81 00 E0 */ stfd f28, 0xe0(r1) +/* 800D309C 000CFFFC F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 +/* 800D30A0 000D0000 BE A1 00 B4 */ stmw r21, 0xb4(r1) +/* 800D30A4 000D0004 2C 05 00 0F */ cmpwi r5, 0xf +/* 800D30A8 000D0008 7C 75 1B 78 */ mr r21, r3 +/* 800D30AC 000D000C 7C 97 23 78 */ mr r23, r4 +/* 800D30B0 000D0010 7C D6 33 78 */ mr r22, r6 +/* 800D30B4 000D0014 41 82 00 0C */ beq lbl_800D30C0 +/* 800D30B8 000D0018 38 60 00 00 */ li r3, 0 +/* 800D30BC 000D001C 48 00 01 F8 */ b lbl_800D32B4 +lbl_800D30C0: +/* 800D30C0 000D0020 7E A5 AB 78 */ mr r5, r21 +/* 800D30C4 000D0024 38 61 00 70 */ addi r3, r1, 0x70 +/* 800D30C8 000D0028 48 00 73 FD */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D30CC 000D002C 7E E3 BB 78 */ mr r3, r23 +/* 800D30D0 000D0030 48 26 BB B5 */ bl ReadLong__12CInputStreamFv +/* 800D30D4 000D0034 7C 7B 1B 78 */ mr r27, r3 +/* 800D30D8 000D0038 7E E4 BB 78 */ mr r4, r23 +/* 800D30DC 000D003C 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D30E0 000D0040 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800D30E4 000D0044 48 26 B2 15 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FR12CInputStreamRCQ24rstl17rmemory_allocator" +/* 800D30E8 000D0048 7E E3 BB 78 */ mr r3, r23 +/* 800D30EC 000D004C 48 26 BB 3D */ bl ReadFloat__12CInputStreamFv +/* 800D30F0 000D0050 FF E0 08 90 */ fmr f31, f1 +/* 800D30F4 000D0054 7E E3 BB 78 */ mr r3, r23 +/* 800D30F8 000D0058 48 26 BB 31 */ bl ReadFloat__12CInputStreamFv +/* 800D30FC 000D005C FF C0 08 90 */ fmr f30, f1 +/* 800D3100 000D0060 7E E3 BB 78 */ mr r3, r23 +/* 800D3104 000D0064 48 26 BB 25 */ bl ReadFloat__12CInputStreamFv +/* 800D3108 000D0068 FF A0 08 90 */ fmr f29, f1 +/* 800D310C 000D006C 7E E3 BB 78 */ mr r3, r23 +/* 800D3110 000D0070 48 26 BB 75 */ bl ReadLong__12CInputStreamFv +/* 800D3114 000D0074 7C 7C 1B 78 */ mr r28, r3 +/* 800D3118 000D0078 7E E3 BB 78 */ mr r3, r23 +/* 800D311C 000D007C 48 26 BB 69 */ bl ReadLong__12CInputStreamFv +/* 800D3120 000D0080 7C 7D 1B 78 */ mr r29, r3 +/* 800D3124 000D0084 7E E3 BB 78 */ mr r3, r23 +/* 800D3128 000D0088 48 26 BB 5D */ bl ReadLong__12CInputStreamFv +/* 800D312C 000D008C 7C 7E 1B 78 */ mr r30, r3 +/* 800D3130 000D0090 7E E3 BB 78 */ mr r3, r23 +/* 800D3134 000D0094 48 26 BB A9 */ bl ReadBool__12CInputStreamFv +/* 800D3138 000D0098 7C 7F 1B 78 */ mr r31, r3 +/* 800D313C 000D009C 7E E3 BB 78 */ mr r3, r23 +/* 800D3140 000D00A0 48 26 BA E9 */ bl ReadFloat__12CInputStreamFv +/* 800D3144 000D00A4 FF 80 08 90 */ fmr f28, f1 +/* 800D3148 000D00A8 7E E3 BB 78 */ mr r3, r23 +/* 800D314C 000D00AC 48 26 BB 39 */ bl ReadLong__12CInputStreamFv +/* 800D3150 000D00B0 54 79 04 3E */ clrlwi r25, r3, 0x10 +/* 800D3154 000D00B4 7E E3 BB 78 */ mr r3, r23 +/* 800D3158 000D00B8 48 26 BB 2D */ bl ReadLong__12CInputStreamFv +/* 800D315C 000D00BC 54 78 04 3E */ clrlwi r24, r3, 0x10 +/* 800D3160 000D00C0 7E E3 BB 78 */ mr r3, r23 +/* 800D3164 000D00C4 48 26 BB 21 */ bl ReadLong__12CInputStreamFv +/* 800D3168 000D00C8 2C 1B 00 2F */ cmpwi r27, 0x2f +/* 800D316C 000D00CC 54 77 04 3E */ clrlwi r23, r3, 0x10 +/* 800D3170 000D00D0 40 82 00 1C */ bne lbl_800D318C +/* 800D3174 000D00D4 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D3178 000D00D8 48 26 A9 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D317C 000D00DC 38 61 00 70 */ addi r3, r1, 0x70 +/* 800D3180 000D00E0 48 26 A9 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D3184 000D00E4 38 60 00 00 */ li r3, 0 +/* 800D3188 000D00E8 48 00 01 2C */ b lbl_800D32B4 +lbl_800D318C: +/* 800D318C 000D00EC 2C 1B 00 30 */ cmpwi r27, 0x30 +/* 800D3190 000D00F0 40 82 00 1C */ bne lbl_800D31AC +/* 800D3194 000D00F4 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D3198 000D00F8 48 26 A9 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D319C 000D00FC 38 61 00 70 */ addi r3, r1, 0x70 +/* 800D31A0 000D0100 48 26 A9 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D31A4 000D0104 38 60 00 00 */ li r3, 0 +/* 800D31A8 000D0108 48 00 01 0C */ b lbl_800D32B4 +lbl_800D31AC: +/* 800D31AC 000D010C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D31B0 000D0110 38 60 01 F8 */ li r3, 0x1f8 +/* 800D31B4 000D0114 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D31B8 000D0118 38 A0 00 00 */ li r5, 0 +/* 800D31BC 000D011C 38 84 00 0D */ addi r4, r4, 0xd +/* 800D31C0 000D0120 48 24 26 AD */ bl __nw__FUlPCcPCc +/* 800D31C4 000D0124 7C 7A 1B 79 */ or. r26, r3, r3 +/* 800D31C8 000D0128 41 82 00 D8 */ beq lbl_800D32A0 +/* 800D31CC 000D012C 88 01 00 40 */ lbz r0, 0x40(r1) +/* 800D31D0 000D0130 38 80 00 00 */ li r4, 0 +/* 800D31D4 000D0134 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800D31D8 000D0138 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) +/* 800D31DC 000D013C 98 01 00 40 */ stb r0, 0x40(r1) +/* 800D31E0 000D0140 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 800D31E4 000D0144 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 800D31E8 000D0148 38 C0 FF FF */ li r6, -1 +/* 800D31EC 000D014C 88 01 00 6C */ lbz r0, 0x6c(r1) +/* 800D31F0 000D0150 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800D31F4 000D0154 54 65 06 3E */ clrlwi r5, r3, 0x18 +/* 800D31F8 000D0158 98 61 00 40 */ stb r3, 0x40(r1) +/* 800D31FC 000D015C 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a +/* 800D3200 000D0160 7E A4 AB 78 */ mr r4, r21 +/* 800D3204 000D0164 90 C1 00 3C */ stw r6, 0x3c(r1) +/* 800D3208 000D0168 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D320C 000D016C 98 A1 00 40 */ stb r5, 0x40(r1) +/* 800D3210 000D0170 90 C1 00 54 */ stw r6, 0x54(r1) +/* 800D3214 000D0174 98 A1 00 58 */ stb r5, 0x58(r1) +/* 800D3218 000D0178 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800D321C 000D017C D0 01 00 60 */ stfs f0, 0x60(r1) +/* 800D3220 000D0180 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 800D3224 000D0184 D0 01 00 68 */ stfs f0, 0x68(r1) +/* 800D3228 000D0188 98 01 00 6C */ stb r0, 0x6c(r1) +/* 800D322C 000D018C 4B F7 9E B1 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D3230 000D0190 A0 01 00 34 */ lhz r0, 0x34(r1) +/* 800D3234 000D0194 B0 01 00 38 */ sth r0, 0x38(r1) +/* 800D3238 000D0198 48 27 6D 7D */ bl Black__6CColorFv +/* 800D323C 000D019C 90 61 00 08 */ stw r3, 8(r1) +/* 800D3240 000D01A0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800D3244 000D01A4 39 43 66 A0 */ addi r10, r3, skZero3f@l +/* 800D3248 000D01A8 38 01 00 54 */ addi r0, r1, 0x54 +/* 800D324C 000D01AC 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800D3250 000D01B0 FC 20 F8 90 */ fmr f1, f31 +/* 800D3254 000D01B4 FC 40 F0 90 */ fmr f2, f30 +/* 800D3258 000D01B8 7F 43 D3 78 */ mr r3, r26 +/* 800D325C 000D01BC 90 01 00 10 */ stw r0, 0x10(r1) +/* 800D3260 000D01C0 FC 60 E8 90 */ fmr f3, f29 +/* 800D3264 000D01C4 FC 80 E0 90 */ fmr f4, f28 +/* 800D3268 000D01C8 93 81 00 14 */ stw r28, 0x14(r1) +/* 800D326C 000D01CC 7E C6 B3 78 */ mr r6, r22 +/* 800D3270 000D01D0 7F 68 DB 78 */ mr r8, r27 +/* 800D3274 000D01D4 93 A1 00 18 */ stw r29, 0x18(r1) +/* 800D3278 000D01D8 38 81 00 38 */ addi r4, r1, 0x38 +/* 800D327C 000D01DC 38 A1 00 70 */ addi r5, r1, 0x70 +/* 800D3280 000D01E0 38 E1 00 80 */ addi r7, r1, 0x80 +/* 800D3284 000D01E4 93 C1 00 1C */ stw r30, 0x1c(r1) +/* 800D3288 000D01E8 39 21 00 44 */ addi r9, r1, 0x44 +/* 800D328C 000D01EC 93 21 00 20 */ stw r25, 0x20(r1) +/* 800D3290 000D01F0 93 01 00 24 */ stw r24, 0x24(r1) +/* 800D3294 000D01F4 92 E1 00 28 */ stw r23, 0x28(r1) +/* 800D3298 000D01F8 48 07 F9 29 */ bl "__ct__22CScriptSpecialFunctionF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ222CScriptSpecialFunction16ESpecialFunctionRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>ffffRC9CVector3fRC6CColorbRC11CDamageInfoUiUiUiUsUsUs" +/* 800D329C 000D01FC 7C 7A 1B 78 */ mr r26, r3 +lbl_800D32A0: +/* 800D32A0 000D0200 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D32A4 000D0204 48 26 A8 3D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D32A8 000D0208 38 61 00 70 */ addi r3, r1, 0x70 +/* 800D32AC 000D020C 48 26 A8 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D32B0 000D0210 7F 43 D3 78 */ mr r3, r26 +lbl_800D32B4: +/* 800D32B4 000D0214 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 800D32B8 000D0218 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 800D32BC 000D021C E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 800D32C0 000D0220 CB C1 01 00 */ lfd f30, 0x100(r1) +/* 800D32C4 000D0224 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 800D32C8 000D0228 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 800D32CC 000D022C E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 +/* 800D32D0 000D0230 CB 81 00 E0 */ lfd f28, 0xe0(r1) +/* 800D32D4 000D0234 BA A1 00 B4 */ lmw r21, 0xb4(r1) +/* 800D32D8 000D0238 80 01 01 24 */ lwz r0, 0x124(r1) +/* 800D32DC 000D023C 7C 08 03 A6 */ mtlr r0 +/* 800D32E0 000D0240 38 21 01 20 */ addi r1, r1, 0x120 +/* 800D32E4 000D0244 4E 80 00 20 */ blr + +.global LoadActorRotate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadActorRotate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D32E8 000D0248 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800D32EC 000D024C 7C 08 02 A6 */ mflr r0 +/* 800D32F0 000D0250 2C 05 00 06 */ cmpwi r5, 6 +/* 800D32F4 000D0254 90 01 00 54 */ stw r0, 0x54(r1) +/* 800D32F8 000D0258 DB E1 00 48 */ stfd f31, 0x48(r1) +/* 800D32FC 000D025C BF 41 00 30 */ stmw r26, 0x30(r1) +/* 800D3300 000D0260 7C 7A 1B 78 */ mr r26, r3 +/* 800D3304 000D0264 7C 9C 23 78 */ mr r28, r4 +/* 800D3308 000D0268 7C DB 33 78 */ mr r27, r6 +/* 800D330C 000D026C 41 82 00 0C */ beq lbl_800D3318 +/* 800D3310 000D0270 38 60 00 00 */ li r3, 0 +/* 800D3314 000D0274 48 00 00 BC */ b lbl_800D33D0 +lbl_800D3318: +/* 800D3318 000D0278 4B F7 1E CD */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D331C 000D027C 7C 64 1B 78 */ mr r4, r3 +/* 800D3320 000D0280 38 61 00 1C */ addi r3, r1, 0x1c +/* 800D3324 000D0284 48 26 AE 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D3328 000D0288 7F 84 E3 78 */ mr r4, r28 +/* 800D332C 000D028C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D3330 000D0290 48 24 18 5D */ bl __ct__9CVector3fFR12CInputStream +/* 800D3334 000D0294 7F 83 E3 78 */ mr r3, r28 +/* 800D3338 000D0298 48 26 B8 F1 */ bl ReadFloat__12CInputStreamFv +/* 800D333C 000D029C FF E0 08 90 */ fmr f31, f1 +/* 800D3340 000D02A0 7F 83 E3 78 */ mr r3, r28 +/* 800D3344 000D02A4 48 26 B9 99 */ bl ReadBool__12CInputStreamFv +/* 800D3348 000D02A8 7C 7F 1B 78 */ mr r31, r3 +/* 800D334C 000D02AC 7F 83 E3 78 */ mr r3, r28 +/* 800D3350 000D02B0 48 26 B9 8D */ bl ReadBool__12CInputStreamFv +/* 800D3354 000D02B4 7C 7E 1B 78 */ mr r30, r3 +/* 800D3358 000D02B8 7F 83 E3 78 */ mr r3, r28 +/* 800D335C 000D02BC 48 26 B9 81 */ bl ReadBool__12CInputStreamFv +/* 800D3360 000D02C0 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D3364 000D02C4 7C 7D 1B 78 */ mr r29, r3 +/* 800D3368 000D02C8 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D336C 000D02CC 38 60 00 5C */ li r3, 0x5c +/* 800D3370 000D02D0 38 A0 00 00 */ li r5, 0 +/* 800D3374 000D02D4 38 84 00 0D */ addi r4, r4, 0xd +/* 800D3378 000D02D8 48 24 24 F5 */ bl __nw__FUlPCcPCc +/* 800D337C 000D02DC 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800D3380 000D02E0 41 82 00 44 */ beq lbl_800D33C4 +/* 800D3384 000D02E4 7F 44 D3 78 */ mr r4, r26 +/* 800D3388 000D02E8 38 61 00 08 */ addi r3, r1, 8 +/* 800D338C 000D02EC 4B F7 9D 51 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D3390 000D02F0 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D3394 000D02F4 FC 20 F8 90 */ fmr f1, f31 +/* 800D3398 000D02F8 7F 83 E3 78 */ mr r3, r28 +/* 800D339C 000D02FC 7F 66 DB 78 */ mr r6, r27 +/* 800D33A0 000D0300 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D33A4 000D0304 7F E8 FB 78 */ mr r8, r31 +/* 800D33A8 000D0308 7F C9 F3 78 */ mr r9, r30 +/* 800D33AC 000D030C 7F AA EB 78 */ mr r10, r29 +/* 800D33B0 000D0310 38 81 00 0C */ addi r4, r1, 0xc +/* 800D33B4 000D0314 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800D33B8 000D0318 38 E1 00 10 */ addi r7, r1, 0x10 +/* 800D33BC 000D031C 48 08 10 F1 */ bl "__ct__18CScriptActorRotateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3ffbbb" +/* 800D33C0 000D0320 7C 7C 1B 78 */ mr r28, r3 +lbl_800D33C4: +/* 800D33C4 000D0324 38 61 00 1C */ addi r3, r1, 0x1c +/* 800D33C8 000D0328 48 26 A7 19 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D33CC 000D032C 7F 83 E3 78 */ mr r3, r28 +lbl_800D33D0: +/* 800D33D0 000D0330 CB E1 00 48 */ lfd f31, 0x48(r1) +/* 800D33D4 000D0334 BB 41 00 30 */ lmw r26, 0x30(r1) +/* 800D33D8 000D0338 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800D33DC 000D033C 7C 08 03 A6 */ mtlr r0 +/* 800D33E0 000D0340 38 21 00 50 */ addi r1, r1, 0x50 +/* 800D33E4 000D0344 4E 80 00 20 */ blr + +.global LoadColorModulate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadColorModulate__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D33E8 000D0348 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800D33EC 000D034C 7C 08 02 A6 */ mflr r0 +/* 800D33F0 000D0350 2C 05 00 0C */ cmpwi r5, 0xc +/* 800D33F4 000D0354 90 01 00 84 */ stw r0, 0x84(r1) +/* 800D33F8 000D0358 DB E1 00 78 */ stfd f31, 0x78(r1) +/* 800D33FC 000D035C DB C1 00 70 */ stfd f30, 0x70(r1) +/* 800D3400 000D0360 BE C1 00 48 */ stmw r22, 0x48(r1) +/* 800D3404 000D0364 7C 76 1B 78 */ mr r22, r3 +/* 800D3408 000D0368 7C 99 23 78 */ mr r25, r4 +/* 800D340C 000D036C 7C D7 33 78 */ mr r23, r6 +/* 800D3410 000D0370 41 82 00 0C */ beq lbl_800D341C +/* 800D3414 000D0374 38 60 00 00 */ li r3, 0 +/* 800D3418 000D0378 48 00 01 20 */ b lbl_800D3538 +lbl_800D341C: +/* 800D341C 000D037C 4B F7 1D C9 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D3420 000D0380 7C 64 1B 78 */ mr r4, r3 +/* 800D3424 000D0384 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D3428 000D0388 48 26 AD 39 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D342C 000D038C 7F 24 CB 78 */ mr r4, r25 +/* 800D3430 000D0390 38 61 00 2C */ addi r3, r1, 0x2c +/* 800D3434 000D0394 48 29 00 19 */ bl __ct__6CColorFR12CInputStream +/* 800D3438 000D0398 7F 24 CB 78 */ mr r4, r25 +/* 800D343C 000D039C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D3440 000D03A0 48 29 00 0D */ bl __ct__6CColorFR12CInputStream +/* 800D3444 000D03A4 7F 23 CB 78 */ mr r3, r25 +/* 800D3448 000D03A8 48 26 B8 3D */ bl ReadLong__12CInputStreamFv +/* 800D344C 000D03AC 7C 7A 1B 78 */ mr r26, r3 +/* 800D3450 000D03B0 7F 23 CB 78 */ mr r3, r25 +/* 800D3454 000D03B4 48 26 B7 D5 */ bl ReadFloat__12CInputStreamFv +/* 800D3458 000D03B8 FF E0 08 90 */ fmr f31, f1 +/* 800D345C 000D03BC 7F 23 CB 78 */ mr r3, r25 +/* 800D3460 000D03C0 48 26 B7 C9 */ bl ReadFloat__12CInputStreamFv +/* 800D3464 000D03C4 FF C0 08 90 */ fmr f30, f1 +/* 800D3468 000D03C8 7F 23 CB 78 */ mr r3, r25 +/* 800D346C 000D03CC 48 26 B8 71 */ bl ReadBool__12CInputStreamFv +/* 800D3470 000D03D0 7C 60 1B 78 */ mr r0, r3 +/* 800D3474 000D03D4 7F 23 CB 78 */ mr r3, r25 +/* 800D3478 000D03D8 7C 18 03 78 */ mr r24, r0 +/* 800D347C 000D03DC 48 26 B8 61 */ bl ReadBool__12CInputStreamFv +/* 800D3480 000D03E0 7C 7B 1B 78 */ mr r27, r3 +/* 800D3484 000D03E4 7F 23 CB 78 */ mr r3, r25 +/* 800D3488 000D03E8 48 26 B8 55 */ bl ReadBool__12CInputStreamFv +/* 800D348C 000D03EC 7C 7C 1B 78 */ mr r28, r3 +/* 800D3490 000D03F0 7F 23 CB 78 */ mr r3, r25 +/* 800D3494 000D03F4 48 26 B8 49 */ bl ReadBool__12CInputStreamFv +/* 800D3498 000D03F8 7C 7D 1B 78 */ mr r29, r3 +/* 800D349C 000D03FC 7F 23 CB 78 */ mr r3, r25 +/* 800D34A0 000D0400 48 26 B8 3D */ bl ReadBool__12CInputStreamFv +/* 800D34A4 000D0404 7C 7E 1B 78 */ mr r30, r3 +/* 800D34A8 000D0408 7F 23 CB 78 */ mr r3, r25 +/* 800D34AC 000D040C 48 26 B8 31 */ bl ReadBool__12CInputStreamFv +/* 800D34B0 000D0410 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D34B4 000D0414 7C 7F 1B 78 */ mr r31, r3 +/* 800D34B8 000D0418 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D34BC 000D041C 38 60 00 58 */ li r3, 0x58 +/* 800D34C0 000D0420 38 84 00 0D */ addi r4, r4, 0xd +/* 800D34C4 000D0424 38 A0 00 00 */ li r5, 0 +/* 800D34C8 000D0428 48 24 23 A5 */ bl __nw__FUlPCcPCc +/* 800D34CC 000D042C 7C 79 1B 79 */ or. r25, r3, r3 +/* 800D34D0 000D0430 41 82 00 5C */ beq lbl_800D352C +/* 800D34D4 000D0434 7E C4 B3 78 */ mr r4, r22 +/* 800D34D8 000D0438 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D34DC 000D043C 4B F7 9C 01 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D34E0 000D0440 A0 01 00 20 */ lhz r0, 0x20(r1) +/* 800D34E4 000D0444 FC 20 F8 90 */ fmr f1, f31 +/* 800D34E8 000D0448 FC 40 F0 90 */ fmr f2, f30 +/* 800D34EC 000D044C 7F 23 CB 78 */ mr r3, r25 +/* 800D34F0 000D0450 B0 01 00 24 */ sth r0, 0x24(r1) +/* 800D34F4 000D0454 7E E6 BB 78 */ mr r6, r23 +/* 800D34F8 000D0458 7F 49 D3 78 */ mr r9, r26 +/* 800D34FC 000D045C 93 61 00 08 */ stw r27, 8(r1) +/* 800D3500 000D0460 7F 0A C3 78 */ mr r10, r24 +/* 800D3504 000D0464 38 81 00 24 */ addi r4, r1, 0x24 +/* 800D3508 000D0468 93 81 00 0C */ stw r28, 0xc(r1) +/* 800D350C 000D046C 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800D3510 000D0470 38 E1 00 2C */ addi r7, r1, 0x2c +/* 800D3514 000D0474 39 01 00 28 */ addi r8, r1, 0x28 +/* 800D3518 000D0478 93 A1 00 10 */ stw r29, 0x10(r1) +/* 800D351C 000D047C 93 C1 00 14 */ stw r30, 0x14(r1) +/* 800D3520 000D0480 93 E1 00 18 */ stw r31, 0x18(r1) +/* 800D3524 000D0484 48 12 E6 A9 */ bl "__ct__20CScriptColorModulateF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC6CColorRC6CColorQ220CScriptColorModulate10EBlendModeffbbbbbb" +/* 800D3528 000D0488 7C 79 1B 78 */ mr r25, r3 +lbl_800D352C: +/* 800D352C 000D048C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D3530 000D0490 48 26 A5 B1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D3534 000D0494 7F 23 CB 78 */ mr r3, r25 +lbl_800D3538: +/* 800D3538 000D0498 CB E1 00 78 */ lfd f31, 0x78(r1) +/* 800D353C 000D049C CB C1 00 70 */ lfd f30, 0x70(r1) +/* 800D3540 000D04A0 BA C1 00 48 */ lmw r22, 0x48(r1) +/* 800D3544 000D04A4 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800D3548 000D04A8 7C 08 03 A6 */ mtlr r0 +/* 800D354C 000D04AC 38 21 00 80 */ addi r1, r1, 0x80 +/* 800D3550 000D04B0 4E 80 00 20 */ blr + +.global LoadAIKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadAIKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D3554 000D04B4 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800D3558 000D04B8 7C 08 02 A6 */ mflr r0 +/* 800D355C 000D04BC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800D3560 000D04C0 48 00 00 2D */ bl LoadActorKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +/* 800D3564 000D04C4 28 03 00 00 */ cmplwi r3, 0 +/* 800D3568 000D04C8 41 82 00 14 */ beq lbl_800D357C +/* 800D356C 000D04CC 88 03 00 44 */ lbz r0, 0x44(r3) +/* 800D3570 000D04D0 38 80 00 01 */ li r4, 1 +/* 800D3574 000D04D4 50 80 36 72 */ rlwimi r0, r4, 6, 0x19, 0x19 +/* 800D3578 000D04D8 98 03 00 44 */ stb r0, 0x44(r3) +lbl_800D357C: +/* 800D357C 000D04DC 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800D3580 000D04E0 7C 08 03 A6 */ mtlr r0 +/* 800D3584 000D04E4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800D3588 000D04E8 4E 80 00 20 */ blr + +.global LoadActorKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadActorKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D358C 000D04EC 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800D3590 000D04F0 7C 08 02 A6 */ mflr r0 +/* 800D3594 000D04F4 2C 05 00 07 */ cmpwi r5, 7 +/* 800D3598 000D04F8 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800D359C 000D04FC DB E1 00 A8 */ stfd f31, 0xa8(r1) +/* 800D35A0 000D0500 DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 800D35A4 000D0504 BF 21 00 84 */ stmw r25, 0x84(r1) +/* 800D35A8 000D0508 7C 79 1B 78 */ mr r25, r3 +/* 800D35AC 000D050C 7C 9B 23 78 */ mr r27, r4 +/* 800D35B0 000D0510 7C DA 33 78 */ mr r26, r6 +/* 800D35B4 000D0514 41 82 00 0C */ beq lbl_800D35C0 +/* 800D35B8 000D0518 38 60 00 00 */ li r3, 0 +/* 800D35BC 000D051C 48 00 01 64 */ b lbl_800D3720 +lbl_800D35C0: +/* 800D35C0 000D0520 4B F7 1C 25 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D35C4 000D0524 7C 64 1B 78 */ mr r4, r3 +/* 800D35C8 000D0528 38 61 00 68 */ addi r3, r1, 0x68 +/* 800D35CC 000D052C 48 26 AB 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D35D0 000D0530 7F 63 DB 78 */ mr r3, r27 +/* 800D35D4 000D0534 48 26 B6 B1 */ bl ReadLong__12CInputStreamFv +/* 800D35D8 000D0538 7C 7E 1B 78 */ mr r30, r3 +/* 800D35DC 000D053C 7F 63 DB 78 */ mr r3, r27 +/* 800D35E0 000D0540 48 26 B6 FD */ bl ReadBool__12CInputStreamFv +/* 800D35E4 000D0544 7C 7D 1B 78 */ mr r29, r3 +/* 800D35E8 000D0548 7F 63 DB 78 */ mr r3, r27 +/* 800D35EC 000D054C 48 26 B6 3D */ bl ReadFloat__12CInputStreamFv +/* 800D35F0 000D0550 FF E0 08 90 */ fmr f31, f1 +/* 800D35F4 000D0554 7F 63 DB 78 */ mr r3, r27 +/* 800D35F8 000D0558 48 26 B6 E5 */ bl ReadBool__12CInputStreamFv +/* 800D35FC 000D055C 7C 7F 1B 78 */ mr r31, r3 +/* 800D3600 000D0560 7F 63 DB 78 */ mr r3, r27 +/* 800D3604 000D0564 48 26 B6 81 */ bl ReadLong__12CInputStreamFv +/* 800D3608 000D0568 7C 7C 1B 78 */ mr r28, r3 +/* 800D360C 000D056C 7F 63 DB 78 */ mr r3, r27 +/* 800D3610 000D0570 48 26 B6 19 */ bl ReadFloat__12CInputStreamFv +/* 800D3614 000D0574 2C 1E FF FF */ cmpwi r30, -1 +/* 800D3618 000D0578 FF C0 08 90 */ fmr f30, f1 +/* 800D361C 000D057C 40 82 00 90 */ bne lbl_800D36AC +/* 800D3620 000D0580 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D3624 000D0584 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D3628 000D0588 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D362C 000D058C 38 84 01 F4 */ addi r4, r4, 0x1f4 +/* 800D3630 000D0590 4B F3 16 89 */ bl string_l__4rstlFPCc +/* 800D3634 000D0594 38 61 00 38 */ addi r3, r1, 0x38 +/* 800D3638 000D0598 38 81 00 48 */ addi r4, r1, 0x48 +/* 800D363C 000D059C 38 A1 00 68 */ addi r5, r1, 0x68 +/* 800D3640 000D05A0 4B F3 16 1D */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D3644 000D05A4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D3648 000D05A8 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D364C 000D05AC 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D3650 000D05B0 38 84 02 0F */ addi r4, r4, 0x20f +/* 800D3654 000D05B4 4B F3 16 65 */ bl string_l__4rstlFPCc +/* 800D3658 000D05B8 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D365C 000D05BC 38 81 00 38 */ addi r4, r1, 0x38 +/* 800D3660 000D05C0 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800D3664 000D05C4 4B F3 15 F9 */ bl "__pl__4rstlFRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D3668 000D05C8 38 61 00 58 */ addi r3, r1, 0x58 +/* 800D366C 000D05CC 38 81 00 18 */ addi r4, r1, 0x18 +/* 800D3670 000D05D0 48 26 AA F1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D3674 000D05D4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D3678 000D05D8 48 26 A4 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D367C 000D05DC 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D3680 000D05E0 48 26 A4 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D3684 000D05E4 38 61 00 38 */ addi r3, r1, 0x38 +/* 800D3688 000D05E8 48 26 A4 59 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D368C 000D05EC 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D3690 000D05F0 48 26 A4 51 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D3694 000D05F4 38 61 00 58 */ addi r3, r1, 0x58 +/* 800D3698 000D05F8 48 26 A4 49 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D369C 000D05FC 38 61 00 68 */ addi r3, r1, 0x68 +/* 800D36A0 000D0600 48 26 A4 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D36A4 000D0604 38 60 00 00 */ li r3, 0 +/* 800D36A8 000D0608 48 00 00 78 */ b lbl_800D3720 +lbl_800D36AC: +/* 800D36AC 000D060C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D36B0 000D0610 38 60 00 48 */ li r3, 0x48 +/* 800D36B4 000D0614 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D36B8 000D0618 38 A0 00 00 */ li r5, 0 +/* 800D36BC 000D061C 38 84 00 0D */ addi r4, r4, 0xd +/* 800D36C0 000D0620 48 24 21 AD */ bl __nw__FUlPCcPCc +/* 800D36C4 000D0624 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800D36C8 000D0628 41 82 00 4C */ beq lbl_800D3714 +/* 800D36CC 000D062C 7F 24 CB 78 */ mr r4, r25 +/* 800D36D0 000D0630 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D36D4 000D0634 4B F7 9A 09 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D36D8 000D0638 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800D36DC 000D063C FC 20 F8 90 */ fmr f1, f31 +/* 800D36E0 000D0640 FC 40 F0 90 */ fmr f2, f30 +/* 800D36E4 000D0644 7F 63 DB 78 */ mr r3, r27 +/* 800D36E8 000D0648 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800D36EC 000D064C 7F 46 D3 78 */ mr r6, r26 +/* 800D36F0 000D0650 7F C7 F3 78 */ mr r7, r30 +/* 800D36F4 000D0654 93 E1 00 08 */ stw r31, 8(r1) +/* 800D36F8 000D0658 7F A8 EB 78 */ mr r8, r29 +/* 800D36FC 000D065C 7F 8A E3 78 */ mr r10, r28 +/* 800D3700 000D0660 38 81 00 14 */ addi r4, r1, 0x14 +/* 800D3704 000D0664 38 A1 00 68 */ addi r5, r1, 0x68 +/* 800D3708 000D0668 39 20 00 00 */ li r9, 0 +/* 800D370C 000D066C 48 02 B0 A5 */ bl "__ct__20CScriptActorKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoibfbUib" +/* 800D3710 000D0670 7C 7B 1B 78 */ mr r27, r3 +lbl_800D3714: +/* 800D3714 000D0674 38 61 00 68 */ addi r3, r1, 0x68 +/* 800D3718 000D0678 48 26 A3 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D371C 000D067C 7F 63 DB 78 */ mr r3, r27 +lbl_800D3720: +/* 800D3720 000D0680 CB E1 00 A8 */ lfd f31, 0xa8(r1) +/* 800D3724 000D0684 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 800D3728 000D0688 BB 21 00 84 */ lmw r25, 0x84(r1) +/* 800D372C 000D068C 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800D3730 000D0690 7C 08 03 A6 */ mtlr r0 +/* 800D3734 000D0694 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800D3738 000D0698 4E 80 00 20 */ blr + +.global LoadNewCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadNewCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D373C 000D069C 94 21 FD 60 */ stwu r1, -0x2a0(r1) +/* 800D3740 000D06A0 7C 08 02 A6 */ mflr r0 +/* 800D3744 000D06A4 90 01 02 A4 */ stw r0, 0x2a4(r1) +/* 800D3748 000D06A8 DB E1 02 90 */ stfd f31, 0x290(r1) +/* 800D374C 000D06AC F3 E1 02 98 */ psq_st f31, 664(r1), 0, qr0 +/* 800D3750 000D06B0 DB C1 02 80 */ stfd f30, 0x280(r1) +/* 800D3754 000D06B4 F3 C1 02 88 */ psq_st f30, 648(r1), 0, qr0 +/* 800D3758 000D06B8 BF 61 02 6C */ stmw r27, 0x26c(r1) +/* 800D375C 000D06BC 2C 05 00 08 */ cmpwi r5, 8 +/* 800D3760 000D06C0 7C 7B 1B 78 */ mr r27, r3 +/* 800D3764 000D06C4 7C 9C 23 78 */ mr r28, r4 +/* 800D3768 000D06C8 7C DD 33 78 */ mr r29, r6 +/* 800D376C 000D06CC 41 82 00 0C */ beq lbl_800D3778 +/* 800D3770 000D06D0 38 60 00 00 */ li r3, 0 +/* 800D3774 000D06D4 48 00 03 0C */ b lbl_800D3A80 +lbl_800D3778: +/* 800D3778 000D06D8 4B F7 1A 6D */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D377C 000D06DC 7C 64 1B 78 */ mr r4, r3 +/* 800D3780 000D06E0 38 61 00 1C */ addi r3, r1, 0x1c +/* 800D3784 000D06E4 48 26 A9 DD */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D3788 000D06E8 7F 84 E3 78 */ mr r4, r28 +/* 800D378C 000D06EC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D3790 000D06F0 48 24 13 FD */ bl __ct__9CVector3fFR12CInputStream +/* 800D3794 000D06F4 7F 83 E3 78 */ mr r3, r28 +/* 800D3798 000D06F8 48 26 B5 45 */ bl ReadBool__12CInputStreamFv +/* 800D379C 000D06FC 7C 7F 1B 78 */ mr r31, r3 +/* 800D37A0 000D0700 7F 83 E3 78 */ mr r3, r28 +/* 800D37A4 000D0704 48 00 64 59 */ bl LoadParameterFlags__FR12CInputStream +/* 800D37A8 000D0708 7C 60 1B 78 */ mr r0, r3 +/* 800D37AC 000D070C 7F 83 E3 78 */ mr r3, r28 +/* 800D37B0 000D0710 7C 1E 03 78 */ mr r30, r0 +/* 800D37B4 000D0714 48 26 B4 75 */ bl ReadFloat__12CInputStreamFv +/* 800D37B8 000D0718 FF E0 08 90 */ fmr f31, f1 +/* 800D37BC 000D071C 7F 83 E3 78 */ mr r3, r28 +/* 800D37C0 000D0720 48 26 B4 69 */ bl ReadFloat__12CInputStreamFv +/* 800D37C4 000D0724 FF C0 08 90 */ fmr f30, f1 +/* 800D37C8 000D0728 7F 84 E3 78 */ mr r4, r28 +/* 800D37CC 000D072C 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 800D37D0 000D0730 48 08 99 AD */ bl LoadNewCameraShakerComponent__FR12CInputStream +/* 800D37D4 000D0734 80 81 00 A8 */ lwz r4, 0xa8(r1) +/* 800D37D8 000D0738 3C A0 80 3E */ lis r5, lbl_803D8EA8@ha +/* 800D37DC 000D073C 80 61 00 AC */ lwz r3, 0xac(r1) +/* 800D37E0 000D0740 38 A5 8E A8 */ addi r5, r5, lbl_803D8EA8@l +/* 800D37E4 000D0744 C1 41 00 B0 */ lfs f10, 0xb0(r1) +/* 800D37E8 000D0748 34 01 00 A4 */ addic. r0, r1, 0xa4 +/* 800D37EC 000D074C C1 21 00 B4 */ lfs f9, 0xb4(r1) +/* 800D37F0 000D0750 C1 01 00 B8 */ lfs f8, 0xb8(r1) +/* 800D37F4 000D0754 C0 E1 00 BC */ lfs f7, 0xbc(r1) +/* 800D37F8 000D0758 C0 C1 00 C0 */ lfs f6, 0xc0(r1) +/* 800D37FC 000D075C 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800D3800 000D0760 C0 A1 00 C8 */ lfs f5, 0xc8(r1) +/* 800D3804 000D0764 C0 81 00 CC */ lfs f4, 0xcc(r1) +/* 800D3808 000D0768 C0 61 00 D0 */ lfs f3, 0xd0(r1) +/* 800D380C 000D076C C0 41 00 D4 */ lfs f2, 0xd4(r1) +/* 800D3810 000D0770 C0 21 00 D8 */ lfs f1, 0xd8(r1) +/* 800D3814 000D0774 C0 01 00 DC */ lfs f0, 0xdc(r1) +/* 800D3818 000D0778 90 A1 01 58 */ stw r5, 0x158(r1) +/* 800D381C 000D077C 90 81 01 5C */ stw r4, 0x15c(r1) +/* 800D3820 000D0780 90 61 01 60 */ stw r3, 0x160(r1) +/* 800D3824 000D0784 D1 41 01 64 */ stfs f10, 0x164(r1) +/* 800D3828 000D0788 D1 21 01 68 */ stfs f9, 0x168(r1) +/* 800D382C 000D078C D1 01 01 6C */ stfs f8, 0x16c(r1) +/* 800D3830 000D0790 D0 E1 01 70 */ stfs f7, 0x170(r1) +/* 800D3834 000D0794 D0 C1 01 74 */ stfs f6, 0x174(r1) +/* 800D3838 000D0798 90 01 01 78 */ stw r0, 0x178(r1) +/* 800D383C 000D079C D0 A1 01 7C */ stfs f5, 0x17c(r1) +/* 800D3840 000D07A0 D0 81 01 80 */ stfs f4, 0x180(r1) +/* 800D3844 000D07A4 D0 61 01 84 */ stfs f3, 0x184(r1) +/* 800D3848 000D07A8 D0 41 01 88 */ stfs f2, 0x188(r1) +/* 800D384C 000D07AC D0 21 01 8C */ stfs f1, 0x18c(r1) +/* 800D3850 000D07B0 D0 01 01 90 */ stfs f0, 0x190(r1) +/* 800D3854 000D07B4 41 82 00 08 */ beq lbl_800D385C +/* 800D3858 000D07B8 90 A1 00 A4 */ stw r5, 0xa4(r1) +lbl_800D385C: +/* 800D385C 000D07BC 7F 84 E3 78 */ mr r4, r28 +/* 800D3860 000D07C0 38 61 00 68 */ addi r3, r1, 0x68 +/* 800D3864 000D07C4 48 08 99 19 */ bl LoadNewCameraShakerComponent__FR12CInputStream +/* 800D3868 000D07C8 80 81 00 6C */ lwz r4, 0x6c(r1) +/* 800D386C 000D07CC 3C A0 80 3E */ lis r5, lbl_803D8EA8@ha +/* 800D3870 000D07D0 80 61 00 70 */ lwz r3, 0x70(r1) +/* 800D3874 000D07D4 38 A5 8E A8 */ addi r5, r5, lbl_803D8EA8@l +/* 800D3878 000D07D8 C1 41 00 74 */ lfs f10, 0x74(r1) +/* 800D387C 000D07DC 34 01 00 68 */ addic. r0, r1, 0x68 +/* 800D3880 000D07E0 C1 21 00 78 */ lfs f9, 0x78(r1) +/* 800D3884 000D07E4 C1 01 00 7C */ lfs f8, 0x7c(r1) +/* 800D3888 000D07E8 C0 E1 00 80 */ lfs f7, 0x80(r1) +/* 800D388C 000D07EC C0 C1 00 84 */ lfs f6, 0x84(r1) +/* 800D3890 000D07F0 80 01 00 88 */ lwz r0, 0x88(r1) +/* 800D3894 000D07F4 C0 A1 00 8C */ lfs f5, 0x8c(r1) +/* 800D3898 000D07F8 C0 81 00 90 */ lfs f4, 0x90(r1) +/* 800D389C 000D07FC C0 61 00 94 */ lfs f3, 0x94(r1) +/* 800D38A0 000D0800 C0 41 00 98 */ lfs f2, 0x98(r1) +/* 800D38A4 000D0804 C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 800D38A8 000D0808 C0 01 00 A0 */ lfs f0, 0xa0(r1) +/* 800D38AC 000D080C 90 A1 01 1C */ stw r5, 0x11c(r1) +/* 800D38B0 000D0810 90 81 01 20 */ stw r4, 0x120(r1) +/* 800D38B4 000D0814 90 61 01 24 */ stw r3, 0x124(r1) +/* 800D38B8 000D0818 D1 41 01 28 */ stfs f10, 0x128(r1) +/* 800D38BC 000D081C D1 21 01 2C */ stfs f9, 0x12c(r1) +/* 800D38C0 000D0820 D1 01 01 30 */ stfs f8, 0x130(r1) +/* 800D38C4 000D0824 D0 E1 01 34 */ stfs f7, 0x134(r1) +/* 800D38C8 000D0828 D0 C1 01 38 */ stfs f6, 0x138(r1) +/* 800D38CC 000D082C 90 01 01 3C */ stw r0, 0x13c(r1) +/* 800D38D0 000D0830 D0 A1 01 40 */ stfs f5, 0x140(r1) +/* 800D38D4 000D0834 D0 81 01 44 */ stfs f4, 0x144(r1) +/* 800D38D8 000D0838 D0 61 01 48 */ stfs f3, 0x148(r1) +/* 800D38DC 000D083C D0 41 01 4C */ stfs f2, 0x14c(r1) +/* 800D38E0 000D0840 D0 21 01 50 */ stfs f1, 0x150(r1) +/* 800D38E4 000D0844 D0 01 01 54 */ stfs f0, 0x154(r1) +/* 800D38E8 000D0848 41 82 00 08 */ beq lbl_800D38F0 +/* 800D38EC 000D084C 90 A1 00 68 */ stw r5, 0x68(r1) +lbl_800D38F0: +/* 800D38F0 000D0850 7F 84 E3 78 */ mr r4, r28 +/* 800D38F4 000D0854 38 61 00 2C */ addi r3, r1, 0x2c +/* 800D38F8 000D0858 48 08 98 85 */ bl LoadNewCameraShakerComponent__FR12CInputStream +/* 800D38FC 000D085C 80 81 00 30 */ lwz r4, 0x30(r1) +/* 800D3900 000D0860 3C A0 80 3E */ lis r5, lbl_803D8EA8@ha +/* 800D3904 000D0864 80 61 00 34 */ lwz r3, 0x34(r1) +/* 800D3908 000D0868 38 A5 8E A8 */ addi r5, r5, lbl_803D8EA8@l +/* 800D390C 000D086C C1 41 00 38 */ lfs f10, 0x38(r1) +/* 800D3910 000D0870 34 01 00 2C */ addic. r0, r1, 0x2c +/* 800D3914 000D0874 C1 21 00 3C */ lfs f9, 0x3c(r1) +/* 800D3918 000D0878 C1 01 00 40 */ lfs f8, 0x40(r1) +/* 800D391C 000D087C C0 E1 00 44 */ lfs f7, 0x44(r1) +/* 800D3920 000D0880 C0 C1 00 48 */ lfs f6, 0x48(r1) +/* 800D3924 000D0884 80 01 00 4C */ lwz r0, 0x4c(r1) +/* 800D3928 000D0888 C0 A1 00 50 */ lfs f5, 0x50(r1) +/* 800D392C 000D088C C0 81 00 54 */ lfs f4, 0x54(r1) +/* 800D3930 000D0890 C0 61 00 58 */ lfs f3, 0x58(r1) +/* 800D3934 000D0894 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 800D3938 000D0898 C0 21 00 60 */ lfs f1, 0x60(r1) +/* 800D393C 000D089C C0 01 00 64 */ lfs f0, 0x64(r1) +/* 800D3940 000D08A0 90 A1 00 E0 */ stw r5, 0xe0(r1) +/* 800D3944 000D08A4 90 81 00 E4 */ stw r4, 0xe4(r1) +/* 800D3948 000D08A8 90 61 00 E8 */ stw r3, 0xe8(r1) +/* 800D394C 000D08AC D1 41 00 EC */ stfs f10, 0xec(r1) +/* 800D3950 000D08B0 D1 21 00 F0 */ stfs f9, 0xf0(r1) +/* 800D3954 000D08B4 D1 01 00 F4 */ stfs f8, 0xf4(r1) +/* 800D3958 000D08B8 D0 E1 00 F8 */ stfs f7, 0xf8(r1) +/* 800D395C 000D08BC D0 C1 00 FC */ stfs f6, 0xfc(r1) +/* 800D3960 000D08C0 90 01 01 00 */ stw r0, 0x100(r1) +/* 800D3964 000D08C4 D0 A1 01 04 */ stfs f5, 0x104(r1) +/* 800D3968 000D08C8 D0 81 01 08 */ stfs f4, 0x108(r1) +/* 800D396C 000D08CC D0 61 01 0C */ stfs f3, 0x10c(r1) +/* 800D3970 000D08D0 D0 41 01 10 */ stfs f2, 0x110(r1) +/* 800D3974 000D08D4 D0 21 01 14 */ stfs f1, 0x114(r1) +/* 800D3978 000D08D8 D0 01 01 18 */ stfs f0, 0x118(r1) +/* 800D397C 000D08DC 41 82 00 08 */ beq lbl_800D3984 +/* 800D3980 000D08E0 90 A1 00 2C */ stw r5, 0x2c(r1) +lbl_800D3984: +/* 800D3984 000D08E4 FC 20 F8 90 */ fmr f1, f31 +/* 800D3988 000D08E8 7F C4 F3 78 */ mr r4, r30 +/* 800D398C 000D08EC FC 40 F0 90 */ fmr f2, f30 +/* 800D3990 000D08F0 38 61 01 94 */ addi r3, r1, 0x194 +/* 800D3994 000D08F4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D3998 000D08F8 38 C1 01 58 */ addi r6, r1, 0x158 +/* 800D399C 000D08FC 38 E1 01 1C */ addi r7, r1, 0x11c +/* 800D39A0 000D0900 39 01 00 E0 */ addi r8, r1, 0xe0 +/* 800D39A4 000D0904 48 08 94 F5 */ bl __ct__16CCameraShakeDataFffiRC9CVector3fRC22CCameraShakerComponentRC22CCameraShakerComponentRC22CCameraShakerComponent +/* 800D39A8 000D0908 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D39AC 000D090C 38 60 01 08 */ li r3, 0x108 +/* 800D39B0 000D0910 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D39B4 000D0914 38 A0 00 00 */ li r5, 0 +/* 800D39B8 000D0918 38 84 00 0D */ addi r4, r4, 0xd +/* 800D39BC 000D091C 48 24 1E B1 */ bl __nw__FUlPCcPCc +/* 800D39C0 000D0920 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800D39C4 000D0924 41 82 00 38 */ beq lbl_800D39FC +/* 800D39C8 000D0928 7F 64 DB 78 */ mr r4, r27 +/* 800D39CC 000D092C 38 61 00 08 */ addi r3, r1, 8 +/* 800D39D0 000D0930 4B F7 97 0D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D39D4 000D0934 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D39D8 000D0938 7F C3 F3 78 */ mr r3, r30 +/* 800D39DC 000D093C 7F A6 EB 78 */ mr r6, r29 +/* 800D39E0 000D0940 7F E7 FB 78 */ mr r7, r31 +/* 800D39E4 000D0944 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D39E8 000D0948 38 81 00 0C */ addi r4, r1, 0xc +/* 800D39EC 000D094C 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800D39F0 000D0950 39 01 01 94 */ addi r8, r1, 0x194 +/* 800D39F4 000D0954 48 02 A5 D9 */ bl "__ct__19CScriptCameraShakerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobRC16CCameraShakeData" +/* 800D39F8 000D0958 7C 7E 1B 78 */ mr r30, r3 +lbl_800D39FC: +/* 800D39FC 000D095C 34 81 02 14 */ addic. r4, r1, 0x214 +/* 800D3A00 000D0960 41 82 00 10 */ beq lbl_800D3A10 +/* 800D3A04 000D0964 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800D3A08 000D0968 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800D3A0C 000D096C 90 04 00 00 */ stw r0, 0(r4) +lbl_800D3A10: +/* 800D3A10 000D0970 34 81 01 D8 */ addic. r4, r1, 0x1d8 +/* 800D3A14 000D0974 41 82 00 10 */ beq lbl_800D3A24 +/* 800D3A18 000D0978 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800D3A1C 000D097C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800D3A20 000D0980 90 04 00 00 */ stw r0, 0(r4) +lbl_800D3A24: +/* 800D3A24 000D0984 34 81 01 9C */ addic. r4, r1, 0x19c +/* 800D3A28 000D0988 41 82 00 10 */ beq lbl_800D3A38 +/* 800D3A2C 000D098C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800D3A30 000D0990 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800D3A34 000D0994 90 04 00 00 */ stw r0, 0(r4) +lbl_800D3A38: +/* 800D3A38 000D0998 34 01 00 E0 */ addic. r0, r1, 0xe0 +/* 800D3A3C 000D099C 41 82 00 10 */ beq lbl_800D3A4C +/* 800D3A40 000D09A0 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800D3A44 000D09A4 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800D3A48 000D09A8 90 01 00 E0 */ stw r0, 0xe0(r1) +lbl_800D3A4C: +/* 800D3A4C 000D09AC 34 01 01 1C */ addic. r0, r1, 0x11c +/* 800D3A50 000D09B0 41 82 00 10 */ beq lbl_800D3A60 +/* 800D3A54 000D09B4 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800D3A58 000D09B8 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800D3A5C 000D09BC 90 01 01 1C */ stw r0, 0x11c(r1) +lbl_800D3A60: +/* 800D3A60 000D09C0 34 01 01 58 */ addic. r0, r1, 0x158 +/* 800D3A64 000D09C4 41 82 00 10 */ beq lbl_800D3A74 +/* 800D3A68 000D09C8 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800D3A6C 000D09CC 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800D3A70 000D09D0 90 01 01 58 */ stw r0, 0x158(r1) +lbl_800D3A74: +/* 800D3A74 000D09D4 38 61 00 1C */ addi r3, r1, 0x1c +/* 800D3A78 000D09D8 48 26 A0 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D3A7C 000D09DC 7F C3 F3 78 */ mr r3, r30 +lbl_800D3A80: +/* 800D3A80 000D09E0 E3 E1 02 98 */ psq_l f31, 664(r1), 0, qr0 +/* 800D3A84 000D09E4 CB E1 02 90 */ lfd f31, 0x290(r1) +/* 800D3A88 000D09E8 E3 C1 02 88 */ psq_l f30, 648(r1), 0, qr0 +/* 800D3A8C 000D09EC CB C1 02 80 */ lfd f30, 0x280(r1) +/* 800D3A90 000D09F0 BB 61 02 6C */ lmw r27, 0x26c(r1) +/* 800D3A94 000D09F4 80 01 02 A4 */ lwz r0, 0x2a4(r1) +/* 800D3A98 000D09F8 7C 08 03 A6 */ mtlr r0 +/* 800D3A9C 000D09FC 38 21 02 A0 */ addi r1, r1, 0x2a0 +/* 800D3AA0 000D0A00 4E 80 00 20 */ blr + +.global LoadCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadCameraShaker__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D3AA4 000D0A04 94 21 FE 20 */ stwu r1, -0x1e0(r1) +/* 800D3AA8 000D0A08 7C 08 02 A6 */ mflr r0 +/* 800D3AAC 000D0A0C 2C 05 00 09 */ cmpwi r5, 9 +/* 800D3AB0 000D0A10 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 800D3AB4 000D0A14 93 E1 01 DC */ stw r31, 0x1dc(r1) +/* 800D3AB8 000D0A18 7C DF 33 78 */ mr r31, r6 +/* 800D3ABC 000D0A1C 93 C1 01 D8 */ stw r30, 0x1d8(r1) +/* 800D3AC0 000D0A20 7C 7E 1B 78 */ mr r30, r3 +/* 800D3AC4 000D0A24 93 A1 01 D4 */ stw r29, 0x1d4(r1) +/* 800D3AC8 000D0A28 93 81 01 D0 */ stw r28, 0x1d0(r1) +/* 800D3ACC 000D0A2C 7C 9C 23 78 */ mr r28, r4 +/* 800D3AD0 000D0A30 41 82 00 0C */ beq lbl_800D3ADC +/* 800D3AD4 000D0A34 38 60 00 00 */ li r3, 0 +/* 800D3AD8 000D0A38 48 00 01 10 */ b lbl_800D3BE8 +lbl_800D3ADC: +/* 800D3ADC 000D0A3C 4B F7 17 09 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D3AE0 000D0A40 7C 64 1B 78 */ mr r4, r3 +/* 800D3AE4 000D0A44 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D3AE8 000D0A48 48 26 A6 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D3AEC 000D0A4C 7F 84 E3 78 */ mr r4, r28 +/* 800D3AF0 000D0A50 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D3AF4 000D0A54 48 08 8F C9 */ bl LoadCameraShakeData__FR12CInputStream +/* 800D3AF8 000D0A58 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 800D3AFC 000D0A5C 38 81 00 20 */ addi r4, r1, 0x20 +/* 800D3B00 000D0A60 4B F3 72 A9 */ bl __ct__16CCameraShakeDataFRC16CCameraShakeData +/* 800D3B04 000D0A64 34 81 00 A0 */ addic. r4, r1, 0xa0 +/* 800D3B08 000D0A68 41 82 00 10 */ beq lbl_800D3B18 +/* 800D3B0C 000D0A6C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800D3B10 000D0A70 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800D3B14 000D0A74 90 04 00 00 */ stw r0, 0(r4) +lbl_800D3B18: +/* 800D3B18 000D0A78 34 81 00 64 */ addic. r4, r1, 0x64 +/* 800D3B1C 000D0A7C 41 82 00 10 */ beq lbl_800D3B2C +/* 800D3B20 000D0A80 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800D3B24 000D0A84 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800D3B28 000D0A88 90 04 00 00 */ stw r0, 0(r4) +lbl_800D3B2C: +/* 800D3B2C 000D0A8C 34 81 00 28 */ addic. r4, r1, 0x28 +/* 800D3B30 000D0A90 41 82 00 10 */ beq lbl_800D3B40 +/* 800D3B34 000D0A94 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800D3B38 000D0A98 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800D3B3C 000D0A9C 90 04 00 00 */ stw r0, 0(r4) +lbl_800D3B40: +/* 800D3B40 000D0AA0 7F 83 E3 78 */ mr r3, r28 +/* 800D3B44 000D0AA4 48 26 B1 99 */ bl ReadBool__12CInputStreamFv +/* 800D3B48 000D0AA8 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D3B4C 000D0AAC 7C 7D 1B 78 */ mr r29, r3 +/* 800D3B50 000D0AB0 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D3B54 000D0AB4 38 60 01 08 */ li r3, 0x108 +/* 800D3B58 000D0AB8 38 A0 00 00 */ li r5, 0 +/* 800D3B5C 000D0ABC 38 84 00 0D */ addi r4, r4, 0xd +/* 800D3B60 000D0AC0 48 24 1D 0D */ bl __nw__FUlPCcPCc +/* 800D3B64 000D0AC4 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800D3B68 000D0AC8 41 82 00 38 */ beq lbl_800D3BA0 +/* 800D3B6C 000D0ACC 7F C4 F3 78 */ mr r4, r30 +/* 800D3B70 000D0AD0 38 61 00 08 */ addi r3, r1, 8 +/* 800D3B74 000D0AD4 4B F7 95 69 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D3B78 000D0AD8 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D3B7C 000D0ADC 7F 83 E3 78 */ mr r3, r28 +/* 800D3B80 000D0AE0 7F E6 FB 78 */ mr r6, r31 +/* 800D3B84 000D0AE4 7F A7 EB 78 */ mr r7, r29 +/* 800D3B88 000D0AE8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D3B8C 000D0AEC 38 81 00 0C */ addi r4, r1, 0xc +/* 800D3B90 000D0AF0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D3B94 000D0AF4 39 01 00 F4 */ addi r8, r1, 0xf4 +/* 800D3B98 000D0AF8 48 02 A4 35 */ bl "__ct__19CScriptCameraShakerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobRC16CCameraShakeData" +/* 800D3B9C 000D0AFC 7C 7C 1B 78 */ mr r28, r3 +lbl_800D3BA0: +/* 800D3BA0 000D0B00 34 81 01 74 */ addic. r4, r1, 0x174 +/* 800D3BA4 000D0B04 41 82 00 10 */ beq lbl_800D3BB4 +/* 800D3BA8 000D0B08 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800D3BAC 000D0B0C 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800D3BB0 000D0B10 90 04 00 00 */ stw r0, 0(r4) +lbl_800D3BB4: +/* 800D3BB4 000D0B14 34 81 01 38 */ addic. r4, r1, 0x138 +/* 800D3BB8 000D0B18 41 82 00 10 */ beq lbl_800D3BC8 +/* 800D3BBC 000D0B1C 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800D3BC0 000D0B20 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800D3BC4 000D0B24 90 04 00 00 */ stw r0, 0(r4) +lbl_800D3BC8: +/* 800D3BC8 000D0B28 34 81 00 FC */ addic. r4, r1, 0xfc +/* 800D3BCC 000D0B2C 41 82 00 10 */ beq lbl_800D3BDC +/* 800D3BD0 000D0B30 3C 60 80 3E */ lis r3, lbl_803D8EA8@ha +/* 800D3BD4 000D0B34 38 03 8E A8 */ addi r0, r3, lbl_803D8EA8@l +/* 800D3BD8 000D0B38 90 04 00 00 */ stw r0, 0(r4) +lbl_800D3BDC: +/* 800D3BDC 000D0B3C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D3BE0 000D0B40 48 26 9F 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D3BE4 000D0B44 7F 83 E3 78 */ mr r3, r28 +lbl_800D3BE8: +/* 800D3BE8 000D0B48 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 800D3BEC 000D0B4C 83 E1 01 DC */ lwz r31, 0x1dc(r1) +/* 800D3BF0 000D0B50 83 C1 01 D8 */ lwz r30, 0x1d8(r1) +/* 800D3BF4 000D0B54 83 A1 01 D4 */ lwz r29, 0x1d4(r1) +/* 800D3BF8 000D0B58 83 81 01 D0 */ lwz r28, 0x1d0(r1) +/* 800D3BFC 000D0B5C 7C 08 03 A6 */ mtlr r0 +/* 800D3C00 000D0B60 38 21 01 E0 */ addi r1, r1, 0x1e0 +/* 800D3C04 000D0B64 4E 80 00 20 */ blr + +.global LoadDebrisExtended__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadDebrisExtended__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D3C08 000D0B68 94 21 FC 60 */ stwu r1, -0x3a0(r1) +/* 800D3C0C 000D0B6C 7C 08 02 A6 */ mflr r0 +/* 800D3C10 000D0B70 90 01 03 A4 */ stw r0, 0x3a4(r1) +/* 800D3C14 000D0B74 DB E1 03 90 */ stfd f31, 0x390(r1) +/* 800D3C18 000D0B78 F3 E1 03 98 */ psq_st f31, 920(r1), 0, qr0 +/* 800D3C1C 000D0B7C DB C1 03 80 */ stfd f30, 0x380(r1) +/* 800D3C20 000D0B80 F3 C1 03 88 */ psq_st f30, 904(r1), 0, qr0 +/* 800D3C24 000D0B84 DB A1 03 70 */ stfd f29, 0x370(r1) +/* 800D3C28 000D0B88 F3 A1 03 78 */ psq_st f29, 888(r1), 0, qr0 +/* 800D3C2C 000D0B8C DB 81 03 60 */ stfd f28, 0x360(r1) +/* 800D3C30 000D0B90 F3 81 03 68 */ psq_st f28, 872(r1), 0, qr0 +/* 800D3C34 000D0B94 DB 61 03 50 */ stfd f27, 0x350(r1) +/* 800D3C38 000D0B98 F3 61 03 58 */ psq_st f27, 856(r1), 0, qr0 +/* 800D3C3C 000D0B9C DB 41 03 40 */ stfd f26, 0x340(r1) +/* 800D3C40 000D0BA0 F3 41 03 48 */ psq_st f26, 840(r1), 0, qr0 +/* 800D3C44 000D0BA4 DB 21 03 30 */ stfd f25, 0x330(r1) +/* 800D3C48 000D0BA8 F3 21 03 38 */ psq_st f25, 824(r1), 0, qr0 +/* 800D3C4C 000D0BAC DB 01 03 20 */ stfd f24, 0x320(r1) +/* 800D3C50 000D0BB0 F3 01 03 28 */ psq_st f24, 808(r1), 0, qr0 +/* 800D3C54 000D0BB4 DA E1 03 10 */ stfd f23, 0x310(r1) +/* 800D3C58 000D0BB8 F2 E1 03 18 */ psq_st f23, 792(r1), 0, qr0 +/* 800D3C5C 000D0BBC DA C1 03 00 */ stfd f22, 0x300(r1) +/* 800D3C60 000D0BC0 F2 C1 03 08 */ psq_st f22, 776(r1), 0, qr0 +/* 800D3C64 000D0BC4 DA A1 02 F0 */ stfd f21, 0x2f0(r1) +/* 800D3C68 000D0BC8 F2 A1 02 F8 */ psq_st f21, 760(r1), 0, qr0 +/* 800D3C6C 000D0BCC DA 81 02 E0 */ stfd f20, 0x2e0(r1) +/* 800D3C70 000D0BD0 F2 81 02 E8 */ psq_st f20, 744(r1), 0, qr0 +/* 800D3C74 000D0BD4 BD C1 02 98 */ stmw r14, 0x298(r1) +/* 800D3C78 000D0BD8 2C 05 00 27 */ cmpwi r5, 0x27 +/* 800D3C7C 000D0BDC 90 C1 00 70 */ stw r6, 0x70(r1) +/* 800D3C80 000D0BE0 7C 71 1B 78 */ mr r17, r3 +/* 800D3C84 000D0BE4 7C 8E 23 78 */ mr r14, r4 +/* 800D3C88 000D0BE8 41 82 00 0C */ beq lbl_800D3C94 +/* 800D3C8C 000D0BEC 38 60 00 00 */ li r3, 0 +/* 800D3C90 000D0BF0 48 00 03 74 */ b lbl_800D4004 +lbl_800D3C94: +/* 800D3C94 000D0BF4 7E 25 8B 78 */ mr r5, r17 +/* 800D3C98 000D0BF8 38 61 02 38 */ addi r3, r1, 0x238 +/* 800D3C9C 000D0BFC 48 00 67 E1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D3CA0 000D0C00 7D C3 73 78 */ mr r3, r14 +/* 800D3CA4 000D0C04 48 26 AF 85 */ bl ReadFloat__12CInputStreamFv +/* 800D3CA8 000D0C08 FF 60 08 90 */ fmr f27, f1 +/* 800D3CAC 000D0C0C 7D C3 73 78 */ mr r3, r14 +/* 800D3CB0 000D0C10 48 26 AF 79 */ bl ReadFloat__12CInputStreamFv +/* 800D3CB4 000D0C14 FF 40 08 90 */ fmr f26, f1 +/* 800D3CB8 000D0C18 7D C3 73 78 */ mr r3, r14 +/* 800D3CBC 000D0C1C 48 26 AF 6D */ bl ReadFloat__12CInputStreamFv +/* 800D3CC0 000D0C20 FF 20 08 90 */ fmr f25, f1 +/* 800D3CC4 000D0C24 7D C3 73 78 */ mr r3, r14 +/* 800D3CC8 000D0C28 48 26 AF 61 */ bl ReadFloat__12CInputStreamFv +/* 800D3CCC 000D0C2C FF 00 08 90 */ fmr f24, f1 +/* 800D3CD0 000D0C30 7D C3 73 78 */ mr r3, r14 +/* 800D3CD4 000D0C34 48 26 AF 55 */ bl ReadFloat__12CInputStreamFv +/* 800D3CD8 000D0C38 FE E0 08 90 */ fmr f23, f1 +/* 800D3CDC 000D0C3C 7D C3 73 78 */ mr r3, r14 +/* 800D3CE0 000D0C40 48 26 AF 49 */ bl ReadFloat__12CInputStreamFv +/* 800D3CE4 000D0C44 FE C0 08 90 */ fmr f22, f1 +/* 800D3CE8 000D0C48 7D C3 73 78 */ mr r3, r14 +/* 800D3CEC 000D0C4C 48 26 AF 3D */ bl ReadFloat__12CInputStreamFv +/* 800D3CF0 000D0C50 FE A0 08 90 */ fmr f21, f1 +/* 800D3CF4 000D0C54 7D C3 73 78 */ mr r3, r14 +/* 800D3CF8 000D0C58 48 26 AF 31 */ bl ReadFloat__12CInputStreamFv +/* 800D3CFC 000D0C5C FE 80 08 90 */ fmr f20, f1 +/* 800D3D00 000D0C60 7D C3 73 78 */ mr r3, r14 +/* 800D3D04 000D0C64 48 26 AF 25 */ bl ReadFloat__12CInputStreamFv +/* 800D3D08 000D0C68 FF 80 08 90 */ fmr f28, f1 +/* 800D3D0C 000D0C6C 7D C4 73 78 */ mr r4, r14 +/* 800D3D10 000D0C70 38 61 00 80 */ addi r3, r1, 0x80 +/* 800D3D14 000D0C74 48 28 F7 39 */ bl __ct__6CColorFR12CInputStream +/* 800D3D18 000D0C78 7D C4 73 78 */ mr r4, r14 +/* 800D3D1C 000D0C7C 38 61 00 7C */ addi r3, r1, 0x7c +/* 800D3D20 000D0C80 48 28 F7 2D */ bl __ct__6CColorFR12CInputStream +/* 800D3D24 000D0C84 7D C3 73 78 */ mr r3, r14 +/* 800D3D28 000D0C88 48 26 AF 01 */ bl ReadFloat__12CInputStreamFv +/* 800D3D2C 000D0C8C FF A0 08 90 */ fmr f29, f1 +/* 800D3D30 000D0C90 7D C4 73 78 */ mr r4, r14 +/* 800D3D34 000D0C94 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 800D3D38 000D0C98 48 24 0E 55 */ bl __ct__9CVector3fFR12CInputStream +/* 800D3D3C 000D0C9C 7D C3 73 78 */ mr r3, r14 +/* 800D3D40 000D0CA0 48 26 AE E9 */ bl ReadFloat__12CInputStreamFv +/* 800D3D44 000D0CA4 FF C0 08 90 */ fmr f30, f1 +/* 800D3D48 000D0CA8 7D C3 73 78 */ mr r3, r14 +/* 800D3D4C 000D0CAC 48 26 AE DD */ bl ReadFloat__12CInputStreamFv +/* 800D3D50 000D0CB0 FF E0 08 90 */ fmr f31, f1 +/* 800D3D54 000D0CB4 7D C4 73 78 */ mr r4, r14 +/* 800D3D58 000D0CB8 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800D3D5C 000D0CBC 48 24 0E 31 */ bl __ct__9CVector3fFR12CInputStream +/* 800D3D60 000D0CC0 7D C3 73 78 */ mr r3, r14 +/* 800D3D64 000D0CC4 48 26 AF 21 */ bl ReadLong__12CInputStreamFv +/* 800D3D68 000D0CC8 7C 73 1B 78 */ mr r19, r3 +/* 800D3D6C 000D0CCC 7D C4 73 78 */ mr r4, r14 +/* 800D3D70 000D0CD0 38 61 01 68 */ addi r3, r1, 0x168 +/* 800D3D74 000D0CD4 48 00 60 01 */ bl LoadActorParameters__FR12CInputStream +/* 800D3D78 000D0CD8 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 800D3D7C 000D0CDC 38 81 01 68 */ addi r4, r1, 0x168 +/* 800D3D80 000D0CE0 4B FF 18 9D */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D3D84 000D0CE4 38 61 01 68 */ addi r3, r1, 0x168 +/* 800D3D88 000D0CE8 38 80 FF FF */ li r4, -1 +/* 800D3D8C 000D0CEC 48 03 28 7D */ bl __dt__16CActorParametersFv +/* 800D3D90 000D0CF0 7D C3 73 78 */ mr r3, r14 +/* 800D3D94 000D0CF4 48 26 AE F1 */ bl ReadLong__12CInputStreamFv +/* 800D3D98 000D0CF8 7C 74 1B 78 */ mr r20, r3 +/* 800D3D9C 000D0CFC 7D C4 73 78 */ mr r4, r14 +/* 800D3DA0 000D0D00 38 61 00 AC */ addi r3, r1, 0xac +/* 800D3DA4 000D0D04 48 24 0D E9 */ bl __ct__9CVector3fFR12CInputStream +/* 800D3DA8 000D0D08 7D C3 73 78 */ mr r3, r14 +/* 800D3DAC 000D0D0C 48 26 AF 31 */ bl ReadBool__12CInputStreamFv +/* 800D3DB0 000D0D10 7C 75 1B 78 */ mr r21, r3 +/* 800D3DB4 000D0D14 7D C3 73 78 */ mr r3, r14 +/* 800D3DB8 000D0D18 48 26 AF 25 */ bl ReadBool__12CInputStreamFv +/* 800D3DBC 000D0D1C 7C 76 1B 78 */ mr r22, r3 +/* 800D3DC0 000D0D20 7D C3 73 78 */ mr r3, r14 +/* 800D3DC4 000D0D24 48 26 AE C1 */ bl ReadLong__12CInputStreamFv +/* 800D3DC8 000D0D28 7C 77 1B 78 */ mr r23, r3 +/* 800D3DCC 000D0D2C 7D C3 73 78 */ mr r3, r14 +/* 800D3DD0 000D0D30 48 26 AE B5 */ bl ReadLong__12CInputStreamFv +/* 800D3DD4 000D0D34 7C 78 1B 78 */ mr r24, r3 +/* 800D3DD8 000D0D38 7D C4 73 78 */ mr r4, r14 +/* 800D3DDC 000D0D3C 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800D3DE0 000D0D40 48 24 0D AD */ bl __ct__9CVector3fFR12CInputStream +/* 800D3DE4 000D0D44 7D C3 73 78 */ mr r3, r14 +/* 800D3DE8 000D0D48 48 26 AE F5 */ bl ReadBool__12CInputStreamFv +/* 800D3DEC 000D0D4C 7C 79 1B 78 */ mr r25, r3 +/* 800D3DF0 000D0D50 7D C3 73 78 */ mr r3, r14 +/* 800D3DF4 000D0D54 48 26 AE E9 */ bl ReadBool__12CInputStreamFv +/* 800D3DF8 000D0D58 7C 7A 1B 78 */ mr r26, r3 +/* 800D3DFC 000D0D5C 7D C3 73 78 */ mr r3, r14 +/* 800D3E00 000D0D60 48 26 AE 85 */ bl ReadLong__12CInputStreamFv +/* 800D3E04 000D0D64 7C 7B 1B 78 */ mr r27, r3 +/* 800D3E08 000D0D68 7D C3 73 78 */ mr r3, r14 +/* 800D3E0C 000D0D6C 48 26 AE 79 */ bl ReadLong__12CInputStreamFv +/* 800D3E10 000D0D70 7C 7C 1B 78 */ mr r28, r3 +/* 800D3E14 000D0D74 7D C4 73 78 */ mr r4, r14 +/* 800D3E18 000D0D78 38 61 00 94 */ addi r3, r1, 0x94 +/* 800D3E1C 000D0D7C 48 24 0D 71 */ bl __ct__9CVector3fFR12CInputStream +/* 800D3E20 000D0D80 7D C3 73 78 */ mr r3, r14 +/* 800D3E24 000D0D84 48 26 AE 61 */ bl ReadLong__12CInputStreamFv +/* 800D3E28 000D0D88 7C 7D 1B 78 */ mr r29, r3 +/* 800D3E2C 000D0D8C 7D C3 73 78 */ mr r3, r14 +/* 800D3E30 000D0D90 48 26 AE AD */ bl ReadBool__12CInputStreamFv +/* 800D3E34 000D0D94 7C 7E 1B 78 */ mr r30, r3 +/* 800D3E38 000D0D98 7D C3 73 78 */ mr r3, r14 +/* 800D3E3C 000D0D9C 48 26 AE A1 */ bl ReadBool__12CInputStreamFv +/* 800D3E40 000D0DA0 7C 7F 1B 78 */ mr r31, r3 +/* 800D3E44 000D0DA4 7D C3 73 78 */ mr r3, r14 +/* 800D3E48 000D0DA8 48 26 AE 95 */ bl ReadBool__12CInputStreamFv +/* 800D3E4C 000D0DAC 90 61 02 84 */ stw r3, 0x284(r1) +/* 800D3E50 000D0DB0 7D C3 73 78 */ mr r3, r14 +/* 800D3E54 000D0DB4 48 26 AE 89 */ bl ReadBool__12CInputStreamFv +/* 800D3E58 000D0DB8 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D3E5C 000D0DBC 7E 64 9B 78 */ mr r4, r19 +/* 800D3E60 000D0DC0 90 61 02 88 */ stw r3, 0x288(r1) +/* 800D3E64 000D0DC4 38 65 00 04 */ addi r3, r5, 4 +/* 800D3E68 000D0DC8 48 26 7E 65 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D3E6C 000D0DCC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D3E70 000D0DD0 7C 6E 1B 78 */ mr r14, r3 +/* 800D3E74 000D0DD4 38 64 E0 7C */ addi r3, r4, lbl_803CE07C@l +/* 800D3E78 000D0DD8 3A 00 00 00 */ li r16, 0 +/* 800D3E7C 000D0DDC 38 83 00 0D */ addi r4, r3, 0xd +/* 800D3E80 000D0DE0 39 E0 00 00 */ li r15, 0 +/* 800D3E84 000D0DE4 38 60 03 08 */ li r3, 0x308 +/* 800D3E88 000D0DE8 38 A0 00 00 */ li r5, 0 +/* 800D3E8C 000D0DEC 48 24 19 E1 */ bl __nw__FUlPCcPCc +/* 800D3E90 000D0DF0 7C 72 1B 79 */ or. r18, r3, r3 +/* 800D3E94 000D0DF4 41 82 01 30 */ beq lbl_800D3FC4 +/* 800D3E98 000D0DF8 28 0E 00 00 */ cmplwi r14, 0 +/* 800D3E9C 000D0DFC 41 82 00 38 */ beq lbl_800D3ED4 +/* 800D3EA0 000D0E00 C0 41 02 78 */ lfs f2, 0x278(r1) +/* 800D3EA4 000D0E04 38 61 01 1C */ addi r3, r1, 0x11c +/* 800D3EA8 000D0E08 C0 21 02 7C */ lfs f1, 0x27c(r1) +/* 800D3EAC 000D0E0C 38 81 00 84 */ addi r4, r1, 0x84 +/* 800D3EB0 000D0E10 C0 01 02 80 */ lfs f0, 0x280(r1) +/* 800D3EB4 000D0E14 92 61 00 84 */ stw r19, 0x84(r1) +/* 800D3EB8 000D0E18 D0 41 00 88 */ stfs f2, 0x88(r1) +/* 800D3EBC 000D0E1C D0 21 00 8C */ stfs f1, 0x8c(r1) +/* 800D3EC0 000D0E20 D0 01 00 90 */ stfs f0, 0x90(r1) +/* 800D3EC4 000D0E24 48 04 2E 99 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800D3EC8 000D0E28 39 C1 01 1C */ addi r14, r1, 0x11c +/* 800D3ECC 000D0E2C 3A 00 00 01 */ li r16, 1 +/* 800D3ED0 000D0E30 48 00 00 14 */ b lbl_800D3EE4 +lbl_800D3ED4: +/* 800D3ED4 000D0E34 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800D3ED8 000D0E38 4B F6 68 CD */ bl CModelDataNull__10CModelDataFv +/* 800D3EDC 000D0E3C 39 E0 00 01 */ li r15, 1 +/* 800D3EE0 000D0E40 39 C1 00 D0 */ addi r14, r1, 0xd0 +lbl_800D3EE4: +/* 800D3EE4 000D0E44 7E 24 8B 78 */ mr r4, r17 +/* 800D3EE8 000D0E48 38 61 00 74 */ addi r3, r1, 0x74 +/* 800D3EEC 000D0E4C 4B F7 91 F1 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D3EF0 000D0E50 A0 01 00 74 */ lhz r0, 0x74(r1) +/* 800D3EF4 000D0E54 38 C1 00 7C */ addi r6, r1, 0x7c +/* 800D3EF8 000D0E58 38 A1 02 78 */ addi r5, r1, 0x278 +/* 800D3EFC 000D0E5C 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 800D3F00 000D0E60 B0 01 00 78 */ sth r0, 0x78(r1) +/* 800D3F04 000D0E64 39 81 00 B8 */ addi r12, r1, 0xb8 +/* 800D3F08 000D0E68 39 61 00 AC */ addi r11, r1, 0xac +/* 800D3F0C 000D0E6C 38 01 00 A0 */ addi r0, r1, 0xa0 +/* 800D3F10 000D0E70 D3 81 00 08 */ stfs f28, 8(r1) +/* 800D3F14 000D0E74 FC 20 D8 90 */ fmr f1, f27 +/* 800D3F18 000D0E78 FC 40 D0 90 */ fmr f2, f26 +/* 800D3F1C 000D0E7C 7E 43 93 78 */ mr r3, r18 +/* 800D3F20 000D0E80 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800D3F24 000D0E84 FC 60 C8 90 */ fmr f3, f25 +/* 800D3F28 000D0E88 FC 80 C0 90 */ fmr f4, f24 +/* 800D3F2C 000D0E8C D3 A1 00 10 */ stfs f29, 0x10(r1) +/* 800D3F30 000D0E90 FC A0 B8 90 */ fmr f5, f23 +/* 800D3F34 000D0E94 80 C1 00 70 */ lwz r6, 0x70(r1) +/* 800D3F38 000D0E98 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800D3F3C 000D0E9C FC C0 B0 90 */ fmr f6, f22 +/* 800D3F40 000D0EA0 FC E0 A8 90 */ fmr f7, f21 +/* 800D3F44 000D0EA4 7D C8 73 78 */ mr r8, r14 +/* 800D3F48 000D0EA8 90 81 00 18 */ stw r4, 0x18(r1) +/* 800D3F4C 000D0EAC FD 00 A0 90 */ fmr f8, f20 +/* 800D3F50 000D0EB0 38 81 00 78 */ addi r4, r1, 0x78 +/* 800D3F54 000D0EB4 38 A1 02 38 */ addi r5, r1, 0x238 +/* 800D3F58 000D0EB8 D3 C1 00 1C */ stfs f30, 0x1c(r1) +/* 800D3F5C 000D0EBC 38 E1 02 48 */ addi r7, r1, 0x248 +/* 800D3F60 000D0EC0 39 21 01 D0 */ addi r9, r1, 0x1d0 +/* 800D3F64 000D0EC4 D3 E1 00 20 */ stfs f31, 0x20(r1) +/* 800D3F68 000D0EC8 39 41 00 80 */ addi r10, r1, 0x80 +/* 800D3F6C 000D0ECC 91 81 00 24 */ stw r12, 0x24(r1) +/* 800D3F70 000D0ED0 92 81 00 28 */ stw r20, 0x28(r1) +/* 800D3F74 000D0ED4 91 61 00 2C */ stw r11, 0x2c(r1) +/* 800D3F78 000D0ED8 92 A1 00 30 */ stw r21, 0x30(r1) +/* 800D3F7C 000D0EDC 92 C1 00 34 */ stw r22, 0x34(r1) +/* 800D3F80 000D0EE0 92 E1 00 38 */ stw r23, 0x38(r1) +/* 800D3F84 000D0EE4 93 01 00 3C */ stw r24, 0x3c(r1) +/* 800D3F88 000D0EE8 90 01 00 40 */ stw r0, 0x40(r1) +/* 800D3F8C 000D0EEC 93 21 00 44 */ stw r25, 0x44(r1) +/* 800D3F90 000D0EF0 93 41 00 48 */ stw r26, 0x48(r1) +/* 800D3F94 000D0EF4 93 61 00 4C */ stw r27, 0x4c(r1) +/* 800D3F98 000D0EF8 93 81 00 50 */ stw r28, 0x50(r1) +/* 800D3F9C 000D0EFC 90 01 00 54 */ stw r0, 0x54(r1) +/* 800D3FA0 000D0F00 80 01 02 84 */ lwz r0, 0x284(r1) +/* 800D3FA4 000D0F04 93 A1 00 58 */ stw r29, 0x58(r1) +/* 800D3FA8 000D0F08 93 C1 00 5C */ stw r30, 0x5c(r1) +/* 800D3FAC 000D0F0C 93 E1 00 60 */ stw r31, 0x60(r1) +/* 800D3FB0 000D0F10 90 01 00 64 */ stw r0, 0x64(r1) +/* 800D3FB4 000D0F14 80 01 02 88 */ lwz r0, 0x288(r1) +/* 800D3FB8 000D0F18 90 01 00 68 */ stw r0, 0x68(r1) +/* 800D3FBC 000D0F1C 48 02 8D 65 */ bl "__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersfffffffffRC6CColorRC6CColorfRC9CVector3fRC9CVector3fffRC9CVector3fUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fbbQ213CScriptDebris16EOrientationTypeUiRC9CVector3fQ213CScriptDebris16EOrientationTypebbb" +/* 800D3FC0 000D0F20 7C 72 1B 78 */ mr r18, r3 +lbl_800D3FC4: +/* 800D3FC4 000D0F24 7D E0 07 75 */ extsb. r0, r15 +/* 800D3FC8 000D0F28 41 82 00 10 */ beq lbl_800D3FD8 +/* 800D3FCC 000D0F2C 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800D3FD0 000D0F30 38 80 FF FF */ li r4, -1 +/* 800D3FD4 000D0F34 48 04 2A 79 */ bl __dt__10CModelDataFv +lbl_800D3FD8: +/* 800D3FD8 000D0F38 7E 00 07 75 */ extsb. r0, r16 +/* 800D3FDC 000D0F3C 41 82 00 10 */ beq lbl_800D3FEC +/* 800D3FE0 000D0F40 38 61 01 1C */ addi r3, r1, 0x11c +/* 800D3FE4 000D0F44 38 80 FF FF */ li r4, -1 +/* 800D3FE8 000D0F48 48 04 2A 65 */ bl __dt__10CModelDataFv +lbl_800D3FEC: +/* 800D3FEC 000D0F4C 38 61 01 D0 */ addi r3, r1, 0x1d0 +/* 800D3FF0 000D0F50 38 80 FF FF */ li r4, -1 +/* 800D3FF4 000D0F54 48 03 26 15 */ bl __dt__16CActorParametersFv +/* 800D3FF8 000D0F58 38 61 02 38 */ addi r3, r1, 0x238 +/* 800D3FFC 000D0F5C 48 26 9A E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D4000 000D0F60 7E 43 93 78 */ mr r3, r18 +lbl_800D4004: +/* 800D4004 000D0F64 E3 E1 03 98 */ psq_l f31, 920(r1), 0, qr0 +/* 800D4008 000D0F68 CB E1 03 90 */ lfd f31, 0x390(r1) +/* 800D400C 000D0F6C E3 C1 03 88 */ psq_l f30, 904(r1), 0, qr0 +/* 800D4010 000D0F70 CB C1 03 80 */ lfd f30, 0x380(r1) +/* 800D4014 000D0F74 E3 A1 03 78 */ psq_l f29, 888(r1), 0, qr0 +/* 800D4018 000D0F78 CB A1 03 70 */ lfd f29, 0x370(r1) +/* 800D401C 000D0F7C E3 81 03 68 */ psq_l f28, 872(r1), 0, qr0 +/* 800D4020 000D0F80 CB 81 03 60 */ lfd f28, 0x360(r1) +/* 800D4024 000D0F84 E3 61 03 58 */ psq_l f27, 856(r1), 0, qr0 +/* 800D4028 000D0F88 CB 61 03 50 */ lfd f27, 0x350(r1) +/* 800D402C 000D0F8C E3 41 03 48 */ psq_l f26, 840(r1), 0, qr0 +/* 800D4030 000D0F90 CB 41 03 40 */ lfd f26, 0x340(r1) +/* 800D4034 000D0F94 E3 21 03 38 */ psq_l f25, 824(r1), 0, qr0 +/* 800D4038 000D0F98 CB 21 03 30 */ lfd f25, 0x330(r1) +/* 800D403C 000D0F9C E3 01 03 28 */ psq_l f24, 808(r1), 0, qr0 +/* 800D4040 000D0FA0 CB 01 03 20 */ lfd f24, 0x320(r1) +/* 800D4044 000D0FA4 E2 E1 03 18 */ psq_l f23, 792(r1), 0, qr0 +/* 800D4048 000D0FA8 CA E1 03 10 */ lfd f23, 0x310(r1) +/* 800D404C 000D0FAC E2 C1 03 08 */ psq_l f22, 776(r1), 0, qr0 +/* 800D4050 000D0FB0 CA C1 03 00 */ lfd f22, 0x300(r1) +/* 800D4054 000D0FB4 E2 A1 02 F8 */ psq_l f21, 760(r1), 0, qr0 +/* 800D4058 000D0FB8 CA A1 02 F0 */ lfd f21, 0x2f0(r1) +/* 800D405C 000D0FBC E2 81 02 E8 */ psq_l f20, 744(r1), 0, qr0 +/* 800D4060 000D0FC0 CA 81 02 E0 */ lfd f20, 0x2e0(r1) +/* 800D4064 000D0FC4 B9 C1 02 98 */ lmw r14, 0x298(r1) +/* 800D4068 000D0FC8 80 01 03 A4 */ lwz r0, 0x3a4(r1) +/* 800D406C 000D0FCC 7C 08 03 A6 */ mtlr r0 +/* 800D4070 000D0FD0 38 21 03 A0 */ addi r1, r1, 0x3a0 +/* 800D4074 000D0FD4 4E 80 00 20 */ blr + +.global LoadDebris__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadDebris__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D4078 000D0FD8 94 21 FD D0 */ stwu r1, -0x230(r1) +/* 800D407C 000D0FDC 7C 08 02 A6 */ mflr r0 +/* 800D4080 000D0FE0 90 01 02 34 */ stw r0, 0x234(r1) +/* 800D4084 000D0FE4 DB E1 02 20 */ stfd f31, 0x220(r1) +/* 800D4088 000D0FE8 F3 E1 02 28 */ psq_st f31, 552(r1), 0, qr0 +/* 800D408C 000D0FEC DB C1 02 10 */ stfd f30, 0x210(r1) +/* 800D4090 000D0FF0 F3 C1 02 18 */ psq_st f30, 536(r1), 0, qr0 +/* 800D4094 000D0FF4 DB A1 02 00 */ stfd f29, 0x200(r1) +/* 800D4098 000D0FF8 F3 A1 02 08 */ psq_st f29, 520(r1), 0, qr0 +/* 800D409C 000D0FFC DB 81 01 F0 */ stfd f28, 0x1f0(r1) +/* 800D40A0 000D1000 F3 81 01 F8 */ psq_st f28, 504(r1), 0, qr0 +/* 800D40A4 000D1004 BE C1 01 C8 */ stmw r22, 0x1c8(r1) +/* 800D40A8 000D1008 2C 05 00 12 */ cmpwi r5, 0x12 +/* 800D40AC 000D100C 7C 76 1B 78 */ mr r22, r3 +/* 800D40B0 000D1010 7C 97 23 78 */ mr r23, r4 +/* 800D40B4 000D1014 7C DF 33 78 */ mr r31, r6 +/* 800D40B8 000D1018 41 82 00 0C */ beq lbl_800D40C4 +/* 800D40BC 000D101C 38 60 00 00 */ li r3, 0 +/* 800D40C0 000D1020 48 00 01 F4 */ b lbl_800D42B4 +lbl_800D40C4: +/* 800D40C4 000D1024 7E C5 B3 78 */ mr r5, r22 +/* 800D40C8 000D1028 38 61 01 78 */ addi r3, r1, 0x178 +/* 800D40CC 000D102C 48 00 63 B1 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D40D0 000D1030 7E E3 BB 78 */ mr r3, r23 +/* 800D40D4 000D1034 48 26 AB 55 */ bl ReadFloat__12CInputStreamFv +/* 800D40D8 000D1038 FF E0 08 90 */ fmr f31, f1 +/* 800D40DC 000D103C 7E E4 BB 78 */ mr r4, r23 +/* 800D40E0 000D1040 38 61 00 50 */ addi r3, r1, 0x50 +/* 800D40E4 000D1044 48 24 0A A9 */ bl __ct__9CVector3fFR12CInputStream +/* 800D40E8 000D1048 7E E4 BB 78 */ mr r4, r23 +/* 800D40EC 000D104C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D40F0 000D1050 48 28 F3 5D */ bl __ct__6CColorFR12CInputStream +/* 800D40F4 000D1054 7E E3 BB 78 */ mr r3, r23 +/* 800D40F8 000D1058 48 26 AB 31 */ bl ReadFloat__12CInputStreamFv +/* 800D40FC 000D105C FF C0 08 90 */ fmr f30, f1 +/* 800D4100 000D1060 7E E3 BB 78 */ mr r3, r23 +/* 800D4104 000D1064 48 26 AB 25 */ bl ReadFloat__12CInputStreamFv +/* 800D4108 000D1068 FF A0 08 90 */ fmr f29, f1 +/* 800D410C 000D106C 7E E3 BB 78 */ mr r3, r23 +/* 800D4110 000D1070 48 26 AB 19 */ bl ReadFloat__12CInputStreamFv +/* 800D4114 000D1074 FF 80 08 90 */ fmr f28, f1 +/* 800D4118 000D1078 7E E3 BB 78 */ mr r3, r23 +/* 800D411C 000D107C 48 26 AB 69 */ bl ReadLong__12CInputStreamFv +/* 800D4120 000D1080 7C 7A 1B 78 */ mr r26, r3 +/* 800D4124 000D1084 7E E3 BB 78 */ mr r3, r23 +/* 800D4128 000D1088 48 26 AB B5 */ bl ReadBool__12CInputStreamFv +/* 800D412C 000D108C 7C 7B 1B 78 */ mr r27, r3 +/* 800D4130 000D1090 7E E3 BB 78 */ mr r3, r23 +/* 800D4134 000D1094 48 26 AB 51 */ bl ReadLong__12CInputStreamFv +/* 800D4138 000D1098 7C 79 1B 78 */ mr r25, r3 +/* 800D413C 000D109C 7E E4 BB 78 */ mr r4, r23 +/* 800D4140 000D10A0 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800D4144 000D10A4 48 00 5C 31 */ bl LoadActorParameters__FR12CInputStream +/* 800D4148 000D10A8 38 61 01 10 */ addi r3, r1, 0x110 +/* 800D414C 000D10AC 38 81 00 A8 */ addi r4, r1, 0xa8 +/* 800D4150 000D10B0 4B FF 14 CD */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D4154 000D10B4 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800D4158 000D10B8 38 80 FF FF */ li r4, -1 +/* 800D415C 000D10BC 48 03 24 AD */ bl __dt__16CActorParametersFv +/* 800D4160 000D10C0 7E E3 BB 78 */ mr r3, r23 +/* 800D4164 000D10C4 48 26 AB 21 */ bl ReadLong__12CInputStreamFv +/* 800D4168 000D10C8 7C 78 1B 78 */ mr r24, r3 +/* 800D416C 000D10CC 7E E4 BB 78 */ mr r4, r23 +/* 800D4170 000D10D0 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D4174 000D10D4 48 24 0A 19 */ bl __ct__9CVector3fFR12CInputStream +/* 800D4178 000D10D8 7E E3 BB 78 */ mr r3, r23 +/* 800D417C 000D10DC 48 26 AB 61 */ bl ReadBool__12CInputStreamFv +/* 800D4180 000D10E0 7C 7C 1B 78 */ mr r28, r3 +/* 800D4184 000D10E4 7E E3 BB 78 */ mr r3, r23 +/* 800D4188 000D10E8 48 26 AB 55 */ bl ReadBool__12CInputStreamFv +/* 800D418C 000D10EC 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D4190 000D10F0 7C 7D 1B 78 */ mr r29, r3 +/* 800D4194 000D10F4 7F 24 CB 78 */ mr r4, r25 +/* 800D4198 000D10F8 38 65 00 04 */ addi r3, r5, 4 +/* 800D419C 000D10FC 48 26 7B 31 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D41A0 000D1100 28 03 00 00 */ cmplwi r3, 0 +/* 800D41A4 000D1104 40 82 00 20 */ bne lbl_800D41C4 +/* 800D41A8 000D1108 38 61 01 10 */ addi r3, r1, 0x110 +/* 800D41AC 000D110C 38 80 FF FF */ li r4, -1 +/* 800D41B0 000D1110 48 03 24 59 */ bl __dt__16CActorParametersFv +/* 800D41B4 000D1114 38 61 01 78 */ addi r3, r1, 0x178 +/* 800D41B8 000D1118 48 26 99 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D41BC 000D111C 38 60 00 00 */ li r3, 0 +/* 800D41C0 000D1120 48 00 00 F4 */ b lbl_800D42B4 +lbl_800D41C4: +/* 800D41C4 000D1124 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D41C8 000D1128 3B C0 00 00 */ li r30, 0 +/* 800D41CC 000D112C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D41D0 000D1130 38 60 03 08 */ li r3, 0x308 +/* 800D41D4 000D1134 38 84 00 0D */ addi r4, r4, 0xd +/* 800D41D8 000D1138 38 A0 00 00 */ li r5, 0 +/* 800D41DC 000D113C 48 24 16 91 */ bl __nw__FUlPCcPCc +/* 800D41E0 000D1140 7C 77 1B 79 */ or. r23, r3, r3 +/* 800D41E4 000D1144 41 82 00 A4 */ beq lbl_800D4288 +/* 800D41E8 000D1148 C0 41 01 B8 */ lfs f2, 0x1b8(r1) +/* 800D41EC 000D114C 38 61 00 5C */ addi r3, r1, 0x5c +/* 800D41F0 000D1150 C0 21 01 BC */ lfs f1, 0x1bc(r1) +/* 800D41F4 000D1154 38 81 00 34 */ addi r4, r1, 0x34 +/* 800D41F8 000D1158 C0 01 01 C0 */ lfs f0, 0x1c0(r1) +/* 800D41FC 000D115C 93 21 00 34 */ stw r25, 0x34(r1) +/* 800D4200 000D1160 D0 41 00 38 */ stfs f2, 0x38(r1) +/* 800D4204 000D1164 D0 21 00 3C */ stfs f1, 0x3c(r1) +/* 800D4208 000D1168 D0 01 00 40 */ stfs f0, 0x40(r1) +/* 800D420C 000D116C 48 04 2B 51 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800D4210 000D1170 7E C4 B3 78 */ mr r4, r22 +/* 800D4214 000D1174 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D4218 000D1178 3B C0 00 01 */ li r30, 1 +/* 800D421C 000D117C 4B F7 8E C1 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D4220 000D1180 A0 61 00 28 */ lhz r3, 0x28(r1) +/* 800D4224 000D1184 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800D4228 000D1188 38 81 00 50 */ addi r4, r1, 0x50 +/* 800D422C 000D118C 38 01 00 30 */ addi r0, r1, 0x30 +/* 800D4230 000D1190 B0 61 00 2C */ sth r3, 0x2c(r1) +/* 800D4234 000D1194 FC 20 F8 90 */ fmr f1, f31 +/* 800D4238 000D1198 FC 40 F0 90 */ fmr f2, f30 +/* 800D423C 000D119C 7E E3 BB 78 */ mr r3, r23 +/* 800D4240 000D11A0 90 A1 00 08 */ stw r5, 8(r1) +/* 800D4244 000D11A4 FC 60 E8 90 */ fmr f3, f29 +/* 800D4248 000D11A8 FC 80 E0 90 */ fmr f4, f28 +/* 800D424C 000D11AC 90 81 00 0C */ stw r4, 0xc(r1) +/* 800D4250 000D11B0 7F E6 FB 78 */ mr r6, r31 +/* 800D4254 000D11B4 7F 0A C3 78 */ mr r10, r24 +/* 800D4258 000D11B8 90 01 00 10 */ stw r0, 0x10(r1) +/* 800D425C 000D11BC 38 81 00 2C */ addi r4, r1, 0x2c +/* 800D4260 000D11C0 38 A1 01 78 */ addi r5, r1, 0x178 +/* 800D4264 000D11C4 38 E1 01 88 */ addi r7, r1, 0x188 +/* 800D4268 000D11C8 93 41 00 14 */ stw r26, 0x14(r1) +/* 800D426C 000D11CC 39 01 00 5C */ addi r8, r1, 0x5c +/* 800D4270 000D11D0 39 21 01 10 */ addi r9, r1, 0x110 +/* 800D4274 000D11D4 93 81 00 18 */ stw r28, 0x18(r1) +/* 800D4278 000D11D8 93 61 00 1C */ stw r27, 0x1c(r1) +/* 800D427C 000D11DC 93 A1 00 20 */ stw r29, 0x20(r1) +/* 800D4280 000D11E0 48 02 94 21 */ bl "__ct__13CScriptDebrisF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersUiRC9CVector3ffRC9CVector3fRC6CColorfffQ213CScriptDebris10EScaleTypebbb" +/* 800D4284 000D11E4 7C 77 1B 78 */ mr r23, r3 +lbl_800D4288: +/* 800D4288 000D11E8 7F C0 07 75 */ extsb. r0, r30 +/* 800D428C 000D11EC 41 82 00 10 */ beq lbl_800D429C +/* 800D4290 000D11F0 38 61 00 5C */ addi r3, r1, 0x5c +/* 800D4294 000D11F4 38 80 FF FF */ li r4, -1 +/* 800D4298 000D11F8 48 04 27 B5 */ bl __dt__10CModelDataFv +lbl_800D429C: +/* 800D429C 000D11FC 38 61 01 10 */ addi r3, r1, 0x110 +/* 800D42A0 000D1200 38 80 FF FF */ li r4, -1 +/* 800D42A4 000D1204 48 03 23 65 */ bl __dt__16CActorParametersFv +/* 800D42A8 000D1208 38 61 01 78 */ addi r3, r1, 0x178 +/* 800D42AC 000D120C 48 26 98 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D42B0 000D1210 7E E3 BB 78 */ mr r3, r23 +lbl_800D42B4: +/* 800D42B4 000D1214 E3 E1 02 28 */ psq_l f31, 552(r1), 0, qr0 +/* 800D42B8 000D1218 CB E1 02 20 */ lfd f31, 0x220(r1) +/* 800D42BC 000D121C E3 C1 02 18 */ psq_l f30, 536(r1), 0, qr0 +/* 800D42C0 000D1220 CB C1 02 10 */ lfd f30, 0x210(r1) +/* 800D42C4 000D1224 E3 A1 02 08 */ psq_l f29, 520(r1), 0, qr0 +/* 800D42C8 000D1228 CB A1 02 00 */ lfd f29, 0x200(r1) +/* 800D42CC 000D122C E3 81 01 F8 */ psq_l f28, 504(r1), 0, qr0 +/* 800D42D0 000D1230 CB 81 01 F0 */ lfd f28, 0x1f0(r1) +/* 800D42D4 000D1234 BA C1 01 C8 */ lmw r22, 0x1c8(r1) +/* 800D42D8 000D1238 80 01 02 34 */ lwz r0, 0x234(r1) +/* 800D42DC 000D123C 7C 08 03 A6 */ mtlr r0 +/* 800D42E0 000D1240 38 21 02 30 */ addi r1, r1, 0x230 +/* 800D42E4 000D1244 4E 80 00 20 */ blr + +.global LoadCameraBlurKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadCameraBlurKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D42E8 000D1248 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800D42EC 000D124C 7C 08 02 A6 */ mflr r0 +/* 800D42F0 000D1250 2C 05 00 07 */ cmpwi r5, 7 +/* 800D42F4 000D1254 90 01 00 54 */ stw r0, 0x54(r1) +/* 800D42F8 000D1258 DB E1 00 48 */ stfd f31, 0x48(r1) +/* 800D42FC 000D125C DB C1 00 40 */ stfd f30, 0x40(r1) +/* 800D4300 000D1260 DB A1 00 38 */ stfd f29, 0x38(r1) +/* 800D4304 000D1264 BF 41 00 20 */ stmw r26, 0x20(r1) +/* 800D4308 000D1268 7C 7A 1B 78 */ mr r26, r3 +/* 800D430C 000D126C 7C 9C 23 78 */ mr r28, r4 +/* 800D4310 000D1270 7C DB 33 78 */ mr r27, r6 +/* 800D4314 000D1274 41 82 00 0C */ beq lbl_800D4320 +/* 800D4318 000D1278 38 60 00 00 */ li r3, 0 +/* 800D431C 000D127C 48 00 00 CC */ b lbl_800D43E8 +lbl_800D4320: +/* 800D4320 000D1280 4B F7 0E C5 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D4324 000D1284 7C 64 1B 78 */ mr r4, r3 +/* 800D4328 000D1288 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D432C 000D128C 48 26 9E 35 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D4330 000D1290 7F 83 E3 78 */ mr r3, r28 +/* 800D4334 000D1294 48 26 A9 A9 */ bl ReadBool__12CInputStreamFv +/* 800D4338 000D1298 7C 7F 1B 78 */ mr r31, r3 +/* 800D433C 000D129C 7F 83 E3 78 */ mr r3, r28 +/* 800D4340 000D12A0 48 26 A9 45 */ bl ReadLong__12CInputStreamFv +/* 800D4344 000D12A4 7C 7E 1B 78 */ mr r30, r3 +/* 800D4348 000D12A8 7F 83 E3 78 */ mr r3, r28 +/* 800D434C 000D12AC 48 26 A8 DD */ bl ReadFloat__12CInputStreamFv +/* 800D4350 000D12B0 FF E0 08 90 */ fmr f31, f1 +/* 800D4354 000D12B4 7F 83 E3 78 */ mr r3, r28 +/* 800D4358 000D12B8 48 26 A9 2D */ bl ReadLong__12CInputStreamFv +/* 800D435C 000D12BC 7C 7D 1B 78 */ mr r29, r3 +/* 800D4360 000D12C0 7F 83 E3 78 */ mr r3, r28 +/* 800D4364 000D12C4 48 26 A8 C5 */ bl ReadFloat__12CInputStreamFv +/* 800D4368 000D12C8 FF C0 08 90 */ fmr f30, f1 +/* 800D436C 000D12CC 7F 83 E3 78 */ mr r3, r28 +/* 800D4370 000D12D0 48 26 A8 B9 */ bl ReadFloat__12CInputStreamFv +/* 800D4374 000D12D4 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D4378 000D12D8 FF A0 08 90 */ fmr f29, f1 +/* 800D437C 000D12DC 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D4380 000D12E0 38 A0 00 00 */ li r5, 0 +/* 800D4384 000D12E4 38 60 00 48 */ li r3, 0x48 +/* 800D4388 000D12E8 38 84 00 0D */ addi r4, r4, 0xd +/* 800D438C 000D12EC 48 24 14 E1 */ bl __nw__FUlPCcPCc +/* 800D4390 000D12F0 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800D4394 000D12F4 41 82 00 48 */ beq lbl_800D43DC +/* 800D4398 000D12F8 7F 44 D3 78 */ mr r4, r26 +/* 800D439C 000D12FC 38 61 00 08 */ addi r3, r1, 8 +/* 800D43A0 000D1300 4B F7 8D 3D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D43A4 000D1304 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D43A8 000D1308 FC 20 F8 90 */ fmr f1, f31 +/* 800D43AC 000D130C FC 40 F0 90 */ fmr f2, f30 +/* 800D43B0 000D1310 7F 83 E3 78 */ mr r3, r28 +/* 800D43B4 000D1314 FC 60 E8 90 */ fmr f3, f29 +/* 800D43B8 000D1318 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D43BC 000D131C 7F 66 DB 78 */ mr r6, r27 +/* 800D43C0 000D1320 7F C7 F3 78 */ mr r7, r30 +/* 800D43C4 000D1324 7F A8 EB 78 */ mr r8, r29 +/* 800D43C8 000D1328 7F E9 FB 78 */ mr r9, r31 +/* 800D43CC 000D132C 38 81 00 0C */ addi r4, r1, 0xc +/* 800D43D0 000D1330 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D43D4 000D1334 48 01 64 CD */ bl "__ct__25CScriptCameraBlurKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoUifUiffb" +/* 800D43D8 000D1338 7C 7C 1B 78 */ mr r28, r3 +lbl_800D43DC: +/* 800D43DC 000D133C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D43E0 000D1340 48 26 97 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D43E4 000D1344 7F 83 E3 78 */ mr r3, r28 +lbl_800D43E8: +/* 800D43E8 000D1348 CB E1 00 48 */ lfd f31, 0x48(r1) +/* 800D43EC 000D134C CB C1 00 40 */ lfd f30, 0x40(r1) +/* 800D43F0 000D1350 CB A1 00 38 */ lfd f29, 0x38(r1) +/* 800D43F4 000D1354 BB 41 00 20 */ lmw r26, 0x20(r1) +/* 800D43F8 000D1358 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800D43FC 000D135C 7C 08 03 A6 */ mtlr r0 +/* 800D4400 000D1360 38 21 00 50 */ addi r1, r1, 0x50 +/* 800D4404 000D1364 4E 80 00 20 */ blr + +.global LoadCameraFilterKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadCameraFilterKeyframe__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D4408 000D1368 94 21 FF 80 */ stwu r1, -0x80(r1) +/* 800D440C 000D136C 7C 08 02 A6 */ mflr r0 +/* 800D4410 000D1370 90 01 00 84 */ stw r0, 0x84(r1) +/* 800D4414 000D1374 DB E1 00 70 */ stfd f31, 0x70(r1) +/* 800D4418 000D1378 F3 E1 00 78 */ psq_st f31, 120(r1), 0, qr0 +/* 800D441C 000D137C DB C1 00 60 */ stfd f30, 0x60(r1) +/* 800D4420 000D1380 F3 C1 00 68 */ psq_st f30, 104(r1), 0, qr0 +/* 800D4424 000D1384 BE E1 00 3C */ stmw r23, 0x3c(r1) +/* 800D4428 000D1388 2C 05 00 0A */ cmpwi r5, 0xa +/* 800D442C 000D138C 7C 7E 1B 78 */ mr r30, r3 +/* 800D4430 000D1390 7C 9B 23 78 */ mr r27, r4 +/* 800D4434 000D1394 7C DF 33 78 */ mr r31, r6 +/* 800D4438 000D1398 41 82 00 0C */ beq lbl_800D4444 +/* 800D443C 000D139C 38 60 00 00 */ li r3, 0 +/* 800D4440 000D13A0 48 00 01 1C */ b lbl_800D455C +lbl_800D4444: +/* 800D4444 000D13A4 4B F7 0D A1 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D4448 000D13A8 7C 64 1B 78 */ mr r4, r3 +/* 800D444C 000D13AC 38 61 00 1C */ addi r3, r1, 0x1c +/* 800D4450 000D13B0 48 26 9D 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D4454 000D13B4 7F 63 DB 78 */ mr r3, r27 +/* 800D4458 000D13B8 48 26 A8 85 */ bl ReadBool__12CInputStreamFv +/* 800D445C 000D13BC 7C 7C 1B 78 */ mr r28, r3 +/* 800D4460 000D13C0 7F 63 DB 78 */ mr r3, r27 +/* 800D4464 000D13C4 48 26 A8 21 */ bl ReadLong__12CInputStreamFv +/* 800D4468 000D13C8 7C 7A 1B 78 */ mr r26, r3 +/* 800D446C 000D13CC 7F 63 DB 78 */ mr r3, r27 +/* 800D4470 000D13D0 48 26 A8 15 */ bl ReadLong__12CInputStreamFv +/* 800D4474 000D13D4 7C 79 1B 78 */ mr r25, r3 +/* 800D4478 000D13D8 7F 63 DB 78 */ mr r3, r27 +/* 800D447C 000D13DC 48 26 A8 09 */ bl ReadLong__12CInputStreamFv +/* 800D4480 000D13E0 7C 78 1B 78 */ mr r24, r3 +/* 800D4484 000D13E4 7F 63 DB 78 */ mr r3, r27 +/* 800D4488 000D13E8 48 26 A7 FD */ bl ReadLong__12CInputStreamFv +/* 800D448C 000D13EC 7C 77 1B 78 */ mr r23, r3 +/* 800D4490 000D13F0 7F 64 DB 78 */ mr r4, r27 +/* 800D4494 000D13F4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D4498 000D13F8 48 28 EF B5 */ bl __ct__6CColorFR12CInputStream +/* 800D449C 000D13FC 7F 63 DB 78 */ mr r3, r27 +/* 800D44A0 000D1400 48 26 A7 89 */ bl ReadFloat__12CInputStreamFv +/* 800D44A4 000D1404 FF E0 08 90 */ fmr f31, f1 +/* 800D44A8 000D1408 7F 63 DB 78 */ mr r3, r27 +/* 800D44AC 000D140C 48 26 A7 7D */ bl ReadFloat__12CInputStreamFv +/* 800D44B0 000D1410 FF C0 08 90 */ fmr f30, f1 +/* 800D44B4 000D1414 7F 63 DB 78 */ mr r3, r27 +/* 800D44B8 000D1418 48 26 A7 CD */ bl ReadLong__12CInputStreamFv +/* 800D44BC 000D141C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D44C0 000D1420 7C 7D 1B 78 */ mr r29, r3 +/* 800D44C4 000D1424 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D44C8 000D1428 38 60 00 54 */ li r3, 0x54 +/* 800D44CC 000D142C 38 84 00 0D */ addi r4, r4, 0xd +/* 800D44D0 000D1430 38 A0 00 00 */ li r5, 0 +/* 800D44D4 000D1434 48 24 13 99 */ bl __nw__FUlPCcPCc +/* 800D44D8 000D1438 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800D44DC 000D143C 41 82 00 74 */ beq lbl_800D4550 +/* 800D44E0 000D1440 7F C4 F3 78 */ mr r4, r30 +/* 800D44E4 000D1444 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D44E8 000D1448 4B F7 8B F5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D44EC 000D144C A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800D44F0 000D1450 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800D44F4 000D1454 E0 21 A0 18 */ psq_l f1, 24(r1), 1, qr2 +/* 800D44F8 000D1458 E0 41 A0 19 */ psq_l f2, 25(r1), 1, qr2 +/* 800D44FC 000D145C E0 61 A0 1A */ psq_l f3, 26(r1), 1, qr2 +/* 800D4500 000D1460 E0 81 A0 1B */ psq_l f4, 27(r1), 1, qr2 +/* 800D4504 000D1464 FC A0 F8 90 */ fmr f5, f31 +/* 800D4508 000D1468 C0 02 8E 68 */ lfs f0, lbl_805AAB88@sda21(r2) +/* 800D450C 000D146C FC C0 F0 90 */ fmr f6, f30 +/* 800D4510 000D1470 93 A1 00 08 */ stw r29, 8(r1) +/* 800D4514 000D1474 7F 63 DB 78 */ mr r3, r27 +/* 800D4518 000D1478 EC 20 00 72 */ fmuls f1, f0, f1 +/* 800D451C 000D147C EC 40 00 B2 */ fmuls f2, f0, f2 +/* 800D4520 000D1480 93 81 00 0C */ stw r28, 0xc(r1) +/* 800D4524 000D1484 EC 60 00 F2 */ fmuls f3, f0, f3 +/* 800D4528 000D1488 7F E6 FB 78 */ mr r6, r31 +/* 800D452C 000D148C EC 80 01 32 */ fmuls f4, f0, f4 +/* 800D4530 000D1490 7F 47 D3 78 */ mr r7, r26 +/* 800D4534 000D1494 7F 28 CB 78 */ mr r8, r25 +/* 800D4538 000D1498 7F 09 C3 78 */ mr r9, r24 +/* 800D453C 000D149C 7E EA BB 78 */ mr r10, r23 +/* 800D4540 000D14A0 38 81 00 14 */ addi r4, r1, 0x14 +/* 800D4544 000D14A4 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800D4548 000D14A8 48 01 61 45 */ bl "__ct__27CScriptCameraFilterKeyframeF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoUiUiUiUiffffffUib" +/* 800D454C 000D14AC 7C 7B 1B 78 */ mr r27, r3 +lbl_800D4550: +/* 800D4550 000D14B0 38 61 00 1C */ addi r3, r1, 0x1c +/* 800D4554 000D14B4 48 26 95 8D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D4558 000D14B8 7F 63 DB 78 */ mr r3, r27 +lbl_800D455C: +/* 800D455C 000D14BC E3 E1 00 78 */ psq_l f31, 120(r1), 0, qr0 +/* 800D4560 000D14C0 CB E1 00 70 */ lfd f31, 0x70(r1) +/* 800D4564 000D14C4 E3 C1 00 68 */ psq_l f30, 104(r1), 0, qr0 +/* 800D4568 000D14C8 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 800D456C 000D14CC BA E1 00 3C */ lmw r23, 0x3c(r1) +/* 800D4570 000D14D0 80 01 00 84 */ lwz r0, 0x84(r1) +/* 800D4574 000D14D4 7C 08 03 A6 */ mtlr r0 +/* 800D4578 000D14D8 38 21 00 80 */ addi r1, r1, 0x80 +/* 800D457C 000D14DC 4E 80 00 20 */ blr + +.global LoadHUDMemo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadHUDMemo__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D4580 000D14E0 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800D4584 000D14E4 7C 08 02 A6 */ mflr r0 +/* 800D4588 000D14E8 2C 05 00 05 */ cmpwi r5, 5 +/* 800D458C 000D14EC 90 01 00 44 */ stw r0, 0x44(r1) +/* 800D4590 000D14F0 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 800D4594 000D14F4 7C 7A 1B 78 */ mr r26, r3 +/* 800D4598 000D14F8 7C 9D 23 78 */ mr r29, r4 +/* 800D459C 000D14FC 7C DB 33 78 */ mr r27, r6 +/* 800D45A0 000D1500 3B 80 00 00 */ li r28, 0 +/* 800D45A4 000D1504 40 82 00 0C */ bne lbl_800D45B0 +/* 800D45A8 000D1508 3B 80 00 01 */ li r28, 1 +/* 800D45AC 000D150C 48 00 00 14 */ b lbl_800D45C0 +lbl_800D45B0: +/* 800D45B0 000D1510 2C 05 00 06 */ cmpwi r5, 6 +/* 800D45B4 000D1514 41 82 00 0C */ beq lbl_800D45C0 +/* 800D45B8 000D1518 38 60 00 00 */ li r3, 0 +/* 800D45BC 000D151C 48 00 00 C4 */ b lbl_800D4680 +lbl_800D45C0: +/* 800D45C0 000D1520 7F 43 D3 78 */ mr r3, r26 +/* 800D45C4 000D1524 7F A4 EB 78 */ mr r4, r29 +/* 800D45C8 000D1528 4B F7 0C 1D */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D45CC 000D152C 7C 64 1B 78 */ mr r4, r3 +/* 800D45D0 000D1530 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D45D4 000D1534 48 26 9B 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D45D8 000D1538 7F A4 EB 78 */ mr r4, r29 +/* 800D45DC 000D153C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D45E0 000D1540 48 01 3C F1 */ bl __ct__13CHUDMemoParmsFR12CInputStream +/* 800D45E4 000D1544 57 80 06 3F */ clrlwi. r0, r28, 0x18 +/* 800D45E8 000D1548 41 82 00 0C */ beq lbl_800D45F4 +/* 800D45EC 000D154C 3B E0 00 01 */ li r31, 1 +/* 800D45F0 000D1550 48 00 00 10 */ b lbl_800D4600 +lbl_800D45F4: +/* 800D45F4 000D1554 7F A3 EB 78 */ mr r3, r29 +/* 800D45F8 000D1558 48 26 A6 8D */ bl ReadLong__12CInputStreamFv +/* 800D45FC 000D155C 7C 7F 1B 78 */ mr r31, r3 +lbl_800D4600: +/* 800D4600 000D1560 7F A3 EB 78 */ mr r3, r29 +/* 800D4604 000D1564 48 26 A6 81 */ bl ReadLong__12CInputStreamFv +/* 800D4608 000D1568 7C 7E 1B 78 */ mr r30, r3 +/* 800D460C 000D156C 7F A3 EB 78 */ mr r3, r29 +/* 800D4610 000D1570 48 26 A6 CD */ bl ReadBool__12CInputStreamFv +/* 800D4614 000D1574 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D4618 000D1578 7C 7D 1B 78 */ mr r29, r3 +/* 800D461C 000D157C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D4620 000D1580 38 60 00 54 */ li r3, 0x54 +/* 800D4624 000D1584 38 A0 00 00 */ li r5, 0 +/* 800D4628 000D1588 38 84 00 0D */ addi r4, r4, 0xd +/* 800D462C 000D158C 48 24 12 41 */ bl __nw__FUlPCcPCc +/* 800D4630 000D1590 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800D4634 000D1594 41 82 00 40 */ beq lbl_800D4674 +/* 800D4638 000D1598 7F 44 D3 78 */ mr r4, r26 +/* 800D463C 000D159C 38 61 00 08 */ addi r3, r1, 8 +/* 800D4640 000D15A0 4B F7 8A 9D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D4644 000D15A4 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D4648 000D15A8 7F 83 E3 78 */ mr r3, r28 +/* 800D464C 000D15AC 7F 66 DB 78 */ mr r6, r27 +/* 800D4650 000D15B0 7F E8 FB 78 */ mr r8, r31 +/* 800D4654 000D15B4 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D4658 000D15B8 7F C9 F3 78 */ mr r9, r30 +/* 800D465C 000D15BC 7F AA EB 78 */ mr r10, r29 +/* 800D4660 000D15C0 38 81 00 0C */ addi r4, r1, 0xc +/* 800D4664 000D15C4 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800D4668 000D15C8 38 E1 00 10 */ addi r7, r1, 0x10 +/* 800D466C 000D15CC 48 01 3E F9 */ bl "__ct__14CScriptHUDMemoF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC13CHUDMemoParmsQ214CScriptHUDMemo12EDisplayTypeUib" +/* 800D4670 000D15D0 7C 7C 1B 78 */ mr r28, r3 +lbl_800D4674: +/* 800D4674 000D15D4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D4678 000D15D8 48 26 94 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D467C 000D15DC 7F 83 E3 78 */ mr r3, r28 +lbl_800D4680: +/* 800D4680 000D15E0 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 800D4684 000D15E4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800D4688 000D15E8 7C 08 03 A6 */ mtlr r0 +/* 800D468C 000D15EC 38 21 00 40 */ addi r1, r1, 0x40 +/* 800D4690 000D15F0 4E 80 00 20 */ blr + +.global LoadFaultyRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadFaultyRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D4694 000D15F4 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800D4698 000D15F8 7C 08 02 A6 */ mflr r0 +/* 800D469C 000D15FC 90 01 00 34 */ stw r0, 0x34(r1) +/* 800D46A0 000D1600 38 00 00 00 */ li r0, 0 +/* 800D46A4 000D1604 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800D46A8 000D1608 7C 9F 23 78 */ mr r31, r4 +/* 800D46AC 000D160C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800D46B0 000D1610 7C BE 2B 78 */ mr r30, r5 +/* 800D46B4 000D1614 2C 1E 00 02 */ cmpwi r30, 2 +/* 800D46B8 000D1618 93 A1 00 24 */ stw r29, 0x24(r1) +/* 800D46BC 000D161C 7C DD 33 78 */ mr r29, r6 +/* 800D46C0 000D1620 93 81 00 20 */ stw r28, 0x20(r1) +/* 800D46C4 000D1624 7C 7C 1B 78 */ mr r28, r3 +/* 800D46C8 000D1628 41 80 00 10 */ blt lbl_800D46D8 +/* 800D46CC 000D162C 2C 1E 00 03 */ cmpwi r30, 3 +/* 800D46D0 000D1630 41 81 00 08 */ bgt lbl_800D46D8 +/* 800D46D4 000D1634 38 00 00 01 */ li r0, 1 +lbl_800D46D8: +/* 800D46D8 000D1638 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800D46DC 000D163C 40 82 00 0C */ bne lbl_800D46E8 +/* 800D46E0 000D1640 38 60 00 00 */ li r3, 0 +/* 800D46E4 000D1644 48 00 00 98 */ b lbl_800D477C +lbl_800D46E8: +/* 800D46E8 000D1648 7F 83 E3 78 */ mr r3, r28 +/* 800D46EC 000D164C 7F E4 FB 78 */ mr r4, r31 +/* 800D46F0 000D1650 4B F7 0A F5 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D46F4 000D1654 7C 64 1B 78 */ mr r4, r3 +/* 800D46F8 000D1658 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D46FC 000D165C 48 26 9A 65 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D4700 000D1660 2C 1E 00 03 */ cmpwi r30, 3 +/* 800D4704 000D1664 41 80 00 0C */ blt lbl_800D4710 +/* 800D4708 000D1668 7F E3 FB 78 */ mr r3, r31 +/* 800D470C 000D166C 48 26 A5 79 */ bl ReadLong__12CInputStreamFv +lbl_800D4710: +/* 800D4710 000D1670 7F E3 FB 78 */ mr r3, r31 +/* 800D4714 000D1674 48 26 A5 C9 */ bl ReadBool__12CInputStreamFv +/* 800D4718 000D1678 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D471C 000D167C 7C 60 1B 78 */ mr r0, r3 +/* 800D4720 000D1680 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D4724 000D1684 38 60 00 3C */ li r3, 0x3c +/* 800D4728 000D1688 7C 1E 03 78 */ mr r30, r0 +/* 800D472C 000D168C 38 A0 00 00 */ li r5, 0 +/* 800D4730 000D1690 38 84 00 0D */ addi r4, r4, 0xd +/* 800D4734 000D1694 48 24 11 39 */ bl __nw__FUlPCcPCc +/* 800D4738 000D1698 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800D473C 000D169C 41 82 00 34 */ beq lbl_800D4770 +/* 800D4740 000D16A0 7F 84 E3 78 */ mr r4, r28 +/* 800D4744 000D16A4 38 61 00 08 */ addi r3, r1, 8 +/* 800D4748 000D16A8 4B F7 89 95 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D474C 000D16AC A0 01 00 08 */ lhz r0, 8(r1) +/* 800D4750 000D16B0 7F E3 FB 78 */ mr r3, r31 +/* 800D4754 000D16B4 7F A6 EB 78 */ mr r6, r29 +/* 800D4758 000D16B8 7F C7 F3 78 */ mr r7, r30 +/* 800D475C 000D16BC B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D4760 000D16C0 38 81 00 0C */ addi r4, r1, 0xc +/* 800D4764 000D16C4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D4768 000D16C8 48 00 DB A9 */ bl "__ct__12CScriptRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfofb" +/* 800D476C 000D16CC 7C 7F 1B 78 */ mr r31, r3 +lbl_800D4770: +/* 800D4770 000D16D0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D4774 000D16D4 48 26 93 6D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D4778 000D16D8 7F E3 FB 78 */ mr r3, r31 +lbl_800D477C: +/* 800D477C 000D16DC 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800D4780 000D16E0 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800D4784 000D16E4 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800D4788 000D16E8 83 A1 00 24 */ lwz r29, 0x24(r1) +/* 800D478C 000D16EC 83 81 00 20 */ lwz r28, 0x20(r1) +/* 800D4790 000D16F0 7C 08 03 A6 */ mtlr r0 +/* 800D4794 000D16F4 38 21 00 30 */ addi r1, r1, 0x30 +/* 800D4798 000D16F8 4E 80 00 20 */ blr + +.global LoadRandomRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadRandomRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D479C 000D16FC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800D47A0 000D1700 7C 08 02 A6 */ mflr r0 +/* 800D47A4 000D1704 2C 05 00 05 */ cmpwi r5, 5 +/* 800D47A8 000D1708 90 01 00 44 */ stw r0, 0x44(r1) +/* 800D47AC 000D170C BF 21 00 24 */ stmw r25, 0x24(r1) +/* 800D47B0 000D1710 7C 79 1B 78 */ mr r25, r3 +/* 800D47B4 000D1714 7C 9B 23 78 */ mr r27, r4 +/* 800D47B8 000D1718 7C DA 33 78 */ mr r26, r6 +/* 800D47BC 000D171C 41 82 00 0C */ beq lbl_800D47C8 +/* 800D47C0 000D1720 38 60 00 00 */ li r3, 0 +/* 800D47C4 000D1724 48 00 00 B4 */ b lbl_800D4878 +lbl_800D47C8: +/* 800D47C8 000D1728 4B F7 0A 1D */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D47CC 000D172C 7C 64 1B 78 */ mr r4, r3 +/* 800D47D0 000D1730 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D47D4 000D1734 48 26 99 8D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D47D8 000D1738 7F 63 DB 78 */ mr r3, r27 +/* 800D47DC 000D173C 48 26 A4 A9 */ bl ReadLong__12CInputStreamFv +/* 800D47E0 000D1740 7C 7F 1B 78 */ mr r31, r3 +/* 800D47E4 000D1744 7F 63 DB 78 */ mr r3, r27 +/* 800D47E8 000D1748 48 26 A4 9D */ bl ReadLong__12CInputStreamFv +/* 800D47EC 000D174C 7C 7E 1B 78 */ mr r30, r3 +/* 800D47F0 000D1750 7F 63 DB 78 */ mr r3, r27 +/* 800D47F4 000D1754 48 26 A4 E9 */ bl ReadBool__12CInputStreamFv +/* 800D47F8 000D1758 7C 60 1B 78 */ mr r0, r3 +/* 800D47FC 000D175C 7F 63 DB 78 */ mr r3, r27 +/* 800D4800 000D1760 7C 1C 03 78 */ mr r28, r0 +/* 800D4804 000D1764 48 26 A4 D9 */ bl ReadBool__12CInputStreamFv +/* 800D4808 000D1768 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D480C 000D176C 7C 60 1B 78 */ mr r0, r3 +/* 800D4810 000D1770 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D4814 000D1774 38 60 00 40 */ li r3, 0x40 +/* 800D4818 000D1778 7C 1B 03 78 */ mr r27, r0 +/* 800D481C 000D177C 38 A0 00 00 */ li r5, 0 +/* 800D4820 000D1780 38 84 00 0D */ addi r4, r4, 0xd +/* 800D4824 000D1784 48 24 10 49 */ bl __nw__FUlPCcPCc +/* 800D4828 000D1788 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800D482C 000D178C 41 82 00 40 */ beq lbl_800D486C +/* 800D4830 000D1790 7F 24 CB 78 */ mr r4, r25 +/* 800D4834 000D1794 38 61 00 08 */ addi r3, r1, 8 +/* 800D4838 000D1798 4B F7 88 A5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D483C 000D179C A0 01 00 08 */ lhz r0, 8(r1) +/* 800D4840 000D17A0 7F A3 EB 78 */ mr r3, r29 +/* 800D4844 000D17A4 7F 46 D3 78 */ mr r6, r26 +/* 800D4848 000D17A8 7F E7 FB 78 */ mr r7, r31 +/* 800D484C 000D17AC B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D4850 000D17B0 7F C8 F3 78 */ mr r8, r30 +/* 800D4854 000D17B4 7F 89 E3 78 */ mr r9, r28 +/* 800D4858 000D17B8 7F 6A DB 78 */ mr r10, r27 +/* 800D485C 000D17BC 38 81 00 0C */ addi r4, r1, 0xc +/* 800D4860 000D17C0 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D4864 000D17C4 48 00 E4 E1 */ bl "__ct__18CScriptRandomRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoiibb" +/* 800D4868 000D17C8 7C 7D 1B 78 */ mr r29, r3 +lbl_800D486C: +/* 800D486C 000D17CC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D4870 000D17D0 48 26 92 71 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D4874 000D17D4 7F A3 EB 78 */ mr r3, r29 +lbl_800D4878: +/* 800D4878 000D17D8 BB 21 00 24 */ lmw r25, 0x24(r1) +/* 800D487C 000D17DC 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800D4880 000D17E0 7C 08 03 A6 */ mtlr r0 +/* 800D4884 000D17E4 38 21 00 40 */ addi r1, r1, 0x40 +/* 800D4888 000D17E8 4E 80 00 20 */ blr + +.global LoadRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadRelay__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D488C 000D17EC 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800D4890 000D17F0 7C 08 02 A6 */ mflr r0 +/* 800D4894 000D17F4 90 01 00 44 */ stw r0, 0x44(r1) +/* 800D4898 000D17F8 38 00 00 00 */ li r0, 0 +/* 800D489C 000D17FC BF 41 00 28 */ stmw r26, 0x28(r1) +/* 800D48A0 000D1800 7C BB 2B 78 */ mr r27, r5 +/* 800D48A4 000D1804 2C 1B 00 03 */ cmpwi r27, 3 +/* 800D48A8 000D1808 7C 7F 1B 78 */ mr r31, r3 +/* 800D48AC 000D180C 7C 9C 23 78 */ mr r28, r4 +/* 800D48B0 000D1810 7C DA 33 78 */ mr r26, r6 +/* 800D48B4 000D1814 41 80 00 10 */ blt lbl_800D48C4 +/* 800D48B8 000D1818 2C 1B 00 04 */ cmpwi r27, 4 +/* 800D48BC 000D181C 41 81 00 08 */ bgt lbl_800D48C4 +/* 800D48C0 000D1820 38 00 00 01 */ li r0, 1 +lbl_800D48C4: +/* 800D48C4 000D1824 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800D48C8 000D1828 40 82 00 0C */ bne lbl_800D48D4 +/* 800D48CC 000D182C 38 60 00 00 */ li r3, 0 +/* 800D48D0 000D1830 48 00 00 B0 */ b lbl_800D4980 +lbl_800D48D4: +/* 800D48D4 000D1834 7F E3 FB 78 */ mr r3, r31 +/* 800D48D8 000D1838 7F 84 E3 78 */ mr r4, r28 +/* 800D48DC 000D183C 4B F7 09 09 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D48E0 000D1840 7C 64 1B 78 */ mr r4, r3 +/* 800D48E4 000D1844 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D48E8 000D1848 48 26 98 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D48EC 000D184C 7F 83 E3 78 */ mr r3, r28 +/* 800D48F0 000D1850 48 26 A3 ED */ bl ReadBool__12CInputStreamFv +/* 800D48F4 000D1854 7C 7E 1B 78 */ mr r30, r3 +/* 800D48F8 000D1858 7F 83 E3 78 */ mr r3, r28 +/* 800D48FC 000D185C 48 26 A3 E1 */ bl ReadBool__12CInputStreamFv +/* 800D4900 000D1860 2C 1B 00 03 */ cmpwi r27, 3 +/* 800D4904 000D1864 7C 7D 1B 78 */ mr r29, r3 +/* 800D4908 000D1868 3B 60 00 00 */ li r27, 0 +/* 800D490C 000D186C 40 81 00 10 */ ble lbl_800D491C +/* 800D4910 000D1870 7F 83 E3 78 */ mr r3, r28 +/* 800D4914 000D1874 48 26 A3 C9 */ bl ReadBool__12CInputStreamFv +/* 800D4918 000D1878 7C 7B 1B 78 */ mr r27, r3 +lbl_800D491C: +/* 800D491C 000D187C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D4920 000D1880 38 60 00 38 */ li r3, 0x38 +/* 800D4924 000D1884 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D4928 000D1888 38 A0 00 00 */ li r5, 0 +/* 800D492C 000D188C 38 84 00 0D */ addi r4, r4, 0xd +/* 800D4930 000D1890 48 24 0F 3D */ bl __nw__FUlPCcPCc +/* 800D4934 000D1894 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800D4938 000D1898 41 82 00 3C */ beq lbl_800D4974 +/* 800D493C 000D189C 7F E4 FB 78 */ mr r4, r31 +/* 800D4940 000D18A0 38 61 00 08 */ addi r3, r1, 8 +/* 800D4944 000D18A4 4B F7 87 99 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D4948 000D18A8 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D494C 000D18AC 7F 83 E3 78 */ mr r3, r28 +/* 800D4950 000D18B0 7F 46 D3 78 */ mr r6, r26 +/* 800D4954 000D18B4 7F C7 F3 78 */ mr r7, r30 +/* 800D4958 000D18B8 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D495C 000D18BC 7F A8 EB 78 */ mr r8, r29 +/* 800D4960 000D18C0 38 81 00 0C */ addi r4, r1, 0xc +/* 800D4964 000D18C4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D4968 000D18C8 57 69 06 3E */ clrlwi r9, r27, 0x18 +/* 800D496C 000D18CC 48 16 D0 ED */ bl "__ct__18CScriptMemoryRelayF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfobbb" +/* 800D4970 000D18D0 7C 7C 1B 78 */ mr r28, r3 +lbl_800D4974: +/* 800D4974 000D18D4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D4978 000D18D8 48 26 91 69 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D497C 000D18DC 7F 83 E3 78 */ mr r3, r28 +lbl_800D4980: +/* 800D4980 000D18E0 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 800D4984 000D18E4 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800D4988 000D18E8 7C 08 03 A6 */ mtlr r0 +/* 800D498C 000D18EC 38 21 00 40 */ addi r1, r1, 0x40 +/* 800D4990 000D18F0 4E 80 00 20 */ blr + +.global LoadSpindleCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSpindleCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D4994 000D18F4 94 21 FA 10 */ stwu r1, -0x5f0(r1) +/* 800D4998 000D18F8 7C 08 02 A6 */ mflr r0 +/* 800D499C 000D18FC 90 01 05 F4 */ stw r0, 0x5f4(r1) +/* 800D49A0 000D1900 DB E1 05 E0 */ stfd f31, 0x5e0(r1) +/* 800D49A4 000D1904 F3 E1 05 E8 */ psq_st f31, 1512(r1), 0, qr0 +/* 800D49A8 000D1908 DB C1 05 D0 */ stfd f30, 0x5d0(r1) +/* 800D49AC 000D190C F3 C1 05 D8 */ psq_st f30, 1496(r1), 0, qr0 +/* 800D49B0 000D1910 DB A1 05 C0 */ stfd f29, 0x5c0(r1) +/* 800D49B4 000D1914 F3 A1 05 C8 */ psq_st f29, 1480(r1), 0, qr0 +/* 800D49B8 000D1918 DB 81 05 B0 */ stfd f28, 0x5b0(r1) +/* 800D49BC 000D191C F3 81 05 B8 */ psq_st f28, 1464(r1), 0, qr0 +/* 800D49C0 000D1920 BD C1 05 68 */ stmw r14, 0x568(r1) +/* 800D49C4 000D1924 2C 05 00 18 */ cmpwi r5, 0x18 +/* 800D49C8 000D1928 90 C1 00 40 */ stw r6, 0x40(r1) +/* 800D49CC 000D192C 7C 6E 1B 78 */ mr r14, r3 +/* 800D49D0 000D1930 7C 8F 23 78 */ mr r15, r4 +/* 800D49D4 000D1934 41 82 00 0C */ beq lbl_800D49E0 +/* 800D49D8 000D1938 38 60 00 00 */ li r3, 0 +/* 800D49DC 000D193C 48 00 09 18 */ b lbl_800D52F4 +lbl_800D49E0: +/* 800D49E0 000D1940 7D C5 73 78 */ mr r5, r14 +/* 800D49E4 000D1944 38 61 04 84 */ addi r3, r1, 0x484 +/* 800D49E8 000D1948 48 00 5A DD */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D49EC 000D194C 7D E3 7B 78 */ mr r3, r15 +/* 800D49F0 000D1950 48 26 A2 ED */ bl ReadBool__12CInputStreamFv +/* 800D49F4 000D1954 98 61 04 C8 */ stb r3, 0x4c8(r1) +/* 800D49F8 000D1958 7D E3 7B 78 */ mr r3, r15 +/* 800D49FC 000D195C 48 00 52 01 */ bl LoadParameterFlags__FR12CInputStream +/* 800D4A00 000D1960 7C 60 1B 78 */ mr r0, r3 +/* 800D4A04 000D1964 7D E3 7B 78 */ mr r3, r15 +/* 800D4A08 000D1968 90 01 04 C4 */ stw r0, 0x4c4(r1) +/* 800D4A0C 000D196C 48 26 A2 1D */ bl ReadFloat__12CInputStreamFv +/* 800D4A10 000D1970 FF E0 08 90 */ fmr f31, f1 +/* 800D4A14 000D1974 7D E3 7B 78 */ mr r3, r15 +/* 800D4A18 000D1978 48 26 A2 11 */ bl ReadFloat__12CInputStreamFv +/* 800D4A1C 000D197C FF C0 08 90 */ fmr f30, f1 +/* 800D4A20 000D1980 7D E3 7B 78 */ mr r3, r15 +/* 800D4A24 000D1984 48 26 A2 05 */ bl ReadFloat__12CInputStreamFv +/* 800D4A28 000D1988 FF A0 08 90 */ fmr f29, f1 +/* 800D4A2C 000D198C 7D E3 7B 78 */ mr r3, r15 +/* 800D4A30 000D1990 48 26 A1 F9 */ bl ReadFloat__12CInputStreamFv +/* 800D4A34 000D1994 FF 80 08 90 */ fmr f28, f1 +/* 800D4A38 000D1998 7D E4 7B 78 */ mr r4, r15 +/* 800D4A3C 000D199C 38 61 03 04 */ addi r3, r1, 0x304 +/* 800D4A40 000D19A0 48 16 CC BD */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4A44 000D19A4 80 81 03 04 */ lwz r4, 0x304(r1) +/* 800D4A48 000D19A8 38 61 04 6C */ addi r3, r1, 0x46c +/* 800D4A4C 000D19AC 80 01 03 08 */ lwz r0, 0x308(r1) +/* 800D4A50 000D19B0 C0 61 03 0C */ lfs f3, 0x30c(r1) +/* 800D4A54 000D19B4 C0 41 03 10 */ lfs f2, 0x310(r1) +/* 800D4A58 000D19B8 C0 21 03 14 */ lfs f1, 0x314(r1) +/* 800D4A5C 000D19BC C0 01 03 18 */ lfs f0, 0x318(r1) +/* 800D4A60 000D19C0 90 81 04 6C */ stw r4, 0x46c(r1) +/* 800D4A64 000D19C4 90 01 04 70 */ stw r0, 0x470(r1) +/* 800D4A68 000D19C8 D0 61 04 74 */ stfs f3, 0x474(r1) +/* 800D4A6C 000D19CC D0 41 04 78 */ stfs f2, 0x478(r1) +/* 800D4A70 000D19D0 D0 21 04 7C */ stfs f1, 0x47c(r1) +/* 800D4A74 000D19D4 D0 01 04 80 */ stfs f0, 0x480(r1) +/* 800D4A78 000D19D8 48 16 CC 65 */ bl FixupAngles__15SSpindleSegmentFv +/* 800D4A7C 000D19DC 7D E4 7B 78 */ mr r4, r15 +/* 800D4A80 000D19E0 38 61 02 EC */ addi r3, r1, 0x2ec +/* 800D4A84 000D19E4 48 16 CC 79 */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4A88 000D19E8 80 A1 02 EC */ lwz r5, 0x2ec(r1) +/* 800D4A8C 000D19EC 7D E4 7B 78 */ mr r4, r15 +/* 800D4A90 000D19F0 80 01 02 F0 */ lwz r0, 0x2f0(r1) +/* 800D4A94 000D19F4 38 61 02 D4 */ addi r3, r1, 0x2d4 +/* 800D4A98 000D19F8 C0 61 02 F4 */ lfs f3, 0x2f4(r1) +/* 800D4A9C 000D19FC C0 41 02 F8 */ lfs f2, 0x2f8(r1) +/* 800D4AA0 000D1A00 C0 21 02 FC */ lfs f1, 0x2fc(r1) +/* 800D4AA4 000D1A04 C0 01 03 00 */ lfs f0, 0x300(r1) +/* 800D4AA8 000D1A08 90 A1 04 54 */ stw r5, 0x454(r1) +/* 800D4AAC 000D1A0C 90 01 04 58 */ stw r0, 0x458(r1) +/* 800D4AB0 000D1A10 D0 61 04 5C */ stfs f3, 0x45c(r1) +/* 800D4AB4 000D1A14 D0 41 04 60 */ stfs f2, 0x460(r1) +/* 800D4AB8 000D1A18 D0 21 04 64 */ stfs f1, 0x464(r1) +/* 800D4ABC 000D1A1C D0 01 04 68 */ stfs f0, 0x468(r1) +/* 800D4AC0 000D1A20 48 16 CC 3D */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4AC4 000D1A24 80 A1 02 D4 */ lwz r5, 0x2d4(r1) +/* 800D4AC8 000D1A28 7D E4 7B 78 */ mr r4, r15 +/* 800D4ACC 000D1A2C 80 01 02 D8 */ lwz r0, 0x2d8(r1) +/* 800D4AD0 000D1A30 38 61 02 BC */ addi r3, r1, 0x2bc +/* 800D4AD4 000D1A34 C0 61 02 DC */ lfs f3, 0x2dc(r1) +/* 800D4AD8 000D1A38 C0 41 02 E0 */ lfs f2, 0x2e0(r1) +/* 800D4ADC 000D1A3C C0 21 02 E4 */ lfs f1, 0x2e4(r1) +/* 800D4AE0 000D1A40 C0 01 02 E8 */ lfs f0, 0x2e8(r1) +/* 800D4AE4 000D1A44 90 A1 04 3C */ stw r5, 0x43c(r1) +/* 800D4AE8 000D1A48 90 01 04 40 */ stw r0, 0x440(r1) +/* 800D4AEC 000D1A4C D0 61 04 44 */ stfs f3, 0x444(r1) +/* 800D4AF0 000D1A50 D0 41 04 48 */ stfs f2, 0x448(r1) +/* 800D4AF4 000D1A54 D0 21 04 4C */ stfs f1, 0x44c(r1) +/* 800D4AF8 000D1A58 D0 01 04 50 */ stfs f0, 0x450(r1) +/* 800D4AFC 000D1A5C 48 16 CC 01 */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4B00 000D1A60 80 A1 02 BC */ lwz r5, 0x2bc(r1) +/* 800D4B04 000D1A64 7D E4 7B 78 */ mr r4, r15 +/* 800D4B08 000D1A68 80 01 02 C0 */ lwz r0, 0x2c0(r1) +/* 800D4B0C 000D1A6C 38 61 02 A4 */ addi r3, r1, 0x2a4 +/* 800D4B10 000D1A70 C0 61 02 C4 */ lfs f3, 0x2c4(r1) +/* 800D4B14 000D1A74 C0 41 02 C8 */ lfs f2, 0x2c8(r1) +/* 800D4B18 000D1A78 C0 21 02 CC */ lfs f1, 0x2cc(r1) +/* 800D4B1C 000D1A7C C0 01 02 D0 */ lfs f0, 0x2d0(r1) +/* 800D4B20 000D1A80 90 A1 04 24 */ stw r5, 0x424(r1) +/* 800D4B24 000D1A84 90 01 04 28 */ stw r0, 0x428(r1) +/* 800D4B28 000D1A88 D0 61 04 2C */ stfs f3, 0x42c(r1) +/* 800D4B2C 000D1A8C D0 41 04 30 */ stfs f2, 0x430(r1) +/* 800D4B30 000D1A90 D0 21 04 34 */ stfs f1, 0x434(r1) +/* 800D4B34 000D1A94 D0 01 04 38 */ stfs f0, 0x438(r1) +/* 800D4B38 000D1A98 48 16 CB C5 */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4B3C 000D1A9C 80 81 02 A4 */ lwz r4, 0x2a4(r1) +/* 800D4B40 000D1AA0 38 61 04 0C */ addi r3, r1, 0x40c +/* 800D4B44 000D1AA4 80 01 02 A8 */ lwz r0, 0x2a8(r1) +/* 800D4B48 000D1AA8 C0 61 02 AC */ lfs f3, 0x2ac(r1) +/* 800D4B4C 000D1AAC C0 41 02 B0 */ lfs f2, 0x2b0(r1) +/* 800D4B50 000D1AB0 C0 21 02 B4 */ lfs f1, 0x2b4(r1) +/* 800D4B54 000D1AB4 C0 01 02 B8 */ lfs f0, 0x2b8(r1) +/* 800D4B58 000D1AB8 90 81 04 0C */ stw r4, 0x40c(r1) +/* 800D4B5C 000D1ABC 90 01 04 10 */ stw r0, 0x410(r1) +/* 800D4B60 000D1AC0 D0 61 04 14 */ stfs f3, 0x414(r1) +/* 800D4B64 000D1AC4 D0 41 04 18 */ stfs f2, 0x418(r1) +/* 800D4B68 000D1AC8 D0 21 04 1C */ stfs f1, 0x41c(r1) +/* 800D4B6C 000D1ACC D0 01 04 20 */ stfs f0, 0x420(r1) +/* 800D4B70 000D1AD0 48 16 CB 6D */ bl FixupAngles__15SSpindleSegmentFv +/* 800D4B74 000D1AD4 7D E4 7B 78 */ mr r4, r15 +/* 800D4B78 000D1AD8 38 61 02 8C */ addi r3, r1, 0x28c +/* 800D4B7C 000D1ADC 48 16 CB 81 */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4B80 000D1AE0 80 81 02 8C */ lwz r4, 0x28c(r1) +/* 800D4B84 000D1AE4 38 61 03 F4 */ addi r3, r1, 0x3f4 +/* 800D4B88 000D1AE8 80 01 02 90 */ lwz r0, 0x290(r1) +/* 800D4B8C 000D1AEC C0 61 02 94 */ lfs f3, 0x294(r1) +/* 800D4B90 000D1AF0 C0 41 02 98 */ lfs f2, 0x298(r1) +/* 800D4B94 000D1AF4 C0 21 02 9C */ lfs f1, 0x29c(r1) +/* 800D4B98 000D1AF8 C0 01 02 A0 */ lfs f0, 0x2a0(r1) +/* 800D4B9C 000D1AFC 90 81 03 F4 */ stw r4, 0x3f4(r1) +/* 800D4BA0 000D1B00 90 01 03 F8 */ stw r0, 0x3f8(r1) +/* 800D4BA4 000D1B04 D0 61 03 FC */ stfs f3, 0x3fc(r1) +/* 800D4BA8 000D1B08 D0 41 04 00 */ stfs f2, 0x400(r1) +/* 800D4BAC 000D1B0C D0 21 04 04 */ stfs f1, 0x404(r1) +/* 800D4BB0 000D1B10 D0 01 04 08 */ stfs f0, 0x408(r1) +/* 800D4BB4 000D1B14 48 16 CB 29 */ bl FixupAngles__15SSpindleSegmentFv +/* 800D4BB8 000D1B18 7D E4 7B 78 */ mr r4, r15 +/* 800D4BBC 000D1B1C 38 61 02 74 */ addi r3, r1, 0x274 +/* 800D4BC0 000D1B20 48 16 CB 3D */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4BC4 000D1B24 80 81 02 74 */ lwz r4, 0x274(r1) +/* 800D4BC8 000D1B28 38 61 03 DC */ addi r3, r1, 0x3dc +/* 800D4BCC 000D1B2C 80 01 02 78 */ lwz r0, 0x278(r1) +/* 800D4BD0 000D1B30 C0 61 02 7C */ lfs f3, 0x27c(r1) +/* 800D4BD4 000D1B34 C0 41 02 80 */ lfs f2, 0x280(r1) +/* 800D4BD8 000D1B38 C0 21 02 84 */ lfs f1, 0x284(r1) +/* 800D4BDC 000D1B3C C0 01 02 88 */ lfs f0, 0x288(r1) +/* 800D4BE0 000D1B40 90 81 03 DC */ stw r4, 0x3dc(r1) +/* 800D4BE4 000D1B44 90 01 03 E0 */ stw r0, 0x3e0(r1) +/* 800D4BE8 000D1B48 D0 61 03 E4 */ stfs f3, 0x3e4(r1) +/* 800D4BEC 000D1B4C D0 41 03 E8 */ stfs f2, 0x3e8(r1) +/* 800D4BF0 000D1B50 D0 21 03 EC */ stfs f1, 0x3ec(r1) +/* 800D4BF4 000D1B54 D0 01 03 F0 */ stfs f0, 0x3f0(r1) +/* 800D4BF8 000D1B58 48 16 CA E5 */ bl FixupAngles__15SSpindleSegmentFv +/* 800D4BFC 000D1B5C 7D E4 7B 78 */ mr r4, r15 +/* 800D4C00 000D1B60 38 61 02 5C */ addi r3, r1, 0x25c +/* 800D4C04 000D1B64 48 16 CA F9 */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4C08 000D1B68 80 81 02 5C */ lwz r4, 0x25c(r1) +/* 800D4C0C 000D1B6C 38 61 03 C4 */ addi r3, r1, 0x3c4 +/* 800D4C10 000D1B70 80 01 02 60 */ lwz r0, 0x260(r1) +/* 800D4C14 000D1B74 C0 61 02 64 */ lfs f3, 0x264(r1) +/* 800D4C18 000D1B78 C0 41 02 68 */ lfs f2, 0x268(r1) +/* 800D4C1C 000D1B7C C0 21 02 6C */ lfs f1, 0x26c(r1) +/* 800D4C20 000D1B80 C0 01 02 70 */ lfs f0, 0x270(r1) +/* 800D4C24 000D1B84 90 81 03 C4 */ stw r4, 0x3c4(r1) +/* 800D4C28 000D1B88 90 01 03 C8 */ stw r0, 0x3c8(r1) +/* 800D4C2C 000D1B8C D0 61 03 CC */ stfs f3, 0x3cc(r1) +/* 800D4C30 000D1B90 D0 41 03 D0 */ stfs f2, 0x3d0(r1) +/* 800D4C34 000D1B94 D0 21 03 D4 */ stfs f1, 0x3d4(r1) +/* 800D4C38 000D1B98 D0 01 03 D8 */ stfs f0, 0x3d8(r1) +/* 800D4C3C 000D1B9C 48 16 CA A1 */ bl FixupAngles__15SSpindleSegmentFv +/* 800D4C40 000D1BA0 7D E4 7B 78 */ mr r4, r15 +/* 800D4C44 000D1BA4 38 61 02 44 */ addi r3, r1, 0x244 +/* 800D4C48 000D1BA8 48 16 CA B5 */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4C4C 000D1BAC 80 A1 02 44 */ lwz r5, 0x244(r1) +/* 800D4C50 000D1BB0 7D E4 7B 78 */ mr r4, r15 +/* 800D4C54 000D1BB4 80 01 02 48 */ lwz r0, 0x248(r1) +/* 800D4C58 000D1BB8 38 61 02 2C */ addi r3, r1, 0x22c +/* 800D4C5C 000D1BBC C0 61 02 4C */ lfs f3, 0x24c(r1) +/* 800D4C60 000D1BC0 C0 41 02 50 */ lfs f2, 0x250(r1) +/* 800D4C64 000D1BC4 C0 21 02 54 */ lfs f1, 0x254(r1) +/* 800D4C68 000D1BC8 C0 01 02 58 */ lfs f0, 0x258(r1) +/* 800D4C6C 000D1BCC 90 A1 03 AC */ stw r5, 0x3ac(r1) +/* 800D4C70 000D1BD0 90 01 03 B0 */ stw r0, 0x3b0(r1) +/* 800D4C74 000D1BD4 D0 61 03 B4 */ stfs f3, 0x3b4(r1) +/* 800D4C78 000D1BD8 D0 41 03 B8 */ stfs f2, 0x3b8(r1) +/* 800D4C7C 000D1BDC D0 21 03 BC */ stfs f1, 0x3bc(r1) +/* 800D4C80 000D1BE0 D0 01 03 C0 */ stfs f0, 0x3c0(r1) +/* 800D4C84 000D1BE4 48 16 CA 79 */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4C88 000D1BE8 80 A1 02 2C */ lwz r5, 0x22c(r1) +/* 800D4C8C 000D1BEC 7D E4 7B 78 */ mr r4, r15 +/* 800D4C90 000D1BF0 80 01 02 30 */ lwz r0, 0x230(r1) +/* 800D4C94 000D1BF4 38 61 02 14 */ addi r3, r1, 0x214 +/* 800D4C98 000D1BF8 C0 61 02 34 */ lfs f3, 0x234(r1) +/* 800D4C9C 000D1BFC C0 41 02 38 */ lfs f2, 0x238(r1) +/* 800D4CA0 000D1C00 C0 21 02 3C */ lfs f1, 0x23c(r1) +/* 800D4CA4 000D1C04 C0 01 02 40 */ lfs f0, 0x240(r1) +/* 800D4CA8 000D1C08 90 A1 03 94 */ stw r5, 0x394(r1) +/* 800D4CAC 000D1C0C 90 01 03 98 */ stw r0, 0x398(r1) +/* 800D4CB0 000D1C10 D0 61 03 9C */ stfs f3, 0x39c(r1) +/* 800D4CB4 000D1C14 D0 41 03 A0 */ stfs f2, 0x3a0(r1) +/* 800D4CB8 000D1C18 D0 21 03 A4 */ stfs f1, 0x3a4(r1) +/* 800D4CBC 000D1C1C D0 01 03 A8 */ stfs f0, 0x3a8(r1) +/* 800D4CC0 000D1C20 48 16 CA 3D */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4CC4 000D1C24 80 81 02 14 */ lwz r4, 0x214(r1) +/* 800D4CC8 000D1C28 38 61 03 7C */ addi r3, r1, 0x37c +/* 800D4CCC 000D1C2C 80 01 02 18 */ lwz r0, 0x218(r1) +/* 800D4CD0 000D1C30 C0 61 02 1C */ lfs f3, 0x21c(r1) +/* 800D4CD4 000D1C34 C0 41 02 20 */ lfs f2, 0x220(r1) +/* 800D4CD8 000D1C38 C0 21 02 24 */ lfs f1, 0x224(r1) +/* 800D4CDC 000D1C3C C0 01 02 28 */ lfs f0, 0x228(r1) +/* 800D4CE0 000D1C40 90 81 03 7C */ stw r4, 0x37c(r1) +/* 800D4CE4 000D1C44 90 01 03 80 */ stw r0, 0x380(r1) +/* 800D4CE8 000D1C48 D0 61 03 84 */ stfs f3, 0x384(r1) +/* 800D4CEC 000D1C4C D0 41 03 88 */ stfs f2, 0x388(r1) +/* 800D4CF0 000D1C50 D0 21 03 8C */ stfs f1, 0x38c(r1) +/* 800D4CF4 000D1C54 D0 01 03 90 */ stfs f0, 0x390(r1) +/* 800D4CF8 000D1C58 48 16 C9 E5 */ bl FixupAngles__15SSpindleSegmentFv +/* 800D4CFC 000D1C5C 7D E4 7B 78 */ mr r4, r15 +/* 800D4D00 000D1C60 38 61 01 FC */ addi r3, r1, 0x1fc +/* 800D4D04 000D1C64 48 16 C9 F9 */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4D08 000D1C68 80 81 01 FC */ lwz r4, 0x1fc(r1) +/* 800D4D0C 000D1C6C 38 61 03 64 */ addi r3, r1, 0x364 +/* 800D4D10 000D1C70 80 01 02 00 */ lwz r0, 0x200(r1) +/* 800D4D14 000D1C74 C0 61 02 04 */ lfs f3, 0x204(r1) +/* 800D4D18 000D1C78 C0 41 02 08 */ lfs f2, 0x208(r1) +/* 800D4D1C 000D1C7C C0 21 02 0C */ lfs f1, 0x20c(r1) +/* 800D4D20 000D1C80 C0 01 02 10 */ lfs f0, 0x210(r1) +/* 800D4D24 000D1C84 90 81 03 64 */ stw r4, 0x364(r1) +/* 800D4D28 000D1C88 90 01 03 68 */ stw r0, 0x368(r1) +/* 800D4D2C 000D1C8C D0 61 03 6C */ stfs f3, 0x36c(r1) +/* 800D4D30 000D1C90 D0 41 03 70 */ stfs f2, 0x370(r1) +/* 800D4D34 000D1C94 D0 21 03 74 */ stfs f1, 0x374(r1) +/* 800D4D38 000D1C98 D0 01 03 78 */ stfs f0, 0x378(r1) +/* 800D4D3C 000D1C9C 48 16 C9 A1 */ bl FixupAngles__15SSpindleSegmentFv +/* 800D4D40 000D1CA0 7D E4 7B 78 */ mr r4, r15 +/* 800D4D44 000D1CA4 38 61 01 E4 */ addi r3, r1, 0x1e4 +/* 800D4D48 000D1CA8 48 16 C9 B5 */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4D4C 000D1CAC 80 81 01 E4 */ lwz r4, 0x1e4(r1) +/* 800D4D50 000D1CB0 38 61 03 4C */ addi r3, r1, 0x34c +/* 800D4D54 000D1CB4 80 01 01 E8 */ lwz r0, 0x1e8(r1) +/* 800D4D58 000D1CB8 C0 61 01 EC */ lfs f3, 0x1ec(r1) +/* 800D4D5C 000D1CBC C0 41 01 F0 */ lfs f2, 0x1f0(r1) +/* 800D4D60 000D1CC0 C0 21 01 F4 */ lfs f1, 0x1f4(r1) +/* 800D4D64 000D1CC4 C0 01 01 F8 */ lfs f0, 0x1f8(r1) +/* 800D4D68 000D1CC8 90 81 03 4C */ stw r4, 0x34c(r1) +/* 800D4D6C 000D1CCC 90 01 03 50 */ stw r0, 0x350(r1) +/* 800D4D70 000D1CD0 D0 61 03 54 */ stfs f3, 0x354(r1) +/* 800D4D74 000D1CD4 D0 41 03 58 */ stfs f2, 0x358(r1) +/* 800D4D78 000D1CD8 D0 21 03 5C */ stfs f1, 0x35c(r1) +/* 800D4D7C 000D1CDC D0 01 03 60 */ stfs f0, 0x360(r1) +/* 800D4D80 000D1CE0 48 16 C9 5D */ bl FixupAngles__15SSpindleSegmentFv +/* 800D4D84 000D1CE4 7D E4 7B 78 */ mr r4, r15 +/* 800D4D88 000D1CE8 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800D4D8C 000D1CEC 48 16 C9 71 */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4D90 000D1CF0 80 A1 01 CC */ lwz r5, 0x1cc(r1) +/* 800D4D94 000D1CF4 7D E4 7B 78 */ mr r4, r15 +/* 800D4D98 000D1CF8 80 01 01 D0 */ lwz r0, 0x1d0(r1) +/* 800D4D9C 000D1CFC 38 61 01 B4 */ addi r3, r1, 0x1b4 +/* 800D4DA0 000D1D00 C0 61 01 D4 */ lfs f3, 0x1d4(r1) +/* 800D4DA4 000D1D04 C0 41 01 D8 */ lfs f2, 0x1d8(r1) +/* 800D4DA8 000D1D08 C0 21 01 DC */ lfs f1, 0x1dc(r1) +/* 800D4DAC 000D1D0C C0 01 01 E0 */ lfs f0, 0x1e0(r1) +/* 800D4DB0 000D1D10 90 A1 03 34 */ stw r5, 0x334(r1) +/* 800D4DB4 000D1D14 90 01 03 38 */ stw r0, 0x338(r1) +/* 800D4DB8 000D1D18 D0 61 03 3C */ stfs f3, 0x33c(r1) +/* 800D4DBC 000D1D1C D0 41 03 40 */ stfs f2, 0x340(r1) +/* 800D4DC0 000D1D20 D0 21 03 44 */ stfs f1, 0x344(r1) +/* 800D4DC4 000D1D24 D0 01 03 48 */ stfs f0, 0x348(r1) +/* 800D4DC8 000D1D28 48 16 C9 35 */ bl LoadSpindleSegment__FR12CInputStream +/* 800D4DCC 000D1D2C 80 81 01 B4 */ lwz r4, 0x1b4(r1) +/* 800D4DD0 000D1D30 38 61 03 1C */ addi r3, r1, 0x31c +/* 800D4DD4 000D1D34 80 01 01 B8 */ lwz r0, 0x1b8(r1) +/* 800D4DD8 000D1D38 C0 61 01 BC */ lfs f3, 0x1bc(r1) +/* 800D4DDC 000D1D3C C0 41 01 C0 */ lfs f2, 0x1c0(r1) +/* 800D4DE0 000D1D40 C0 21 01 C4 */ lfs f1, 0x1c4(r1) +/* 800D4DE4 000D1D44 C0 01 01 C8 */ lfs f0, 0x1c8(r1) +/* 800D4DE8 000D1D48 90 81 03 1C */ stw r4, 0x31c(r1) +/* 800D4DEC 000D1D4C 90 01 03 20 */ stw r0, 0x320(r1) +/* 800D4DF0 000D1D50 D0 61 03 24 */ stfs f3, 0x324(r1) +/* 800D4DF4 000D1D54 D0 41 03 28 */ stfs f2, 0x328(r1) +/* 800D4DF8 000D1D58 D0 21 03 2C */ stfs f1, 0x32c(r1) +/* 800D4DFC 000D1D5C D0 01 03 30 */ stfs f0, 0x330(r1) +/* 800D4E00 000D1D60 48 16 C8 DD */ bl FixupAngles__15SSpindleSegmentFv +/* 800D4E04 000D1D64 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D4E08 000D1D68 38 60 03 40 */ li r3, 0x340 +/* 800D4E0C 000D1D6C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D4E10 000D1D70 38 A0 00 00 */ li r5, 0 +/* 800D4E14 000D1D74 38 84 00 0D */ addi r4, r4, 0xd +/* 800D4E18 000D1D78 48 24 0A 55 */ bl __nw__FUlPCcPCc +/* 800D4E1C 000D1D7C 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800D4E20 000D1D80 41 82 04 C8 */ beq lbl_800D52E8 +/* 800D4E24 000D1D84 83 A1 03 84 */ lwz r29, 0x384(r1) +/* 800D4E28 000D1D88 80 01 03 7C */ lwz r0, 0x37c(r1) +/* 800D4E2C 000D1D8C 93 A1 05 60 */ stw r29, 0x560(r1) +/* 800D4E30 000D1D90 83 A1 03 88 */ lwz r29, 0x388(r1) +/* 800D4E34 000D1D94 90 01 01 3C */ stw r0, 0x13c(r1) +/* 800D4E38 000D1D98 80 01 05 60 */ lwz r0, 0x560(r1) +/* 800D4E3C 000D1D9C 93 A1 04 CC */ stw r29, 0x4cc(r1) +/* 800D4E40 000D1DA0 83 A1 03 8C */ lwz r29, 0x38c(r1) +/* 800D4E44 000D1DA4 90 01 01 44 */ stw r0, 0x144(r1) +/* 800D4E48 000D1DA8 80 01 04 CC */ lwz r0, 0x4cc(r1) +/* 800D4E4C 000D1DAC 93 A1 04 D0 */ stw r29, 0x4d0(r1) +/* 800D4E50 000D1DB0 83 A1 03 90 */ lwz r29, 0x390(r1) +/* 800D4E54 000D1DB4 90 01 01 48 */ stw r0, 0x148(r1) +/* 800D4E58 000D1DB8 80 01 04 D0 */ lwz r0, 0x4d0(r1) +/* 800D4E5C 000D1DBC 93 A1 04 D4 */ stw r29, 0x4d4(r1) +/* 800D4E60 000D1DC0 83 A1 03 94 */ lwz r29, 0x394(r1) +/* 800D4E64 000D1DC4 90 01 01 4C */ stw r0, 0x14c(r1) +/* 800D4E68 000D1DC8 80 01 04 D4 */ lwz r0, 0x4d4(r1) +/* 800D4E6C 000D1DCC 93 A1 04 D8 */ stw r29, 0x4d8(r1) +/* 800D4E70 000D1DD0 83 A1 03 98 */ lwz r29, 0x398(r1) +/* 800D4E74 000D1DD4 90 01 01 50 */ stw r0, 0x150(r1) +/* 800D4E78 000D1DD8 80 01 04 D8 */ lwz r0, 0x4d8(r1) +/* 800D4E7C 000D1DDC 93 A1 04 DC */ stw r29, 0x4dc(r1) +/* 800D4E80 000D1DE0 83 A1 03 9C */ lwz r29, 0x39c(r1) +/* 800D4E84 000D1DE4 90 01 01 24 */ stw r0, 0x124(r1) +/* 800D4E88 000D1DE8 80 01 04 DC */ lwz r0, 0x4dc(r1) +/* 800D4E8C 000D1DEC 93 A1 04 E0 */ stw r29, 0x4e0(r1) +/* 800D4E90 000D1DF0 83 A1 03 A0 */ lwz r29, 0x3a0(r1) +/* 800D4E94 000D1DF4 90 01 01 28 */ stw r0, 0x128(r1) +/* 800D4E98 000D1DF8 80 01 04 E0 */ lwz r0, 0x4e0(r1) +/* 800D4E9C 000D1DFC 93 A1 04 E4 */ stw r29, 0x4e4(r1) +/* 800D4EA0 000D1E00 83 A1 03 A4 */ lwz r29, 0x3a4(r1) +/* 800D4EA4 000D1E04 90 01 01 2C */ stw r0, 0x12c(r1) +/* 800D4EA8 000D1E08 80 01 04 E4 */ lwz r0, 0x4e4(r1) +/* 800D4EAC 000D1E0C 93 A1 04 E8 */ stw r29, 0x4e8(r1) +/* 800D4EB0 000D1E10 83 A1 03 A8 */ lwz r29, 0x3a8(r1) +/* 800D4EB4 000D1E14 90 01 01 30 */ stw r0, 0x130(r1) +/* 800D4EB8 000D1E18 80 01 04 E8 */ lwz r0, 0x4e8(r1) +/* 800D4EBC 000D1E1C 93 A1 04 EC */ stw r29, 0x4ec(r1) +/* 800D4EC0 000D1E20 83 A1 03 AC */ lwz r29, 0x3ac(r1) +/* 800D4EC4 000D1E24 90 01 01 34 */ stw r0, 0x134(r1) +/* 800D4EC8 000D1E28 80 01 04 EC */ lwz r0, 0x4ec(r1) +/* 800D4ECC 000D1E2C 93 A1 04 F0 */ stw r29, 0x4f0(r1) +/* 800D4ED0 000D1E30 83 A1 03 B0 */ lwz r29, 0x3b0(r1) +/* 800D4ED4 000D1E34 90 01 01 38 */ stw r0, 0x138(r1) +/* 800D4ED8 000D1E38 80 01 04 F0 */ lwz r0, 0x4f0(r1) +/* 800D4EDC 000D1E3C 93 A1 04 F4 */ stw r29, 0x4f4(r1) +/* 800D4EE0 000D1E40 83 A1 03 B4 */ lwz r29, 0x3b4(r1) +/* 800D4EE4 000D1E44 90 01 01 0C */ stw r0, 0x10c(r1) +/* 800D4EE8 000D1E48 80 01 04 F4 */ lwz r0, 0x4f4(r1) +/* 800D4EEC 000D1E4C 93 A1 04 F8 */ stw r29, 0x4f8(r1) +/* 800D4EF0 000D1E50 83 A1 03 B8 */ lwz r29, 0x3b8(r1) +/* 800D4EF4 000D1E54 90 01 01 10 */ stw r0, 0x110(r1) +/* 800D4EF8 000D1E58 80 01 04 F8 */ lwz r0, 0x4f8(r1) +/* 800D4EFC 000D1E5C 93 A1 04 FC */ stw r29, 0x4fc(r1) +/* 800D4F00 000D1E60 83 A1 03 BC */ lwz r29, 0x3bc(r1) +/* 800D4F04 000D1E64 90 01 01 14 */ stw r0, 0x114(r1) +/* 800D4F08 000D1E68 80 01 04 FC */ lwz r0, 0x4fc(r1) +/* 800D4F0C 000D1E6C 93 A1 05 00 */ stw r29, 0x500(r1) +/* 800D4F10 000D1E70 83 A1 03 C0 */ lwz r29, 0x3c0(r1) +/* 800D4F14 000D1E74 90 01 01 18 */ stw r0, 0x118(r1) +/* 800D4F18 000D1E78 80 01 05 00 */ lwz r0, 0x500(r1) +/* 800D4F1C 000D1E7C 93 A1 05 04 */ stw r29, 0x504(r1) +/* 800D4F20 000D1E80 83 A1 03 C4 */ lwz r29, 0x3c4(r1) +/* 800D4F24 000D1E84 90 01 01 1C */ stw r0, 0x11c(r1) +/* 800D4F28 000D1E88 80 01 05 04 */ lwz r0, 0x504(r1) +/* 800D4F2C 000D1E8C 93 A1 05 08 */ stw r29, 0x508(r1) +/* 800D4F30 000D1E90 83 A1 03 C8 */ lwz r29, 0x3c8(r1) +/* 800D4F34 000D1E94 90 01 01 20 */ stw r0, 0x120(r1) +/* 800D4F38 000D1E98 80 01 05 08 */ lwz r0, 0x508(r1) +/* 800D4F3C 000D1E9C 93 A1 05 0C */ stw r29, 0x50c(r1) +/* 800D4F40 000D1EA0 83 A1 03 CC */ lwz r29, 0x3cc(r1) +/* 800D4F44 000D1EA4 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800D4F48 000D1EA8 80 01 05 0C */ lwz r0, 0x50c(r1) +/* 800D4F4C 000D1EAC 93 A1 05 10 */ stw r29, 0x510(r1) +/* 800D4F50 000D1EB0 83 A1 03 D0 */ lwz r29, 0x3d0(r1) +/* 800D4F54 000D1EB4 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 800D4F58 000D1EB8 80 01 05 10 */ lwz r0, 0x510(r1) +/* 800D4F5C 000D1EBC 93 A1 05 14 */ stw r29, 0x514(r1) +/* 800D4F60 000D1EC0 83 A1 03 D4 */ lwz r29, 0x3d4(r1) +/* 800D4F64 000D1EC4 90 01 00 FC */ stw r0, 0xfc(r1) +/* 800D4F68 000D1EC8 80 01 05 14 */ lwz r0, 0x514(r1) +/* 800D4F6C 000D1ECC 93 A1 05 18 */ stw r29, 0x518(r1) +/* 800D4F70 000D1ED0 83 A1 03 D8 */ lwz r29, 0x3d8(r1) +/* 800D4F74 000D1ED4 90 01 01 00 */ stw r0, 0x100(r1) +/* 800D4F78 000D1ED8 80 01 05 18 */ lwz r0, 0x518(r1) +/* 800D4F7C 000D1EDC 93 A1 05 1C */ stw r29, 0x51c(r1) +/* 800D4F80 000D1EE0 83 A1 03 DC */ lwz r29, 0x3dc(r1) +/* 800D4F84 000D1EE4 90 01 01 04 */ stw r0, 0x104(r1) +/* 800D4F88 000D1EE8 80 01 05 1C */ lwz r0, 0x51c(r1) +/* 800D4F8C 000D1EEC 93 A1 05 20 */ stw r29, 0x520(r1) +/* 800D4F90 000D1EF0 83 A1 03 E0 */ lwz r29, 0x3e0(r1) +/* 800D4F94 000D1EF4 90 01 01 08 */ stw r0, 0x108(r1) +/* 800D4F98 000D1EF8 80 01 05 20 */ lwz r0, 0x520(r1) +/* 800D4F9C 000D1EFC 93 A1 05 24 */ stw r29, 0x524(r1) +/* 800D4FA0 000D1F00 83 A1 03 E4 */ lwz r29, 0x3e4(r1) +/* 800D4FA4 000D1F04 90 01 00 DC */ stw r0, 0xdc(r1) +/* 800D4FA8 000D1F08 80 01 05 24 */ lwz r0, 0x524(r1) +/* 800D4FAC 000D1F0C 93 A1 05 28 */ stw r29, 0x528(r1) +/* 800D4FB0 000D1F10 83 A1 03 E8 */ lwz r29, 0x3e8(r1) +/* 800D4FB4 000D1F14 90 01 00 E0 */ stw r0, 0xe0(r1) +/* 800D4FB8 000D1F18 80 01 05 28 */ lwz r0, 0x528(r1) +/* 800D4FBC 000D1F1C 93 A1 05 2C */ stw r29, 0x52c(r1) +/* 800D4FC0 000D1F20 83 A1 03 EC */ lwz r29, 0x3ec(r1) +/* 800D4FC4 000D1F24 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800D4FC8 000D1F28 80 01 05 2C */ lwz r0, 0x52c(r1) +/* 800D4FCC 000D1F2C 93 A1 05 30 */ stw r29, 0x530(r1) +/* 800D4FD0 000D1F30 83 A1 03 F0 */ lwz r29, 0x3f0(r1) +/* 800D4FD4 000D1F34 90 01 00 E8 */ stw r0, 0xe8(r1) +/* 800D4FD8 000D1F38 80 01 05 30 */ lwz r0, 0x530(r1) +/* 800D4FDC 000D1F3C 83 81 03 1C */ lwz r28, 0x31c(r1) +/* 800D4FE0 000D1F40 83 61 03 20 */ lwz r27, 0x320(r1) +/* 800D4FE4 000D1F44 83 41 03 24 */ lwz r26, 0x324(r1) +/* 800D4FE8 000D1F48 83 21 03 28 */ lwz r25, 0x328(r1) +/* 800D4FEC 000D1F4C 83 01 03 2C */ lwz r24, 0x32c(r1) +/* 800D4FF0 000D1F50 82 E1 03 30 */ lwz r23, 0x330(r1) +/* 800D4FF4 000D1F54 82 C1 03 34 */ lwz r22, 0x334(r1) +/* 800D4FF8 000D1F58 82 A1 03 38 */ lwz r21, 0x338(r1) +/* 800D4FFC 000D1F5C 82 81 03 3C */ lwz r20, 0x33c(r1) +/* 800D5000 000D1F60 82 61 03 40 */ lwz r19, 0x340(r1) +/* 800D5004 000D1F64 82 41 03 44 */ lwz r18, 0x344(r1) +/* 800D5008 000D1F68 82 21 03 48 */ lwz r17, 0x348(r1) +/* 800D500C 000D1F6C 82 01 03 4C */ lwz r16, 0x34c(r1) +/* 800D5010 000D1F70 81 E1 03 50 */ lwz r15, 0x350(r1) +/* 800D5014 000D1F74 81 81 03 54 */ lwz r12, 0x354(r1) +/* 800D5018 000D1F78 81 61 03 58 */ lwz r11, 0x358(r1) +/* 800D501C 000D1F7C 81 41 03 5C */ lwz r10, 0x35c(r1) +/* 800D5020 000D1F80 81 21 03 60 */ lwz r9, 0x360(r1) +/* 800D5024 000D1F84 81 01 03 64 */ lwz r8, 0x364(r1) +/* 800D5028 000D1F88 80 E1 03 68 */ lwz r7, 0x368(r1) +/* 800D502C 000D1F8C 80 C1 03 6C */ lwz r6, 0x36c(r1) +/* 800D5030 000D1F90 80 A1 03 70 */ lwz r5, 0x370(r1) +/* 800D5034 000D1F94 80 81 03 74 */ lwz r4, 0x374(r1) +/* 800D5038 000D1F98 80 61 03 78 */ lwz r3, 0x378(r1) +/* 800D503C 000D1F9C 83 C1 03 80 */ lwz r30, 0x380(r1) +/* 800D5040 000D1FA0 90 01 00 EC */ stw r0, 0xec(r1) +/* 800D5044 000D1FA4 7F A0 EB 78 */ mr r0, r29 +/* 800D5048 000D1FA8 93 A1 05 34 */ stw r29, 0x534(r1) +/* 800D504C 000D1FAC 93 81 01 9C */ stw r28, 0x19c(r1) +/* 800D5050 000D1FB0 93 61 01 A0 */ stw r27, 0x1a0(r1) +/* 800D5054 000D1FB4 93 41 01 A4 */ stw r26, 0x1a4(r1) +/* 800D5058 000D1FB8 93 21 01 A8 */ stw r25, 0x1a8(r1) +/* 800D505C 000D1FBC 93 01 01 AC */ stw r24, 0x1ac(r1) +/* 800D5060 000D1FC0 92 E1 01 B0 */ stw r23, 0x1b0(r1) +/* 800D5064 000D1FC4 92 C1 01 84 */ stw r22, 0x184(r1) +/* 800D5068 000D1FC8 92 A1 01 88 */ stw r21, 0x188(r1) +/* 800D506C 000D1FCC 92 81 01 8C */ stw r20, 0x18c(r1) +/* 800D5070 000D1FD0 92 61 01 90 */ stw r19, 0x190(r1) +/* 800D5074 000D1FD4 92 41 01 94 */ stw r18, 0x194(r1) +/* 800D5078 000D1FD8 92 21 01 98 */ stw r17, 0x198(r1) +/* 800D507C 000D1FDC 92 01 01 6C */ stw r16, 0x16c(r1) +/* 800D5080 000D1FE0 91 E1 01 70 */ stw r15, 0x170(r1) +/* 800D5084 000D1FE4 91 81 01 74 */ stw r12, 0x174(r1) +/* 800D5088 000D1FE8 91 61 01 78 */ stw r11, 0x178(r1) +/* 800D508C 000D1FEC 91 41 01 7C */ stw r10, 0x17c(r1) +/* 800D5090 000D1FF0 91 21 01 80 */ stw r9, 0x180(r1) +/* 800D5094 000D1FF4 91 01 01 54 */ stw r8, 0x154(r1) +/* 800D5098 000D1FF8 90 E1 01 58 */ stw r7, 0x158(r1) +/* 800D509C 000D1FFC 90 C1 01 5C */ stw r6, 0x15c(r1) +/* 800D50A0 000D2000 90 A1 01 60 */ stw r5, 0x160(r1) +/* 800D50A4 000D2004 90 81 01 64 */ stw r4, 0x164(r1) +/* 800D50A8 000D2008 90 61 01 68 */ stw r3, 0x168(r1) +/* 800D50AC 000D200C 93 C1 01 40 */ stw r30, 0x140(r1) +/* 800D50B0 000D2010 90 01 00 F0 */ stw r0, 0xf0(r1) +/* 800D50B4 000D2014 80 01 03 F4 */ lwz r0, 0x3f4(r1) +/* 800D50B8 000D2018 7D C4 73 78 */ mr r4, r14 +/* 800D50BC 000D201C 81 E1 04 5C */ lwz r15, 0x45c(r1) +/* 800D50C0 000D2020 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D50C4 000D2024 90 01 05 38 */ stw r0, 0x538(r1) +/* 800D50C8 000D2028 80 01 04 54 */ lwz r0, 0x454(r1) +/* 800D50CC 000D202C 91 E1 05 64 */ stw r15, 0x564(r1) +/* 800D50D0 000D2030 81 E1 04 60 */ lwz r15, 0x460(r1) +/* 800D50D4 000D2034 90 01 00 64 */ stw r0, 0x64(r1) +/* 800D50D8 000D2038 80 01 05 64 */ lwz r0, 0x564(r1) +/* 800D50DC 000D203C 91 E1 05 3C */ stw r15, 0x53c(r1) +/* 800D50E0 000D2040 81 E1 04 64 */ lwz r15, 0x464(r1) +/* 800D50E4 000D2044 90 01 00 6C */ stw r0, 0x6c(r1) +/* 800D50E8 000D2048 80 01 05 3C */ lwz r0, 0x53c(r1) +/* 800D50EC 000D204C 91 E1 05 40 */ stw r15, 0x540(r1) +/* 800D50F0 000D2050 81 E1 04 68 */ lwz r15, 0x468(r1) +/* 800D50F4 000D2054 90 01 00 70 */ stw r0, 0x70(r1) +/* 800D50F8 000D2058 80 01 05 40 */ lwz r0, 0x540(r1) +/* 800D50FC 000D205C 91 E1 05 44 */ stw r15, 0x544(r1) +/* 800D5100 000D2060 81 E1 04 6C */ lwz r15, 0x46c(r1) +/* 800D5104 000D2064 90 01 00 74 */ stw r0, 0x74(r1) +/* 800D5108 000D2068 80 01 05 44 */ lwz r0, 0x544(r1) +/* 800D510C 000D206C 91 E1 05 48 */ stw r15, 0x548(r1) +/* 800D5110 000D2070 81 E1 04 70 */ lwz r15, 0x470(r1) +/* 800D5114 000D2074 90 01 00 78 */ stw r0, 0x78(r1) +/* 800D5118 000D2078 80 01 05 48 */ lwz r0, 0x548(r1) +/* 800D511C 000D207C 91 E1 05 4C */ stw r15, 0x54c(r1) +/* 800D5120 000D2080 81 E1 04 74 */ lwz r15, 0x474(r1) +/* 800D5124 000D2084 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800D5128 000D2088 80 01 05 4C */ lwz r0, 0x54c(r1) +/* 800D512C 000D208C 91 E1 05 50 */ stw r15, 0x550(r1) +/* 800D5130 000D2090 81 E1 04 78 */ lwz r15, 0x478(r1) +/* 800D5134 000D2094 90 01 00 50 */ stw r0, 0x50(r1) +/* 800D5138 000D2098 80 01 05 50 */ lwz r0, 0x550(r1) +/* 800D513C 000D209C 91 E1 05 54 */ stw r15, 0x554(r1) +/* 800D5140 000D20A0 81 E1 04 7C */ lwz r15, 0x47c(r1) +/* 800D5144 000D20A4 90 01 00 54 */ stw r0, 0x54(r1) +/* 800D5148 000D20A8 80 01 05 54 */ lwz r0, 0x554(r1) +/* 800D514C 000D20AC 91 E1 05 58 */ stw r15, 0x558(r1) +/* 800D5150 000D20B0 81 E1 04 80 */ lwz r15, 0x480(r1) +/* 800D5154 000D20B4 90 01 00 58 */ stw r0, 0x58(r1) +/* 800D5158 000D20B8 80 01 05 58 */ lwz r0, 0x558(r1) +/* 800D515C 000D20BC 91 E1 05 5C */ stw r15, 0x55c(r1) +/* 800D5160 000D20C0 82 01 03 F8 */ lwz r16, 0x3f8(r1) +/* 800D5164 000D20C4 82 21 03 FC */ lwz r17, 0x3fc(r1) +/* 800D5168 000D20C8 82 41 04 00 */ lwz r18, 0x400(r1) +/* 800D516C 000D20CC 82 61 04 04 */ lwz r19, 0x404(r1) +/* 800D5170 000D20D0 82 81 04 08 */ lwz r20, 0x408(r1) +/* 800D5174 000D20D4 82 A1 04 0C */ lwz r21, 0x40c(r1) +/* 800D5178 000D20D8 82 C1 04 10 */ lwz r22, 0x410(r1) +/* 800D517C 000D20DC 82 E1 04 14 */ lwz r23, 0x414(r1) +/* 800D5180 000D20E0 83 01 04 18 */ lwz r24, 0x418(r1) +/* 800D5184 000D20E4 83 21 04 1C */ lwz r25, 0x41c(r1) +/* 800D5188 000D20E8 83 41 04 20 */ lwz r26, 0x420(r1) +/* 800D518C 000D20EC 83 61 04 24 */ lwz r27, 0x424(r1) +/* 800D5190 000D20F0 83 81 04 28 */ lwz r28, 0x428(r1) +/* 800D5194 000D20F4 83 A1 04 2C */ lwz r29, 0x42c(r1) +/* 800D5198 000D20F8 83 C1 04 30 */ lwz r30, 0x430(r1) +/* 800D519C 000D20FC 81 81 04 34 */ lwz r12, 0x434(r1) +/* 800D51A0 000D2100 81 61 04 38 */ lwz r11, 0x438(r1) +/* 800D51A4 000D2104 81 41 04 3C */ lwz r10, 0x43c(r1) +/* 800D51A8 000D2108 81 21 04 40 */ lwz r9, 0x440(r1) +/* 800D51AC 000D210C 81 01 04 44 */ lwz r8, 0x444(r1) +/* 800D51B0 000D2110 80 E1 04 48 */ lwz r7, 0x448(r1) +/* 800D51B4 000D2114 80 C1 04 4C */ lwz r6, 0x44c(r1) +/* 800D51B8 000D2118 80 A1 04 50 */ lwz r5, 0x450(r1) +/* 800D51BC 000D211C 81 C1 04 58 */ lwz r14, 0x458(r1) +/* 800D51C0 000D2120 81 E1 05 38 */ lwz r15, 0x538(r1) +/* 800D51C4 000D2124 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800D51C8 000D2128 80 01 05 5C */ lwz r0, 0x55c(r1) +/* 800D51CC 000D212C 91 E1 00 C4 */ stw r15, 0xc4(r1) +/* 800D51D0 000D2130 92 01 00 C8 */ stw r16, 0xc8(r1) +/* 800D51D4 000D2134 92 21 00 CC */ stw r17, 0xcc(r1) +/* 800D51D8 000D2138 92 41 00 D0 */ stw r18, 0xd0(r1) +/* 800D51DC 000D213C 92 61 00 D4 */ stw r19, 0xd4(r1) +/* 800D51E0 000D2140 92 81 00 D8 */ stw r20, 0xd8(r1) +/* 800D51E4 000D2144 92 A1 00 AC */ stw r21, 0xac(r1) +/* 800D51E8 000D2148 92 C1 00 B0 */ stw r22, 0xb0(r1) +/* 800D51EC 000D214C 92 E1 00 B4 */ stw r23, 0xb4(r1) +/* 800D51F0 000D2150 93 01 00 B8 */ stw r24, 0xb8(r1) +/* 800D51F4 000D2154 93 21 00 BC */ stw r25, 0xbc(r1) +/* 800D51F8 000D2158 93 41 00 C0 */ stw r26, 0xc0(r1) +/* 800D51FC 000D215C 93 61 00 94 */ stw r27, 0x94(r1) +/* 800D5200 000D2160 93 81 00 98 */ stw r28, 0x98(r1) +/* 800D5204 000D2164 93 A1 00 9C */ stw r29, 0x9c(r1) +/* 800D5208 000D2168 93 C1 00 A0 */ stw r30, 0xa0(r1) +/* 800D520C 000D216C 91 81 00 A4 */ stw r12, 0xa4(r1) +/* 800D5210 000D2170 91 61 00 A8 */ stw r11, 0xa8(r1) +/* 800D5214 000D2174 91 41 00 7C */ stw r10, 0x7c(r1) +/* 800D5218 000D2178 91 21 00 80 */ stw r9, 0x80(r1) +/* 800D521C 000D217C 91 01 00 84 */ stw r8, 0x84(r1) +/* 800D5220 000D2180 90 E1 00 88 */ stw r7, 0x88(r1) +/* 800D5224 000D2184 90 C1 00 8C */ stw r6, 0x8c(r1) +/* 800D5228 000D2188 90 A1 00 90 */ stw r5, 0x90(r1) +/* 800D522C 000D218C 91 C1 00 68 */ stw r14, 0x68(r1) +/* 800D5230 000D2190 90 01 00 60 */ stw r0, 0x60(r1) +/* 800D5234 000D2194 4B F7 7E A9 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D5238 000D2198 A0 61 00 44 */ lhz r3, 0x44(r1) +/* 800D523C 000D219C 38 A1 00 64 */ addi r5, r1, 0x64 +/* 800D5240 000D21A0 38 E1 00 7C */ addi r7, r1, 0x7c +/* 800D5244 000D21A4 38 01 00 94 */ addi r0, r1, 0x94 +/* 800D5248 000D21A8 B0 61 00 48 */ sth r3, 0x48(r1) +/* 800D524C 000D21AC 38 61 00 AC */ addi r3, r1, 0xac +/* 800D5250 000D21B0 38 C1 00 C4 */ addi r6, r1, 0xc4 +/* 800D5254 000D21B4 38 81 00 DC */ addi r4, r1, 0xdc +/* 800D5258 000D21B8 90 A1 00 08 */ stw r5, 8(r1) +/* 800D525C 000D21BC 38 A1 00 F4 */ addi r5, r1, 0xf4 +/* 800D5260 000D21C0 3A 21 01 0C */ addi r17, r1, 0x10c +/* 800D5264 000D21C4 3A 01 01 24 */ addi r16, r1, 0x124 +/* 800D5268 000D21C8 90 E1 00 0C */ stw r7, 0xc(r1) +/* 800D526C 000D21CC 39 E1 01 3C */ addi r15, r1, 0x13c +/* 800D5270 000D21D0 39 C1 01 54 */ addi r14, r1, 0x154 +/* 800D5274 000D21D4 39 81 01 6C */ addi r12, r1, 0x16c +/* 800D5278 000D21D8 90 01 00 10 */ stw r0, 0x10(r1) +/* 800D527C 000D21DC 39 61 01 84 */ addi r11, r1, 0x184 +/* 800D5280 000D21E0 FC 20 F8 90 */ fmr f1, f31 +/* 800D5284 000D21E4 38 01 01 9C */ addi r0, r1, 0x19c +/* 800D5288 000D21E8 90 61 00 14 */ stw r3, 0x14(r1) +/* 800D528C 000D21EC FC 40 F0 90 */ fmr f2, f30 +/* 800D5290 000D21F0 FC 60 E8 90 */ fmr f3, f29 +/* 800D5294 000D21F4 89 01 04 C8 */ lbz r8, 0x4c8(r1) +/* 800D5298 000D21F8 90 C1 00 18 */ stw r6, 0x18(r1) +/* 800D529C 000D21FC FC 80 E0 90 */ fmr f4, f28 +/* 800D52A0 000D2200 80 C1 00 40 */ lwz r6, 0x40(r1) +/* 800D52A4 000D2204 7F E3 FB 78 */ mr r3, r31 +/* 800D52A8 000D2208 90 81 00 1C */ stw r4, 0x1c(r1) +/* 800D52AC 000D220C 38 81 00 48 */ addi r4, r1, 0x48 +/* 800D52B0 000D2210 81 21 04 C4 */ lwz r9, 0x4c4(r1) +/* 800D52B4 000D2214 90 A1 00 20 */ stw r5, 0x20(r1) +/* 800D52B8 000D2218 38 A1 04 84 */ addi r5, r1, 0x484 +/* 800D52BC 000D221C 38 E1 04 94 */ addi r7, r1, 0x494 +/* 800D52C0 000D2220 39 41 00 4C */ addi r10, r1, 0x4c +/* 800D52C4 000D2224 92 21 00 24 */ stw r17, 0x24(r1) +/* 800D52C8 000D2228 92 01 00 28 */ stw r16, 0x28(r1) +/* 800D52CC 000D222C 91 E1 00 2C */ stw r15, 0x2c(r1) +/* 800D52D0 000D2230 91 C1 00 30 */ stw r14, 0x30(r1) +/* 800D52D4 000D2234 91 81 00 34 */ stw r12, 0x34(r1) +/* 800D52D8 000D2238 91 61 00 38 */ stw r11, 0x38(r1) +/* 800D52DC 000D223C 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800D52E0 000D2240 48 16 BE 71 */ bl __ct__20CScriptSpindleCameraF9TUniqueIdRCQ24rstl12basic_stringRC11CEntityInfoRC12CTransform4fbiffffRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABoxRC6CAABox +/* 800D52E4 000D2244 7C 7F 1B 78 */ mr r31, r3 +lbl_800D52E8: +/* 800D52E8 000D2248 38 61 04 84 */ addi r3, r1, 0x484 +/* 800D52EC 000D224C 48 26 87 F5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D52F0 000D2250 7F E3 FB 78 */ mr r3, r31 +lbl_800D52F4: +/* 800D52F4 000D2254 E3 E1 05 E8 */ psq_l f31, 1512(r1), 0, qr0 +/* 800D52F8 000D2258 CB E1 05 E0 */ lfd f31, 0x5e0(r1) +/* 800D52FC 000D225C E3 C1 05 D8 */ psq_l f30, 1496(r1), 0, qr0 +/* 800D5300 000D2260 CB C1 05 D0 */ lfd f30, 0x5d0(r1) +/* 800D5304 000D2264 E3 A1 05 C8 */ psq_l f29, 1480(r1), 0, qr0 +/* 800D5308 000D2268 CB A1 05 C0 */ lfd f29, 0x5c0(r1) +/* 800D530C 000D226C E3 81 05 B8 */ psq_l f28, 1464(r1), 0, qr0 +/* 800D5310 000D2270 CB 81 05 B0 */ lfd f28, 0x5b0(r1) +/* 800D5314 000D2274 B9 C1 05 68 */ lmw r14, 0x568(r1) +/* 800D5318 000D2278 80 01 05 F4 */ lwz r0, 0x5f4(r1) +/* 800D531C 000D227C 7C 08 03 A6 */ mtlr r0 +/* 800D5320 000D2280 38 21 05 F0 */ addi r1, r1, 0x5f0 +/* 800D5324 000D2284 4E 80 00 20 */ blr + +.global LoadPathCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPathCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D5328 000D2288 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 800D532C 000D228C 7C 08 02 A6 */ mflr r0 +/* 800D5330 000D2290 90 01 00 94 */ stw r0, 0x94(r1) +/* 800D5334 000D2294 39 61 00 90 */ addi r11, r1, 0x90 +/* 800D5338 000D2298 48 2B 46 AD */ bl func_803899E4 +/* 800D533C 000D229C BF 41 00 50 */ stmw r26, 0x50(r1) +/* 800D5340 000D22A0 2C 05 00 0F */ cmpwi r5, 0xf +/* 800D5344 000D22A4 7C 7A 1B 78 */ mr r26, r3 +/* 800D5348 000D22A8 7C 9E 23 78 */ mr r30, r4 +/* 800D534C 000D22AC 7C DB 33 78 */ mr r27, r6 +/* 800D5350 000D22B0 40 81 00 0C */ ble lbl_800D535C +/* 800D5354 000D22B4 38 60 00 00 */ li r3, 0 +/* 800D5358 000D22B8 48 00 00 F4 */ b lbl_800D544C +lbl_800D535C: +/* 800D535C 000D22BC 7F 45 D3 78 */ mr r5, r26 +/* 800D5360 000D22C0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D5364 000D22C4 48 00 51 61 */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D5368 000D22C8 7F C3 F3 78 */ mr r3, r30 +/* 800D536C 000D22CC 48 26 99 71 */ bl ReadBool__12CInputStreamFv +/* 800D5370 000D22D0 7C 7F 1B 78 */ mr r31, r3 +/* 800D5374 000D22D4 7F C3 F3 78 */ mr r3, r30 +/* 800D5378 000D22D8 48 00 48 85 */ bl LoadParameterFlags__FR12CInputStream +/* 800D537C 000D22DC 7C 60 1B 78 */ mr r0, r3 +/* 800D5380 000D22E0 7F C3 F3 78 */ mr r3, r30 +/* 800D5384 000D22E4 7C 1D 03 78 */ mr r29, r0 +/* 800D5388 000D22E8 48 26 98 A1 */ bl ReadFloat__12CInputStreamFv +/* 800D538C 000D22EC FF E0 08 90 */ fmr f31, f1 +/* 800D5390 000D22F0 7F C3 F3 78 */ mr r3, r30 +/* 800D5394 000D22F4 48 26 98 95 */ bl ReadFloat__12CInputStreamFv +/* 800D5398 000D22F8 FF C0 08 90 */ fmr f30, f1 +/* 800D539C 000D22FC 7F C3 F3 78 */ mr r3, r30 +/* 800D53A0 000D2300 48 26 98 89 */ bl ReadFloat__12CInputStreamFv +/* 800D53A4 000D2304 FF A0 08 90 */ fmr f29, f1 +/* 800D53A8 000D2308 7F C3 F3 78 */ mr r3, r30 +/* 800D53AC 000D230C 48 26 98 D9 */ bl ReadLong__12CInputStreamFv +/* 800D53B0 000D2310 7C 60 1B 78 */ mr r0, r3 +/* 800D53B4 000D2314 7F C3 F3 78 */ mr r3, r30 +/* 800D53B8 000D2318 7C 1C 03 78 */ mr r28, r0 +/* 800D53BC 000D231C 48 26 98 6D */ bl ReadFloat__12CInputStreamFv +/* 800D53C0 000D2320 FF 80 08 90 */ fmr f28, f1 +/* 800D53C4 000D2324 7F C3 F3 78 */ mr r3, r30 +/* 800D53C8 000D2328 48 26 98 61 */ bl ReadFloat__12CInputStreamFv +/* 800D53CC 000D232C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D53D0 000D2330 FF 60 08 90 */ fmr f27, f1 +/* 800D53D4 000D2334 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D53D8 000D2338 38 A0 00 00 */ li r5, 0 +/* 800D53DC 000D233C 38 60 01 F8 */ li r3, 0x1f8 +/* 800D53E0 000D2340 38 84 00 0D */ addi r4, r4, 0xd +/* 800D53E4 000D2344 48 24 04 89 */ bl __nw__FUlPCcPCc +/* 800D53E8 000D2348 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800D53EC 000D234C 41 82 00 54 */ beq lbl_800D5440 +/* 800D53F0 000D2350 7F 44 D3 78 */ mr r4, r26 +/* 800D53F4 000D2354 38 61 00 08 */ addi r3, r1, 8 +/* 800D53F8 000D2358 4B F7 7C E5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D53FC 000D235C A0 01 00 08 */ lhz r0, 8(r1) +/* 800D5400 000D2360 FC 20 F8 90 */ fmr f1, f31 +/* 800D5404 000D2364 FC 40 F0 90 */ fmr f2, f30 +/* 800D5408 000D2368 7F C3 F3 78 */ mr r3, r30 +/* 800D540C 000D236C FC 60 E8 90 */ fmr f3, f29 +/* 800D5410 000D2370 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D5414 000D2374 FC 80 E0 90 */ fmr f4, f28 +/* 800D5418 000D2378 FC A0 D8 90 */ fmr f5, f27 +/* 800D541C 000D237C 7F 66 DB 78 */ mr r6, r27 +/* 800D5420 000D2380 7F E8 FB 78 */ mr r8, r31 +/* 800D5424 000D2384 7F A9 EB 78 */ mr r9, r29 +/* 800D5428 000D2388 7F 8A E3 78 */ mr r10, r28 +/* 800D542C 000D238C 38 81 00 0C */ addi r4, r1, 0xc +/* 800D5430 000D2390 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D5434 000D2394 38 E1 00 20 */ addi r7, r1, 0x20 +/* 800D5438 000D2398 48 05 92 E1 */ bl "__ct__11CPathCameraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbbbbbfffffffQ211CPathCamera22EInitialSplinePosition" +/* 800D543C 000D239C 7C 7E 1B 78 */ mr r30, r3 +lbl_800D5440: +/* 800D5440 000D23A0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D5444 000D23A4 48 26 86 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D5448 000D23A8 7F C3 F3 78 */ mr r3, r30 +lbl_800D544C: +/* 800D544C 000D23AC 39 61 00 90 */ addi r11, r1, 0x90 +/* 800D5450 000D23B0 48 2B 45 E1 */ bl func_80389A30 +/* 800D5454 000D23B4 BB 41 00 50 */ lmw r26, 0x50(r1) +/* 800D5458 000D23B8 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800D545C 000D23BC 7C 08 03 A6 */ mtlr r0 +/* 800D5460 000D23C0 38 21 00 90 */ addi r1, r1, 0x90 +/* 800D5464 000D23C4 4E 80 00 20 */ blr + +.global LoadCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadCamera__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D5468 000D23C8 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800D546C 000D23CC 7C 08 02 A6 */ mflr r0 +/* 800D5470 000D23D0 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800D5474 000D23D4 DB E1 00 D0 */ stfd f31, 0xd0(r1) +/* 800D5478 000D23D8 F3 E1 00 D8 */ psq_st f31, 216(r1), 0, qr0 +/* 800D547C 000D23DC DB C1 00 C0 */ stfd f30, 0xc0(r1) +/* 800D5480 000D23E0 F3 C1 00 C8 */ psq_st f30, 200(r1), 0, qr0 +/* 800D5484 000D23E4 DB A1 00 B0 */ stfd f29, 0xb0(r1) +/* 800D5488 000D23E8 F3 A1 00 B8 */ psq_st f29, 184(r1), 0, qr0 +/* 800D548C 000D23EC DB 81 00 A0 */ stfd f28, 0xa0(r1) +/* 800D5490 000D23F0 F3 81 00 A8 */ psq_st f28, 168(r1), 0, qr0 +/* 800D5494 000D23F4 DB 61 00 90 */ stfd f27, 0x90(r1) +/* 800D5498 000D23F8 F3 61 00 98 */ psq_st f27, 152(r1), 0, qr0 +/* 800D549C 000D23FC BE 61 00 5C */ stmw r19, 0x5c(r1) +/* 800D54A0 000D2400 7C B7 2B 78 */ mr r23, r5 +/* 800D54A4 000D2404 7C 78 1B 78 */ mr r24, r3 +/* 800D54A8 000D2408 2C 17 00 0E */ cmpwi r23, 0xe +/* 800D54AC 000D240C 7C 9A 23 78 */ mr r26, r4 +/* 800D54B0 000D2410 7C D9 33 78 */ mr r25, r6 +/* 800D54B4 000D2414 38 00 00 00 */ li r0, 0 +/* 800D54B8 000D2418 41 80 00 10 */ blt lbl_800D54C8 +/* 800D54BC 000D241C 2C 17 00 0F */ cmpwi r23, 0xf +/* 800D54C0 000D2420 41 81 00 08 */ bgt lbl_800D54C8 +/* 800D54C4 000D2424 38 00 00 01 */ li r0, 1 +lbl_800D54C8: +/* 800D54C8 000D2428 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800D54CC 000D242C 40 82 00 0C */ bne lbl_800D54D8 +/* 800D54D0 000D2430 38 60 00 00 */ li r3, 0 +/* 800D54D4 000D2434 48 00 02 30 */ b lbl_800D5704 +lbl_800D54D8: +/* 800D54D8 000D2438 7F 44 D3 78 */ mr r4, r26 +/* 800D54DC 000D243C 7F 05 C3 78 */ mr r5, r24 +/* 800D54E0 000D2440 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D54E4 000D2444 48 00 4F E1 */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D54E8 000D2448 7F 43 D3 78 */ mr r3, r26 +/* 800D54EC 000D244C 48 26 97 F1 */ bl ReadBool__12CInputStreamFv +/* 800D54F0 000D2450 7C 7B 1B 78 */ mr r27, r3 +/* 800D54F4 000D2454 7F 43 D3 78 */ mr r3, r26 +/* 800D54F8 000D2458 48 26 97 31 */ bl ReadFloat__12CInputStreamFv +/* 800D54FC 000D245C FF C0 08 90 */ fmr f30, f1 +/* 800D5500 000D2460 7F 43 D3 78 */ mr r3, r26 +/* 800D5504 000D2464 48 26 97 D9 */ bl ReadBool__12CInputStreamFv +/* 800D5508 000D2468 7C 75 1B 78 */ mr r21, r3 +/* 800D550C 000D246C 7F 43 D3 78 */ mr r3, r26 +/* 800D5510 000D2470 48 26 97 CD */ bl ReadBool__12CInputStreamFv +/* 800D5514 000D2474 7C 74 1B 78 */ mr r20, r3 +/* 800D5518 000D2478 7F 43 D3 78 */ mr r3, r26 +/* 800D551C 000D247C 48 26 97 C1 */ bl ReadBool__12CInputStreamFv +/* 800D5520 000D2480 7C 73 1B 78 */ mr r19, r3 +/* 800D5524 000D2484 7F 43 D3 78 */ mr r3, r26 +/* 800D5528 000D2488 48 26 97 B5 */ bl ReadBool__12CInputStreamFv +/* 800D552C 000D248C 7C 7C 1B 78 */ mr r28, r3 +/* 800D5530 000D2490 7F 43 D3 78 */ mr r3, r26 +/* 800D5534 000D2494 48 26 97 A9 */ bl ReadBool__12CInputStreamFv +/* 800D5538 000D2498 7C 7D 1B 78 */ mr r29, r3 +/* 800D553C 000D249C 7F 43 D3 78 */ mr r3, r26 +/* 800D5540 000D24A0 48 26 97 9D */ bl ReadBool__12CInputStreamFv +/* 800D5544 000D24A4 7C 76 1B 78 */ mr r22, r3 +/* 800D5548 000D24A8 7F 43 D3 78 */ mr r3, r26 +/* 800D554C 000D24AC 48 26 97 91 */ bl ReadBool__12CInputStreamFv +/* 800D5550 000D24B0 7C 7E 1B 78 */ mr r30, r3 +/* 800D5554 000D24B4 7F 43 D3 78 */ mr r3, r26 +/* 800D5558 000D24B8 48 26 96 D1 */ bl ReadFloat__12CInputStreamFv +/* 800D555C 000D24BC FF E0 08 90 */ fmr f31, f1 +/* 800D5560 000D24C0 7F 43 D3 78 */ mr r3, r26 +/* 800D5564 000D24C4 48 26 97 79 */ bl ReadBool__12CInputStreamFv +/* 800D5568 000D24C8 2C 17 00 0E */ cmpwi r23, 0xe +/* 800D556C 000D24CC 7C 7F 1B 78 */ mr r31, r3 +/* 800D5570 000D24D0 40 81 00 14 */ ble lbl_800D5584 +/* 800D5574 000D24D4 7F 43 D3 78 */ mr r3, r26 +/* 800D5578 000D24D8 48 26 97 65 */ bl ReadBool__12CInputStreamFv +/* 800D557C 000D24DC 7C 7A 1B 78 */ mr r26, r3 +/* 800D5580 000D24E0 48 00 00 08 */ b lbl_800D5588 +lbl_800D5584: +/* 800D5584 000D24E4 3B 40 00 00 */ li r26, 0 +lbl_800D5588: +/* 800D5588 000D24E8 4B F3 6B 41 */ bl DefaultNearPlane__14CCameraManagerFv +/* 800D558C 000D24EC FF A0 08 90 */ fmr f29, f1 +/* 800D5590 000D24F0 4B F3 6B 31 */ bl DefaultFarPlane__14CCameraManagerFv +/* 800D5594 000D24F4 FF 80 08 90 */ fmr f28, f1 +/* 800D5598 000D24F8 4B F3 6B 21 */ bl DefaultAspect__14CCameraManagerFv +/* 800D559C 000D24FC 56 84 06 3E */ clrlwi r4, r20, 0x18 +/* 800D55A0 000D2500 56 D6 06 3E */ clrlwi r22, r22, 0x18 +/* 800D55A4 000D2504 56 74 06 3E */ clrlwi r20, r19, 0x18 +/* 800D55A8 000D2508 56 A3 06 3E */ clrlwi r3, r21, 0x18 +/* 800D55AC 000D250C 7C 04 00 D0 */ neg r0, r4 +/* 800D55B0 000D2510 57 DE 06 3E */ clrlwi r30, r30, 0x18 +/* 800D55B4 000D2514 7C 13 23 78 */ or r19, r0, r4 +/* 800D55B8 000D2518 57 AB 06 3E */ clrlwi r11, r29, 0x18 +/* 800D55BC 000D251C 7C 03 00 D0 */ neg r0, r3 +/* 800D55C0 000D2520 57 89 06 3E */ clrlwi r9, r28, 0x18 +/* 800D55C4 000D2524 7E B4 00 D0 */ neg r21, r20 +/* 800D55C8 000D2528 7D 9E 00 D0 */ neg r12, r30 +/* 800D55CC 000D252C 7E BC A3 78 */ or r28, r21, r20 +/* 800D55D0 000D2530 7C 00 1B 78 */ or r0, r0, r3 +/* 800D55D4 000D2534 57 45 06 3E */ clrlwi r5, r26, 0x18 +/* 800D55D8 000D2538 7E F6 00 D0 */ neg r23, r22 +/* 800D55DC 000D253C 7E FA B3 78 */ or r26, r23, r22 +/* 800D55E0 000D2540 7E 7D FE 70 */ srawi r29, r19, 0x1f +/* 800D55E4 000D2544 3A 80 00 02 */ li r20, 2 +/* 800D55E8 000D2548 7F 97 FE 70 */ srawi r23, r28, 0x1f +/* 800D55EC 000D254C 7D 4B 00 D0 */ neg r10, r11 +/* 800D55F0 000D2550 7F 5C FE 70 */ srawi r28, r26, 0x1f +/* 800D55F4 000D2554 7E 93 E8 38 */ and r19, r20, r29 +/* 800D55F8 000D2558 3A C0 00 04 */ li r22, 4 +/* 800D55FC 000D255C 7D 8C F3 78 */ or r12, r12, r30 +/* 800D5600 000D2560 3B 40 00 08 */ li r26, 8 +/* 800D5604 000D2564 57 E7 06 3E */ clrlwi r7, r31, 0x18 +/* 800D5608 000D2568 7D 09 00 D0 */ neg r8, r9 +/* 800D560C 000D256C 7D 4A 5B 78 */ or r10, r10, r11 +/* 800D5610 000D2570 7D 8C FE 70 */ srawi r12, r12, 0x1f +/* 800D5614 000D2574 39 60 00 10 */ li r11, 0x10 +/* 800D5618 000D2578 7C C7 00 D0 */ neg r6, r7 +/* 800D561C 000D257C 7D 08 4B 78 */ or r8, r8, r9 +/* 800D5620 000D2580 7D 4A FE 70 */ srawi r10, r10, 0x1f +/* 800D5624 000D2584 39 20 00 20 */ li r9, 0x20 +/* 800D5628 000D2588 7C 85 00 D0 */ neg r4, r5 +/* 800D562C 000D258C 7C C6 3B 78 */ or r6, r6, r7 +/* 800D5630 000D2590 7D 08 FE 70 */ srawi r8, r8, 0x1f +/* 800D5634 000D2594 38 E0 00 40 */ li r7, 0x40 +/* 800D5638 000D2598 7C 84 2B 78 */ or r4, r4, r5 +/* 800D563C 000D259C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D5640 000D25A0 7E D4 B8 38 */ and r20, r22, r23 +/* 800D5644 000D25A4 50 13 0F FE */ rlwimi r19, r0, 1, 0x1f, 0x1f +/* 800D5648 000D25A8 7F 55 E0 38 */ and r21, r26, r28 +/* 800D564C 000D25AC 7E 80 9B 78 */ or r0, r20, r19 +/* 800D5650 000D25B0 7D 6B 60 38 */ and r11, r11, r12 +/* 800D5654 000D25B4 7E A0 03 78 */ or r0, r21, r0 +/* 800D5658 000D25B8 7D 29 50 38 */ and r9, r9, r10 +/* 800D565C 000D25BC 7D 60 03 78 */ or r0, r11, r0 +/* 800D5660 000D25C0 7C E7 40 38 */ and r7, r7, r8 +/* 800D5664 000D25C4 7D 20 03 78 */ or r0, r9, r0 +/* 800D5668 000D25C8 7C C6 FE 70 */ srawi r6, r6, 0x1f +/* 800D566C 000D25CC 38 A0 00 80 */ li r5, 0x80 +/* 800D5670 000D25D0 FF 60 08 90 */ fmr f27, f1 +/* 800D5674 000D25D4 7C A6 30 38 */ and r6, r5, r6 +/* 800D5678 000D25D8 7C E0 03 78 */ or r0, r7, r0 +/* 800D567C 000D25DC 7C 85 FE 70 */ srawi r5, r4, 0x1f +/* 800D5680 000D25E0 38 80 02 00 */ li r4, 0x200 +/* 800D5684 000D25E4 7C 84 28 38 */ and r4, r4, r5 +/* 800D5688 000D25E8 7C C0 03 78 */ or r0, r6, r0 +/* 800D568C 000D25EC 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800D5690 000D25F0 7C 94 03 78 */ or r20, r4, r0 +/* 800D5694 000D25F4 38 A0 00 00 */ li r5, 0 +/* 800D5698 000D25F8 38 83 00 0D */ addi r4, r3, 0xd +/* 800D569C 000D25FC 38 60 02 28 */ li r3, 0x228 +/* 800D56A0 000D2600 48 24 01 CD */ bl __nw__FUlPCcPCc +/* 800D56A4 000D2604 7C 73 1B 79 */ or. r19, r3, r3 +/* 800D56A8 000D2608 41 82 00 50 */ beq lbl_800D56F8 +/* 800D56AC 000D260C 7F 04 C3 78 */ mr r4, r24 +/* 800D56B0 000D2610 38 61 00 08 */ addi r3, r1, 8 +/* 800D56B4 000D2614 4B F7 7A 29 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D56B8 000D2618 EC 5F D8 24 */ fdivs f2, f31, f27 +/* 800D56BC 000D261C A0 01 00 08 */ lhz r0, 8(r1) +/* 800D56C0 000D2620 7E 63 9B 78 */ mr r3, r19 +/* 800D56C4 000D2624 7F 26 CB 78 */ mr r6, r25 +/* 800D56C8 000D2628 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D56CC 000D262C 7F 68 DB 78 */ mr r8, r27 +/* 800D56D0 000D2630 FC 20 F0 90 */ fmr f1, f30 +/* 800D56D4 000D2634 7E 89 A3 78 */ mr r9, r20 +/* 800D56D8 000D2638 FC 60 E8 90 */ fmr f3, f29 +/* 800D56DC 000D263C 38 81 00 0C */ addi r4, r1, 0xc +/* 800D56E0 000D2640 FC 80 E0 90 */ fmr f4, f28 +/* 800D56E4 000D2644 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D56E8 000D2648 FC A0 D8 90 */ fmr f5, f27 +/* 800D56EC 000D264C 38 E1 00 20 */ addi r7, r1, 0x20 +/* 800D56F0 000D2650 4B FB FD 05 */ bl "__ct__16CCinematicCameraF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfffffUi" +/* 800D56F4 000D2654 7C 73 1B 78 */ mr r19, r3 +lbl_800D56F8: +/* 800D56F8 000D2658 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D56FC 000D265C 48 26 83 E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D5700 000D2660 7E 63 9B 78 */ mr r3, r19 +lbl_800D5704: +/* 800D5704 000D2664 E3 E1 00 D8 */ psq_l f31, 216(r1), 0, qr0 +/* 800D5708 000D2668 CB E1 00 D0 */ lfd f31, 0xd0(r1) +/* 800D570C 000D266C E3 C1 00 C8 */ psq_l f30, 200(r1), 0, qr0 +/* 800D5710 000D2670 CB C1 00 C0 */ lfd f30, 0xc0(r1) +/* 800D5714 000D2674 E3 A1 00 B8 */ psq_l f29, 184(r1), 0, qr0 +/* 800D5718 000D2678 CB A1 00 B0 */ lfd f29, 0xb0(r1) +/* 800D571C 000D267C E3 81 00 A8 */ psq_l f28, 168(r1), 0, qr0 +/* 800D5720 000D2680 CB 81 00 A0 */ lfd f28, 0xa0(r1) +/* 800D5724 000D2684 E3 61 00 98 */ psq_l f27, 152(r1), 0, qr0 +/* 800D5728 000D2688 CB 61 00 90 */ lfd f27, 0x90(r1) +/* 800D572C 000D268C BA 61 00 5C */ lmw r19, 0x5c(r1) +/* 800D5730 000D2690 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800D5734 000D2694 7C 08 03 A6 */ mtlr r0 +/* 800D5738 000D2698 38 21 00 E0 */ addi r1, r1, 0xe0 +/* 800D573C 000D269C 4E 80 00 20 */ blr + +.global LoadCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadCameraWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D5740 000D26A0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800D5744 000D26A4 7C 08 02 A6 */ mflr r0 +/* 800D5748 000D26A8 2C 05 00 06 */ cmpwi r5, 6 +/* 800D574C 000D26AC 90 01 00 74 */ stw r0, 0x74(r1) +/* 800D5750 000D26B0 DB E1 00 68 */ stfd f31, 0x68(r1) +/* 800D5754 000D26B4 BF 61 00 54 */ stmw r27, 0x54(r1) +/* 800D5758 000D26B8 7C 7B 1B 78 */ mr r27, r3 +/* 800D575C 000D26BC 7C 9D 23 78 */ mr r29, r4 +/* 800D5760 000D26C0 7C DC 33 78 */ mr r28, r6 +/* 800D5764 000D26C4 41 82 00 0C */ beq lbl_800D5770 +/* 800D5768 000D26C8 38 60 00 00 */ li r3, 0 +/* 800D576C 000D26CC 48 00 00 9C */ b lbl_800D5808 +lbl_800D5770: +/* 800D5770 000D26D0 7F 65 DB 78 */ mr r5, r27 +/* 800D5774 000D26D4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D5778 000D26D8 48 00 4D 4D */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D577C 000D26DC 7F A3 EB 78 */ mr r3, r29 +/* 800D5780 000D26E0 48 26 95 5D */ bl ReadBool__12CInputStreamFv +/* 800D5784 000D26E4 7C 7F 1B 78 */ mr r31, r3 +/* 800D5788 000D26E8 7F A3 EB 78 */ mr r3, r29 +/* 800D578C 000D26EC 48 26 94 9D */ bl ReadFloat__12CInputStreamFv +/* 800D5790 000D26F0 FF E0 08 90 */ fmr f31, f1 +/* 800D5794 000D26F4 7F A3 EB 78 */ mr r3, r29 +/* 800D5798 000D26F8 48 26 94 ED */ bl ReadLong__12CInputStreamFv +/* 800D579C 000D26FC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D57A0 000D2700 7C 7E 1B 78 */ mr r30, r3 +/* 800D57A4 000D2704 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D57A8 000D2708 38 60 00 F0 */ li r3, 0xf0 +/* 800D57AC 000D270C 38 A0 00 00 */ li r5, 0 +/* 800D57B0 000D2710 38 84 00 0D */ addi r4, r4, 0xd +/* 800D57B4 000D2714 48 24 00 B9 */ bl __nw__FUlPCcPCc +/* 800D57B8 000D2718 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800D57BC 000D271C 41 82 00 40 */ beq lbl_800D57FC +/* 800D57C0 000D2720 7F 64 DB 78 */ mr r4, r27 +/* 800D57C4 000D2724 38 61 00 08 */ addi r3, r1, 8 +/* 800D57C8 000D2728 4B F7 79 15 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D57CC 000D272C A0 01 00 08 */ lhz r0, 8(r1) +/* 800D57D0 000D2730 FC 20 F8 90 */ fmr f1, f31 +/* 800D57D4 000D2734 7F A3 EB 78 */ mr r3, r29 +/* 800D57D8 000D2738 7F 86 E3 78 */ mr r6, r28 +/* 800D57DC 000D273C B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D57E0 000D2740 7F C9 F3 78 */ mr r9, r30 +/* 800D57E4 000D2744 38 81 00 0C */ addi r4, r1, 0xc +/* 800D57E8 000D2748 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D57EC 000D274C 38 E1 00 20 */ addi r7, r1, 0x20 +/* 800D57F0 000D2750 57 E8 06 3E */ clrlwi r8, r31, 0x18 +/* 800D57F4 000D2754 4B FD FC A9 */ bl "__ct__21CScriptCameraWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbfUi" +/* 800D57F8 000D2758 7C 7D 1B 78 */ mr r29, r3 +lbl_800D57FC: +/* 800D57FC 000D275C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D5800 000D2760 48 26 82 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D5804 000D2764 7F A3 EB 78 */ mr r3, r29 +lbl_800D5808: +/* 800D5808 000D2768 CB E1 00 68 */ lfd f31, 0x68(r1) +/* 800D580C 000D276C BB 61 00 54 */ lmw r27, 0x54(r1) +/* 800D5810 000D2770 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800D5814 000D2774 7C 08 03 A6 */ mtlr r0 +/* 800D5818 000D2778 38 21 00 70 */ addi r1, r1, 0x70 +/* 800D581C 000D277C 4E 80 00 20 */ blr + +.global LoadPlatform__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPlatform__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D5820 000D2780 94 21 FB C0 */ stwu r1, -0x440(r1) +/* 800D5824 000D2784 7C 08 02 A6 */ mflr r0 +/* 800D5828 000D2788 90 01 04 44 */ stw r0, 0x444(r1) +/* 800D582C 000D278C DB E1 04 30 */ stfd f31, 0x430(r1) +/* 800D5830 000D2790 F3 E1 04 38 */ psq_st f31, 1080(r1), 0, qr0 +/* 800D5834 000D2794 DB C1 04 20 */ stfd f30, 0x420(r1) +/* 800D5838 000D2798 F3 C1 04 28 */ psq_st f30, 1064(r1), 0, qr0 +/* 800D583C 000D279C BE 61 03 EC */ stmw r19, 0x3ec(r1) +/* 800D5840 000D27A0 2C 05 00 13 */ cmpwi r5, 0x13 +/* 800D5844 000D27A4 7C 73 1B 78 */ mr r19, r3 +/* 800D5848 000D27A8 7C 95 23 78 */ mr r21, r4 +/* 800D584C 000D27AC 7C D4 33 78 */ mr r20, r6 +/* 800D5850 000D27B0 41 82 00 0C */ beq lbl_800D585C +/* 800D5854 000D27B4 38 60 00 00 */ li r3, 0 +/* 800D5858 000D27B8 48 00 04 98 */ b lbl_800D5CF0 +lbl_800D585C: +/* 800D585C 000D27BC 7E 65 9B 78 */ mr r5, r19 +/* 800D5860 000D27C0 38 61 03 9C */ addi r3, r1, 0x39c +/* 800D5864 000D27C4 48 00 4C 19 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D5868 000D27C8 7E A4 AB 78 */ mr r4, r21 +/* 800D586C 000D27CC 38 61 00 94 */ addi r3, r1, 0x94 +/* 800D5870 000D27D0 48 23 F3 1D */ bl __ct__9CVector3fFR12CInputStream +/* 800D5874 000D27D4 7E A4 AB 78 */ mr r4, r21 +/* 800D5878 000D27D8 38 61 00 88 */ addi r3, r1, 0x88 +/* 800D587C 000D27DC 48 23 F3 11 */ bl __ct__9CVector3fFR12CInputStream +/* 800D5880 000D27E0 7E A3 AB 78 */ mr r3, r21 +/* 800D5884 000D27E4 48 26 94 01 */ bl ReadLong__12CInputStreamFv +/* 800D5888 000D27E8 7C 79 1B 78 */ mr r25, r3 +/* 800D588C 000D27EC 7E A4 AB 78 */ mr r4, r21 +/* 800D5890 000D27F0 38 61 00 6C */ addi r3, r1, 0x6c +/* 800D5894 000D27F4 48 00 4B 79 */ bl LoadAnimationParameters__FR12CInputStream +/* 800D5898 000D27F8 82 E1 00 6C */ lwz r23, 0x6c(r1) +/* 800D589C 000D27FC 7E A4 AB 78 */ mr r4, r21 +/* 800D58A0 000D2800 82 C1 00 74 */ lwz r22, 0x74(r1) +/* 800D58A4 000D2804 38 61 02 18 */ addi r3, r1, 0x218 +/* 800D58A8 000D2808 48 00 44 CD */ bl LoadActorParameters__FR12CInputStream +/* 800D58AC 000D280C 38 61 03 34 */ addi r3, r1, 0x334 +/* 800D58B0 000D2810 38 81 02 18 */ addi r4, r1, 0x218 +/* 800D58B4 000D2814 4B FE FD 69 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D58B8 000D2818 38 61 02 18 */ addi r3, r1, 0x218 +/* 800D58BC 000D281C 38 80 FF FF */ li r4, -1 +/* 800D58C0 000D2820 48 03 0D 49 */ bl __dt__16CActorParametersFv +/* 800D58C4 000D2824 7E A3 AB 78 */ mr r3, r21 +/* 800D58C8 000D2828 48 26 93 61 */ bl ReadFloat__12CInputStreamFv +/* 800D58CC 000D282C FF E0 08 90 */ fmr f31, f1 +/* 800D58D0 000D2830 7E A3 AB 78 */ mr r3, r21 +/* 800D58D4 000D2834 48 26 94 09 */ bl ReadBool__12CInputStreamFv +/* 800D58D8 000D2838 7C 7A 1B 78 */ mr r26, r3 +/* 800D58DC 000D283C 7E A3 AB 78 */ mr r3, r21 +/* 800D58E0 000D2840 48 26 93 A5 */ bl ReadLong__12CInputStreamFv +/* 800D58E4 000D2844 7C 78 1B 78 */ mr r24, r3 +/* 800D58E8 000D2848 7E A4 AB 78 */ mr r4, r21 +/* 800D58EC 000D284C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D58F0 000D2850 48 0F DF 55 */ bl __ct__11CHealthInfoFR12CInputStream +/* 800D58F4 000D2854 7E A4 AB 78 */ mr r4, r21 +/* 800D58F8 000D2858 38 61 02 CC */ addi r3, r1, 0x2cc +/* 800D58FC 000D285C 48 02 D2 5D */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800D5900 000D2860 7E A3 AB 78 */ mr r3, r21 +/* 800D5904 000D2864 48 26 93 D9 */ bl ReadBool__12CInputStreamFv +/* 800D5908 000D2868 7C 7B 1B 78 */ mr r27, r3 +/* 800D590C 000D286C 7E A3 AB 78 */ mr r3, r21 +/* 800D5910 000D2870 48 26 93 19 */ bl ReadFloat__12CInputStreamFv +/* 800D5914 000D2874 FF C0 08 90 */ fmr f30, f1 +/* 800D5918 000D2878 7E A3 AB 78 */ mr r3, r21 +/* 800D591C 000D287C 48 26 93 C1 */ bl ReadBool__12CInputStreamFv +/* 800D5920 000D2880 7C 7C 1B 78 */ mr r28, r3 +/* 800D5924 000D2884 7E A3 AB 78 */ mr r3, r21 +/* 800D5928 000D2888 48 26 93 5D */ bl ReadLong__12CInputStreamFv +/* 800D592C 000D288C 7C 7D 1B 78 */ mr r29, r3 +/* 800D5930 000D2890 7E A3 AB 78 */ mr r3, r21 +/* 800D5934 000D2894 48 26 93 51 */ bl ReadLong__12CInputStreamFv +/* 800D5938 000D2898 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D593C 000D289C 7C 7E 1B 78 */ mr r30, r3 +/* 800D5940 000D28A0 7F 24 CB 78 */ mr r4, r25 +/* 800D5944 000D28A4 38 65 00 04 */ addi r3, r5, 4 +/* 800D5948 000D28A8 48 26 63 85 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D594C 000D28AC 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D5950 000D28B0 7C 75 1B 78 */ mr r21, r3 +/* 800D5954 000D28B4 7E E4 BB 78 */ mr r4, r23 +/* 800D5958 000D28B8 38 65 00 04 */ addi r3, r5, 4 +/* 800D595C 000D28BC 48 26 63 71 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D5960 000D28C0 28 15 00 00 */ cmplwi r21, 0 +/* 800D5964 000D28C4 7C 7F 1B 78 */ mr r31, r3 +/* 800D5968 000D28C8 40 82 00 28 */ bne lbl_800D5990 +/* 800D596C 000D28CC 28 1F 00 00 */ cmplwi r31, 0 +/* 800D5970 000D28D0 40 82 00 20 */ bne lbl_800D5990 +/* 800D5974 000D28D4 38 61 03 34 */ addi r3, r1, 0x334 +/* 800D5978 000D28D8 38 80 FF FF */ li r4, -1 +/* 800D597C 000D28DC 48 03 0C 8D */ bl __dt__16CActorParametersFv +/* 800D5980 000D28E0 38 61 03 9C */ addi r3, r1, 0x39c +/* 800D5984 000D28E4 48 26 81 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D5988 000D28E8 38 60 00 00 */ li r3, 0 +/* 800D598C 000D28EC 48 00 03 64 */ b lbl_800D5CF0 +lbl_800D5990: +/* 800D5990 000D28F0 80 14 00 00 */ lwz r0, 0(r20) +/* 800D5994 000D28F4 7E 64 9B 78 */ mr r4, r19 +/* 800D5998 000D28F8 3A A1 03 AC */ addi r21, r1, 0x3ac +/* 800D599C 000D28FC 38 61 00 D4 */ addi r3, r1, 0xd4 +/* 800D59A0 000D2900 90 01 00 30 */ stw r0, 0x30(r1) +/* 800D59A4 000D2904 38 A1 00 34 */ addi r5, r1, 0x34 +/* 800D59A8 000D2908 38 C1 00 94 */ addi r6, r1, 0x94 +/* 800D59AC 000D290C 38 E1 00 88 */ addi r7, r1, 0x88 +/* 800D59B0 000D2910 90 01 00 34 */ stw r0, 0x34(r1) +/* 800D59B4 000D2914 48 00 4D 69 */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f +/* 800D59B8 000D2918 C0 A1 00 D4 */ lfs f5, 0xd4(r1) +/* 800D59BC 000D291C 7F 04 C3 78 */ mr r4, r24 +/* 800D59C0 000D2920 C0 81 00 D8 */ lfs f4, 0xd8(r1) +/* 800D59C4 000D2924 C0 61 00 DC */ lfs f3, 0xdc(r1) +/* 800D59C8 000D2928 C0 41 00 E0 */ lfs f2, 0xe0(r1) +/* 800D59CC 000D292C C0 21 00 E4 */ lfs f1, 0xe4(r1) +/* 800D59D0 000D2930 C0 01 00 E8 */ lfs f0, 0xe8(r1) +/* 800D59D4 000D2934 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800D59D8 000D2938 D0 A1 00 EC */ stfs f5, 0xec(r1) +/* 800D59DC 000D293C 38 63 00 04 */ addi r3, r3, 4 +/* 800D59E0 000D2940 D0 81 00 F0 */ stfs f4, 0xf0(r1) +/* 800D59E4 000D2944 D0 61 00 F4 */ stfs f3, 0xf4(r1) +/* 800D59E8 000D2948 D0 41 00 F8 */ stfs f2, 0xf8(r1) +/* 800D59EC 000D294C D0 21 00 FC */ stfs f1, 0xfc(r1) +/* 800D59F0 000D2950 D0 01 01 00 */ stfs f0, 0x100(r1) +/* 800D59F4 000D2954 48 26 62 D9 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D59F8 000D2958 38 00 00 00 */ li r0, 0 +/* 800D59FC 000D295C 28 03 00 00 */ cmplwi r3, 0 +/* 800D5A00 000D2960 98 01 00 84 */ stb r0, 0x84(r1) +/* 800D5A04 000D2964 41 82 00 B8 */ beq lbl_800D5ABC +/* 800D5A08 000D2968 3C 60 44 43 */ lis r3, 0x44434C4E@ha +/* 800D5A0C 000D296C 93 01 00 44 */ stw r24, 0x44(r1) +/* 800D5A10 000D2970 38 03 4C 4E */ addi r0, r3, 0x44434C4E@l +/* 800D5A14 000D2974 80 8D A0 64 */ lwz r4, gpSimplePool@sda21(r13) +/* 800D5A18 000D2978 90 01 00 40 */ stw r0, 0x40(r1) +/* 800D5A1C 000D297C 38 61 00 38 */ addi r3, r1, 0x38 +/* 800D5A20 000D2980 38 A1 00 40 */ addi r5, r1, 0x40 +/* 800D5A24 000D2984 81 84 00 00 */ lwz r12, 0(r4) +/* 800D5A28 000D2988 81 8C 00 0C */ lwz r12, 0xc(r12) +/* 800D5A2C 000D298C 7D 89 03 A6 */ mtctr r12 +/* 800D5A30 000D2990 4E 80 04 21 */ bctrl +/* 800D5A34 000D2994 3B 01 00 60 */ addi r24, r1, 0x60 +/* 800D5A38 000D2998 38 81 00 38 */ addi r4, r1, 0x38 +/* 800D5A3C 000D299C 7F 03 C3 78 */ mr r3, r24 +/* 800D5A40 000D29A0 48 26 B4 69 */ bl __ct__6CTokenFRC6CToken +/* 800D5A44 000D29A4 7F 03 C3 78 */ mr r3, r24 +/* 800D5A48 000D29A8 48 26 B3 C5 */ bl GetObj__6CTokenFv +/* 800D5A4C 000D29AC 88 01 00 84 */ lbz r0, 0x84(r1) +/* 800D5A50 000D29B0 80 63 00 04 */ lwz r3, 4(r3) +/* 800D5A54 000D29B4 28 00 00 00 */ cmplwi r0, 0 +/* 800D5A58 000D29B8 90 61 00 68 */ stw r3, 0x68(r1) +/* 800D5A5C 000D29BC 40 82 00 34 */ bne lbl_800D5A90 +/* 800D5A60 000D29C0 37 01 00 78 */ addic. r24, r1, 0x78 +/* 800D5A64 000D29C4 41 82 00 20 */ beq lbl_800D5A84 +/* 800D5A68 000D29C8 7F 03 C3 78 */ mr r3, r24 +/* 800D5A6C 000D29CC 38 81 00 60 */ addi r4, r1, 0x60 +/* 800D5A70 000D29D0 48 26 B4 39 */ bl __ct__6CTokenFRC6CToken +/* 800D5A74 000D29D4 80 01 00 68 */ lwz r0, 0x68(r1) +/* 800D5A78 000D29D8 7F 03 C3 78 */ mr r3, r24 +/* 800D5A7C 000D29DC 90 18 00 08 */ stw r0, 8(r24) +/* 800D5A80 000D29E0 48 26 B3 05 */ bl Lock__6CTokenFv +lbl_800D5A84: +/* 800D5A84 000D29E4 38 00 00 01 */ li r0, 1 +/* 800D5A88 000D29E8 98 01 00 84 */ stb r0, 0x84(r1) +/* 800D5A8C 000D29EC 48 00 00 18 */ b lbl_800D5AA4 +lbl_800D5A90: +/* 800D5A90 000D29F0 38 61 00 78 */ addi r3, r1, 0x78 +/* 800D5A94 000D29F4 7F 04 C3 78 */ mr r4, r24 +/* 800D5A98 000D29F8 48 26 B2 2D */ bl __as__6CTokenFRC6CToken +/* 800D5A9C 000D29FC 80 01 00 68 */ lwz r0, 0x68(r1) +/* 800D5AA0 000D2A00 90 01 00 80 */ stw r0, 0x80(r1) +lbl_800D5AA4: +/* 800D5AA4 000D2A04 38 61 00 60 */ addi r3, r1, 0x60 +/* 800D5AA8 000D2A08 38 80 00 00 */ li r4, 0 +/* 800D5AAC 000D2A0C 48 26 B3 95 */ bl __dt__6CTokenFv +/* 800D5AB0 000D2A10 38 61 00 38 */ addi r3, r1, 0x38 +/* 800D5AB4 000D2A14 38 80 FF FF */ li r4, -1 +/* 800D5AB8 000D2A18 48 26 B3 89 */ bl __dt__6CTokenFv +lbl_800D5ABC: +/* 800D5ABC 000D2A1C 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800D5AC0 000D2A20 4B F6 4C E5 */ bl CModelDataNull__10CModelDataFv +/* 800D5AC4 000D2A24 38 61 02 80 */ addi r3, r1, 0x280 +/* 800D5AC8 000D2A28 38 81 01 CC */ addi r4, r1, 0x1cc +/* 800D5ACC 000D2A2C 4B F4 32 C1 */ bl __ct__10CModelDataFRC10CModelData +/* 800D5AD0 000D2A30 38 61 01 CC */ addi r3, r1, 0x1cc +/* 800D5AD4 000D2A34 38 80 FF FF */ li r4, -1 +/* 800D5AD8 000D2A38 48 04 0F 75 */ bl __dt__10CModelDataFv +/* 800D5ADC 000D2A3C 3C 1F BE B2 */ addis r0, r31, 0xbeb2 +/* 800D5AE0 000D2A40 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D5AE4 000D2A44 40 82 00 5C */ bne lbl_800D5B40 +/* 800D5AE8 000D2A48 80 A2 83 F0 */ lwz r5, lbl_805AA110@sda21(r2) +/* 800D5AEC 000D2A4C 38 00 00 01 */ li r0, 1 +/* 800D5AF0 000D2A50 C0 41 03 DC */ lfs f2, 0x3dc(r1) +/* 800D5AF4 000D2A54 38 61 01 80 */ addi r3, r1, 0x180 +/* 800D5AF8 000D2A58 C0 21 03 E0 */ lfs f1, 0x3e0(r1) +/* 800D5AFC 000D2A5C 38 81 00 B8 */ addi r4, r1, 0xb8 +/* 800D5B00 000D2A60 C0 01 03 E4 */ lfs f0, 0x3e4(r1) +/* 800D5B04 000D2A64 92 E1 00 B8 */ stw r23, 0xb8(r1) +/* 800D5B08 000D2A68 90 A1 00 BC */ stw r5, 0xbc(r1) +/* 800D5B0C 000D2A6C D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 800D5B10 000D2A70 D0 21 00 C4 */ stfs f1, 0xc4(r1) +/* 800D5B14 000D2A74 D0 01 00 C8 */ stfs f0, 0xc8(r1) +/* 800D5B18 000D2A78 98 01 00 CC */ stb r0, 0xcc(r1) +/* 800D5B1C 000D2A7C 92 C1 00 D0 */ stw r22, 0xd0(r1) +/* 800D5B20 000D2A80 48 04 10 35 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D5B24 000D2A84 38 61 02 80 */ addi r3, r1, 0x280 +/* 800D5B28 000D2A88 38 81 01 80 */ addi r4, r1, 0x180 +/* 800D5B2C 000D2A8C 48 00 01 E9 */ bl __as__10CModelDataFRC10CModelData +/* 800D5B30 000D2A90 38 61 01 80 */ addi r3, r1, 0x180 +/* 800D5B34 000D2A94 38 80 FF FF */ li r4, -1 +/* 800D5B38 000D2A98 48 04 0F 15 */ bl __dt__10CModelDataFv +/* 800D5B3C 000D2A9C 48 00 00 44 */ b lbl_800D5B80 +lbl_800D5B40: +/* 800D5B40 000D2AA0 C0 41 03 DC */ lfs f2, 0x3dc(r1) +/* 800D5B44 000D2AA4 38 61 01 34 */ addi r3, r1, 0x134 +/* 800D5B48 000D2AA8 C0 21 03 E0 */ lfs f1, 0x3e0(r1) +/* 800D5B4C 000D2AAC 38 81 00 50 */ addi r4, r1, 0x50 +/* 800D5B50 000D2AB0 C0 01 03 E4 */ lfs f0, 0x3e4(r1) +/* 800D5B54 000D2AB4 93 21 00 50 */ stw r25, 0x50(r1) +/* 800D5B58 000D2AB8 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800D5B5C 000D2ABC D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800D5B60 000D2AC0 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800D5B64 000D2AC4 48 04 11 F9 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800D5B68 000D2AC8 38 61 02 80 */ addi r3, r1, 0x280 +/* 800D5B6C 000D2ACC 38 81 01 34 */ addi r4, r1, 0x134 +/* 800D5B70 000D2AD0 48 00 01 A5 */ bl __as__10CModelDataFRC10CModelData +/* 800D5B74 000D2AD4 38 61 01 34 */ addi r3, r1, 0x134 +/* 800D5B78 000D2AD8 38 80 FF FF */ li r4, -1 +/* 800D5B7C 000D2ADC 48 04 0E D1 */ bl __dt__10CModelDataFv +lbl_800D5B80: +/* 800D5B80 000D2AE0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800D5B84 000D2AE4 C0 21 00 94 */ lfs f1, 0x94(r1) +/* 800D5B88 000D2AE8 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800D5B8C 000D2AEC 38 00 00 00 */ li r0, 0 +/* 800D5B90 000D2AF0 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D5B94 000D2AF4 40 82 00 28 */ bne lbl_800D5BBC +/* 800D5B98 000D2AF8 C0 21 00 98 */ lfs f1, 0x98(r1) +/* 800D5B9C 000D2AFC C0 03 00 04 */ lfs f0, 4(r3) +/* 800D5BA0 000D2B00 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D5BA4 000D2B04 40 82 00 18 */ bne lbl_800D5BBC +/* 800D5BA8 000D2B08 C0 21 00 9C */ lfs f1, 0x9c(r1) +/* 800D5BAC 000D2B0C C0 03 00 08 */ lfs f0, 8(r3) +/* 800D5BB0 000D2B10 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D5BB4 000D2B14 40 82 00 08 */ bne lbl_800D5BBC +/* 800D5BB8 000D2B18 38 00 00 01 */ li r0, 1 +lbl_800D5BBC: +/* 800D5BBC 000D2B1C 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800D5BC0 000D2B20 41 82 00 50 */ beq lbl_800D5C10 +/* 800D5BC4 000D2B24 7E A4 AB 78 */ mr r4, r21 +/* 800D5BC8 000D2B28 38 61 01 04 */ addi r3, r1, 0x104 +/* 800D5BCC 000D2B2C 48 23 D0 75 */ bl GetRotation__12CTransform4fCFv +/* 800D5BD0 000D2B30 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800D5BD4 000D2B34 38 81 02 80 */ addi r4, r1, 0x280 +/* 800D5BD8 000D2B38 38 A1 01 04 */ addi r5, r1, 0x104 +/* 800D5BDC 000D2B3C 48 03 FB D9 */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 800D5BE0 000D2B40 80 E1 00 A0 */ lwz r7, 0xa0(r1) +/* 800D5BE4 000D2B44 80 C1 00 A4 */ lwz r6, 0xa4(r1) +/* 800D5BE8 000D2B48 80 A1 00 A8 */ lwz r5, 0xa8(r1) +/* 800D5BEC 000D2B4C 80 81 00 AC */ lwz r4, 0xac(r1) +/* 800D5BF0 000D2B50 80 61 00 B0 */ lwz r3, 0xb0(r1) +/* 800D5BF4 000D2B54 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800D5BF8 000D2B58 90 E1 00 EC */ stw r7, 0xec(r1) +/* 800D5BFC 000D2B5C 90 C1 00 F0 */ stw r6, 0xf0(r1) +/* 800D5C00 000D2B60 90 A1 00 F4 */ stw r5, 0xf4(r1) +/* 800D5C04 000D2B64 90 81 00 F8 */ stw r4, 0xf8(r1) +/* 800D5C08 000D2B68 90 61 00 FC */ stw r3, 0xfc(r1) +/* 800D5C0C 000D2B6C 90 01 01 00 */ stw r0, 0x100(r1) +lbl_800D5C10: +/* 800D5C10 000D2B70 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D5C14 000D2B74 38 60 03 58 */ li r3, 0x358 +/* 800D5C18 000D2B78 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D5C1C 000D2B7C 38 A0 00 00 */ li r5, 0 +/* 800D5C20 000D2B80 38 84 00 0D */ addi r4, r4, 0xd +/* 800D5C24 000D2B84 48 23 FC 49 */ bl __nw__FUlPCcPCc +/* 800D5C28 000D2B88 7C 76 1B 79 */ or. r22, r3, r3 +/* 800D5C2C 000D2B8C 41 82 00 74 */ beq lbl_800D5CA0 +/* 800D5C30 000D2B90 7E 64 9B 78 */ mr r4, r19 +/* 800D5C34 000D2B94 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D5C38 000D2B98 4B F7 74 A5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D5C3C 000D2B9C A0 61 00 28 */ lhz r3, 0x28(r1) +/* 800D5C40 000D2BA0 39 01 00 48 */ addi r8, r1, 0x48 +/* 800D5C44 000D2BA4 39 61 02 CC */ addi r11, r1, 0x2cc +/* 800D5C48 000D2BA8 38 01 00 78 */ addi r0, r1, 0x78 +/* 800D5C4C 000D2BAC B0 61 00 2C */ sth r3, 0x2c(r1) +/* 800D5C50 000D2BB0 FC 20 F8 90 */ fmr f1, f31 +/* 800D5C54 000D2BB4 FC 40 F0 90 */ fmr f2, f30 +/* 800D5C58 000D2BB8 7E C3 B3 78 */ mr r3, r22 +/* 800D5C5C 000D2BBC 93 61 00 08 */ stw r27, 8(r1) +/* 800D5C60 000D2BC0 7E 86 A3 78 */ mr r6, r20 +/* 800D5C64 000D2BC4 7E A7 AB 78 */ mr r7, r21 +/* 800D5C68 000D2BC8 93 41 00 0C */ stw r26, 0xc(r1) +/* 800D5C6C 000D2BCC 38 81 00 2C */ addi r4, r1, 0x2c +/* 800D5C70 000D2BD0 38 A1 03 9C */ addi r5, r1, 0x39c +/* 800D5C74 000D2BD4 91 01 00 10 */ stw r8, 0x10(r1) +/* 800D5C78 000D2BD8 39 01 02 80 */ addi r8, r1, 0x280 +/* 800D5C7C 000D2BDC 39 21 03 34 */ addi r9, r1, 0x334 +/* 800D5C80 000D2BE0 39 41 00 EC */ addi r10, r1, 0xec +/* 800D5C84 000D2BE4 91 61 00 14 */ stw r11, 0x14(r1) +/* 800D5C88 000D2BE8 90 01 00 18 */ stw r0, 0x18(r1) +/* 800D5C8C 000D2BEC 93 81 00 1C */ stw r28, 0x1c(r1) +/* 800D5C90 000D2BF0 93 A1 00 20 */ stw r29, 0x20(r1) +/* 800D5C94 000D2BF4 93 C1 00 24 */ stw r30, 0x24(r1) +/* 800D5C98 000D2BF8 4B FD E1 69 */ bl "__ct__15CScriptPlatformF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxfbbRC11CHealthInfoRC20CDamageVulnerabilityRCQ24rstl58optional_object<39TLockedToken<23CCollidableOBBTreeGroup>>bii" +/* 800D5C9C 000D2BFC 7C 76 1B 78 */ mr r22, r3 +lbl_800D5CA0: +/* 800D5CA0 000D2C00 38 61 02 80 */ addi r3, r1, 0x280 +/* 800D5CA4 000D2C04 38 80 FF FF */ li r4, -1 +/* 800D5CA8 000D2C08 48 04 0D A5 */ bl __dt__10CModelDataFv +/* 800D5CAC 000D2C0C 88 01 00 84 */ lbz r0, 0x84(r1) +/* 800D5CB0 000D2C10 28 00 00 00 */ cmplwi r0, 0 +/* 800D5CB4 000D2C14 41 82 00 1C */ beq lbl_800D5CD0 +/* 800D5CB8 000D2C18 34 61 00 78 */ addic. r3, r1, 0x78 +/* 800D5CBC 000D2C1C 41 82 00 14 */ beq lbl_800D5CD0 +/* 800D5CC0 000D2C20 28 03 00 00 */ cmplwi r3, 0 +/* 800D5CC4 000D2C24 41 82 00 0C */ beq lbl_800D5CD0 +/* 800D5CC8 000D2C28 38 80 00 00 */ li r4, 0 +/* 800D5CCC 000D2C2C 48 26 B1 75 */ bl __dt__6CTokenFv +lbl_800D5CD0: +/* 800D5CD0 000D2C30 38 00 00 00 */ li r0, 0 +/* 800D5CD4 000D2C34 38 61 03 34 */ addi r3, r1, 0x334 +/* 800D5CD8 000D2C38 98 01 00 84 */ stb r0, 0x84(r1) +/* 800D5CDC 000D2C3C 38 80 FF FF */ li r4, -1 +/* 800D5CE0 000D2C40 48 03 09 29 */ bl __dt__16CActorParametersFv +/* 800D5CE4 000D2C44 38 61 03 9C */ addi r3, r1, 0x39c +/* 800D5CE8 000D2C48 48 26 7D F9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D5CEC 000D2C4C 7E C3 B3 78 */ mr r3, r22 +lbl_800D5CF0: +/* 800D5CF0 000D2C50 E3 E1 04 38 */ psq_l f31, 1080(r1), 0, qr0 +/* 800D5CF4 000D2C54 CB E1 04 30 */ lfd f31, 0x430(r1) +/* 800D5CF8 000D2C58 E3 C1 04 28 */ psq_l f30, 1064(r1), 0, qr0 +/* 800D5CFC 000D2C5C CB C1 04 20 */ lfd f30, 0x420(r1) +/* 800D5D00 000D2C60 BA 61 03 EC */ lmw r19, 0x3ec(r1) +/* 800D5D04 000D2C64 80 01 04 44 */ lwz r0, 0x444(r1) +/* 800D5D08 000D2C68 7C 08 03 A6 */ mtlr r0 +/* 800D5D0C 000D2C6C 38 21 04 40 */ addi r1, r1, 0x440 +/* 800D5D10 000D2C70 4E 80 00 20 */ blr + +.global __as__10CModelDataFRC10CModelData +__as__10CModelDataFRC10CModelData: +/* 800D5D14 000D2C74 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800D5D18 000D2C78 7C 08 02 A6 */ mflr r0 +/* 800D5D1C 000D2C7C 90 01 00 24 */ stw r0, 0x24(r1) +/* 800D5D20 000D2C80 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800D5D24 000D2C84 7C 9F 23 78 */ mr r31, r4 +/* 800D5D28 000D2C88 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800D5D2C 000D2C8C 7C 7E 1B 78 */ mr r30, r3 +/* 800D5D30 000D2C90 38 7F 00 0C */ addi r3, r31, 0xc +/* 800D5D34 000D2C94 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800D5D38 000D2C98 38 1E 00 0C */ addi r0, r30, 0xc +/* 800D5D3C 000D2C9C 7C 03 00 40 */ cmplw r3, r0 +/* 800D5D40 000D2CA0 93 81 00 10 */ stw r28, 0x10(r1) +/* 800D5D44 000D2CA4 80 A4 00 00 */ lwz r5, 0(r4) +/* 800D5D48 000D2CA8 80 84 00 04 */ lwz r4, 4(r4) +/* 800D5D4C 000D2CAC 90 BE 00 00 */ stw r5, 0(r30) +/* 800D5D50 000D2CB0 90 9E 00 04 */ stw r4, 4(r30) +/* 800D5D54 000D2CB4 80 1F 00 08 */ lwz r0, 8(r31) +/* 800D5D58 000D2CB8 90 1E 00 08 */ stw r0, 8(r30) +/* 800D5D5C 000D2CBC 41 82 00 34 */ beq lbl_800D5D90 +/* 800D5D60 000D2CC0 88 1E 00 0C */ lbz r0, 0xc(r30) +/* 800D5D64 000D2CC4 28 00 00 00 */ cmplwi r0, 0 +/* 800D5D68 000D2CC8 41 82 00 10 */ beq lbl_800D5D78 +/* 800D5D6C 000D2CCC 80 7E 00 10 */ lwz r3, 0x10(r30) +/* 800D5D70 000D2CD0 38 80 00 01 */ li r4, 1 +/* 800D5D74 000D2CD4 4B F5 8E 4D */ bl __dt__9CAnimDataFv +lbl_800D5D78: +/* 800D5D78 000D2CD8 88 7F 00 0C */ lbz r3, 0xc(r31) +/* 800D5D7C 000D2CDC 38 00 00 00 */ li r0, 0 +/* 800D5D80 000D2CE0 98 7E 00 0C */ stb r3, 0xc(r30) +/* 800D5D84 000D2CE4 80 7F 00 10 */ lwz r3, 0x10(r31) +/* 800D5D88 000D2CE8 90 7E 00 10 */ stw r3, 0x10(r30) +/* 800D5D8C 000D2CEC 98 1F 00 0C */ stb r0, 0xc(r31) +lbl_800D5D90: +/* 800D5D90 000D2CF0 88 1F 00 14 */ lbz r0, 0x14(r31) +/* 800D5D94 000D2CF4 3B BE 00 1C */ addi r29, r30, 0x1c +/* 800D5D98 000D2CF8 3B 9F 00 1C */ addi r28, r31, 0x1c +/* 800D5D9C 000D2CFC 98 1E 00 14 */ stb r0, 0x14(r30) +/* 800D5DA0 000D2D00 7C 1D E0 40 */ cmplw r29, r28 +/* 800D5DA4 000D2D04 80 1F 00 18 */ lwz r0, 0x18(r31) +/* 800D5DA8 000D2D08 90 1E 00 18 */ stw r0, 0x18(r30) +/* 800D5DAC 000D2D0C 41 82 00 90 */ beq lbl_800D5E3C +/* 800D5DB0 000D2D10 88 1F 00 28 */ lbz r0, 0x28(r31) +/* 800D5DB4 000D2D14 28 00 00 00 */ cmplwi r0, 0 +/* 800D5DB8 000D2D18 41 82 00 58 */ beq lbl_800D5E10 +/* 800D5DBC 000D2D1C 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 800D5DC0 000D2D20 28 00 00 00 */ cmplwi r0, 0 +/* 800D5DC4 000D2D24 40 82 00 34 */ bne lbl_800D5DF8 +/* 800D5DC8 000D2D28 37 BE 00 1C */ addic. r29, r30, 0x1c +/* 800D5DCC 000D2D2C 41 82 00 20 */ beq lbl_800D5DEC +/* 800D5DD0 000D2D30 7F A3 EB 78 */ mr r3, r29 +/* 800D5DD4 000D2D34 7F 84 E3 78 */ mr r4, r28 +/* 800D5DD8 000D2D38 48 26 B0 D1 */ bl __ct__6CTokenFRC6CToken +/* 800D5DDC 000D2D3C 80 1C 00 08 */ lwz r0, 8(r28) +/* 800D5DE0 000D2D40 7F A3 EB 78 */ mr r3, r29 +/* 800D5DE4 000D2D44 90 1D 00 08 */ stw r0, 8(r29) +/* 800D5DE8 000D2D48 48 26 AF 9D */ bl Lock__6CTokenFv +lbl_800D5DEC: +/* 800D5DEC 000D2D4C 38 00 00 01 */ li r0, 1 +/* 800D5DF0 000D2D50 98 1E 00 28 */ stb r0, 0x28(r30) +/* 800D5DF4 000D2D54 48 00 00 48 */ b lbl_800D5E3C +lbl_800D5DF8: +/* 800D5DF8 000D2D58 7F A3 EB 78 */ mr r3, r29 +/* 800D5DFC 000D2D5C 7F 84 E3 78 */ mr r4, r28 +/* 800D5E00 000D2D60 48 26 AE C5 */ bl __as__6CTokenFRC6CToken +/* 800D5E04 000D2D64 80 1C 00 08 */ lwz r0, 8(r28) +/* 800D5E08 000D2D68 90 1D 00 08 */ stw r0, 8(r29) +/* 800D5E0C 000D2D6C 48 00 00 30 */ b lbl_800D5E3C +lbl_800D5E10: +/* 800D5E10 000D2D70 88 1E 00 28 */ lbz r0, 0x28(r30) +/* 800D5E14 000D2D74 28 00 00 00 */ cmplwi r0, 0 +/* 800D5E18 000D2D78 41 82 00 1C */ beq lbl_800D5E34 +/* 800D5E1C 000D2D7C 34 7E 00 1C */ addic. r3, r30, 0x1c +/* 800D5E20 000D2D80 41 82 00 14 */ beq lbl_800D5E34 +/* 800D5E24 000D2D84 28 03 00 00 */ cmplwi r3, 0 +/* 800D5E28 000D2D88 41 82 00 0C */ beq lbl_800D5E34 +/* 800D5E2C 000D2D8C 38 80 00 00 */ li r4, 0 +/* 800D5E30 000D2D90 48 26 B0 11 */ bl __dt__6CTokenFv +lbl_800D5E34: +/* 800D5E34 000D2D94 38 00 00 00 */ li r0, 0 +/* 800D5E38 000D2D98 98 1E 00 28 */ stb r0, 0x28(r30) +lbl_800D5E3C: +/* 800D5E3C 000D2D9C 3B BE 00 2C */ addi r29, r30, 0x2c +/* 800D5E40 000D2DA0 3B 9F 00 2C */ addi r28, r31, 0x2c +/* 800D5E44 000D2DA4 7C 1D E0 40 */ cmplw r29, r28 +/* 800D5E48 000D2DA8 41 82 00 90 */ beq lbl_800D5ED8 +/* 800D5E4C 000D2DAC 88 1F 00 38 */ lbz r0, 0x38(r31) +/* 800D5E50 000D2DB0 28 00 00 00 */ cmplwi r0, 0 +/* 800D5E54 000D2DB4 41 82 00 58 */ beq lbl_800D5EAC +/* 800D5E58 000D2DB8 88 1E 00 38 */ lbz r0, 0x38(r30) +/* 800D5E5C 000D2DBC 28 00 00 00 */ cmplwi r0, 0 +/* 800D5E60 000D2DC0 40 82 00 34 */ bne lbl_800D5E94 +/* 800D5E64 000D2DC4 37 BE 00 2C */ addic. r29, r30, 0x2c +/* 800D5E68 000D2DC8 41 82 00 20 */ beq lbl_800D5E88 +/* 800D5E6C 000D2DCC 7F A3 EB 78 */ mr r3, r29 +/* 800D5E70 000D2DD0 7F 84 E3 78 */ mr r4, r28 +/* 800D5E74 000D2DD4 48 26 B0 35 */ bl __ct__6CTokenFRC6CToken +/* 800D5E78 000D2DD8 80 1C 00 08 */ lwz r0, 8(r28) +/* 800D5E7C 000D2DDC 7F A3 EB 78 */ mr r3, r29 +/* 800D5E80 000D2DE0 90 1D 00 08 */ stw r0, 8(r29) +/* 800D5E84 000D2DE4 48 26 AF 01 */ bl Lock__6CTokenFv +lbl_800D5E88: +/* 800D5E88 000D2DE8 38 00 00 01 */ li r0, 1 +/* 800D5E8C 000D2DEC 98 1E 00 38 */ stb r0, 0x38(r30) +/* 800D5E90 000D2DF0 48 00 00 48 */ b lbl_800D5ED8 +lbl_800D5E94: +/* 800D5E94 000D2DF4 7F A3 EB 78 */ mr r3, r29 +/* 800D5E98 000D2DF8 7F 84 E3 78 */ mr r4, r28 +/* 800D5E9C 000D2DFC 48 26 AE 29 */ bl __as__6CTokenFRC6CToken +/* 800D5EA0 000D2E00 80 1C 00 08 */ lwz r0, 8(r28) +/* 800D5EA4 000D2E04 90 1D 00 08 */ stw r0, 8(r29) +/* 800D5EA8 000D2E08 48 00 00 30 */ b lbl_800D5ED8 +lbl_800D5EAC: +/* 800D5EAC 000D2E0C 88 1E 00 38 */ lbz r0, 0x38(r30) +/* 800D5EB0 000D2E10 28 00 00 00 */ cmplwi r0, 0 +/* 800D5EB4 000D2E14 41 82 00 1C */ beq lbl_800D5ED0 +/* 800D5EB8 000D2E18 34 7E 00 2C */ addic. r3, r30, 0x2c +/* 800D5EBC 000D2E1C 41 82 00 14 */ beq lbl_800D5ED0 +/* 800D5EC0 000D2E20 28 03 00 00 */ cmplwi r3, 0 +/* 800D5EC4 000D2E24 41 82 00 0C */ beq lbl_800D5ED0 +/* 800D5EC8 000D2E28 38 80 00 00 */ li r4, 0 +/* 800D5ECC 000D2E2C 48 26 AF 75 */ bl __dt__6CTokenFv +lbl_800D5ED0: +/* 800D5ED0 000D2E30 38 00 00 00 */ li r0, 0 +/* 800D5ED4 000D2E34 98 1E 00 38 */ stb r0, 0x38(r30) +lbl_800D5ED8: +/* 800D5ED8 000D2E38 3B 9E 00 3C */ addi r28, r30, 0x3c +/* 800D5EDC 000D2E3C 3B BF 00 3C */ addi r29, r31, 0x3c +/* 800D5EE0 000D2E40 7C 1C E8 40 */ cmplw r28, r29 +/* 800D5EE4 000D2E44 41 82 00 90 */ beq lbl_800D5F74 +/* 800D5EE8 000D2E48 88 1F 00 48 */ lbz r0, 0x48(r31) +/* 800D5EEC 000D2E4C 28 00 00 00 */ cmplwi r0, 0 +/* 800D5EF0 000D2E50 41 82 00 58 */ beq lbl_800D5F48 +/* 800D5EF4 000D2E54 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 800D5EF8 000D2E58 28 00 00 00 */ cmplwi r0, 0 +/* 800D5EFC 000D2E5C 40 82 00 34 */ bne lbl_800D5F30 +/* 800D5F00 000D2E60 37 9E 00 3C */ addic. r28, r30, 0x3c +/* 800D5F04 000D2E64 41 82 00 20 */ beq lbl_800D5F24 +/* 800D5F08 000D2E68 7F 83 E3 78 */ mr r3, r28 +/* 800D5F0C 000D2E6C 7F A4 EB 78 */ mr r4, r29 +/* 800D5F10 000D2E70 48 26 AF 99 */ bl __ct__6CTokenFRC6CToken +/* 800D5F14 000D2E74 80 1D 00 08 */ lwz r0, 8(r29) +/* 800D5F18 000D2E78 7F 83 E3 78 */ mr r3, r28 +/* 800D5F1C 000D2E7C 90 1C 00 08 */ stw r0, 8(r28) +/* 800D5F20 000D2E80 48 26 AE 65 */ bl Lock__6CTokenFv +lbl_800D5F24: +/* 800D5F24 000D2E84 38 00 00 01 */ li r0, 1 +/* 800D5F28 000D2E88 98 1E 00 48 */ stb r0, 0x48(r30) +/* 800D5F2C 000D2E8C 48 00 00 48 */ b lbl_800D5F74 +lbl_800D5F30: +/* 800D5F30 000D2E90 7F 83 E3 78 */ mr r3, r28 +/* 800D5F34 000D2E94 7F A4 EB 78 */ mr r4, r29 +/* 800D5F38 000D2E98 48 26 AD 8D */ bl __as__6CTokenFRC6CToken +/* 800D5F3C 000D2E9C 80 1D 00 08 */ lwz r0, 8(r29) +/* 800D5F40 000D2EA0 90 1C 00 08 */ stw r0, 8(r28) +/* 800D5F44 000D2EA4 48 00 00 30 */ b lbl_800D5F74 +lbl_800D5F48: +/* 800D5F48 000D2EA8 88 1E 00 48 */ lbz r0, 0x48(r30) +/* 800D5F4C 000D2EAC 28 00 00 00 */ cmplwi r0, 0 +/* 800D5F50 000D2EB0 41 82 00 1C */ beq lbl_800D5F6C +/* 800D5F54 000D2EB4 34 7E 00 3C */ addic. r3, r30, 0x3c +/* 800D5F58 000D2EB8 41 82 00 14 */ beq lbl_800D5F6C +/* 800D5F5C 000D2EBC 28 03 00 00 */ cmplwi r3, 0 +/* 800D5F60 000D2EC0 41 82 00 0C */ beq lbl_800D5F6C +/* 800D5F64 000D2EC4 38 80 00 00 */ li r4, 0 +/* 800D5F68 000D2EC8 48 26 AE D9 */ bl __dt__6CTokenFv +lbl_800D5F6C: +/* 800D5F6C 000D2ECC 38 00 00 00 */ li r0, 0 +/* 800D5F70 000D2ED0 98 1E 00 48 */ stb r0, 0x48(r30) +lbl_800D5F74: +/* 800D5F74 000D2ED4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800D5F78 000D2ED8 7F C3 F3 78 */ mr r3, r30 +/* 800D5F7C 000D2EDC 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800D5F80 000D2EE0 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800D5F84 000D2EE4 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800D5F88 000D2EE8 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800D5F8C 000D2EEC 7C 08 03 A6 */ mtlr r0 +/* 800D5F90 000D2EF0 38 21 00 20 */ addi r1, r1, 0x20 +/* 800D5F94 000D2EF4 4E 80 00 20 */ blr + +.global LoadSound__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSound__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D5F98 000D2EF8 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 800D5F9C 000D2EFC 7C 08 02 A6 */ mflr r0 +/* 800D5FA0 000D2F00 2C 05 00 14 */ cmpwi r5, 0x14 +/* 800D5FA4 000D2F04 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800D5FA8 000D2F08 DB E1 00 E8 */ stfd f31, 0xe8(r1) +/* 800D5FAC 000D2F0C DB C1 00 E0 */ stfd f30, 0xe0(r1) +/* 800D5FB0 000D2F10 DB A1 00 D8 */ stfd f29, 0xd8(r1) +/* 800D5FB4 000D2F14 BD E1 00 94 */ stmw r15, 0x94(r1) +/* 800D5FB8 000D2F18 7C 7D 1B 78 */ mr r29, r3 +/* 800D5FBC 000D2F1C 7C 9E 23 78 */ mr r30, r4 +/* 800D5FC0 000D2F20 7C DF 33 78 */ mr r31, r6 +/* 800D5FC4 000D2F24 41 82 00 0C */ beq lbl_800D5FD0 +/* 800D5FC8 000D2F28 38 60 00 00 */ li r3, 0 +/* 800D5FCC 000D2F2C 48 00 01 A0 */ b lbl_800D616C +lbl_800D5FD0: +/* 800D5FD0 000D2F30 7F A5 EB 78 */ mr r5, r29 +/* 800D5FD4 000D2F34 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D5FD8 000D2F38 48 00 44 ED */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D5FDC 000D2F3C 7F C3 F3 78 */ mr r3, r30 +/* 800D5FE0 000D2F40 48 26 8C A5 */ bl ReadLong__12CInputStreamFv +/* 800D5FE4 000D2F44 7C 72 1B 78 */ mr r18, r3 +/* 800D5FE8 000D2F48 7F C3 F3 78 */ mr r3, r30 +/* 800D5FEC 000D2F4C 48 26 8C F1 */ bl ReadBool__12CInputStreamFv +/* 800D5FF0 000D2F50 7C 71 1B 78 */ mr r17, r3 +/* 800D5FF4 000D2F54 7F C3 F3 78 */ mr r3, r30 +/* 800D5FF8 000D2F58 48 26 8C 31 */ bl ReadFloat__12CInputStreamFv +/* 800D5FFC 000D2F5C FF E0 08 90 */ fmr f31, f1 +/* 800D6000 000D2F60 7F C3 F3 78 */ mr r3, r30 +/* 800D6004 000D2F64 48 26 8C 25 */ bl ReadFloat__12CInputStreamFv +/* 800D6008 000D2F68 FF C0 08 90 */ fmr f30, f1 +/* 800D600C 000D2F6C 7F C3 F3 78 */ mr r3, r30 +/* 800D6010 000D2F70 48 26 8C 19 */ bl ReadFloat__12CInputStreamFv +/* 800D6014 000D2F74 FF A0 08 90 */ fmr f29, f1 +/* 800D6018 000D2F78 7F C3 F3 78 */ mr r3, r30 +/* 800D601C 000D2F7C 48 26 8C 69 */ bl ReadLong__12CInputStreamFv +/* 800D6020 000D2F80 7C 70 1B 78 */ mr r16, r3 +/* 800D6024 000D2F84 7F C3 F3 78 */ mr r3, r30 +/* 800D6028 000D2F88 48 26 8C 5D */ bl ReadLong__12CInputStreamFv +/* 800D602C 000D2F8C 7C 73 1B 78 */ mr r19, r3 +/* 800D6030 000D2F90 7F C3 F3 78 */ mr r3, r30 +/* 800D6034 000D2F94 48 26 8C 51 */ bl ReadLong__12CInputStreamFv +/* 800D6038 000D2F98 7C 74 1B 78 */ mr r20, r3 +/* 800D603C 000D2F9C 7F C3 F3 78 */ mr r3, r30 +/* 800D6040 000D2FA0 48 26 8C 45 */ bl ReadLong__12CInputStreamFv +/* 800D6044 000D2FA4 7C 75 1B 78 */ mr r21, r3 +/* 800D6048 000D2FA8 7F C3 F3 78 */ mr r3, r30 +/* 800D604C 000D2FAC 48 26 8C 91 */ bl ReadBool__12CInputStreamFv +/* 800D6050 000D2FB0 7C 76 1B 78 */ mr r22, r3 +/* 800D6054 000D2FB4 7F C3 F3 78 */ mr r3, r30 +/* 800D6058 000D2FB8 48 26 8C 85 */ bl ReadBool__12CInputStreamFv +/* 800D605C 000D2FBC 7C 77 1B 78 */ mr r23, r3 +/* 800D6060 000D2FC0 7F C3 F3 78 */ mr r3, r30 +/* 800D6064 000D2FC4 48 26 8C 79 */ bl ReadBool__12CInputStreamFv +/* 800D6068 000D2FC8 7C 78 1B 78 */ mr r24, r3 +/* 800D606C 000D2FCC 7F C3 F3 78 */ mr r3, r30 +/* 800D6070 000D2FD0 48 26 8C 6D */ bl ReadBool__12CInputStreamFv +/* 800D6074 000D2FD4 7C 79 1B 78 */ mr r25, r3 +/* 800D6078 000D2FD8 7F C3 F3 78 */ mr r3, r30 +/* 800D607C 000D2FDC 48 26 8C 61 */ bl ReadBool__12CInputStreamFv +/* 800D6080 000D2FE0 7C 7A 1B 78 */ mr r26, r3 +/* 800D6084 000D2FE4 7F C3 F3 78 */ mr r3, r30 +/* 800D6088 000D2FE8 48 26 8C 55 */ bl ReadBool__12CInputStreamFv +/* 800D608C 000D2FEC 7C 7B 1B 78 */ mr r27, r3 +/* 800D6090 000D2FF0 7F C3 F3 78 */ mr r3, r30 +/* 800D6094 000D2FF4 48 26 8C 49 */ bl ReadBool__12CInputStreamFv +/* 800D6098 000D2FF8 7C 7C 1B 78 */ mr r28, r3 +/* 800D609C 000D2FFC 7F C3 F3 78 */ mr r3, r30 +/* 800D60A0 000D3000 48 26 8B E5 */ bl ReadLong__12CInputStreamFv +/* 800D60A4 000D3004 2C 12 00 00 */ cmpwi r18, 0 +/* 800D60A8 000D3008 7C 7E 1B 78 */ mr r30, r3 +/* 800D60AC 000D300C 40 80 00 14 */ bge lbl_800D60C0 +/* 800D60B0 000D3010 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D60B4 000D3014 48 26 7A 2D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D60B8 000D3018 38 60 00 00 */ li r3, 0 +/* 800D60BC 000D301C 48 00 00 B0 */ b lbl_800D616C +lbl_800D60C0: +/* 800D60C0 000D3020 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D60C4 000D3024 38 60 01 20 */ li r3, 0x120 +/* 800D60C8 000D3028 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D60CC 000D302C 38 A0 00 00 */ li r5, 0 +/* 800D60D0 000D3030 38 84 00 0D */ addi r4, r4, 0xd +/* 800D60D4 000D3034 48 23 F7 99 */ bl __nw__FUlPCcPCc +/* 800D60D8 000D3038 7C 6F 1B 79 */ or. r15, r3, r3 +/* 800D60DC 000D303C 41 82 00 84 */ beq lbl_800D6160 +/* 800D60E0 000D3040 7F A4 EB 78 */ mr r4, r29 +/* 800D60E4 000D3044 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D60E8 000D3048 4B F7 6F F5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D60EC 000D304C A0 81 00 40 */ lhz r4, 0x40(r1) +/* 800D60F0 000D3050 38 00 00 00 */ li r0, 0 +/* 800D60F4 000D3054 FC 20 F8 90 */ fmr f1, f31 +/* 800D60F8 000D3058 7D E3 7B 78 */ mr r3, r15 +/* 800D60FC 000D305C B0 81 00 44 */ sth r4, 0x44(r1) +/* 800D6100 000D3060 FC 40 F0 90 */ fmr f2, f30 +/* 800D6104 000D3064 FC 60 E8 90 */ fmr f3, f29 +/* 800D6108 000D3068 7F E6 FB 78 */ mr r6, r31 +/* 800D610C 000D306C 92 61 00 08 */ stw r19, 8(r1) +/* 800D6110 000D3070 7E 29 8B 78 */ mr r9, r17 +/* 800D6114 000D3074 7E 0A 83 78 */ mr r10, r16 +/* 800D6118 000D3078 38 81 00 44 */ addi r4, r1, 0x44 +/* 800D611C 000D307C 90 01 00 0C */ stw r0, 0xc(r1) +/* 800D6120 000D3080 38 A1 00 48 */ addi r5, r1, 0x48 +/* 800D6124 000D3084 38 E1 00 58 */ addi r7, r1, 0x58 +/* 800D6128 000D3088 56 48 04 3E */ clrlwi r8, r18, 0x10 +/* 800D612C 000D308C 92 81 00 10 */ stw r20, 0x10(r1) +/* 800D6130 000D3090 92 A1 00 14 */ stw r21, 0x14(r1) +/* 800D6134 000D3094 90 01 00 18 */ stw r0, 0x18(r1) +/* 800D6138 000D3098 92 C1 00 1C */ stw r22, 0x1c(r1) +/* 800D613C 000D309C 92 E1 00 20 */ stw r23, 0x20(r1) +/* 800D6140 000D30A0 93 01 00 24 */ stw r24, 0x24(r1) +/* 800D6144 000D30A4 93 21 00 28 */ stw r25, 0x28(r1) +/* 800D6148 000D30A8 93 41 00 2C */ stw r26, 0x2c(r1) +/* 800D614C 000D30AC 93 61 00 30 */ stw r27, 0x30(r1) +/* 800D6150 000D30B0 93 81 00 34 */ stw r28, 0x34(r1) +/* 800D6154 000D30B4 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800D6158 000D30B8 4B FD A8 4D */ bl "__ct__12CScriptSoundF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fUsbfffiiiibbbbbb" +/* 800D615C 000D30BC 7C 6F 1B 78 */ mr r15, r3 +lbl_800D6160: +/* 800D6160 000D30C0 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D6164 000D30C4 48 26 79 7D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D6168 000D30C8 7D E3 7B 78 */ mr r3, r15 +lbl_800D616C: +/* 800D616C 000D30CC CB E1 00 E8 */ lfd f31, 0xe8(r1) +/* 800D6170 000D30D0 CB C1 00 E0 */ lfd f30, 0xe0(r1) +/* 800D6174 000D30D4 CB A1 00 D8 */ lfd f29, 0xd8(r1) +/* 800D6178 000D30D8 B9 E1 00 94 */ lmw r15, 0x94(r1) +/* 800D617C 000D30DC 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 800D6180 000D30E0 7C 08 03 A6 */ mtlr r0 +/* 800D6184 000D30E4 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 800D6188 000D30E8 4E 80 00 20 */ blr + +.global LoadGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadGenerator__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D618C 000D30EC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800D6190 000D30F0 7C 08 02 A6 */ mflr r0 +/* 800D6194 000D30F4 2C 05 00 08 */ cmpwi r5, 8 +/* 800D6198 000D30F8 90 01 00 74 */ stw r0, 0x74(r1) +/* 800D619C 000D30FC DB E1 00 68 */ stfd f31, 0x68(r1) +/* 800D61A0 000D3100 DB C1 00 60 */ stfd f30, 0x60(r1) +/* 800D61A4 000D3104 BF 21 00 44 */ stmw r25, 0x44(r1) +/* 800D61A8 000D3108 7C 79 1B 78 */ mr r25, r3 +/* 800D61AC 000D310C 7C 9D 23 78 */ mr r29, r4 +/* 800D61B0 000D3110 7C DA 33 78 */ mr r26, r6 +/* 800D61B4 000D3114 41 82 00 0C */ beq lbl_800D61C0 +/* 800D61B8 000D3118 38 60 00 00 */ li r3, 0 +/* 800D61BC 000D311C 48 00 00 E0 */ b lbl_800D629C +lbl_800D61C0: +/* 800D61C0 000D3120 4B F6 F0 25 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D61C4 000D3124 7C 64 1B 78 */ mr r4, r3 +/* 800D61C8 000D3128 38 61 00 24 */ addi r3, r1, 0x24 +/* 800D61CC 000D312C 48 26 7F 95 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D61D0 000D3130 7F A3 EB 78 */ mr r3, r29 +/* 800D61D4 000D3134 48 26 8A B1 */ bl ReadLong__12CInputStreamFv +/* 800D61D8 000D3138 7C 7E 1B 78 */ mr r30, r3 +/* 800D61DC 000D313C 7F A3 EB 78 */ mr r3, r29 +/* 800D61E0 000D3140 48 26 8A FD */ bl ReadBool__12CInputStreamFv +/* 800D61E4 000D3144 7C 60 1B 78 */ mr r0, r3 +/* 800D61E8 000D3148 7F A3 EB 78 */ mr r3, r29 +/* 800D61EC 000D314C 7C 1C 03 78 */ mr r28, r0 +/* 800D61F0 000D3150 48 26 8A ED */ bl ReadBool__12CInputStreamFv +/* 800D61F4 000D3154 7C 7B 1B 78 */ mr r27, r3 +/* 800D61F8 000D3158 7F A4 EB 78 */ mr r4, r29 +/* 800D61FC 000D315C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D6200 000D3160 48 23 E9 8D */ bl __ct__9CVector3fFR12CInputStream +/* 800D6204 000D3164 7F A3 EB 78 */ mr r3, r29 +/* 800D6208 000D3168 48 26 8A D5 */ bl ReadBool__12CInputStreamFv +/* 800D620C 000D316C 7C 7F 1B 78 */ mr r31, r3 +/* 800D6210 000D3170 7F A3 EB 78 */ mr r3, r29 +/* 800D6214 000D3174 48 26 8A 15 */ bl ReadFloat__12CInputStreamFv +/* 800D6218 000D3178 FF E0 08 90 */ fmr f31, f1 +/* 800D621C 000D317C 7F A3 EB 78 */ mr r3, r29 +/* 800D6220 000D3180 48 26 8A 09 */ bl ReadFloat__12CInputStreamFv +/* 800D6224 000D3184 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D6228 000D3188 FF C0 08 90 */ fmr f30, f1 +/* 800D622C 000D318C 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D6230 000D3190 38 A0 00 00 */ li r5, 0 +/* 800D6234 000D3194 38 60 00 50 */ li r3, 0x50 +/* 800D6238 000D3198 38 84 00 0D */ addi r4, r4, 0xd +/* 800D623C 000D319C 48 23 F6 31 */ bl __nw__FUlPCcPCc +/* 800D6240 000D31A0 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800D6244 000D31A4 41 82 00 4C */ beq lbl_800D6290 +/* 800D6248 000D31A8 7F 24 CB 78 */ mr r4, r25 +/* 800D624C 000D31AC 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D6250 000D31B0 4B F7 6E 8D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D6254 000D31B4 A0 01 00 10 */ lhz r0, 0x10(r1) +/* 800D6258 000D31B8 FC 20 F8 90 */ fmr f1, f31 +/* 800D625C 000D31BC FC 40 F0 90 */ fmr f2, f30 +/* 800D6260 000D31C0 7F A3 EB 78 */ mr r3, r29 +/* 800D6264 000D31C4 B0 01 00 14 */ sth r0, 0x14(r1) +/* 800D6268 000D31C8 7F 46 D3 78 */ mr r6, r26 +/* 800D626C 000D31CC 7F C7 F3 78 */ mr r7, r30 +/* 800D6270 000D31D0 93 E1 00 08 */ stw r31, 8(r1) +/* 800D6274 000D31D4 7F 88 E3 78 */ mr r8, r28 +/* 800D6278 000D31D8 7F 6A DB 78 */ mr r10, r27 +/* 800D627C 000D31DC 38 81 00 14 */ addi r4, r1, 0x14 +/* 800D6280 000D31E0 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800D6284 000D31E4 39 21 00 18 */ addi r9, r1, 0x18 +/* 800D6288 000D31E8 4B FD ED 7D */ bl "__ct__16CScriptGeneratorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoibRC9CVector3fbbff" +/* 800D628C 000D31EC 7C 7D 1B 78 */ mr r29, r3 +lbl_800D6290: +/* 800D6290 000D31F0 38 61 00 24 */ addi r3, r1, 0x24 +/* 800D6294 000D31F4 48 26 78 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D6298 000D31F8 7F A3 EB 78 */ mr r3, r29 +lbl_800D629C: +/* 800D629C 000D31FC CB E1 00 68 */ lfd f31, 0x68(r1) +/* 800D62A0 000D3200 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 800D62A4 000D3204 BB 21 00 44 */ lmw r25, 0x44(r1) +/* 800D62A8 000D3208 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800D62AC 000D320C 7C 08 03 A6 */ mtlr r0 +/* 800D62B0 000D3210 38 21 00 70 */ addi r1, r1, 0x70 +/* 800D62B4 000D3214 4E 80 00 20 */ blr + +.global LoadCounter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadCounter__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D62B8 000D3218 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800D62BC 000D321C 7C 08 02 A6 */ mflr r0 +/* 800D62C0 000D3220 2C 05 00 05 */ cmpwi r5, 5 +/* 800D62C4 000D3224 90 01 00 44 */ stw r0, 0x44(r1) +/* 800D62C8 000D3228 BF 21 00 24 */ stmw r25, 0x24(r1) +/* 800D62CC 000D322C 7C 79 1B 78 */ mr r25, r3 +/* 800D62D0 000D3230 7C 9B 23 78 */ mr r27, r4 +/* 800D62D4 000D3234 7C DA 33 78 */ mr r26, r6 +/* 800D62D8 000D3238 41 82 00 0C */ beq lbl_800D62E4 +/* 800D62DC 000D323C 38 60 00 00 */ li r3, 0 +/* 800D62E0 000D3240 48 00 00 AC */ b lbl_800D638C +lbl_800D62E4: +/* 800D62E4 000D3244 4B F6 EF 01 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D62E8 000D3248 7C 64 1B 78 */ mr r4, r3 +/* 800D62EC 000D324C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D62F0 000D3250 48 26 7E 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D62F4 000D3254 7F 63 DB 78 */ mr r3, r27 +/* 800D62F8 000D3258 48 26 89 8D */ bl ReadLong__12CInputStreamFv +/* 800D62FC 000D325C 7C 7F 1B 78 */ mr r31, r3 +/* 800D6300 000D3260 7F 63 DB 78 */ mr r3, r27 +/* 800D6304 000D3264 48 26 89 81 */ bl ReadLong__12CInputStreamFv +/* 800D6308 000D3268 7C 7E 1B 78 */ mr r30, r3 +/* 800D630C 000D326C 7F 63 DB 78 */ mr r3, r27 +/* 800D6310 000D3270 48 26 89 CD */ bl ReadBool__12CInputStreamFv +/* 800D6314 000D3274 7C 7D 1B 78 */ mr r29, r3 +/* 800D6318 000D3278 7F 63 DB 78 */ mr r3, r27 +/* 800D631C 000D327C 48 26 89 C1 */ bl ReadBool__12CInputStreamFv +/* 800D6320 000D3280 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D6324 000D3284 7C 7C 1B 78 */ mr r28, r3 +/* 800D6328 000D3288 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D632C 000D328C 38 60 00 44 */ li r3, 0x44 +/* 800D6330 000D3290 38 A0 00 00 */ li r5, 0 +/* 800D6334 000D3294 38 84 00 0D */ addi r4, r4, 0xd +/* 800D6338 000D3298 48 23 F5 35 */ bl __nw__FUlPCcPCc +/* 800D633C 000D329C 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800D6340 000D32A0 41 82 00 40 */ beq lbl_800D6380 +/* 800D6344 000D32A4 7F 24 CB 78 */ mr r4, r25 +/* 800D6348 000D32A8 38 61 00 08 */ addi r3, r1, 8 +/* 800D634C 000D32AC 4B F7 6D 91 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D6350 000D32B0 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D6354 000D32B4 7F 63 DB 78 */ mr r3, r27 +/* 800D6358 000D32B8 7F 46 D3 78 */ mr r6, r26 +/* 800D635C 000D32BC 7F E7 FB 78 */ mr r7, r31 +/* 800D6360 000D32C0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D6364 000D32C4 7F C8 F3 78 */ mr r8, r30 +/* 800D6368 000D32C8 7F A9 EB 78 */ mr r9, r29 +/* 800D636C 000D32CC 7F 8A E3 78 */ mr r10, r28 +/* 800D6370 000D32D0 38 81 00 0C */ addi r4, r1, 0xc +/* 800D6374 000D32D4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D6378 000D32D8 4B FC 82 D1 */ bl "__ct__14CScriptCounterF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoiibb" +/* 800D637C 000D32DC 7C 7B 1B 78 */ mr r27, r3 +lbl_800D6380: +/* 800D6380 000D32E0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D6384 000D32E4 48 26 77 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D6388 000D32E8 7F 63 DB 78 */ mr r3, r27 +lbl_800D638C: +/* 800D638C 000D32EC BB 21 00 24 */ lmw r25, 0x24(r1) +/* 800D6390 000D32F0 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800D6394 000D32F4 7C 08 03 A6 */ mtlr r0 +/* 800D6398 000D32F8 38 21 00 40 */ addi r1, r1, 0x40 +/* 800D639C 000D32FC 4E 80 00 20 */ blr + +.global LoadTimer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadTimer__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D63A0 000D3300 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800D63A4 000D3304 7C 08 02 A6 */ mflr r0 +/* 800D63A8 000D3308 2C 05 00 06 */ cmpwi r5, 6 +/* 800D63AC 000D330C 90 01 00 54 */ stw r0, 0x54(r1) +/* 800D63B0 000D3310 DB E1 00 48 */ stfd f31, 0x48(r1) +/* 800D63B4 000D3314 DB C1 00 40 */ stfd f30, 0x40(r1) +/* 800D63B8 000D3318 BF 41 00 28 */ stmw r26, 0x28(r1) +/* 800D63BC 000D331C 7C 7A 1B 78 */ mr r26, r3 +/* 800D63C0 000D3320 7C 9C 23 78 */ mr r28, r4 +/* 800D63C4 000D3324 7C DB 33 78 */ mr r27, r6 +/* 800D63C8 000D3328 41 82 00 0C */ beq lbl_800D63D4 +/* 800D63CC 000D332C 38 60 00 00 */ li r3, 0 +/* 800D63D0 000D3330 48 00 00 BC */ b lbl_800D648C +lbl_800D63D4: +/* 800D63D4 000D3334 4B F6 EE 11 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D63D8 000D3338 7C 64 1B 78 */ mr r4, r3 +/* 800D63DC 000D333C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D63E0 000D3340 48 26 7D 81 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D63E4 000D3344 7F 83 E3 78 */ mr r3, r28 +/* 800D63E8 000D3348 48 26 88 41 */ bl ReadFloat__12CInputStreamFv +/* 800D63EC 000D334C FF E0 08 90 */ fmr f31, f1 +/* 800D63F0 000D3350 7F 83 E3 78 */ mr r3, r28 +/* 800D63F4 000D3354 48 26 88 35 */ bl ReadFloat__12CInputStreamFv +/* 800D63F8 000D3358 FF C0 08 90 */ fmr f30, f1 +/* 800D63FC 000D335C 7F 83 E3 78 */ mr r3, r28 +/* 800D6400 000D3360 48 26 88 DD */ bl ReadBool__12CInputStreamFv +/* 800D6404 000D3364 7C 7F 1B 78 */ mr r31, r3 +/* 800D6408 000D3368 7F 83 E3 78 */ mr r3, r28 +/* 800D640C 000D336C 48 26 88 D1 */ bl ReadBool__12CInputStreamFv +/* 800D6410 000D3370 7C 7E 1B 78 */ mr r30, r3 +/* 800D6414 000D3374 7F 83 E3 78 */ mr r3, r28 +/* 800D6418 000D3378 48 26 88 C5 */ bl ReadBool__12CInputStreamFv +/* 800D641C 000D337C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D6420 000D3380 7C 7D 1B 78 */ mr r29, r3 +/* 800D6424 000D3384 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D6428 000D3388 38 60 00 44 */ li r3, 0x44 +/* 800D642C 000D338C 38 A0 00 00 */ li r5, 0 +/* 800D6430 000D3390 38 84 00 0D */ addi r4, r4, 0xd +/* 800D6434 000D3394 48 23 F4 39 */ bl __nw__FUlPCcPCc +/* 800D6438 000D3398 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800D643C 000D339C 41 82 00 44 */ beq lbl_800D6480 +/* 800D6440 000D33A0 7F 44 D3 78 */ mr r4, r26 +/* 800D6444 000D33A4 38 61 00 08 */ addi r3, r1, 8 +/* 800D6448 000D33A8 4B F7 6C 95 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D644C 000D33AC A0 01 00 08 */ lhz r0, 8(r1) +/* 800D6450 000D33B0 FC 20 F8 90 */ fmr f1, f31 +/* 800D6454 000D33B4 FC 40 F0 90 */ fmr f2, f30 +/* 800D6458 000D33B8 7F 83 E3 78 */ mr r3, r28 +/* 800D645C 000D33BC B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D6460 000D33C0 7F 66 DB 78 */ mr r6, r27 +/* 800D6464 000D33C4 7F E7 FB 78 */ mr r7, r31 +/* 800D6468 000D33C8 7F C8 F3 78 */ mr r8, r30 +/* 800D646C 000D33CC 7F A9 EB 78 */ mr r9, r29 +/* 800D6470 000D33D0 38 81 00 0C */ addi r4, r1, 0xc +/* 800D6474 000D33D4 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D6478 000D33D8 4B FB C6 21 */ bl "__ct__12CScriptTimerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoffbbb" +/* 800D647C 000D33DC 7C 7C 1B 78 */ mr r28, r3 +lbl_800D6480: +/* 800D6480 000D33E0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D6484 000D33E4 48 26 76 5D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D6488 000D33E8 7F 83 E3 78 */ mr r3, r28 +lbl_800D648C: +/* 800D648C 000D33EC CB E1 00 48 */ lfd f31, 0x48(r1) +/* 800D6490 000D33F0 CB C1 00 40 */ lfd f30, 0x40(r1) +/* 800D6494 000D33F4 BB 41 00 28 */ lmw r26, 0x28(r1) +/* 800D6498 000D33F8 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800D649C 000D33FC 7C 08 03 A6 */ mtlr r0 +/* 800D64A0 000D3400 38 21 00 50 */ addi r1, r1, 0x50 +/* 800D64A4 000D3404 4E 80 00 20 */ blr + +.global LoadEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadEffect__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D64A8 000D3408 94 21 FE 40 */ stwu r1, -0x1c0(r1) +/* 800D64AC 000D340C 7C 08 02 A6 */ mflr r0 +/* 800D64B0 000D3410 90 01 01 C4 */ stw r0, 0x1c4(r1) +/* 800D64B4 000D3414 DB E1 01 B0 */ stfd f31, 0x1b0(r1) +/* 800D64B8 000D3418 F3 E1 01 B8 */ psq_st f31, 440(r1), 0, qr0 +/* 800D64BC 000D341C DB C1 01 A0 */ stfd f30, 0x1a0(r1) +/* 800D64C0 000D3420 F3 C1 01 A8 */ psq_st f30, 424(r1), 0, qr0 +/* 800D64C4 000D3424 DB A1 01 90 */ stfd f29, 0x190(r1) +/* 800D64C8 000D3428 F3 A1 01 98 */ psq_st f29, 408(r1), 0, qr0 +/* 800D64CC 000D342C DB 81 01 80 */ stfd f28, 0x180(r1) +/* 800D64D0 000D3430 F3 81 01 88 */ psq_st f28, 392(r1), 0, qr0 +/* 800D64D4 000D3434 DB 61 01 70 */ stfd f27, 0x170(r1) +/* 800D64D8 000D3438 F3 61 01 78 */ psq_st f27, 376(r1), 0, qr0 +/* 800D64DC 000D343C DB 41 01 60 */ stfd f26, 0x160(r1) +/* 800D64E0 000D3440 F3 41 01 68 */ psq_st f26, 360(r1), 0, qr0 +/* 800D64E4 000D3444 DB 21 01 50 */ stfd f25, 0x150(r1) +/* 800D64E8 000D3448 F3 21 01 58 */ psq_st f25, 344(r1), 0, qr0 +/* 800D64EC 000D344C BE 01 01 10 */ stmw r16, 0x110(r1) +/* 800D64F0 000D3450 2C 05 00 18 */ cmpwi r5, 0x18 +/* 800D64F4 000D3454 7C 7F 1B 78 */ mr r31, r3 +/* 800D64F8 000D3458 7C 91 23 78 */ mr r17, r4 +/* 800D64FC 000D345C 7C D2 33 78 */ mr r18, r6 +/* 800D6500 000D3460 41 82 00 0C */ beq lbl_800D650C +/* 800D6504 000D3464 38 60 00 00 */ li r3, 0 +/* 800D6508 000D3468 48 00 02 C4 */ b lbl_800D67CC +lbl_800D650C: +/* 800D650C 000D346C 7F E5 FB 78 */ mr r5, r31 +/* 800D6510 000D3470 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800D6514 000D3474 48 00 3F 69 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D6518 000D3478 7E 23 8B 78 */ mr r3, r17 +/* 800D651C 000D347C 48 26 87 69 */ bl ReadLong__12CInputStreamFv +/* 800D6520 000D3480 7C 74 1B 78 */ mr r20, r3 +/* 800D6524 000D3484 7E 23 8B 78 */ mr r3, r17 +/* 800D6528 000D3488 48 26 87 5D */ bl ReadLong__12CInputStreamFv +/* 800D652C 000D348C 7C 73 1B 78 */ mr r19, r3 +/* 800D6530 000D3490 7E 23 8B 78 */ mr r3, r17 +/* 800D6534 000D3494 48 26 87 A9 */ bl ReadBool__12CInputStreamFv +/* 800D6538 000D3498 7C 75 1B 78 */ mr r21, r3 +/* 800D653C 000D349C 7E 23 8B 78 */ mr r3, r17 +/* 800D6540 000D34A0 48 26 87 9D */ bl ReadBool__12CInputStreamFv +/* 800D6544 000D34A4 7C 76 1B 78 */ mr r22, r3 +/* 800D6548 000D34A8 7E 23 8B 78 */ mr r3, r17 +/* 800D654C 000D34AC 48 26 87 91 */ bl ReadBool__12CInputStreamFv +/* 800D6550 000D34B0 7C 77 1B 78 */ mr r23, r3 +/* 800D6554 000D34B4 7E 23 8B 78 */ mr r3, r17 +/* 800D6558 000D34B8 48 26 87 85 */ bl ReadBool__12CInputStreamFv +/* 800D655C 000D34BC 3C 14 00 01 */ addis r0, r20, 1 +/* 800D6560 000D34C0 7C 78 1B 78 */ mr r24, r3 +/* 800D6564 000D34C4 28 00 FF FF */ cmplwi r0, 0xffff +/* 800D6568 000D34C8 40 82 00 20 */ bne lbl_800D6588 +/* 800D656C 000D34CC 3C 13 00 01 */ addis r0, r19, 1 +/* 800D6570 000D34D0 28 00 FF FF */ cmplwi r0, 0xffff +/* 800D6574 000D34D4 40 82 00 14 */ bne lbl_800D6588 +/* 800D6578 000D34D8 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800D657C 000D34DC 48 26 75 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D6580 000D34E0 38 60 00 00 */ li r3, 0 +/* 800D6584 000D34E4 48 00 02 48 */ b lbl_800D67CC +lbl_800D6588: +/* 800D6588 000D34E8 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800D658C 000D34EC 7E 84 A3 78 */ mr r4, r20 +/* 800D6590 000D34F0 38 63 00 04 */ addi r3, r3, 4 +/* 800D6594 000D34F4 48 26 57 39 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D6598 000D34F8 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D659C 000D34FC 7C 70 1B 78 */ mr r16, r3 +/* 800D65A0 000D3500 7E 64 9B 78 */ mr r4, r19 +/* 800D65A4 000D3504 38 65 00 04 */ addi r3, r5, 4 +/* 800D65A8 000D3508 48 26 57 25 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D65AC 000D350C 28 10 00 00 */ cmplwi r16, 0 +/* 800D65B0 000D3510 40 82 00 1C */ bne lbl_800D65CC +/* 800D65B4 000D3514 28 03 00 00 */ cmplwi r3, 0 +/* 800D65B8 000D3518 40 82 00 14 */ bne lbl_800D65CC +/* 800D65BC 000D351C 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800D65C0 000D3520 48 26 75 21 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D65C4 000D3524 38 60 00 00 */ li r3, 0 +/* 800D65C8 000D3528 48 00 02 04 */ b lbl_800D67CC +lbl_800D65CC: +/* 800D65CC 000D352C 7E 23 8B 78 */ mr r3, r17 +/* 800D65D0 000D3530 48 26 87 0D */ bl ReadBool__12CInputStreamFv +/* 800D65D4 000D3534 7C 79 1B 78 */ mr r25, r3 +/* 800D65D8 000D3538 7E 23 8B 78 */ mr r3, r17 +/* 800D65DC 000D353C 48 26 86 4D */ bl ReadFloat__12CInputStreamFv +/* 800D65E0 000D3540 FF E0 08 90 */ fmr f31, f1 +/* 800D65E4 000D3544 7E 23 8B 78 */ mr r3, r17 +/* 800D65E8 000D3548 48 26 86 41 */ bl ReadFloat__12CInputStreamFv +/* 800D65EC 000D354C FF C0 08 90 */ fmr f30, f1 +/* 800D65F0 000D3550 7E 23 8B 78 */ mr r3, r17 +/* 800D65F4 000D3554 48 26 86 35 */ bl ReadFloat__12CInputStreamFv +/* 800D65F8 000D3558 FF A0 08 90 */ fmr f29, f1 +/* 800D65FC 000D355C 7E 23 8B 78 */ mr r3, r17 +/* 800D6600 000D3560 48 26 86 29 */ bl ReadFloat__12CInputStreamFv +/* 800D6604 000D3564 FF 80 08 90 */ fmr f28, f1 +/* 800D6608 000D3568 7E 23 8B 78 */ mr r3, r17 +/* 800D660C 000D356C 48 26 86 D1 */ bl ReadBool__12CInputStreamFv +/* 800D6610 000D3570 7C 7A 1B 78 */ mr r26, r3 +/* 800D6614 000D3574 7E 23 8B 78 */ mr r3, r17 +/* 800D6618 000D3578 48 26 86 11 */ bl ReadFloat__12CInputStreamFv +/* 800D661C 000D357C FF 60 08 90 */ fmr f27, f1 +/* 800D6620 000D3580 7E 23 8B 78 */ mr r3, r17 +/* 800D6624 000D3584 48 26 86 05 */ bl ReadFloat__12CInputStreamFv +/* 800D6628 000D3588 FF 40 08 90 */ fmr f26, f1 +/* 800D662C 000D358C 7E 23 8B 78 */ mr r3, r17 +/* 800D6630 000D3590 48 26 85 F9 */ bl ReadFloat__12CInputStreamFv +/* 800D6634 000D3594 FF 20 08 90 */ fmr f25, f1 +/* 800D6638 000D3598 7E 23 8B 78 */ mr r3, r17 +/* 800D663C 000D359C 48 26 86 A1 */ bl ReadBool__12CInputStreamFv +/* 800D6640 000D35A0 7C 7B 1B 78 */ mr r27, r3 +/* 800D6644 000D35A4 7E 23 8B 78 */ mr r3, r17 +/* 800D6648 000D35A8 48 26 86 95 */ bl ReadBool__12CInputStreamFv +/* 800D664C 000D35AC 7C 7C 1B 78 */ mr r28, r3 +/* 800D6650 000D35B0 7E 23 8B 78 */ mr r3, r17 +/* 800D6654 000D35B4 48 26 86 89 */ bl ReadBool__12CInputStreamFv +/* 800D6658 000D35B8 7C 7D 1B 78 */ mr r29, r3 +/* 800D665C 000D35BC 7E 23 8B 78 */ mr r3, r17 +/* 800D6660 000D35C0 48 26 86 7D */ bl ReadBool__12CInputStreamFv +/* 800D6664 000D35C4 7C 7E 1B 78 */ mr r30, r3 +/* 800D6668 000D35C8 7E 24 8B 78 */ mr r4, r17 +/* 800D666C 000D35CC 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D6670 000D35D0 48 00 3B ED */ bl LoadLightParameters__FR12CInputStream +/* 800D6674 000D35D4 8A 21 00 44 */ lbz r17, 0x44(r1) +/* 800D6678 000D35D8 3C 60 80 3E */ lis r3, lbl_803DFF80@ha +/* 800D667C 000D35DC C0 A1 00 48 */ lfs f5, 0x48(r1) +/* 800D6680 000D35E0 3A 03 FF 80 */ addi r16, r3, lbl_803DFF80@l +/* 800D6684 000D35E4 81 81 00 4C */ lwz r12, 0x4c(r1) +/* 800D6688 000D35E8 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D668C 000D35EC C0 81 00 50 */ lfs f4, 0x50(r1) +/* 800D6690 000D35F0 38 80 FF FF */ li r4, -1 +/* 800D6694 000D35F4 C0 61 00 54 */ lfs f3, 0x54(r1) +/* 800D6698 000D35F8 81 61 00 58 */ lwz r11, 0x58(r1) +/* 800D669C 000D35FC 89 41 00 5C */ lbz r10, 0x5c(r1) +/* 800D66A0 000D3600 89 21 00 5D */ lbz r9, 0x5d(r1) +/* 800D66A4 000D3604 81 01 00 60 */ lwz r8, 0x60(r1) +/* 800D66A8 000D3608 80 E1 00 64 */ lwz r7, 0x64(r1) +/* 800D66AC 000D360C 80 C1 00 68 */ lwz r6, 0x68(r1) +/* 800D66B0 000D3610 C0 41 00 6C */ lfs f2, 0x6c(r1) +/* 800D66B4 000D3614 C0 21 00 70 */ lfs f1, 0x70(r1) +/* 800D66B8 000D3618 C0 01 00 74 */ lfs f0, 0x74(r1) +/* 800D66BC 000D361C 80 A1 00 78 */ lwz r5, 0x78(r1) +/* 800D66C0 000D3620 80 01 00 7C */ lwz r0, 0x7c(r1) +/* 800D66C4 000D3624 92 01 00 80 */ stw r16, 0x80(r1) +/* 800D66C8 000D3628 9A 21 00 84 */ stb r17, 0x84(r1) +/* 800D66CC 000D362C D0 A1 00 88 */ stfs f5, 0x88(r1) +/* 800D66D0 000D3630 91 81 00 8C */ stw r12, 0x8c(r1) +/* 800D66D4 000D3634 D0 81 00 90 */ stfs f4, 0x90(r1) +/* 800D66D8 000D3638 D0 61 00 94 */ stfs f3, 0x94(r1) +/* 800D66DC 000D363C 91 61 00 98 */ stw r11, 0x98(r1) +/* 800D66E0 000D3640 99 41 00 9C */ stb r10, 0x9c(r1) +/* 800D66E4 000D3644 99 21 00 9D */ stb r9, 0x9d(r1) +/* 800D66E8 000D3648 91 01 00 A0 */ stw r8, 0xa0(r1) +/* 800D66EC 000D364C 90 E1 00 A4 */ stw r7, 0xa4(r1) +/* 800D66F0 000D3650 90 C1 00 A8 */ stw r6, 0xa8(r1) +/* 800D66F4 000D3654 D0 41 00 AC */ stfs f2, 0xac(r1) +/* 800D66F8 000D3658 D0 21 00 B0 */ stfs f1, 0xb0(r1) +/* 800D66FC 000D365C D0 01 00 B4 */ stfs f0, 0xb4(r1) +/* 800D6700 000D3660 90 A1 00 B8 */ stw r5, 0xb8(r1) +/* 800D6704 000D3664 90 01 00 BC */ stw r0, 0xbc(r1) +/* 800D6708 000D3668 48 02 FF 01 */ bl __dt__16CActorParametersFv +/* 800D670C 000D366C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D6710 000D3670 38 60 01 48 */ li r3, 0x148 +/* 800D6714 000D3674 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D6718 000D3678 38 A0 00 00 */ li r5, 0 +/* 800D671C 000D367C 38 84 00 0D */ addi r4, r4, 0xd +/* 800D6720 000D3680 48 23 F1 4D */ bl __nw__FUlPCcPCc +/* 800D6724 000D3684 7C 70 1B 79 */ or. r16, r3, r3 +/* 800D6728 000D3688 41 82 00 8C */ beq lbl_800D67B4 +/* 800D672C 000D368C 7F E4 FB 78 */ mr r4, r31 +/* 800D6730 000D3690 38 61 00 38 */ addi r3, r1, 0x38 +/* 800D6734 000D3694 4B F7 69 A9 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D6738 000D3698 A0 81 00 38 */ lhz r4, 0x38(r1) +/* 800D673C 000D369C 38 01 00 80 */ addi r0, r1, 0x80 +/* 800D6740 000D36A0 FC 20 F8 90 */ fmr f1, f31 +/* 800D6744 000D36A4 7E 03 83 78 */ mr r3, r16 +/* 800D6748 000D36A8 B0 81 00 3C */ sth r4, 0x3c(r1) +/* 800D674C 000D36AC FC 40 F0 90 */ fmr f2, f30 +/* 800D6750 000D36B0 FC 60 E8 90 */ fmr f3, f29 +/* 800D6754 000D36B4 7E 46 93 78 */ mr r6, r18 +/* 800D6758 000D36B8 92 A1 00 08 */ stw r21, 8(r1) +/* 800D675C 000D36BC FC 80 E0 90 */ fmr f4, f28 +/* 800D6760 000D36C0 FC A0 D8 90 */ fmr f5, f27 +/* 800D6764 000D36C4 7E 89 A3 78 */ mr r9, r20 +/* 800D6768 000D36C8 92 C1 00 0C */ stw r22, 0xc(r1) +/* 800D676C 000D36CC FC C0 D0 90 */ fmr f6, f26 +/* 800D6770 000D36D0 FC E0 C8 90 */ fmr f7, f25 +/* 800D6774 000D36D4 92 E1 00 10 */ stw r23, 0x10(r1) +/* 800D6778 000D36D8 7E 6A 9B 78 */ mr r10, r19 +/* 800D677C 000D36DC 38 81 00 3C */ addi r4, r1, 0x3c +/* 800D6780 000D36E0 93 01 00 14 */ stw r24, 0x14(r1) +/* 800D6784 000D36E4 38 A1 00 C0 */ addi r5, r1, 0xc0 +/* 800D6788 000D36E8 38 E1 00 D0 */ addi r7, r1, 0xd0 +/* 800D678C 000D36EC 39 01 01 00 */ addi r8, r1, 0x100 +/* 800D6790 000D36F0 93 21 00 18 */ stw r25, 0x18(r1) +/* 800D6794 000D36F4 93 41 00 1C */ stw r26, 0x1c(r1) +/* 800D6798 000D36F8 93 61 00 20 */ stw r27, 0x20(r1) +/* 800D679C 000D36FC 93 81 00 24 */ stw r28, 0x24(r1) +/* 800D67A0 000D3700 93 A1 00 28 */ stw r29, 0x28(r1) +/* 800D67A4 000D3704 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800D67A8 000D3708 93 C1 00 30 */ stw r30, 0x30(r1) +/* 800D67AC 000D370C 4B FB 89 95 */ bl "__ct__13CScriptEffectF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC9CVector3fUiUibbbbbffff" +/* 800D67B0 000D3710 7C 70 1B 78 */ mr r16, r3 +lbl_800D67B4: +/* 800D67B4 000D3714 38 61 00 80 */ addi r3, r1, 0x80 +/* 800D67B8 000D3718 38 80 FF FF */ li r4, -1 +/* 800D67BC 000D371C 48 02 FE 4D */ bl __dt__16CActorParametersFv +/* 800D67C0 000D3720 38 61 00 C0 */ addi r3, r1, 0xc0 +/* 800D67C4 000D3724 48 26 73 1D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D67C8 000D3728 7E 03 83 78 */ mr r3, r16 +lbl_800D67CC: +/* 800D67CC 000D372C E3 E1 01 B8 */ psq_l f31, 440(r1), 0, qr0 +/* 800D67D0 000D3730 CB E1 01 B0 */ lfd f31, 0x1b0(r1) +/* 800D67D4 000D3734 E3 C1 01 A8 */ psq_l f30, 424(r1), 0, qr0 +/* 800D67D8 000D3738 CB C1 01 A0 */ lfd f30, 0x1a0(r1) +/* 800D67DC 000D373C E3 A1 01 98 */ psq_l f29, 408(r1), 0, qr0 +/* 800D67E0 000D3740 CB A1 01 90 */ lfd f29, 0x190(r1) +/* 800D67E4 000D3744 E3 81 01 88 */ psq_l f28, 392(r1), 0, qr0 +/* 800D67E8 000D3748 CB 81 01 80 */ lfd f28, 0x180(r1) +/* 800D67EC 000D374C E3 61 01 78 */ psq_l f27, 376(r1), 0, qr0 +/* 800D67F0 000D3750 CB 61 01 70 */ lfd f27, 0x170(r1) +/* 800D67F4 000D3754 E3 41 01 68 */ psq_l f26, 360(r1), 0, qr0 +/* 800D67F8 000D3758 CB 41 01 60 */ lfd f26, 0x160(r1) +/* 800D67FC 000D375C E3 21 01 58 */ psq_l f25, 344(r1), 0, qr0 +/* 800D6800 000D3760 CB 21 01 50 */ lfd f25, 0x150(r1) +/* 800D6804 000D3764 BA 01 01 10 */ lmw r16, 0x110(r1) +/* 800D6808 000D3768 80 01 01 C4 */ lwz r0, 0x1c4(r1) +/* 800D680C 000D376C 7C 08 03 A6 */ mtlr r0 +/* 800D6810 000D3770 38 21 01 C0 */ addi r1, r1, 0x1c0 +/* 800D6814 000D3774 4E 80 00 20 */ blr + +.global LoadDoor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadDoor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D6818 000D3778 94 21 FD 60 */ stwu r1, -0x2a0(r1) +/* 800D681C 000D377C 7C 08 02 A6 */ mflr r0 +/* 800D6820 000D3780 90 01 02 A4 */ stw r0, 0x2a4(r1) +/* 800D6824 000D3784 DB E1 02 90 */ stfd f31, 0x290(r1) +/* 800D6828 000D3788 F3 E1 02 98 */ psq_st f31, 664(r1), 0, qr0 +/* 800D682C 000D378C BE E1 02 6C */ stmw r23, 0x26c(r1) +/* 800D6830 000D3790 7C B9 2B 78 */ mr r25, r5 +/* 800D6834 000D3794 7C 77 1B 78 */ mr r23, r3 +/* 800D6838 000D3798 2C 19 00 0D */ cmpwi r25, 0xd +/* 800D683C 000D379C 7C 98 23 78 */ mr r24, r4 +/* 800D6840 000D37A0 7C DA 33 78 */ mr r26, r6 +/* 800D6844 000D37A4 38 00 00 00 */ li r0, 0 +/* 800D6848 000D37A8 41 80 00 10 */ blt lbl_800D6858 +/* 800D684C 000D37AC 2C 19 00 0E */ cmpwi r25, 0xe +/* 800D6850 000D37B0 41 81 00 08 */ bgt lbl_800D6858 +/* 800D6854 000D37B4 38 00 00 01 */ li r0, 1 +lbl_800D6858: +/* 800D6858 000D37B8 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800D685C 000D37BC 40 82 00 0C */ bne lbl_800D6868 +/* 800D6860 000D37C0 38 60 00 00 */ li r3, 0 +/* 800D6864 000D37C4 48 00 02 D8 */ b lbl_800D6B3C +lbl_800D6868: +/* 800D6868 000D37C8 7F 04 C3 78 */ mr r4, r24 +/* 800D686C 000D37CC 7E E5 BB 78 */ mr r5, r23 +/* 800D6870 000D37D0 38 61 02 10 */ addi r3, r1, 0x210 +/* 800D6874 000D37D4 48 00 3C 09 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D6878 000D37D8 7F 04 C3 78 */ mr r4, r24 +/* 800D687C 000D37DC 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D6880 000D37E0 48 00 3B 8D */ bl LoadAnimationParameters__FR12CInputStream +/* 800D6884 000D37E4 83 61 00 30 */ lwz r27, 0x30(r1) +/* 800D6888 000D37E8 7F 04 C3 78 */ mr r4, r24 +/* 800D688C 000D37EC 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 800D6890 000D37F0 48 00 34 E5 */ bl LoadActorParameters__FR12CInputStream +/* 800D6894 000D37F4 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800D6898 000D37F8 38 81 00 F4 */ addi r4, r1, 0xf4 +/* 800D689C 000D37FC 4B FE ED 81 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D68A0 000D3800 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 800D68A4 000D3804 38 80 FF FF */ li r4, -1 +/* 800D68A8 000D3808 48 02 FD 61 */ bl __dt__16CActorParametersFv +/* 800D68AC 000D380C 7F 04 C3 78 */ mr r4, r24 +/* 800D68B0 000D3810 38 61 00 54 */ addi r3, r1, 0x54 +/* 800D68B4 000D3814 48 23 E2 D9 */ bl __ct__9CVector3fFR12CInputStream +/* 800D68B8 000D3818 7F 04 C3 78 */ mr r4, r24 +/* 800D68BC 000D381C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D68C0 000D3820 48 23 E2 CD */ bl __ct__9CVector3fFR12CInputStream +/* 800D68C4 000D3824 7F 04 C3 78 */ mr r4, r24 +/* 800D68C8 000D3828 38 61 00 3C */ addi r3, r1, 0x3c +/* 800D68CC 000D382C 48 23 E2 C1 */ bl __ct__9CVector3fFR12CInputStream +/* 800D68D0 000D3830 7F 03 C3 78 */ mr r3, r24 +/* 800D68D4 000D3834 48 26 84 09 */ bl ReadBool__12CInputStreamFv +/* 800D68D8 000D3838 7C 7D 1B 78 */ mr r29, r3 +/* 800D68DC 000D383C 7F 03 C3 78 */ mr r3, r24 +/* 800D68E0 000D3840 48 26 83 FD */ bl ReadBool__12CInputStreamFv +/* 800D68E4 000D3844 7C 7E 1B 78 */ mr r30, r3 +/* 800D68E8 000D3848 7F 03 C3 78 */ mr r3, r24 +/* 800D68EC 000D384C 48 26 83 F1 */ bl ReadBool__12CInputStreamFv +/* 800D68F0 000D3850 7C 7F 1B 78 */ mr r31, r3 +/* 800D68F4 000D3854 7F 03 C3 78 */ mr r3, r24 +/* 800D68F8 000D3858 48 26 83 31 */ bl ReadFloat__12CInputStreamFv +/* 800D68FC 000D385C 80 1A 00 00 */ lwz r0, 0(r26) +/* 800D6900 000D3860 FF E0 08 90 */ fmr f31, f1 +/* 800D6904 000D3864 3B 81 02 20 */ addi r28, r1, 0x220 +/* 800D6908 000D3868 7E E4 BB 78 */ mr r4, r23 +/* 800D690C 000D386C 90 01 00 28 */ stw r0, 0x28(r1) +/* 800D6910 000D3870 38 61 00 94 */ addi r3, r1, 0x94 +/* 800D6914 000D3874 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800D6918 000D3878 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800D691C 000D387C 38 C1 00 48 */ addi r6, r1, 0x48 +/* 800D6920 000D3880 38 E1 00 3C */ addi r7, r1, 0x3c +/* 800D6924 000D3884 48 00 3D F9 */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f +/* 800D6928 000D3888 C0 A1 00 94 */ lfs f5, 0x94(r1) +/* 800D692C 000D388C 7F 64 DB 78 */ mr r4, r27 +/* 800D6930 000D3890 C0 81 00 98 */ lfs f4, 0x98(r1) +/* 800D6934 000D3894 C0 61 00 9C */ lfs f3, 0x9c(r1) +/* 800D6938 000D3898 C0 41 00 A0 */ lfs f2, 0xa0(r1) +/* 800D693C 000D389C C0 21 00 A4 */ lfs f1, 0xa4(r1) +/* 800D6940 000D38A0 C0 01 00 A8 */ lfs f0, 0xa8(r1) +/* 800D6944 000D38A4 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800D6948 000D38A8 D0 A1 00 AC */ stfs f5, 0xac(r1) +/* 800D694C 000D38AC 38 63 00 04 */ addi r3, r3, 4 +/* 800D6950 000D38B0 D0 81 00 B0 */ stfs f4, 0xb0(r1) +/* 800D6954 000D38B4 D0 61 00 B4 */ stfs f3, 0xb4(r1) +/* 800D6958 000D38B8 D0 41 00 B8 */ stfs f2, 0xb8(r1) +/* 800D695C 000D38BC D0 21 00 BC */ stfs f1, 0xbc(r1) +/* 800D6960 000D38C0 D0 01 00 C0 */ stfs f0, 0xc0(r1) +/* 800D6964 000D38C4 48 26 53 69 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D6968 000D38C8 28 03 00 00 */ cmplwi r3, 0 +/* 800D696C 000D38CC 40 82 00 20 */ bne lbl_800D698C +/* 800D6970 000D38D0 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800D6974 000D38D4 38 80 FF FF */ li r4, -1 +/* 800D6978 000D38D8 48 02 FC 91 */ bl __dt__16CActorParametersFv +/* 800D697C 000D38DC 38 61 02 10 */ addi r3, r1, 0x210 +/* 800D6980 000D38E0 48 26 71 61 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D6984 000D38E4 38 60 00 00 */ li r3, 0 +/* 800D6988 000D38E8 48 00 01 B4 */ b lbl_800D6B3C +lbl_800D698C: +/* 800D698C 000D38EC 80 A2 83 F0 */ lwz r5, lbl_805AA110@sda21(r2) +/* 800D6990 000D38F0 38 00 00 00 */ li r0, 0 +/* 800D6994 000D38F4 C0 41 02 50 */ lfs f2, 0x250(r1) +/* 800D6998 000D38F8 38 61 01 5C */ addi r3, r1, 0x15c +/* 800D699C 000D38FC C0 21 02 54 */ lfs f1, 0x254(r1) +/* 800D69A0 000D3900 38 81 00 78 */ addi r4, r1, 0x78 +/* 800D69A4 000D3904 C0 01 02 58 */ lfs f0, 0x258(r1) +/* 800D69A8 000D3908 93 61 00 78 */ stw r27, 0x78(r1) +/* 800D69AC 000D390C 90 A1 00 7C */ stw r5, 0x7c(r1) +/* 800D69B0 000D3910 D0 41 00 80 */ stfs f2, 0x80(r1) +/* 800D69B4 000D3914 D0 21 00 84 */ stfs f1, 0x84(r1) +/* 800D69B8 000D3918 D0 01 00 88 */ stfs f0, 0x88(r1) +/* 800D69BC 000D391C 98 01 00 8C */ stb r0, 0x8c(r1) +/* 800D69C0 000D3920 90 01 00 90 */ stw r0, 0x90(r1) +/* 800D69C4 000D3924 48 04 01 91 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D69C8 000D3928 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800D69CC 000D392C C0 21 00 48 */ lfs f1, 0x48(r1) +/* 800D69D0 000D3930 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800D69D4 000D3934 38 00 00 00 */ li r0, 0 +/* 800D69D8 000D3938 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D69DC 000D393C 40 82 00 28 */ bne lbl_800D6A04 +/* 800D69E0 000D3940 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 800D69E4 000D3944 C0 03 00 04 */ lfs f0, 4(r3) +/* 800D69E8 000D3948 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D69EC 000D394C 40 82 00 18 */ bne lbl_800D6A04 +/* 800D69F0 000D3950 C0 21 00 50 */ lfs f1, 0x50(r1) +/* 800D69F4 000D3954 C0 03 00 08 */ lfs f0, 8(r3) +/* 800D69F8 000D3958 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D69FC 000D395C 40 82 00 08 */ bne lbl_800D6A04 +/* 800D6A00 000D3960 38 00 00 01 */ li r0, 1 +lbl_800D6A04: +/* 800D6A04 000D3964 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800D6A08 000D3968 41 82 00 50 */ beq lbl_800D6A58 +/* 800D6A0C 000D396C 7F 84 E3 78 */ mr r4, r28 +/* 800D6A10 000D3970 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 800D6A14 000D3974 48 23 C2 2D */ bl GetRotation__12CTransform4fCFv +/* 800D6A18 000D3978 38 61 00 60 */ addi r3, r1, 0x60 +/* 800D6A1C 000D397C 38 81 01 5C */ addi r4, r1, 0x15c +/* 800D6A20 000D3980 38 A1 00 C4 */ addi r5, r1, 0xc4 +/* 800D6A24 000D3984 48 03 ED 91 */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 800D6A28 000D3988 80 E1 00 60 */ lwz r7, 0x60(r1) +/* 800D6A2C 000D398C 80 C1 00 64 */ lwz r6, 0x64(r1) +/* 800D6A30 000D3990 80 A1 00 68 */ lwz r5, 0x68(r1) +/* 800D6A34 000D3994 80 81 00 6C */ lwz r4, 0x6c(r1) +/* 800D6A38 000D3998 80 61 00 70 */ lwz r3, 0x70(r1) +/* 800D6A3C 000D399C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800D6A40 000D39A0 90 E1 00 AC */ stw r7, 0xac(r1) +/* 800D6A44 000D39A4 90 C1 00 B0 */ stw r6, 0xb0(r1) +/* 800D6A48 000D39A8 90 A1 00 B4 */ stw r5, 0xb4(r1) +/* 800D6A4C 000D39AC 90 81 00 B8 */ stw r4, 0xb8(r1) +/* 800D6A50 000D39B0 90 61 00 BC */ stw r3, 0xbc(r1) +/* 800D6A54 000D39B4 90 01 00 C0 */ stw r0, 0xc0(r1) +lbl_800D6A58: +/* 800D6A58 000D39B8 2C 19 00 0D */ cmpwi r25, 0xd +/* 800D6A5C 000D39BC 3B 60 00 00 */ li r27, 0 +/* 800D6A60 000D39C0 40 82 00 1C */ bne lbl_800D6A7C +/* 800D6A64 000D39C4 80 61 01 6C */ lwz r3, 0x16c(r1) +/* 800D6A68 000D39C8 80 63 01 D8 */ lwz r3, 0x1d8(r3) +/* 800D6A6C 000D39CC 3C 03 E0 63 */ addis r0, r3, 0xe063 +/* 800D6A70 000D39D0 28 00 A8 58 */ cmplwi r0, 0xa858 +/* 800D6A74 000D39D4 40 82 00 08 */ bne lbl_800D6A7C +/* 800D6A78 000D39D8 3B 60 00 01 */ li r27, 1 +lbl_800D6A7C: +/* 800D6A7C 000D39DC 2C 19 00 0E */ cmpwi r25, 0xe +/* 800D6A80 000D39E0 40 82 00 10 */ bne lbl_800D6A90 +/* 800D6A84 000D39E4 7F 03 C3 78 */ mr r3, r24 +/* 800D6A88 000D39E8 48 26 82 55 */ bl ReadBool__12CInputStreamFv +/* 800D6A8C 000D39EC 7C 7B 1B 78 */ mr r27, r3 +lbl_800D6A90: +/* 800D6A90 000D39F0 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D6A94 000D39F4 38 60 02 B0 */ li r3, 0x2b0 +/* 800D6A98 000D39F8 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D6A9C 000D39FC 38 A0 00 00 */ li r5, 0 +/* 800D6AA0 000D3A00 38 84 00 0D */ addi r4, r4, 0xd +/* 800D6AA4 000D3A04 48 23 ED C9 */ bl __nw__FUlPCcPCc +/* 800D6AA8 000D3A08 7C 78 1B 79 */ or. r24, r3, r3 +/* 800D6AAC 000D3A0C 41 82 00 6C */ beq lbl_800D6B18 +/* 800D6AB0 000D3A10 7E E4 BB 78 */ mr r4, r23 +/* 800D6AB4 000D3A14 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D6AB8 000D3A18 4B F7 66 25 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D6ABC 000D3A1C A0 01 00 20 */ lhz r0, 0x20(r1) +/* 800D6AC0 000D3A20 38 61 00 AC */ addi r3, r1, 0xac +/* 800D6AC4 000D3A24 57 A4 06 3E */ clrlwi r4, r29, 0x18 +/* 800D6AC8 000D3A28 57 C9 06 3E */ clrlwi r9, r30, 0x18 +/* 800D6ACC 000D3A2C B0 01 00 24 */ sth r0, 0x24(r1) +/* 800D6AD0 000D3A30 57 EB 06 3E */ clrlwi r11, r31, 0x18 +/* 800D6AD4 000D3A34 FC 20 F8 90 */ fmr f1, f31 +/* 800D6AD8 000D3A38 57 60 06 3E */ clrlwi r0, r27, 0x18 +/* 800D6ADC 000D3A3C 90 61 00 08 */ stw r3, 8(r1) +/* 800D6AE0 000D3A40 7F 03 C3 78 */ mr r3, r24 +/* 800D6AE4 000D3A44 7F 46 D3 78 */ mr r6, r26 +/* 800D6AE8 000D3A48 7F 87 E3 78 */ mr r7, r28 +/* 800D6AEC 000D3A4C 90 81 00 0C */ stw r4, 0xc(r1) +/* 800D6AF0 000D3A50 38 81 00 24 */ addi r4, r1, 0x24 +/* 800D6AF4 000D3A54 38 A1 02 10 */ addi r5, r1, 0x210 +/* 800D6AF8 000D3A58 39 01 01 5C */ addi r8, r1, 0x15c +/* 800D6AFC 000D3A5C 91 21 00 10 */ stw r9, 0x10(r1) +/* 800D6B00 000D3A60 39 21 01 A8 */ addi r9, r1, 0x1a8 +/* 800D6B04 000D3A64 39 41 00 54 */ addi r10, r1, 0x54 +/* 800D6B08 000D3A68 91 61 00 14 */ stw r11, 0x14(r1) +/* 800D6B0C 000D3A6C 90 01 00 18 */ stw r0, 0x18(r1) +/* 800D6B10 000D3A70 4B FA 87 0D */ bl "__ct__11CScriptDoorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC9CVector3fRC6CAABoxbbfb" +/* 800D6B14 000D3A74 7C 78 1B 78 */ mr r24, r3 +lbl_800D6B18: +/* 800D6B18 000D3A78 38 61 01 5C */ addi r3, r1, 0x15c +/* 800D6B1C 000D3A7C 38 80 FF FF */ li r4, -1 +/* 800D6B20 000D3A80 48 03 FF 2D */ bl __dt__10CModelDataFv +/* 800D6B24 000D3A84 38 61 01 A8 */ addi r3, r1, 0x1a8 +/* 800D6B28 000D3A88 38 80 FF FF */ li r4, -1 +/* 800D6B2C 000D3A8C 48 02 FA DD */ bl __dt__16CActorParametersFv +/* 800D6B30 000D3A90 38 61 02 10 */ addi r3, r1, 0x210 +/* 800D6B34 000D3A94 48 26 6F AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D6B38 000D3A98 7F 03 C3 78 */ mr r3, r24 +lbl_800D6B3C: +/* 800D6B3C 000D3A9C E3 E1 02 98 */ psq_l f31, 664(r1), 0, qr0 +/* 800D6B40 000D3AA0 CB E1 02 90 */ lfd f31, 0x290(r1) +/* 800D6B44 000D3AA4 BA E1 02 6C */ lmw r23, 0x26c(r1) +/* 800D6B48 000D3AA8 80 01 02 A4 */ lwz r0, 0x2a4(r1) +/* 800D6B4C 000D3AAC 7C 08 03 A6 */ mtlr r0 +/* 800D6B50 000D3AB0 38 21 02 A0 */ addi r1, r1, 0x2a0 +/* 800D6B54 000D3AB4 4E 80 00 20 */ blr + +.global LoadWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadWaypoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D6B58 000D3AB8 94 21 FF 50 */ stwu r1, -0xb0(r1) +/* 800D6B5C 000D3ABC 7C 08 02 A6 */ mflr r0 +/* 800D6B60 000D3AC0 2C 05 00 0D */ cmpwi r5, 0xd +/* 800D6B64 000D3AC4 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800D6B68 000D3AC8 DB E1 00 A8 */ stfd f31, 0xa8(r1) +/* 800D6B6C 000D3ACC DB C1 00 A0 */ stfd f30, 0xa0(r1) +/* 800D6B70 000D3AD0 BE A1 00 74 */ stmw r21, 0x74(r1) +/* 800D6B74 000D3AD4 7C 75 1B 78 */ mr r21, r3 +/* 800D6B78 000D3AD8 7C 97 23 78 */ mr r23, r4 +/* 800D6B7C 000D3ADC 7C D6 33 78 */ mr r22, r6 +/* 800D6B80 000D3AE0 41 82 00 0C */ beq lbl_800D6B8C +/* 800D6B84 000D3AE4 38 60 00 00 */ li r3, 0 +/* 800D6B88 000D3AE8 48 00 01 0C */ b lbl_800D6C94 +lbl_800D6B8C: +/* 800D6B8C 000D3AEC 7E A5 AB 78 */ mr r5, r21 +/* 800D6B90 000D3AF0 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D6B94 000D3AF4 48 00 39 31 */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D6B98 000D3AF8 7E E3 BB 78 */ mr r3, r23 +/* 800D6B9C 000D3AFC 48 26 81 41 */ bl ReadBool__12CInputStreamFv +/* 800D6BA0 000D3B00 7C 7A 1B 78 */ mr r26, r3 +/* 800D6BA4 000D3B04 7E E3 BB 78 */ mr r3, r23 +/* 800D6BA8 000D3B08 48 26 80 81 */ bl ReadFloat__12CInputStreamFv +/* 800D6BAC 000D3B0C FF E0 08 90 */ fmr f31, f1 +/* 800D6BB0 000D3B10 7E E3 BB 78 */ mr r3, r23 +/* 800D6BB4 000D3B14 48 26 80 75 */ bl ReadFloat__12CInputStreamFv +/* 800D6BB8 000D3B18 FF C0 08 90 */ fmr f30, f1 +/* 800D6BBC 000D3B1C 7E E3 BB 78 */ mr r3, r23 +/* 800D6BC0 000D3B20 48 26 80 C5 */ bl ReadLong__12CInputStreamFv +/* 800D6BC4 000D3B24 7C 79 1B 78 */ mr r25, r3 +/* 800D6BC8 000D3B28 7E E3 BB 78 */ mr r3, r23 +/* 800D6BCC 000D3B2C 48 26 80 B9 */ bl ReadLong__12CInputStreamFv +/* 800D6BD0 000D3B30 7C 78 1B 78 */ mr r24, r3 +/* 800D6BD4 000D3B34 7E E3 BB 78 */ mr r3, r23 +/* 800D6BD8 000D3B38 48 26 80 AD */ bl ReadLong__12CInputStreamFv +/* 800D6BDC 000D3B3C 7C 7B 1B 78 */ mr r27, r3 +/* 800D6BE0 000D3B40 7E E3 BB 78 */ mr r3, r23 +/* 800D6BE4 000D3B44 48 26 80 A1 */ bl ReadLong__12CInputStreamFv +/* 800D6BE8 000D3B48 7C 7C 1B 78 */ mr r28, r3 +/* 800D6BEC 000D3B4C 7E E3 BB 78 */ mr r3, r23 +/* 800D6BF0 000D3B50 48 26 80 95 */ bl ReadLong__12CInputStreamFv +/* 800D6BF4 000D3B54 7C 7D 1B 78 */ mr r29, r3 +/* 800D6BF8 000D3B58 7E E3 BB 78 */ mr r3, r23 +/* 800D6BFC 000D3B5C 48 26 80 89 */ bl ReadLong__12CInputStreamFv +/* 800D6C00 000D3B60 7C 7E 1B 78 */ mr r30, r3 +/* 800D6C04 000D3B64 7E E3 BB 78 */ mr r3, r23 +/* 800D6C08 000D3B68 48 26 80 7D */ bl ReadLong__12CInputStreamFv +/* 800D6C0C 000D3B6C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D6C10 000D3B70 7C 7F 1B 78 */ mr r31, r3 +/* 800D6C14 000D3B74 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D6C18 000D3B78 38 60 01 00 */ li r3, 0x100 +/* 800D6C1C 000D3B7C 38 84 00 0D */ addi r4, r4, 0xd +/* 800D6C20 000D3B80 38 A0 00 00 */ li r5, 0 +/* 800D6C24 000D3B84 48 23 EC 49 */ bl __nw__FUlPCcPCc +/* 800D6C28 000D3B88 7C 77 1B 79 */ or. r23, r3, r3 +/* 800D6C2C 000D3B8C 41 82 00 5C */ beq lbl_800D6C88 +/* 800D6C30 000D3B90 7E A4 AB 78 */ mr r4, r21 +/* 800D6C34 000D3B94 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D6C38 000D3B98 4B F7 64 A5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D6C3C 000D3B9C A0 01 00 20 */ lhz r0, 0x20(r1) +/* 800D6C40 000D3BA0 FC 20 F8 90 */ fmr f1, f31 +/* 800D6C44 000D3BA4 FC 40 F0 90 */ fmr f2, f30 +/* 800D6C48 000D3BA8 7E E3 BB 78 */ mr r3, r23 +/* 800D6C4C 000D3BAC B0 01 00 24 */ sth r0, 0x24(r1) +/* 800D6C50 000D3BB0 7E C6 B3 78 */ mr r6, r22 +/* 800D6C54 000D3BB4 7F 29 CB 78 */ mr r9, r25 +/* 800D6C58 000D3BB8 93 61 00 08 */ stw r27, 8(r1) +/* 800D6C5C 000D3BBC 7F 0A C3 78 */ mr r10, r24 +/* 800D6C60 000D3BC0 38 81 00 24 */ addi r4, r1, 0x24 +/* 800D6C64 000D3BC4 93 81 00 0C */ stw r28, 0xc(r1) +/* 800D6C68 000D3BC8 38 A1 00 28 */ addi r5, r1, 0x28 +/* 800D6C6C 000D3BCC 38 E1 00 38 */ addi r7, r1, 0x38 +/* 800D6C70 000D3BD0 57 48 06 3E */ clrlwi r8, r26, 0x18 +/* 800D6C74 000D3BD4 93 A1 00 10 */ stw r29, 0x10(r1) +/* 800D6C78 000D3BD8 93 C1 00 14 */ stw r30, 0x14(r1) +/* 800D6C7C 000D3BDC 93 E1 00 18 */ stw r31, 0x18(r1) +/* 800D6C80 000D3BE0 4B FA 07 95 */ bl "__ct__15CScriptWaypointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbffiiiiiiUi" +/* 800D6C84 000D3BE4 7C 77 1B 78 */ mr r23, r3 +lbl_800D6C88: +/* 800D6C88 000D3BE8 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D6C8C 000D3BEC 48 26 6E 55 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D6C90 000D3BF0 7E E3 BB 78 */ mr r3, r23 +lbl_800D6C94: +/* 800D6C94 000D3BF4 CB E1 00 A8 */ lfd f31, 0xa8(r1) +/* 800D6C98 000D3BF8 CB C1 00 A0 */ lfd f30, 0xa0(r1) +/* 800D6C9C 000D3BFC BA A1 00 74 */ lmw r21, 0x74(r1) +/* 800D6CA0 000D3C00 80 01 00 B4 */ lwz r0, 0xb4(r1) +/* 800D6CA4 000D3C04 7C 08 03 A6 */ mtlr r0 +/* 800D6CA8 000D3C08 38 21 00 B0 */ addi r1, r1, 0xb0 +/* 800D6CAC 000D3C0C 4E 80 00 20 */ blr + +.global LoadWarWasp__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadWarWasp__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D6CB0 000D3C10 94 21 FC 50 */ stwu r1, -0x3b0(r1) +/* 800D6CB4 000D3C14 7C 08 02 A6 */ mflr r0 +/* 800D6CB8 000D3C18 2C 05 00 0D */ cmpwi r5, 0xd +/* 800D6CBC 000D3C1C 90 01 03 B4 */ stw r0, 0x3b4(r1) +/* 800D6CC0 000D3C20 BE A1 03 84 */ stmw r21, 0x384(r1) +/* 800D6CC4 000D3C24 7C 77 1B 78 */ mr r23, r3 +/* 800D6CC8 000D3C28 7C 96 23 78 */ mr r22, r4 +/* 800D6CCC 000D3C2C 7C D8 33 78 */ mr r24, r6 +/* 800D6CD0 000D3C30 41 82 00 0C */ beq lbl_800D6CDC +/* 800D6CD4 000D3C34 38 60 00 00 */ li r3, 0 +/* 800D6CD8 000D3C38 48 00 02 74 */ b lbl_800D6F4C +lbl_800D6CDC: +/* 800D6CDC 000D3C3C 4B F6 E5 09 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D6CE0 000D3C40 7C 64 1B 78 */ mr r4, r3 +/* 800D6CE4 000D3C44 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D6CE8 000D3C48 48 26 74 79 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D6CEC 000D3C4C 7E C3 B3 78 */ mr r3, r22 +/* 800D6CF0 000D3C50 48 26 7F 95 */ bl ReadLong__12CInputStreamFv +/* 800D6CF4 000D3C54 7C 60 1B 78 */ mr r0, r3 +/* 800D6CF8 000D3C58 7E C4 B3 78 */ mr r4, r22 +/* 800D6CFC 000D3C5C 38 61 00 C4 */ addi r3, r1, 0xc4 +/* 800D6D00 000D3C60 7C 19 03 78 */ mr r25, r0 +/* 800D6D04 000D3C64 48 00 38 25 */ bl LoadEditorTransformPivotOnly__FR12CInputStream +/* 800D6D08 000D3C68 38 61 00 F4 */ addi r3, r1, 0xf4 +/* 800D6D0C 000D3C6C 38 81 00 C4 */ addi r4, r1, 0xc4 +/* 800D6D10 000D3C70 48 23 BE 65 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800D6D14 000D3C74 7E C4 B3 78 */ mr r4, r22 +/* 800D6D18 000D3C78 38 61 00 38 */ addi r3, r1, 0x38 +/* 800D6D1C 000D3C7C 48 23 DE 71 */ bl __ct__9CVector3fFR12CInputStream +/* 800D6D20 000D3C80 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D6D24 000D3C84 7E C4 B3 78 */ mr r4, r22 +/* 800D6D28 000D3C88 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D6D2C 000D3C8C 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D6D30 000D3C90 38 A5 02 49 */ addi r5, r5, 0x249 +/* 800D6D34 000D3C94 48 02 EA F5 */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D6D38 000D3C98 88 01 00 30 */ lbz r0, 0x30(r1) +/* 800D6D3C 000D3C9C 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 800D6D40 000D3CA0 28 00 00 00 */ cmplwi r0, 0 +/* 800D6D44 000D3CA4 40 82 00 14 */ bne lbl_800D6D58 +/* 800D6D48 000D3CA8 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D6D4C 000D3CAC 48 26 6D 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D6D50 000D3CB0 38 60 00 00 */ li r3, 0 +/* 800D6D54 000D3CB4 48 00 01 F8 */ b lbl_800D6F4C +lbl_800D6D58: +/* 800D6D58 000D3CB8 7E C4 B3 78 */ mr r4, r22 +/* 800D6D5C 000D3CBC 38 61 02 40 */ addi r3, r1, 0x240 +/* 800D6D60 000D3CC0 48 02 EB 19 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D6D64 000D3CC4 7E C4 B3 78 */ mr r4, r22 +/* 800D6D68 000D3CC8 38 61 01 70 */ addi r3, r1, 0x170 +/* 800D6D6C 000D3CCC 48 00 30 09 */ bl LoadActorParameters__FR12CInputStream +/* 800D6D70 000D3CD0 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 800D6D74 000D3CD4 38 81 01 70 */ addi r4, r1, 0x170 +/* 800D6D78 000D3CD8 4B FE E8 A5 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D6D7C 000D3CDC 38 61 01 70 */ addi r3, r1, 0x170 +/* 800D6D80 000D3CE0 38 80 FF FF */ li r4, -1 +/* 800D6D84 000D3CE4 48 02 F8 85 */ bl __dt__16CActorParametersFv +/* 800D6D88 000D3CE8 7E C3 B3 78 */ mr r3, r22 +/* 800D6D8C 000D3CEC 48 26 7F 51 */ bl ReadBool__12CInputStreamFv +/* 800D6D90 000D3CF0 7C 75 1B 78 */ mr r21, r3 +/* 800D6D94 000D3CF4 7E C4 B3 78 */ mr r4, r22 +/* 800D6D98 000D3CF8 38 61 00 A8 */ addi r3, r1, 0xa8 +/* 800D6D9C 000D3CFC 4B FE C7 C5 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D6DA0 000D3D00 7E C3 B3 78 */ mr r3, r22 +/* 800D6DA4 000D3D04 48 26 7E E1 */ bl ReadLong__12CInputStreamFv +/* 800D6DA8 000D3D08 7C 7D 1B 78 */ mr r29, r3 +/* 800D6DAC 000D3D0C 7E C4 B3 78 */ mr r4, r22 +/* 800D6DB0 000D3D10 38 61 00 8C */ addi r3, r1, 0x8c +/* 800D6DB4 000D3D14 4B FE C7 AD */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D6DB8 000D3D18 7E C3 B3 78 */ mr r3, r22 +/* 800D6DBC 000D3D1C 48 26 7E C9 */ bl ReadLong__12CInputStreamFv +/* 800D6DC0 000D3D20 7C 7E 1B 78 */ mr r30, r3 +/* 800D6DC4 000D3D24 7E C3 B3 78 */ mr r3, r22 +/* 800D6DC8 000D3D28 48 26 7E BD */ bl ReadLong__12CInputStreamFv +/* 800D6DCC 000D3D2C 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D6DD0 000D3D30 7C 7F 1B 78 */ mr r31, r3 +/* 800D6DD4 000D3D34 80 81 03 2C */ lwz r4, 0x32c(r1) +/* 800D6DD8 000D3D38 38 65 00 04 */ addi r3, r5, 4 +/* 800D6DDC 000D3D3C 48 26 4E F1 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D6DE0 000D3D40 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800D6DE4 000D3D44 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D6DE8 000D3D48 41 82 00 20 */ beq lbl_800D6E08 +/* 800D6DEC 000D3D4C 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 800D6DF0 000D3D50 38 80 FF FF */ li r4, -1 +/* 800D6DF4 000D3D54 48 02 F8 15 */ bl __dt__16CActorParametersFv +/* 800D6DF8 000D3D58 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D6DFC 000D3D5C 48 26 6C E5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D6E00 000D3D60 38 60 00 00 */ li r3, 0 +/* 800D6E04 000D3D64 48 00 01 48 */ b lbl_800D6F4C +lbl_800D6E08: +/* 800D6E08 000D3D68 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D6E0C 000D3D6C 3A C0 00 00 */ li r22, 0 +/* 800D6E10 000D3D70 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D6E14 000D3D74 38 60 07 30 */ li r3, 0x730 +/* 800D6E18 000D3D78 38 84 00 0D */ addi r4, r4, 0xd +/* 800D6E1C 000D3D7C 38 A0 00 00 */ li r5, 0 +/* 800D6E20 000D3D80 48 23 EA 4D */ bl __nw__FUlPCcPCc +/* 800D6E24 000D3D84 7C 7C 1B 79 */ or. r28, r3, r3 +/* 800D6E28 000D3D88 41 82 00 F8 */ beq lbl_800D6F20 +/* 800D6E2C 000D3D8C 56 A3 06 3E */ clrlwi r3, r21, 0x18 +/* 800D6E30 000D3D90 82 A1 00 8C */ lwz r21, 0x8c(r1) +/* 800D6E34 000D3D94 82 C1 00 90 */ lwz r22, 0x90(r1) +/* 800D6E38 000D3D98 7C 03 00 D0 */ neg r0, r3 +/* 800D6E3C 000D3D9C 81 81 00 94 */ lwz r12, 0x94(r1) +/* 800D6E40 000D3DA0 38 A0 00 01 */ li r5, 1 +/* 800D6E44 000D3DA4 81 61 00 98 */ lwz r11, 0x98(r1) +/* 800D6E48 000D3DA8 7C 00 1B 78 */ or r0, r0, r3 +/* 800D6E4C 000D3DAC 81 41 00 9C */ lwz r10, 0x9c(r1) +/* 800D6E50 000D3DB0 3B 61 00 70 */ addi r27, r1, 0x70 +/* 800D6E54 000D3DB4 81 21 00 A0 */ lwz r9, 0xa0(r1) +/* 800D6E58 000D3DB8 54 1A 0F FE */ srwi r26, r0, 0x1f +/* 800D6E5C 000D3DBC 81 01 00 A4 */ lwz r8, 0xa4(r1) +/* 800D6E60 000D3DC0 38 61 01 24 */ addi r3, r1, 0x124 +/* 800D6E64 000D3DC4 80 E1 03 2C */ lwz r7, 0x32c(r1) +/* 800D6E68 000D3DC8 38 81 00 54 */ addi r4, r1, 0x54 +/* 800D6E6C 000D3DCC 80 C1 03 30 */ lwz r6, 0x330(r1) +/* 800D6E70 000D3DD0 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 800D6E74 000D3DD4 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 800D6E78 000D3DD8 C0 01 00 40 */ lfs f0, 0x40(r1) +/* 800D6E7C 000D3DDC 80 01 03 34 */ lwz r0, 0x334(r1) +/* 800D6E80 000D3DE0 92 A1 00 70 */ stw r21, 0x70(r1) +/* 800D6E84 000D3DE4 92 C1 00 74 */ stw r22, 0x74(r1) +/* 800D6E88 000D3DE8 91 81 00 78 */ stw r12, 0x78(r1) +/* 800D6E8C 000D3DEC 91 61 00 7C */ stw r11, 0x7c(r1) +/* 800D6E90 000D3DF0 91 41 00 80 */ stw r10, 0x80(r1) +/* 800D6E94 000D3DF4 91 21 00 84 */ stw r9, 0x84(r1) +/* 800D6E98 000D3DF8 91 01 00 88 */ stw r8, 0x88(r1) +/* 800D6E9C 000D3DFC 90 E1 00 54 */ stw r7, 0x54(r1) +/* 800D6EA0 000D3E00 90 C1 00 58 */ stw r6, 0x58(r1) +/* 800D6EA4 000D3E04 D0 41 00 5C */ stfs f2, 0x5c(r1) +/* 800D6EA8 000D3E08 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 800D6EAC 000D3E0C D0 01 00 64 */ stfs f0, 0x64(r1) +/* 800D6EB0 000D3E10 98 A1 00 68 */ stb r5, 0x68(r1) +/* 800D6EB4 000D3E14 90 01 00 6C */ stw r0, 0x6c(r1) +/* 800D6EB8 000D3E18 48 03 FC 9D */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D6EBC 000D3E1C 7E E4 BB 78 */ mr r4, r23 +/* 800D6EC0 000D3E20 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D6EC4 000D3E24 3A C0 00 01 */ li r22, 1 +/* 800D6EC8 000D3E28 4B F7 62 15 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D6ECC 000D3E2C A0 81 00 28 */ lhz r4, 0x28(r1) +/* 800D6ED0 000D3E30 39 21 00 A8 */ addi r9, r1, 0xa8 +/* 800D6ED4 000D3E34 38 01 01 D8 */ addi r0, r1, 0x1d8 +/* 800D6ED8 000D3E38 7F 83 E3 78 */ mr r3, r28 +/* 800D6EDC 000D3E3C B0 81 00 2C */ sth r4, 0x2c(r1) +/* 800D6EE0 000D3E40 7F 06 C3 78 */ mr r6, r24 +/* 800D6EE4 000D3E44 7F 2A CB 78 */ mr r10, r25 +/* 800D6EE8 000D3E48 38 81 00 2C */ addi r4, r1, 0x2c +/* 800D6EEC 000D3E4C 93 41 00 08 */ stw r26, 8(r1) +/* 800D6EF0 000D3E50 38 A1 00 44 */ addi r5, r1, 0x44 +/* 800D6EF4 000D3E54 38 E1 00 F4 */ addi r7, r1, 0xf4 +/* 800D6EF8 000D3E58 39 01 01 24 */ addi r8, r1, 0x124 +/* 800D6EFC 000D3E5C 91 21 00 0C */ stw r9, 0xc(r1) +/* 800D6F00 000D3E60 39 21 02 40 */ addi r9, r1, 0x240 +/* 800D6F04 000D3E64 90 01 00 10 */ stw r0, 0x10(r1) +/* 800D6F08 000D3E68 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800D6F0C 000D3E6C 93 61 00 18 */ stw r27, 0x18(r1) +/* 800D6F10 000D3E70 93 C1 00 1C */ stw r30, 0x1c(r1) +/* 800D6F14 000D3E74 93 E1 00 20 */ stw r31, 0x20(r1) +/* 800D6F18 000D3E78 48 03 9C E5 */ bl "__ct__8CWarWaspF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned11EFlavorTypeQ210CPatterned13EColliderTypeRC11CDamageInfoRC16CActorParametersUiRC11CDamageInfoUiUi" +/* 800D6F1C 000D3E7C 7C 7C 1B 78 */ mr r28, r3 +lbl_800D6F20: +/* 800D6F20 000D3E80 7E C0 07 75 */ extsb. r0, r22 +/* 800D6F24 000D3E84 41 82 00 10 */ beq lbl_800D6F34 +/* 800D6F28 000D3E88 38 61 01 24 */ addi r3, r1, 0x124 +/* 800D6F2C 000D3E8C 38 80 FF FF */ li r4, -1 +/* 800D6F30 000D3E90 48 03 FB 1D */ bl __dt__10CModelDataFv +lbl_800D6F34: +/* 800D6F34 000D3E94 38 61 01 D8 */ addi r3, r1, 0x1d8 +/* 800D6F38 000D3E98 38 80 FF FF */ li r4, -1 +/* 800D6F3C 000D3E9C 48 02 F6 CD */ bl __dt__16CActorParametersFv +/* 800D6F40 000D3EA0 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D6F44 000D3EA4 48 26 6B 9D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D6F48 000D3EA8 7F 83 E3 78 */ mr r3, r28 +lbl_800D6F4C: +/* 800D6F4C 000D3EAC BA A1 03 84 */ lmw r21, 0x384(r1) +/* 800D6F50 000D3EB0 80 01 03 B4 */ lwz r0, 0x3b4(r1) +/* 800D6F54 000D3EB4 7C 08 03 A6 */ mtlr r0 +/* 800D6F58 000D3EB8 38 21 03 B0 */ addi r1, r1, 0x3b0 +/* 800D6F5C 000D3EBC 4E 80 00 20 */ blr + +.global LoadBeetle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadBeetle__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D6F60 000D3EC0 94 21 FB 60 */ stwu r1, -0x4a0(r1) +/* 800D6F64 000D3EC4 7C 08 02 A6 */ mflr r0 +/* 800D6F68 000D3EC8 90 01 04 A4 */ stw r0, 0x4a4(r1) +/* 800D6F6C 000D3ECC DB E1 04 90 */ stfd f31, 0x490(r1) +/* 800D6F70 000D3ED0 F3 E1 04 98 */ psq_st f31, 1176(r1), 0, qr0 +/* 800D6F74 000D3ED4 DB C1 04 80 */ stfd f30, 0x480(r1) +/* 800D6F78 000D3ED8 F3 C1 04 88 */ psq_st f30, 1160(r1), 0, qr0 +/* 800D6F7C 000D3EDC DB A1 04 70 */ stfd f29, 0x470(r1) +/* 800D6F80 000D3EE0 F3 A1 04 78 */ psq_st f29, 1144(r1), 0, qr0 +/* 800D6F84 000D3EE4 BF 41 04 58 */ stmw r26, 0x458(r1) +/* 800D6F88 000D3EE8 2C 05 00 10 */ cmpwi r5, 0x10 +/* 800D6F8C 000D3EEC 7C 7B 1B 78 */ mr r27, r3 +/* 800D6F90 000D3EF0 7C 9A 23 78 */ mr r26, r4 +/* 800D6F94 000D3EF4 7C DC 33 78 */ mr r28, r6 +/* 800D6F98 000D3EF8 41 82 00 0C */ beq lbl_800D6FA4 +/* 800D6F9C 000D3EFC 38 60 00 00 */ li r3, 0 +/* 800D6FA0 000D3F00 48 00 03 3C */ b lbl_800D72DC +lbl_800D6FA4: +/* 800D6FA4 000D3F04 4B F6 E2 41 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D6FA8 000D3F08 7C 64 1B 78 */ mr r4, r3 +/* 800D6FAC 000D3F0C 38 61 00 6C */ addi r3, r1, 0x6c +/* 800D6FB0 000D3F10 48 26 71 B1 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D6FB4 000D3F14 7F 43 D3 78 */ mr r3, r26 +/* 800D6FB8 000D3F18 48 26 7C CD */ bl ReadLong__12CInputStreamFv +/* 800D6FBC 000D3F1C 7C 60 1B 78 */ mr r0, r3 +/* 800D6FC0 000D3F20 7F 44 D3 78 */ mr r4, r26 +/* 800D6FC4 000D3F24 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800D6FC8 000D3F28 7C 1D 03 78 */ mr r29, r0 +/* 800D6FCC 000D3F2C 48 00 35 C1 */ bl LoadEditorTransform__FR12CInputStream +/* 800D6FD0 000D3F30 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800D6FD4 000D3F34 38 81 00 C8 */ addi r4, r1, 0xc8 +/* 800D6FD8 000D3F38 48 23 BB 9D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800D6FDC 000D3F3C 7F 44 D3 78 */ mr r4, r26 +/* 800D6FE0 000D3F40 38 61 00 60 */ addi r3, r1, 0x60 +/* 800D6FE4 000D3F44 48 23 DB A9 */ bl __ct__9CVector3fFR12CInputStream +/* 800D6FE8 000D3F48 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D6FEC 000D3F4C 7F 44 D3 78 */ mr r4, r26 +/* 800D6FF0 000D3F50 38 A3 E0 7C */ addi r5, r3, lbl_803CE07C@l +/* 800D6FF4 000D3F54 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D6FF8 000D3F58 38 A5 02 51 */ addi r5, r5, 0x251 +/* 800D6FFC 000D3F5C 48 02 E8 2D */ bl HasCorrectParameterCount__14CPatternedInfoFR12CInputStream +/* 800D7000 000D3F60 88 01 00 30 */ lbz r0, 0x30(r1) +/* 800D7004 000D3F64 80 A1 00 34 */ lwz r5, 0x34(r1) +/* 800D7008 000D3F68 28 00 00 00 */ cmplwi r0, 0 +/* 800D700C 000D3F6C 40 82 00 14 */ bne lbl_800D7020 +/* 800D7010 000D3F70 38 61 00 6C */ addi r3, r1, 0x6c +/* 800D7014 000D3F74 48 26 6A CD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D7018 000D3F78 38 60 00 00 */ li r3, 0 +/* 800D701C 000D3F7C 48 00 02 C0 */ b lbl_800D72DC +lbl_800D7020: +/* 800D7020 000D3F80 7F 44 D3 78 */ mr r4, r26 +/* 800D7024 000D3F84 38 61 03 14 */ addi r3, r1, 0x314 +/* 800D7028 000D3F88 48 02 E8 51 */ bl __ct__14CPatternedInfoFR12CInputStreamUi +/* 800D702C 000D3F8C 7F 44 D3 78 */ mr r4, r26 +/* 800D7030 000D3F90 38 61 01 74 */ addi r3, r1, 0x174 +/* 800D7034 000D3F94 48 00 2D 41 */ bl LoadActorParameters__FR12CInputStream +/* 800D7038 000D3F98 38 61 02 AC */ addi r3, r1, 0x2ac +/* 800D703C 000D3F9C 38 81 01 74 */ addi r4, r1, 0x174 +/* 800D7040 000D3FA0 4B FE E5 DD */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D7044 000D3FA4 38 61 01 74 */ addi r3, r1, 0x174 +/* 800D7048 000D3FA8 38 80 FF FF */ li r4, -1 +/* 800D704C 000D3FAC 48 02 F5 BD */ bl __dt__16CActorParametersFv +/* 800D7050 000D3FB0 7F 44 D3 78 */ mr r4, r26 +/* 800D7054 000D3FB4 38 61 00 AC */ addi r3, r1, 0xac +/* 800D7058 000D3FB8 4B FE C5 09 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D705C 000D3FBC 7F 44 D3 78 */ mr r4, r26 +/* 800D7060 000D3FC0 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D7064 000D3FC4 48 23 DB 29 */ bl __ct__9CVector3fFR12CInputStream +/* 800D7068 000D3FC8 C0 41 00 48 */ lfs f2, 0x48(r1) +/* 800D706C 000D3FCC 7F 43 D3 78 */ mr r3, r26 +/* 800D7070 000D3FD0 C0 21 00 4C */ lfs f1, 0x4c(r1) +/* 800D7074 000D3FD4 C0 01 00 50 */ lfs f0, 0x50(r1) +/* 800D7078 000D3FD8 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800D707C 000D3FDC D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800D7080 000D3FE0 D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800D7084 000D3FE4 48 26 7B A5 */ bl ReadFloat__12CInputStreamFv +/* 800D7088 000D3FE8 FF E0 08 90 */ fmr f31, f1 +/* 800D708C 000D3FEC 7F 44 D3 78 */ mr r4, r26 +/* 800D7090 000D3FF0 38 61 02 44 */ addi r3, r1, 0x244 +/* 800D7094 000D3FF4 48 02 BA C5 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800D7098 000D3FF8 7F 44 D3 78 */ mr r4, r26 +/* 800D709C 000D3FFC 38 61 01 DC */ addi r3, r1, 0x1dc +/* 800D70A0 000D4000 48 02 BA B9 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800D70A4 000D4004 7F 43 D3 78 */ mr r3, r26 +/* 800D70A8 000D4008 48 26 7B DD */ bl ReadLong__12CInputStreamFv +/* 800D70AC 000D400C 7C 7E 1B 78 */ mr r30, r3 +/* 800D70B0 000D4010 7F 43 D3 78 */ mr r3, r26 +/* 800D70B4 000D4014 48 26 7B D1 */ bl ReadLong__12CInputStreamFv +/* 800D70B8 000D4018 7C 7F 1B 78 */ mr r31, r3 +/* 800D70BC 000D401C 7F 43 D3 78 */ mr r3, r26 +/* 800D70C0 000D4020 48 26 7B 69 */ bl ReadFloat__12CInputStreamFv +/* 800D70C4 000D4024 FF C0 08 90 */ fmr f30, f1 +/* 800D70C8 000D4028 7F 43 D3 78 */ mr r3, r26 +/* 800D70CC 000D402C 48 26 7B 5D */ bl ReadFloat__12CInputStreamFv +/* 800D70D0 000D4030 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800D70D4 000D4034 FF A0 08 90 */ fmr f29, f1 +/* 800D70D8 000D4038 80 81 04 00 */ lwz r4, 0x400(r1) +/* 800D70DC 000D403C 38 63 00 04 */ addi r3, r3, 4 +/* 800D70E0 000D4040 48 26 4B ED */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D70E4 000D4044 3C 03 BE B2 */ addis r0, r3, 0xbeb2 +/* 800D70E8 000D4048 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D70EC 000D404C 41 82 00 20 */ beq lbl_800D710C +/* 800D70F0 000D4050 38 61 02 AC */ addi r3, r1, 0x2ac +/* 800D70F4 000D4054 38 80 FF FF */ li r4, -1 +/* 800D70F8 000D4058 48 02 F5 11 */ bl __dt__16CActorParametersFv +/* 800D70FC 000D405C 38 61 00 6C */ addi r3, r1, 0x6c +/* 800D7100 000D4060 48 26 69 E1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D7104 000D4064 38 60 00 00 */ li r3, 0 +/* 800D7108 000D4068 48 00 01 D4 */ b lbl_800D72DC +lbl_800D710C: +/* 800D710C 000D406C 38 00 00 00 */ li r0, 0 +/* 800D7110 000D4070 2C 1D 00 01 */ cmpwi r29, 1 +/* 800D7114 000D4074 98 01 00 A8 */ stb r0, 0xa8(r1) +/* 800D7118 000D4078 40 82 00 A8 */ bne lbl_800D71C0 +/* 800D711C 000D407C 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800D7120 000D4080 7F C4 F3 78 */ mr r4, r30 +/* 800D7124 000D4084 38 63 00 04 */ addi r3, r3, 4 +/* 800D7128 000D4088 48 26 4B A5 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D712C 000D408C 28 03 00 00 */ cmplwi r3, 0 +/* 800D7130 000D4090 40 82 00 28 */ bne lbl_800D7158 +/* 800D7134 000D4094 38 00 00 00 */ li r0, 0 +/* 800D7138 000D4098 38 61 02 AC */ addi r3, r1, 0x2ac +/* 800D713C 000D409C 98 01 00 A8 */ stb r0, 0xa8(r1) +/* 800D7140 000D40A0 38 80 FF FF */ li r4, -1 +/* 800D7144 000D40A4 48 02 F4 C5 */ bl __dt__16CActorParametersFv +/* 800D7148 000D40A8 38 61 00 6C */ addi r3, r1, 0x6c +/* 800D714C 000D40AC 48 26 69 95 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D7150 000D40B0 38 60 00 00 */ li r3, 0 +/* 800D7154 000D40B4 48 00 01 88 */ b lbl_800D72DC +lbl_800D7158: +/* 800D7158 000D40B8 88 01 00 A8 */ lbz r0, 0xa8(r1) +/* 800D715C 000D40BC C0 41 00 60 */ lfs f2, 0x60(r1) +/* 800D7160 000D40C0 C0 21 00 64 */ lfs f1, 0x64(r1) +/* 800D7164 000D40C4 28 00 00 00 */ cmplwi r0, 0 +/* 800D7168 000D40C8 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 800D716C 000D40CC 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800D7170 000D40D0 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800D7174 000D40D4 D0 21 00 40 */ stfs f1, 0x40(r1) +/* 800D7178 000D40D8 D0 01 00 44 */ stfs f0, 0x44(r1) +/* 800D717C 000D40DC 40 82 00 28 */ bne lbl_800D71A4 +/* 800D7180 000D40E0 34 61 00 98 */ addic. r3, r1, 0x98 +/* 800D7184 000D40E4 41 82 00 14 */ beq lbl_800D7198 +/* 800D7188 000D40E8 93 C3 00 00 */ stw r30, 0(r3) +/* 800D718C 000D40EC D0 43 00 04 */ stfs f2, 4(r3) +/* 800D7190 000D40F0 D0 23 00 08 */ stfs f1, 8(r3) +/* 800D7194 000D40F4 D0 03 00 0C */ stfs f0, 0xc(r3) +lbl_800D7198: +/* 800D7198 000D40F8 38 00 00 01 */ li r0, 1 +/* 800D719C 000D40FC 98 01 00 A8 */ stb r0, 0xa8(r1) +/* 800D71A0 000D4100 48 00 00 20 */ b lbl_800D71C0 +lbl_800D71A4: +/* 800D71A4 000D4104 80 81 00 3C */ lwz r4, 0x3c(r1) +/* 800D71A8 000D4108 80 61 00 40 */ lwz r3, 0x40(r1) +/* 800D71AC 000D410C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800D71B0 000D4110 93 C1 00 98 */ stw r30, 0x98(r1) +/* 800D71B4 000D4114 90 81 00 9C */ stw r4, 0x9c(r1) +/* 800D71B8 000D4118 90 61 00 A0 */ stw r3, 0xa0(r1) +/* 800D71BC 000D411C 90 01 00 A4 */ stw r0, 0xa4(r1) +lbl_800D71C0: +/* 800D71C0 000D4120 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D71C4 000D4124 3B 40 00 00 */ li r26, 0 +/* 800D71C8 000D4128 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D71CC 000D412C 38 60 08 40 */ li r3, 0x840 +/* 800D71D0 000D4130 38 84 00 0D */ addi r4, r4, 0xd +/* 800D71D4 000D4134 38 A0 00 00 */ li r5, 0 +/* 800D71D8 000D4138 48 23 E6 95 */ bl __nw__FUlPCcPCc +/* 800D71DC 000D413C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800D71E0 000D4140 41 82 00 C8 */ beq lbl_800D72A8 +/* 800D71E4 000D4144 80 E1 04 00 */ lwz r7, 0x400(r1) +/* 800D71E8 000D4148 38 A0 00 01 */ li r5, 1 +/* 800D71EC 000D414C 80 C1 04 04 */ lwz r6, 0x404(r1) +/* 800D71F0 000D4150 38 61 01 28 */ addi r3, r1, 0x128 +/* 800D71F4 000D4154 C0 41 00 60 */ lfs f2, 0x60(r1) +/* 800D71F8 000D4158 38 81 00 7C */ addi r4, r1, 0x7c +/* 800D71FC 000D415C C0 21 00 64 */ lfs f1, 0x64(r1) +/* 800D7200 000D4160 C0 01 00 68 */ lfs f0, 0x68(r1) +/* 800D7204 000D4164 80 01 04 08 */ lwz r0, 0x408(r1) +/* 800D7208 000D4168 90 E1 00 7C */ stw r7, 0x7c(r1) +/* 800D720C 000D416C 90 C1 00 80 */ stw r6, 0x80(r1) +/* 800D7210 000D4170 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 800D7214 000D4174 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 800D7218 000D4178 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 800D721C 000D417C 98 A1 00 90 */ stb r5, 0x90(r1) +/* 800D7220 000D4180 90 01 00 94 */ stw r0, 0x94(r1) +/* 800D7224 000D4184 48 03 F9 31 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D7228 000D4188 7F 64 DB 78 */ mr r4, r27 +/* 800D722C 000D418C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D7230 000D4190 3B 40 00 01 */ li r26, 1 +/* 800D7234 000D4194 4B F7 5E A9 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D7238 000D4198 A0 01 00 28 */ lhz r0, 0x28(r1) +/* 800D723C 000D419C 38 61 00 AC */ addi r3, r1, 0xac +/* 800D7240 000D41A0 38 81 01 DC */ addi r4, r1, 0x1dc +/* 800D7244 000D41A4 38 A1 00 54 */ addi r5, r1, 0x54 +/* 800D7248 000D41A8 B0 01 00 2C */ sth r0, 0x2c(r1) +/* 800D724C 000D41AC 39 21 02 44 */ addi r9, r1, 0x244 +/* 800D7250 000D41B0 39 61 02 AC */ addi r11, r1, 0x2ac +/* 800D7254 000D41B4 FC 20 F0 90 */ fmr f1, f30 +/* 800D7258 000D41B8 93 E1 00 08 */ stw r31, 8(r1) +/* 800D725C 000D41BC FC 40 E8 90 */ fmr f2, f29 +/* 800D7260 000D41C0 FC 60 F8 90 */ fmr f3, f31 +/* 800D7264 000D41C4 38 01 00 98 */ addi r0, r1, 0x98 +/* 800D7268 000D41C8 90 61 00 0C */ stw r3, 0xc(r1) +/* 800D726C 000D41CC 7F C3 F3 78 */ mr r3, r30 +/* 800D7270 000D41D0 7F 86 E3 78 */ mr r6, r28 +/* 800D7274 000D41D4 90 81 00 10 */ stw r4, 0x10(r1) +/* 800D7278 000D41D8 7F AA EB 78 */ mr r10, r29 +/* 800D727C 000D41DC 38 81 00 2C */ addi r4, r1, 0x2c +/* 800D7280 000D41E0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800D7284 000D41E4 38 A1 00 6C */ addi r5, r1, 0x6c +/* 800D7288 000D41E8 38 E1 00 F8 */ addi r7, r1, 0xf8 +/* 800D728C 000D41EC 39 01 01 28 */ addi r8, r1, 0x128 +/* 800D7290 000D41F0 91 21 00 18 */ stw r9, 0x18(r1) +/* 800D7294 000D41F4 39 21 03 14 */ addi r9, r1, 0x314 +/* 800D7298 000D41F8 91 61 00 1C */ stw r11, 0x1c(r1) +/* 800D729C 000D41FC 90 01 00 20 */ stw r0, 0x20(r1) +/* 800D72A0 000D4200 48 01 09 21 */ bl "__ct__7CBeetleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC14CPatternedInfoQ210CPatterned11EFlavorTypeQ27CBeetle13EEntranceTypeRC11CDamageInfoRC20CDamageVulnerabilityRC9CVector3ffRC20CDamageVulnerabilityRC16CActorParametersRCQ24rstl29optional_object<10CStaticRes>" +/* 800D72A4 000D4204 7C 7E 1B 78 */ mr r30, r3 +lbl_800D72A8: +/* 800D72A8 000D4208 7F 40 07 75 */ extsb. r0, r26 +/* 800D72AC 000D420C 41 82 00 10 */ beq lbl_800D72BC +/* 800D72B0 000D4210 38 61 01 28 */ addi r3, r1, 0x128 +/* 800D72B4 000D4214 38 80 FF FF */ li r4, -1 +/* 800D72B8 000D4218 48 03 F7 95 */ bl __dt__10CModelDataFv +lbl_800D72BC: +/* 800D72BC 000D421C 38 00 00 00 */ li r0, 0 +/* 800D72C0 000D4220 38 61 02 AC */ addi r3, r1, 0x2ac +/* 800D72C4 000D4224 98 01 00 A8 */ stb r0, 0xa8(r1) +/* 800D72C8 000D4228 38 80 FF FF */ li r4, -1 +/* 800D72CC 000D422C 48 02 F3 3D */ bl __dt__16CActorParametersFv +/* 800D72D0 000D4230 38 61 00 6C */ addi r3, r1, 0x6c +/* 800D72D4 000D4234 48 26 68 0D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D72D8 000D4238 7F C3 F3 78 */ mr r3, r30 +lbl_800D72DC: +/* 800D72DC 000D423C E3 E1 04 98 */ psq_l f31, 1176(r1), 0, qr0 +/* 800D72E0 000D4240 CB E1 04 90 */ lfd f31, 0x490(r1) +/* 800D72E4 000D4244 E3 C1 04 88 */ psq_l f30, 1160(r1), 0, qr0 +/* 800D72E8 000D4248 CB C1 04 80 */ lfd f30, 0x480(r1) +/* 800D72EC 000D424C E3 A1 04 78 */ psq_l f29, 1144(r1), 0, qr0 +/* 800D72F0 000D4250 CB A1 04 70 */ lfd f29, 0x470(r1) +/* 800D72F4 000D4254 BB 41 04 58 */ lmw r26, 0x458(r1) +/* 800D72F8 000D4258 80 01 04 A4 */ lwz r0, 0x4a4(r1) +/* 800D72FC 000D425C 7C 08 03 A6 */ mtlr r0 +/* 800D7300 000D4260 38 21 04 A0 */ addi r1, r1, 0x4a0 +/* 800D7304 000D4264 4E 80 00 20 */ blr + +.global LoadEnemy__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadEnemy__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D7308 000D4268 38 60 00 00 */ li r3, 0 +/* 800D730C 000D426C 4E 80 00 20 */ blr + +.global LoadPickup__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPickup__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D7310 000D4270 94 21 FC 40 */ stwu r1, -0x3c0(r1) +/* 800D7314 000D4274 7C 08 02 A6 */ mflr r0 +/* 800D7318 000D4278 90 01 03 C4 */ stw r0, 0x3c4(r1) +/* 800D731C 000D427C DB E1 03 B0 */ stfd f31, 0x3b0(r1) +/* 800D7320 000D4280 F3 E1 03 B8 */ psq_st f31, 952(r1), 0, qr0 +/* 800D7324 000D4284 DB C1 03 A0 */ stfd f30, 0x3a0(r1) +/* 800D7328 000D4288 F3 C1 03 A8 */ psq_st f30, 936(r1), 0, qr0 +/* 800D732C 000D428C DB A1 03 90 */ stfd f29, 0x390(r1) +/* 800D7330 000D4290 F3 A1 03 98 */ psq_st f29, 920(r1), 0, qr0 +/* 800D7334 000D4294 DB 81 03 80 */ stfd f28, 0x380(r1) +/* 800D7338 000D4298 F3 81 03 88 */ psq_st f28, 904(r1), 0, qr0 +/* 800D733C 000D429C BE 41 03 48 */ stmw r18, 0x348(r1) +/* 800D7340 000D42A0 2C 05 00 12 */ cmpwi r5, 0x12 +/* 800D7344 000D42A4 7C 73 1B 78 */ mr r19, r3 +/* 800D7348 000D42A8 7C 92 23 78 */ mr r18, r4 +/* 800D734C 000D42AC 7C D4 33 78 */ mr r20, r6 +/* 800D7350 000D42B0 41 82 00 0C */ beq lbl_800D735C +/* 800D7354 000D42B4 38 60 00 00 */ li r3, 0 +/* 800D7358 000D42B8 48 00 03 CC */ b lbl_800D7724 +lbl_800D735C: +/* 800D735C 000D42BC 7E 65 9B 78 */ mr r5, r19 +/* 800D7360 000D42C0 38 61 02 F8 */ addi r3, r1, 0x2f8 +/* 800D7364 000D42C4 48 00 31 19 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D7368 000D42C8 7E 44 93 78 */ mr r4, r18 +/* 800D736C 000D42CC 38 61 00 58 */ addi r3, r1, 0x58 +/* 800D7370 000D42D0 48 23 D8 1D */ bl __ct__9CVector3fFR12CInputStream +/* 800D7374 000D42D4 7E 44 93 78 */ mr r4, r18 +/* 800D7378 000D42D8 38 61 00 4C */ addi r3, r1, 0x4c +/* 800D737C 000D42DC 48 23 D8 11 */ bl __ct__9CVector3fFR12CInputStream +/* 800D7380 000D42E0 7E 43 93 78 */ mr r3, r18 +/* 800D7384 000D42E4 48 26 79 01 */ bl ReadLong__12CInputStreamFv +/* 800D7388 000D42E8 7C 7B 1B 78 */ mr r27, r3 +/* 800D738C 000D42EC 7E 43 93 78 */ mr r3, r18 +/* 800D7390 000D42F0 48 26 78 F5 */ bl ReadLong__12CInputStreamFv +/* 800D7394 000D42F4 7C 7C 1B 78 */ mr r28, r3 +/* 800D7398 000D42F8 7E 43 93 78 */ mr r3, r18 +/* 800D739C 000D42FC 48 26 78 E9 */ bl ReadLong__12CInputStreamFv +/* 800D73A0 000D4300 7C 7D 1B 78 */ mr r29, r3 +/* 800D73A4 000D4304 7E 43 93 78 */ mr r3, r18 +/* 800D73A8 000D4308 48 26 78 81 */ bl ReadFloat__12CInputStreamFv +/* 800D73AC 000D430C FF E0 08 90 */ fmr f31, f1 +/* 800D73B0 000D4310 7E 43 93 78 */ mr r3, r18 +/* 800D73B4 000D4314 48 26 78 75 */ bl ReadFloat__12CInputStreamFv +/* 800D73B8 000D4318 FF C0 08 90 */ fmr f30, f1 +/* 800D73BC 000D431C 7E 43 93 78 */ mr r3, r18 +/* 800D73C0 000D4320 48 26 78 69 */ bl ReadFloat__12CInputStreamFv +/* 800D73C4 000D4324 FF A0 08 90 */ fmr f29, f1 +/* 800D73C8 000D4328 7E 43 93 78 */ mr r3, r18 +/* 800D73CC 000D432C 48 26 78 B9 */ bl ReadLong__12CInputStreamFv +/* 800D73D0 000D4330 7C 7A 1B 78 */ mr r26, r3 +/* 800D73D4 000D4334 7E 44 93 78 */ mr r4, r18 +/* 800D73D8 000D4338 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D73DC 000D433C 48 00 30 31 */ bl LoadAnimationParameters__FR12CInputStream +/* 800D73E0 000D4340 83 01 00 40 */ lwz r24, 0x40(r1) +/* 800D73E4 000D4344 7E 44 93 78 */ mr r4, r18 +/* 800D73E8 000D4348 82 E1 00 44 */ lwz r23, 0x44(r1) +/* 800D73EC 000D434C 38 61 01 DC */ addi r3, r1, 0x1dc +/* 800D73F0 000D4350 82 C1 00 48 */ lwz r22, 0x48(r1) +/* 800D73F4 000D4354 48 00 29 81 */ bl LoadActorParameters__FR12CInputStream +/* 800D73F8 000D4358 38 61 02 90 */ addi r3, r1, 0x290 +/* 800D73FC 000D435C 38 81 01 DC */ addi r4, r1, 0x1dc +/* 800D7400 000D4360 4B FE E2 1D */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D7404 000D4364 38 61 01 DC */ addi r3, r1, 0x1dc +/* 800D7408 000D4368 38 80 FF FF */ li r4, -1 +/* 800D740C 000D436C 48 02 F1 FD */ bl __dt__16CActorParametersFv +/* 800D7410 000D4370 7E 43 93 78 */ mr r3, r18 +/* 800D7414 000D4374 48 26 78 C9 */ bl ReadBool__12CInputStreamFv +/* 800D7418 000D4378 7C 7E 1B 78 */ mr r30, r3 +/* 800D741C 000D437C 7E 43 93 78 */ mr r3, r18 +/* 800D7420 000D4380 48 26 78 09 */ bl ReadFloat__12CInputStreamFv +/* 800D7424 000D4384 FF 80 08 90 */ fmr f28, f1 +/* 800D7428 000D4388 7E 43 93 78 */ mr r3, r18 +/* 800D742C 000D438C 48 26 78 59 */ bl ReadLong__12CInputStreamFv +/* 800D7430 000D4390 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D7434 000D4394 7C 7F 1B 78 */ mr r31, r3 +/* 800D7438 000D4398 7F 44 D3 78 */ mr r4, r26 +/* 800D743C 000D439C 38 65 00 04 */ addi r3, r5, 4 +/* 800D7440 000D43A0 48 26 48 8D */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D7444 000D43A4 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D7448 000D43A8 7C 72 1B 78 */ mr r18, r3 +/* 800D744C 000D43AC 7F 04 C3 78 */ mr r4, r24 +/* 800D7450 000D43B0 38 65 00 04 */ addi r3, r5, 4 +/* 800D7454 000D43B4 48 26 48 79 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D7458 000D43B8 28 12 00 00 */ cmplwi r18, 0 +/* 800D745C 000D43BC 7C 72 1B 78 */ mr r18, r3 +/* 800D7460 000D43C0 40 82 00 28 */ bne lbl_800D7488 +/* 800D7464 000D43C4 28 12 00 00 */ cmplwi r18, 0 +/* 800D7468 000D43C8 40 82 00 20 */ bne lbl_800D7488 +/* 800D746C 000D43CC 38 61 02 90 */ addi r3, r1, 0x290 +/* 800D7470 000D43D0 38 80 FF FF */ li r4, -1 +/* 800D7474 000D43D4 48 02 F1 95 */ bl __dt__16CActorParametersFv +/* 800D7478 000D43D8 38 61 02 F8 */ addi r3, r1, 0x2f8 +/* 800D747C 000D43DC 48 26 66 65 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D7480 000D43E0 38 60 00 00 */ li r3, 0 +/* 800D7484 000D43E4 48 00 02 A0 */ b lbl_800D7724 +lbl_800D7488: +/* 800D7488 000D43E8 80 14 00 00 */ lwz r0, 0(r20) +/* 800D748C 000D43EC 3A A1 03 08 */ addi r21, r1, 0x308 +/* 800D7490 000D43F0 7E 64 9B 78 */ mr r4, r19 +/* 800D7494 000D43F4 38 61 00 98 */ addi r3, r1, 0x98 +/* 800D7498 000D43F8 90 01 00 28 */ stw r0, 0x28(r1) +/* 800D749C 000D43FC 38 A1 00 2C */ addi r5, r1, 0x2c +/* 800D74A0 000D4400 38 C1 00 58 */ addi r6, r1, 0x58 +/* 800D74A4 000D4404 38 E1 00 4C */ addi r7, r1, 0x4c +/* 800D74A8 000D4408 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800D74AC 000D440C 48 00 32 71 */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f +/* 800D74B0 000D4410 C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800D74B4 000D4414 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800D74B8 000D4418 C0 C1 00 98 */ lfs f6, 0x98(r1) +/* 800D74BC 000D441C C0 A1 00 9C */ lfs f5, 0x9c(r1) +/* 800D74C0 000D4420 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800D74C4 000D4424 C0 81 00 A0 */ lfs f4, 0xa0(r1) +/* 800D74C8 000D4428 C0 61 00 A4 */ lfs f3, 0xa4(r1) +/* 800D74CC 000D442C C0 41 00 A8 */ lfs f2, 0xa8(r1) +/* 800D74D0 000D4430 C0 01 00 AC */ lfs f0, 0xac(r1) +/* 800D74D4 000D4434 D0 C1 00 B0 */ stfs f6, 0xb0(r1) +/* 800D74D8 000D4438 D0 A1 00 B4 */ stfs f5, 0xb4(r1) +/* 800D74DC 000D443C D0 81 00 B8 */ stfs f4, 0xb8(r1) +/* 800D74E0 000D4440 D0 61 00 BC */ stfs f3, 0xbc(r1) +/* 800D74E4 000D4444 D0 41 00 C0 */ stfs f2, 0xc0(r1) +/* 800D74E8 000D4448 D0 01 00 C4 */ stfs f0, 0xc4(r1) +/* 800D74EC 000D444C 40 80 00 0C */ bge lbl_800D74F8 +/* 800D74F0 000D4450 3B 20 00 01 */ li r25, 1 +/* 800D74F4 000D4454 48 00 00 30 */ b lbl_800D7524 +lbl_800D74F8: +/* 800D74F8 000D4458 C0 01 00 5C */ lfs f0, 0x5c(r1) +/* 800D74FC 000D445C FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800D7500 000D4460 40 80 00 0C */ bge lbl_800D750C +/* 800D7504 000D4464 3B 20 00 01 */ li r25, 1 +/* 800D7508 000D4468 48 00 00 1C */ b lbl_800D7524 +lbl_800D750C: +/* 800D750C 000D446C C0 01 00 60 */ lfs f0, 0x60(r1) +/* 800D7510 000D4470 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800D7514 000D4474 40 80 00 0C */ bge lbl_800D7520 +/* 800D7518 000D4478 3B 20 00 01 */ li r25, 1 +/* 800D751C 000D447C 48 00 00 08 */ b lbl_800D7524 +lbl_800D7520: +/* 800D7520 000D4480 3B 20 00 00 */ li r25, 0 +lbl_800D7524: +/* 800D7524 000D4484 38 61 01 90 */ addi r3, r1, 0x190 +/* 800D7528 000D4488 4B F6 32 7D */ bl CModelDataNull__10CModelDataFv +/* 800D752C 000D448C 38 61 02 44 */ addi r3, r1, 0x244 +/* 800D7530 000D4490 38 81 01 90 */ addi r4, r1, 0x190 +/* 800D7534 000D4494 4B F4 18 59 */ bl __ct__10CModelDataFRC10CModelData +/* 800D7538 000D4498 38 61 01 90 */ addi r3, r1, 0x190 +/* 800D753C 000D449C 38 80 FF FF */ li r4, -1 +/* 800D7540 000D44A0 48 03 F5 0D */ bl __dt__10CModelDataFv +/* 800D7544 000D44A4 3C 12 BE B2 */ addis r0, r18, 0xbeb2 +/* 800D7548 000D44A8 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D754C 000D44AC 40 82 00 58 */ bne lbl_800D75A4 +/* 800D7550 000D44B0 C0 41 03 38 */ lfs f2, 0x338(r1) +/* 800D7554 000D44B4 38 00 00 01 */ li r0, 1 +/* 800D7558 000D44B8 C0 21 03 3C */ lfs f1, 0x33c(r1) +/* 800D755C 000D44BC 38 61 01 44 */ addi r3, r1, 0x144 +/* 800D7560 000D44C0 C0 01 03 40 */ lfs f0, 0x340(r1) +/* 800D7564 000D44C4 38 81 00 7C */ addi r4, r1, 0x7c +/* 800D7568 000D44C8 93 01 00 7C */ stw r24, 0x7c(r1) +/* 800D756C 000D44CC 92 E1 00 80 */ stw r23, 0x80(r1) +/* 800D7570 000D44D0 D0 41 00 84 */ stfs f2, 0x84(r1) +/* 800D7574 000D44D4 D0 21 00 88 */ stfs f1, 0x88(r1) +/* 800D7578 000D44D8 D0 01 00 8C */ stfs f0, 0x8c(r1) +/* 800D757C 000D44DC 98 01 00 90 */ stb r0, 0x90(r1) +/* 800D7580 000D44E0 92 C1 00 94 */ stw r22, 0x94(r1) +/* 800D7584 000D44E4 48 03 F5 D1 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D7588 000D44E8 38 61 02 44 */ addi r3, r1, 0x244 +/* 800D758C 000D44EC 38 81 01 44 */ addi r4, r1, 0x144 +/* 800D7590 000D44F0 4B FF E7 85 */ bl __as__10CModelDataFRC10CModelData +/* 800D7594 000D44F4 38 61 01 44 */ addi r3, r1, 0x144 +/* 800D7598 000D44F8 38 80 FF FF */ li r4, -1 +/* 800D759C 000D44FC 48 03 F4 B1 */ bl __dt__10CModelDataFv +/* 800D75A0 000D4500 48 00 00 44 */ b lbl_800D75E4 +lbl_800D75A4: +/* 800D75A4 000D4504 C0 41 03 38 */ lfs f2, 0x338(r1) +/* 800D75A8 000D4508 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800D75AC 000D450C C0 21 03 3C */ lfs f1, 0x33c(r1) +/* 800D75B0 000D4510 38 81 00 30 */ addi r4, r1, 0x30 +/* 800D75B4 000D4514 C0 01 03 40 */ lfs f0, 0x340(r1) +/* 800D75B8 000D4518 93 41 00 30 */ stw r26, 0x30(r1) +/* 800D75BC 000D451C D0 41 00 34 */ stfs f2, 0x34(r1) +/* 800D75C0 000D4520 D0 21 00 38 */ stfs f1, 0x38(r1) +/* 800D75C4 000D4524 D0 01 00 3C */ stfs f0, 0x3c(r1) +/* 800D75C8 000D4528 48 03 F7 95 */ bl __ct__10CModelDataFRC10CStaticRes +/* 800D75CC 000D452C 38 61 02 44 */ addi r3, r1, 0x244 +/* 800D75D0 000D4530 38 81 00 F8 */ addi r4, r1, 0xf8 +/* 800D75D4 000D4534 4B FF E7 41 */ bl __as__10CModelDataFRC10CModelData +/* 800D75D8 000D4538 38 61 00 F8 */ addi r3, r1, 0xf8 +/* 800D75DC 000D453C 38 80 FF FF */ li r4, -1 +/* 800D75E0 000D4540 48 03 F4 6D */ bl __dt__10CModelDataFv +lbl_800D75E4: +/* 800D75E4 000D4544 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800D75E8 000D4548 C0 21 00 58 */ lfs f1, 0x58(r1) +/* 800D75EC 000D454C C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800D75F0 000D4550 38 00 00 00 */ li r0, 0 +/* 800D75F4 000D4554 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D75F8 000D4558 40 82 00 28 */ bne lbl_800D7620 +/* 800D75FC 000D455C C0 21 00 5C */ lfs f1, 0x5c(r1) +/* 800D7600 000D4560 C0 03 00 04 */ lfs f0, 4(r3) +/* 800D7604 000D4564 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D7608 000D4568 40 82 00 18 */ bne lbl_800D7620 +/* 800D760C 000D456C C0 21 00 60 */ lfs f1, 0x60(r1) +/* 800D7610 000D4570 C0 03 00 08 */ lfs f0, 8(r3) +/* 800D7614 000D4574 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D7618 000D4578 40 82 00 08 */ bne lbl_800D7620 +/* 800D761C 000D457C 38 00 00 01 */ li r0, 1 +lbl_800D7620: +/* 800D7620 000D4580 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800D7624 000D4584 40 82 00 0C */ bne lbl_800D7630 +/* 800D7628 000D4588 57 20 06 3F */ clrlwi. r0, r25, 0x18 +/* 800D762C 000D458C 41 82 00 50 */ beq lbl_800D767C +lbl_800D7630: +/* 800D7630 000D4590 7E A4 AB 78 */ mr r4, r21 +/* 800D7634 000D4594 38 61 00 C8 */ addi r3, r1, 0xc8 +/* 800D7638 000D4598 48 23 B6 09 */ bl GetRotation__12CTransform4fCFv +/* 800D763C 000D459C 38 61 00 64 */ addi r3, r1, 0x64 +/* 800D7640 000D45A0 38 81 02 44 */ addi r4, r1, 0x244 +/* 800D7644 000D45A4 38 A1 00 C8 */ addi r5, r1, 0xc8 +/* 800D7648 000D45A8 48 03 E1 6D */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 800D764C 000D45AC 80 E1 00 64 */ lwz r7, 0x64(r1) +/* 800D7650 000D45B0 80 C1 00 68 */ lwz r6, 0x68(r1) +/* 800D7654 000D45B4 80 A1 00 6C */ lwz r5, 0x6c(r1) +/* 800D7658 000D45B8 80 81 00 70 */ lwz r4, 0x70(r1) +/* 800D765C 000D45BC 80 61 00 74 */ lwz r3, 0x74(r1) +/* 800D7660 000D45C0 80 01 00 78 */ lwz r0, 0x78(r1) +/* 800D7664 000D45C4 90 E1 00 B0 */ stw r7, 0xb0(r1) +/* 800D7668 000D45C8 90 C1 00 B4 */ stw r6, 0xb4(r1) +/* 800D766C 000D45CC 90 A1 00 B8 */ stw r5, 0xb8(r1) +/* 800D7670 000D45D0 90 81 00 BC */ stw r4, 0xbc(r1) +/* 800D7674 000D45D4 90 61 00 C0 */ stw r3, 0xc0(r1) +/* 800D7678 000D45D8 90 01 00 C4 */ stw r0, 0xc4(r1) +lbl_800D767C: +/* 800D767C 000D45DC 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D7680 000D45E0 38 60 02 90 */ li r3, 0x290 +/* 800D7684 000D45E4 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D7688 000D45E8 38 A0 00 00 */ li r5, 0 +/* 800D768C 000D45EC 38 84 00 0D */ addi r4, r4, 0xd +/* 800D7690 000D45F0 48 23 E1 DD */ bl __nw__FUlPCcPCc +/* 800D7694 000D45F4 7C 72 1B 79 */ or. r18, r3, r3 +/* 800D7698 000D45F8 41 82 00 68 */ beq lbl_800D7700 +/* 800D769C 000D45FC 7E 64 9B 78 */ mr r4, r19 +/* 800D76A0 000D4600 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D76A4 000D4604 4B F7 5A 39 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D76A8 000D4608 A0 61 00 20 */ lhz r3, 0x20(r1) +/* 800D76AC 000D460C FC 20 F8 90 */ fmr f1, f31 +/* 800D76B0 000D4610 FC 40 F0 90 */ fmr f2, f30 +/* 800D76B4 000D4614 57 C0 06 3E */ clrlwi r0, r30, 0x18 +/* 800D76B8 000D4618 B0 61 00 24 */ sth r3, 0x24(r1) +/* 800D76BC 000D461C FC 60 E8 90 */ fmr f3, f29 +/* 800D76C0 000D4620 FC 80 E0 90 */ fmr f4, f28 +/* 800D76C4 000D4624 93 61 00 08 */ stw r27, 8(r1) +/* 800D76C8 000D4628 7E 43 93 78 */ mr r3, r18 +/* 800D76CC 000D462C 7E 86 A3 78 */ mr r6, r20 +/* 800D76D0 000D4630 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800D76D4 000D4634 7E A7 AB 78 */ mr r7, r21 +/* 800D76D8 000D4638 38 81 00 24 */ addi r4, r1, 0x24 +/* 800D76DC 000D463C 38 A1 02 F8 */ addi r5, r1, 0x2f8 +/* 800D76E0 000D4640 93 81 00 10 */ stw r28, 0x10(r1) +/* 800D76E4 000D4644 39 01 02 44 */ addi r8, r1, 0x244 +/* 800D76E8 000D4648 39 21 02 90 */ addi r9, r1, 0x290 +/* 800D76EC 000D464C 39 41 00 B0 */ addi r10, r1, 0xb0 +/* 800D76F0 000D4650 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800D76F4 000D4654 90 01 00 18 */ stw r0, 0x18(r1) +/* 800D76F8 000D4658 4B FE B9 FD */ bl "__ct__13CScriptPickupF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC16CActorParametersRC6CAABoxiiiiffffb" +/* 800D76FC 000D465C 7C 72 1B 78 */ mr r18, r3 +lbl_800D7700: +/* 800D7700 000D4660 38 61 02 44 */ addi r3, r1, 0x244 +/* 800D7704 000D4664 38 80 FF FF */ li r4, -1 +/* 800D7708 000D4668 48 03 F3 45 */ bl __dt__10CModelDataFv +/* 800D770C 000D466C 38 61 02 90 */ addi r3, r1, 0x290 +/* 800D7710 000D4670 38 80 FF FF */ li r4, -1 +/* 800D7714 000D4674 48 02 EE F5 */ bl __dt__16CActorParametersFv +/* 800D7718 000D4678 38 61 02 F8 */ addi r3, r1, 0x2f8 +/* 800D771C 000D467C 48 26 63 C5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D7720 000D4680 7E 43 93 78 */ mr r3, r18 +lbl_800D7724: +/* 800D7724 000D4684 E3 E1 03 B8 */ psq_l f31, 952(r1), 0, qr0 +/* 800D7728 000D4688 CB E1 03 B0 */ lfd f31, 0x3b0(r1) +/* 800D772C 000D468C E3 C1 03 A8 */ psq_l f30, 936(r1), 0, qr0 +/* 800D7730 000D4690 CB C1 03 A0 */ lfd f30, 0x3a0(r1) +/* 800D7734 000D4694 E3 A1 03 98 */ psq_l f29, 920(r1), 0, qr0 +/* 800D7738 000D4698 CB A1 03 90 */ lfd f29, 0x390(r1) +/* 800D773C 000D469C E3 81 03 88 */ psq_l f28, 904(r1), 0, qr0 +/* 800D7740 000D46A0 CB 81 03 80 */ lfd f28, 0x380(r1) +/* 800D7744 000D46A4 BA 41 03 48 */ lmw r18, 0x348(r1) +/* 800D7748 000D46A8 80 01 03 C4 */ lwz r0, 0x3c4(r1) +/* 800D774C 000D46AC 7C 08 03 A6 */ mtlr r0 +/* 800D7750 000D46B0 38 21 03 C0 */ addi r1, r1, 0x3c0 +/* 800D7754 000D46B4 4E 80 00 20 */ blr + +.global LoadActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadActor__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D7758 000D46B8 94 21 FB B0 */ stwu r1, -0x450(r1) +/* 800D775C 000D46BC 7C 08 02 A6 */ mflr r0 +/* 800D7760 000D46C0 90 01 04 54 */ stw r0, 0x454(r1) +/* 800D7764 000D46C4 DB E1 04 40 */ stfd f31, 0x440(r1) +/* 800D7768 000D46C8 F3 E1 04 48 */ psq_st f31, 1096(r1), 0, qr0 +/* 800D776C 000D46CC DB C1 04 30 */ stfd f30, 0x430(r1) +/* 800D7770 000D46D0 F3 C1 04 38 */ psq_st f30, 1080(r1), 0, qr0 +/* 800D7774 000D46D4 DB A1 04 20 */ stfd f29, 0x420(r1) +/* 800D7778 000D46D8 F3 A1 04 28 */ psq_st f29, 1064(r1), 0, qr0 +/* 800D777C 000D46DC BD C1 03 D8 */ stmw r14, 0x3d8(r1) +/* 800D7780 000D46E0 2C 05 00 18 */ cmpwi r5, 0x18 +/* 800D7784 000D46E4 7C 7E 1B 78 */ mr r30, r3 +/* 800D7788 000D46E8 7C 8E 23 78 */ mr r14, r4 +/* 800D778C 000D46EC 7C DF 33 78 */ mr r31, r6 +/* 800D7790 000D46F0 40 80 00 0C */ bge lbl_800D779C +/* 800D7794 000D46F4 38 60 00 00 */ li r3, 0 +/* 800D7798 000D46F8 48 00 04 9C */ b lbl_800D7C34 +lbl_800D779C: +/* 800D779C 000D46FC 7F C5 F3 78 */ mr r5, r30 +/* 800D77A0 000D4700 38 61 03 80 */ addi r3, r1, 0x380 +/* 800D77A4 000D4704 48 00 2C D9 */ bl LoadScaledActorHead__FR12CInputStreamR13CStateManager +/* 800D77A8 000D4708 7D C4 73 78 */ mr r4, r14 +/* 800D77AC 000D470C 38 61 00 78 */ addi r3, r1, 0x78 +/* 800D77B0 000D4710 48 23 D3 DD */ bl __ct__9CVector3fFR12CInputStream +/* 800D77B4 000D4714 7D C4 73 78 */ mr r4, r14 +/* 800D77B8 000D4718 38 61 00 6C */ addi r3, r1, 0x6c +/* 800D77BC 000D471C 48 23 D3 D1 */ bl __ct__9CVector3fFR12CInputStream +/* 800D77C0 000D4720 7D C3 73 78 */ mr r3, r14 +/* 800D77C4 000D4724 48 26 74 65 */ bl ReadFloat__12CInputStreamFv +/* 800D77C8 000D4728 FF E0 08 90 */ fmr f31, f1 +/* 800D77CC 000D472C 7D C3 73 78 */ mr r3, r14 +/* 800D77D0 000D4730 48 26 74 59 */ bl ReadFloat__12CInputStreamFv +/* 800D77D4 000D4734 FF C0 08 90 */ fmr f30, f1 +/* 800D77D8 000D4738 7D C4 73 78 */ mr r4, r14 +/* 800D77DC 000D473C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D77E0 000D4740 48 0F C0 65 */ bl __ct__11CHealthInfoFR12CInputStream +/* 800D77E4 000D4744 7D C4 73 78 */ mr r4, r14 +/* 800D77E8 000D4748 38 61 03 18 */ addi r3, r1, 0x318 +/* 800D77EC 000D474C 48 02 B3 6D */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800D77F0 000D4750 7D C3 73 78 */ mr r3, r14 +/* 800D77F4 000D4754 48 26 74 91 */ bl ReadLong__12CInputStreamFv +/* 800D77F8 000D4758 7C 73 1B 78 */ mr r19, r3 +/* 800D77FC 000D475C 7D C4 73 78 */ mr r4, r14 +/* 800D7800 000D4760 38 61 00 60 */ addi r3, r1, 0x60 +/* 800D7804 000D4764 48 00 2C 09 */ bl LoadAnimationParameters__FR12CInputStream +/* 800D7808 000D4768 82 41 00 60 */ lwz r18, 0x60(r1) +/* 800D780C 000D476C 7D C4 73 78 */ mr r4, r14 +/* 800D7810 000D4770 82 21 00 64 */ lwz r17, 0x64(r1) +/* 800D7814 000D4774 38 61 01 FC */ addi r3, r1, 0x1fc +/* 800D7818 000D4778 82 01 00 68 */ lwz r16, 0x68(r1) +/* 800D781C 000D477C 48 00 25 59 */ bl LoadActorParameters__FR12CInputStream +/* 800D7820 000D4780 38 61 02 B0 */ addi r3, r1, 0x2b0 +/* 800D7824 000D4784 38 81 01 FC */ addi r4, r1, 0x1fc +/* 800D7828 000D4788 4B FE DD F5 */ bl __ct__16CActorParametersFRC16CActorParameters +/* 800D782C 000D478C 38 61 01 FC */ addi r3, r1, 0x1fc +/* 800D7830 000D4790 38 80 FF FF */ li r4, -1 +/* 800D7834 000D4794 48 02 ED D5 */ bl __dt__16CActorParametersFv +/* 800D7838 000D4798 7D C3 73 78 */ mr r3, r14 +/* 800D783C 000D479C 48 26 74 A1 */ bl ReadBool__12CInputStreamFv +/* 800D7840 000D47A0 7C 74 1B 78 */ mr r20, r3 +/* 800D7844 000D47A4 7D C3 73 78 */ mr r3, r14 +/* 800D7848 000D47A8 48 26 74 95 */ bl ReadBool__12CInputStreamFv +/* 800D784C 000D47AC 7C 75 1B 78 */ mr r21, r3 +/* 800D7850 000D47B0 7D C3 73 78 */ mr r3, r14 +/* 800D7854 000D47B4 48 26 74 89 */ bl ReadBool__12CInputStreamFv +/* 800D7858 000D47B8 7C 76 1B 78 */ mr r22, r3 +/* 800D785C 000D47BC 7D C3 73 78 */ mr r3, r14 +/* 800D7860 000D47C0 48 26 74 7D */ bl ReadBool__12CInputStreamFv +/* 800D7864 000D47C4 7C 77 1B 78 */ mr r23, r3 +/* 800D7868 000D47C8 7D C3 73 78 */ mr r3, r14 +/* 800D786C 000D47CC 48 26 74 71 */ bl ReadBool__12CInputStreamFv +/* 800D7870 000D47D0 7C 78 1B 78 */ mr r24, r3 +/* 800D7874 000D47D4 7D C3 73 78 */ mr r3, r14 +/* 800D7878 000D47D8 48 26 74 0D */ bl ReadLong__12CInputStreamFv +/* 800D787C 000D47DC 7C 79 1B 78 */ mr r25, r3 +/* 800D7880 000D47E0 7D C3 73 78 */ mr r3, r14 +/* 800D7884 000D47E4 48 26 73 A5 */ bl ReadFloat__12CInputStreamFv +/* 800D7888 000D47E8 FF A0 08 90 */ fmr f29, f1 +/* 800D788C 000D47EC 7D C3 73 78 */ mr r3, r14 +/* 800D7890 000D47F0 48 26 74 4D */ bl ReadBool__12CInputStreamFv +/* 800D7894 000D47F4 7C 7A 1B 78 */ mr r26, r3 +/* 800D7898 000D47F8 7D C3 73 78 */ mr r3, r14 +/* 800D789C 000D47FC 48 26 74 41 */ bl ReadBool__12CInputStreamFv +/* 800D78A0 000D4800 7C 7B 1B 78 */ mr r27, r3 +/* 800D78A4 000D4804 7D C3 73 78 */ mr r3, r14 +/* 800D78A8 000D4808 48 26 74 35 */ bl ReadBool__12CInputStreamFv +/* 800D78AC 000D480C 7C 7C 1B 78 */ mr r28, r3 +/* 800D78B0 000D4810 7D C3 73 78 */ mr r3, r14 +/* 800D78B4 000D4814 48 26 74 29 */ bl ReadBool__12CInputStreamFv +/* 800D78B8 000D4818 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D78BC 000D481C 7C 6E 1B 78 */ mr r14, r3 +/* 800D78C0 000D4820 7E 64 9B 78 */ mr r4, r19 +/* 800D78C4 000D4824 38 65 00 04 */ addi r3, r5, 4 +/* 800D78C8 000D4828 48 26 44 05 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D78CC 000D482C 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800D78D0 000D4830 7C 6F 1B 78 */ mr r15, r3 +/* 800D78D4 000D4834 7E 44 93 78 */ mr r4, r18 +/* 800D78D8 000D4838 38 65 00 04 */ addi r3, r5, 4 +/* 800D78DC 000D483C 48 26 43 F1 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800D78E0 000D4840 28 0F 00 00 */ cmplwi r15, 0 +/* 800D78E4 000D4844 7C 7D 1B 78 */ mr r29, r3 +/* 800D78E8 000D4848 40 82 00 28 */ bne lbl_800D7910 +/* 800D78EC 000D484C 28 1D 00 00 */ cmplwi r29, 0 +/* 800D78F0 000D4850 40 82 00 20 */ bne lbl_800D7910 +/* 800D78F4 000D4854 38 61 02 B0 */ addi r3, r1, 0x2b0 +/* 800D78F8 000D4858 38 80 FF FF */ li r4, -1 +/* 800D78FC 000D485C 48 02 ED 0D */ bl __dt__16CActorParametersFv +/* 800D7900 000D4860 38 61 03 80 */ addi r3, r1, 0x380 +/* 800D7904 000D4864 48 26 61 DD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D7908 000D4868 38 60 00 00 */ li r3, 0 +/* 800D790C 000D486C 48 00 03 28 */ b lbl_800D7C34 +lbl_800D7910: +/* 800D7910 000D4870 80 1F 00 00 */ lwz r0, 0(r31) +/* 800D7914 000D4874 39 E1 03 90 */ addi r15, r1, 0x390 +/* 800D7918 000D4878 7F C4 F3 78 */ mr r4, r30 +/* 800D791C 000D487C 38 61 00 B8 */ addi r3, r1, 0xb8 +/* 800D7920 000D4880 90 01 00 38 */ stw r0, 0x38(r1) +/* 800D7924 000D4884 38 A1 00 3C */ addi r5, r1, 0x3c +/* 800D7928 000D4888 38 C1 00 78 */ addi r6, r1, 0x78 +/* 800D792C 000D488C 38 E1 00 6C */ addi r7, r1, 0x6c +/* 800D7930 000D4890 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800D7934 000D4894 48 00 2D E9 */ bl GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f +/* 800D7938 000D4898 C0 A1 00 B8 */ lfs f5, 0xb8(r1) +/* 800D793C 000D489C 38 60 00 00 */ li r3, 0 +/* 800D7940 000D48A0 C0 81 00 BC */ lfs f4, 0xbc(r1) +/* 800D7944 000D48A4 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 800D7948 000D48A8 C0 61 00 C0 */ lfs f3, 0xc0(r1) +/* 800D794C 000D48AC C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 800D7950 000D48B0 C0 21 00 C8 */ lfs f1, 0xc8(r1) +/* 800D7954 000D48B4 C0 01 00 CC */ lfs f0, 0xcc(r1) +/* 800D7958 000D48B8 D0 A1 00 D0 */ stfs f5, 0xd0(r1) +/* 800D795C 000D48BC D0 81 00 D4 */ stfs f4, 0xd4(r1) +/* 800D7960 000D48C0 D0 61 00 D8 */ stfs f3, 0xd8(r1) +/* 800D7964 000D48C4 D0 41 00 DC */ stfs f2, 0xdc(r1) +/* 800D7968 000D48C8 D0 21 00 E0 */ stfs f1, 0xe0(r1) +/* 800D796C 000D48CC D0 01 00 E4 */ stfs f0, 0xe4(r1) +/* 800D7970 000D48D0 90 61 00 44 */ stw r3, 0x44(r1) +/* 800D7974 000D48D4 90 61 00 40 */ stw r3, 0x40(r1) +/* 800D7978 000D48D8 41 82 00 10 */ beq lbl_800D7988 +/* 800D797C 000D48DC 38 00 08 00 */ li r0, 0x800 +/* 800D7980 000D48E0 90 61 00 44 */ stw r3, 0x44(r1) +/* 800D7984 000D48E4 90 01 00 40 */ stw r0, 0x40(r1) +lbl_800D7988: +/* 800D7988 000D48E8 56 C0 06 3F */ clrlwi. r0, r22, 0x18 +/* 800D798C 000D48EC 41 82 00 1C */ beq lbl_800D79A8 +/* 800D7990 000D48F0 80 81 00 44 */ lwz r4, 0x44(r1) +/* 800D7994 000D48F4 3C 00 00 08 */ lis r0, 8 +/* 800D7998 000D48F8 80 61 00 40 */ lwz r3, 0x40(r1) +/* 800D799C 000D48FC 7C 80 03 78 */ or r0, r4, r0 +/* 800D79A0 000D4900 90 01 00 44 */ stw r0, 0x44(r1) +/* 800D79A4 000D4904 90 61 00 40 */ stw r3, 0x40(r1) +lbl_800D79A8: +/* 800D79A8 000D4908 56 E0 06 3F */ clrlwi. r0, r23, 0x18 +/* 800D79AC 000D490C 41 82 00 1C */ beq lbl_800D79C8 +/* 800D79B0 000D4910 80 81 00 44 */ lwz r4, 0x44(r1) +/* 800D79B4 000D4914 3C 00 00 20 */ lis r0, 0x20 +/* 800D79B8 000D4918 80 61 00 40 */ lwz r3, 0x40(r1) +/* 800D79BC 000D491C 7C 80 03 78 */ or r0, r4, r0 +/* 800D79C0 000D4920 90 01 00 44 */ stw r0, 0x44(r1) +/* 800D79C4 000D4924 90 61 00 40 */ stw r3, 0x40(r1) +lbl_800D79C8: +/* 800D79C8 000D4928 C0 01 00 78 */ lfs f0, 0x78(r1) +/* 800D79CC 000D492C C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800D79D0 000D4930 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800D79D4 000D4934 40 80 00 0C */ bge lbl_800D79E0 +/* 800D79D8 000D4938 3A A0 00 01 */ li r21, 1 +/* 800D79DC 000D493C 48 00 00 30 */ b lbl_800D7A0C +lbl_800D79E0: +/* 800D79E0 000D4940 C0 01 00 7C */ lfs f0, 0x7c(r1) +/* 800D79E4 000D4944 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800D79E8 000D4948 40 80 00 0C */ bge lbl_800D79F4 +/* 800D79EC 000D494C 3A A0 00 01 */ li r21, 1 +/* 800D79F0 000D4950 48 00 00 1C */ b lbl_800D7A0C +lbl_800D79F4: +/* 800D79F4 000D4954 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 800D79F8 000D4958 FC 00 08 40 */ fcmpo cr0, f0, f1 +/* 800D79FC 000D495C 40 80 00 0C */ bge lbl_800D7A08 +/* 800D7A00 000D4960 3A A0 00 01 */ li r21, 1 +/* 800D7A04 000D4964 48 00 00 08 */ b lbl_800D7A0C +lbl_800D7A08: +/* 800D7A08 000D4968 3A A0 00 00 */ li r21, 0 +lbl_800D7A0C: +/* 800D7A0C 000D496C 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 800D7A10 000D4970 4B F6 2D 95 */ bl CModelDataNull__10CModelDataFv +/* 800D7A14 000D4974 38 61 02 64 */ addi r3, r1, 0x264 +/* 800D7A18 000D4978 38 81 01 B0 */ addi r4, r1, 0x1b0 +/* 800D7A1C 000D497C 4B F4 13 71 */ bl __ct__10CModelDataFRC10CModelData +/* 800D7A20 000D4980 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 800D7A24 000D4984 38 80 FF FF */ li r4, -1 +/* 800D7A28 000D4988 48 03 F0 25 */ bl __dt__10CModelDataFv +/* 800D7A2C 000D498C 3C 1D BE B2 */ addis r0, r29, 0xbeb2 +/* 800D7A30 000D4990 28 00 43 53 */ cmplwi r0, 0x4353 +/* 800D7A34 000D4994 40 82 00 58 */ bne lbl_800D7A8C +/* 800D7A38 000D4998 C0 41 03 C0 */ lfs f2, 0x3c0(r1) +/* 800D7A3C 000D499C 38 00 00 01 */ li r0, 1 +/* 800D7A40 000D49A0 C0 21 03 C4 */ lfs f1, 0x3c4(r1) +/* 800D7A44 000D49A4 38 61 01 64 */ addi r3, r1, 0x164 +/* 800D7A48 000D49A8 C0 01 03 C8 */ lfs f0, 0x3c8(r1) +/* 800D7A4C 000D49AC 38 81 00 9C */ addi r4, r1, 0x9c +/* 800D7A50 000D49B0 92 41 00 9C */ stw r18, 0x9c(r1) +/* 800D7A54 000D49B4 92 21 00 A0 */ stw r17, 0xa0(r1) +/* 800D7A58 000D49B8 D0 41 00 A4 */ stfs f2, 0xa4(r1) +/* 800D7A5C 000D49BC D0 21 00 A8 */ stfs f1, 0xa8(r1) +/* 800D7A60 000D49C0 D0 01 00 AC */ stfs f0, 0xac(r1) +/* 800D7A64 000D49C4 98 01 00 B0 */ stb r0, 0xb0(r1) +/* 800D7A68 000D49C8 92 01 00 B4 */ stw r16, 0xb4(r1) +/* 800D7A6C 000D49CC 48 03 F0 E9 */ bl __ct__10CModelDataFRC8CAnimRes +/* 800D7A70 000D49D0 38 61 02 64 */ addi r3, r1, 0x264 +/* 800D7A74 000D49D4 38 81 01 64 */ addi r4, r1, 0x164 +/* 800D7A78 000D49D8 4B FF E2 9D */ bl __as__10CModelDataFRC10CModelData +/* 800D7A7C 000D49DC 38 61 01 64 */ addi r3, r1, 0x164 +/* 800D7A80 000D49E0 38 80 FF FF */ li r4, -1 +/* 800D7A84 000D49E4 48 03 EF C9 */ bl __dt__10CModelDataFv +/* 800D7A88 000D49E8 48 00 00 44 */ b lbl_800D7ACC +lbl_800D7A8C: +/* 800D7A8C 000D49EC C0 41 03 C0 */ lfs f2, 0x3c0(r1) +/* 800D7A90 000D49F0 38 61 01 18 */ addi r3, r1, 0x118 +/* 800D7A94 000D49F4 C0 21 03 C4 */ lfs f1, 0x3c4(r1) +/* 800D7A98 000D49F8 38 81 00 50 */ addi r4, r1, 0x50 +/* 800D7A9C 000D49FC C0 01 03 C8 */ lfs f0, 0x3c8(r1) +/* 800D7AA0 000D4A00 92 61 00 50 */ stw r19, 0x50(r1) +/* 800D7AA4 000D4A04 D0 41 00 54 */ stfs f2, 0x54(r1) +/* 800D7AA8 000D4A08 D0 21 00 58 */ stfs f1, 0x58(r1) +/* 800D7AAC 000D4A0C D0 01 00 5C */ stfs f0, 0x5c(r1) +/* 800D7AB0 000D4A10 48 03 F2 AD */ bl __ct__10CModelDataFRC10CStaticRes +/* 800D7AB4 000D4A14 38 61 02 64 */ addi r3, r1, 0x264 +/* 800D7AB8 000D4A18 38 81 01 18 */ addi r4, r1, 0x118 +/* 800D7ABC 000D4A1C 4B FF E2 59 */ bl __as__10CModelDataFRC10CModelData +/* 800D7AC0 000D4A20 38 61 01 18 */ addi r3, r1, 0x118 +/* 800D7AC4 000D4A24 38 80 FF FF */ li r4, -1 +/* 800D7AC8 000D4A28 48 03 EF 85 */ bl __dt__10CModelDataFv +lbl_800D7ACC: +/* 800D7ACC 000D4A2C 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800D7AD0 000D4A30 C0 21 00 78 */ lfs f1, 0x78(r1) +/* 800D7AD4 000D4A34 C4 03 66 A0 */ lfsu f0, skZero3f@l(r3) +/* 800D7AD8 000D4A38 38 00 00 00 */ li r0, 0 +/* 800D7ADC 000D4A3C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D7AE0 000D4A40 40 82 00 28 */ bne lbl_800D7B08 +/* 800D7AE4 000D4A44 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 800D7AE8 000D4A48 C0 03 00 04 */ lfs f0, 4(r3) +/* 800D7AEC 000D4A4C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D7AF0 000D4A50 40 82 00 18 */ bne lbl_800D7B08 +/* 800D7AF4 000D4A54 C0 21 00 80 */ lfs f1, 0x80(r1) +/* 800D7AF8 000D4A58 C0 03 00 08 */ lfs f0, 8(r3) +/* 800D7AFC 000D4A5C FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D7B00 000D4A60 40 82 00 08 */ bne lbl_800D7B08 +/* 800D7B04 000D4A64 38 00 00 01 */ li r0, 1 +lbl_800D7B08: +/* 800D7B08 000D4A68 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800D7B0C 000D4A6C 40 82 00 0C */ bne lbl_800D7B18 +/* 800D7B10 000D4A70 56 A0 06 3F */ clrlwi. r0, r21, 0x18 +/* 800D7B14 000D4A74 41 82 00 50 */ beq lbl_800D7B64 +lbl_800D7B18: +/* 800D7B18 000D4A78 7D E4 7B 78 */ mr r4, r15 +/* 800D7B1C 000D4A7C 38 61 00 E8 */ addi r3, r1, 0xe8 +/* 800D7B20 000D4A80 48 23 B1 21 */ bl GetRotation__12CTransform4fCFv +/* 800D7B24 000D4A84 38 61 00 84 */ addi r3, r1, 0x84 +/* 800D7B28 000D4A88 38 81 02 64 */ addi r4, r1, 0x264 +/* 800D7B2C 000D4A8C 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 800D7B30 000D4A90 48 03 DC 85 */ bl GetBounds__10CModelDataCFRC12CTransform4f +/* 800D7B34 000D4A94 80 E1 00 84 */ lwz r7, 0x84(r1) +/* 800D7B38 000D4A98 80 C1 00 88 */ lwz r6, 0x88(r1) +/* 800D7B3C 000D4A9C 80 A1 00 8C */ lwz r5, 0x8c(r1) +/* 800D7B40 000D4AA0 80 81 00 90 */ lwz r4, 0x90(r1) +/* 800D7B44 000D4AA4 80 61 00 94 */ lwz r3, 0x94(r1) +/* 800D7B48 000D4AA8 80 01 00 98 */ lwz r0, 0x98(r1) +/* 800D7B4C 000D4AAC 90 E1 00 D0 */ stw r7, 0xd0(r1) +/* 800D7B50 000D4AB0 90 C1 00 D4 */ stw r6, 0xd4(r1) +/* 800D7B54 000D4AB4 90 A1 00 D8 */ stw r5, 0xd8(r1) +/* 800D7B58 000D4AB8 90 81 00 DC */ stw r4, 0xdc(r1) +/* 800D7B5C 000D4ABC 90 61 00 E0 */ stw r3, 0xe0(r1) +/* 800D7B60 000D4AC0 90 01 00 E4 */ stw r0, 0xe4(r1) +lbl_800D7B64: +/* 800D7B64 000D4AC4 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D7B68 000D4AC8 38 60 02 E8 */ li r3, 0x2e8 +/* 800D7B6C 000D4ACC 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D7B70 000D4AD0 38 A0 00 00 */ li r5, 0 +/* 800D7B74 000D4AD4 38 84 00 0D */ addi r4, r4, 0xd +/* 800D7B78 000D4AD8 48 23 DC F5 */ bl __nw__FUlPCcPCc +/* 800D7B7C 000D4ADC 7C 70 1B 79 */ or. r16, r3, r3 +/* 800D7B80 000D4AE0 41 82 00 90 */ beq lbl_800D7C10 +/* 800D7B84 000D4AE4 7F C4 F3 78 */ mr r4, r30 +/* 800D7B88 000D4AE8 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D7B8C 000D4AEC 4B F7 55 51 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D7B90 000D4AF0 A0 A1 00 30 */ lhz r5, 0x30(r1) +/* 800D7B94 000D4AF4 38 01 00 48 */ addi r0, r1, 0x48 +/* 800D7B98 000D4AF8 38 61 03 18 */ addi r3, r1, 0x318 +/* 800D7B9C 000D4AFC 38 81 02 B0 */ addi r4, r1, 0x2b0 +/* 800D7BA0 000D4B00 B0 A1 00 34 */ sth r5, 0x34(r1) +/* 800D7BA4 000D4B04 57 51 06 3E */ clrlwi r17, r26, 0x18 +/* 800D7BA8 000D4B08 57 6C 06 3E */ clrlwi r12, r27, 0x18 +/* 800D7BAC 000D4B0C 57 8B 06 3E */ clrlwi r11, r28, 0x18 +/* 800D7BB0 000D4B10 90 01 00 08 */ stw r0, 8(r1) +/* 800D7BB4 000D4B14 FC 20 F8 90 */ fmr f1, f31 +/* 800D7BB8 000D4B18 FC 40 F0 90 */ fmr f2, f30 +/* 800D7BBC 000D4B1C 55 C0 06 3E */ clrlwi r0, r14, 0x18 +/* 800D7BC0 000D4B20 90 61 00 0C */ stw r3, 0xc(r1) +/* 800D7BC4 000D4B24 FC 60 E8 90 */ fmr f3, f29 +/* 800D7BC8 000D4B28 7E 03 83 78 */ mr r3, r16 +/* 800D7BCC 000D4B2C 90 81 00 10 */ stw r4, 0x10(r1) +/* 800D7BD0 000D4B30 7F E6 FB 78 */ mr r6, r31 +/* 800D7BD4 000D4B34 7D E7 7B 78 */ mr r7, r15 +/* 800D7BD8 000D4B38 92 81 00 14 */ stw r20, 0x14(r1) +/* 800D7BDC 000D4B3C 38 81 00 34 */ addi r4, r1, 0x34 +/* 800D7BE0 000D4B40 38 A1 03 80 */ addi r5, r1, 0x380 +/* 800D7BE4 000D4B44 39 01 02 64 */ addi r8, r1, 0x264 +/* 800D7BE8 000D4B48 93 01 00 18 */ stw r24, 0x18(r1) +/* 800D7BEC 000D4B4C 39 21 00 D0 */ addi r9, r1, 0xd0 +/* 800D7BF0 000D4B50 39 41 00 40 */ addi r10, r1, 0x40 +/* 800D7BF4 000D4B54 93 21 00 1C */ stw r25, 0x1c(r1) +/* 800D7BF8 000D4B58 92 21 00 20 */ stw r17, 0x20(r1) +/* 800D7BFC 000D4B5C 91 81 00 24 */ stw r12, 0x24(r1) +/* 800D7C00 000D4B60 91 61 00 28 */ stw r11, 0x28(r1) +/* 800D7C04 000D4B64 90 01 00 2C */ stw r0, 0x2c(r1) +/* 800D7C08 000D4B68 4B F9 DC A5 */ bl "__ct__12CScriptActorF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fRC10CModelDataRC6CAABoxRC13CMaterialListffRC11CHealthInfoRC20CDamageVulnerabilityRC16CActorParametersbbUibbbb" +/* 800D7C0C 000D4B6C 7C 70 1B 78 */ mr r16, r3 +lbl_800D7C10: +/* 800D7C10 000D4B70 38 61 02 64 */ addi r3, r1, 0x264 +/* 800D7C14 000D4B74 38 80 FF FF */ li r4, -1 +/* 800D7C18 000D4B78 48 03 EE 35 */ bl __dt__10CModelDataFv +/* 800D7C1C 000D4B7C 38 61 02 B0 */ addi r3, r1, 0x2b0 +/* 800D7C20 000D4B80 38 80 FF FF */ li r4, -1 +/* 800D7C24 000D4B84 48 02 E9 E5 */ bl __dt__16CActorParametersFv +/* 800D7C28 000D4B88 38 61 03 80 */ addi r3, r1, 0x380 +/* 800D7C2C 000D4B8C 48 26 5E B5 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D7C30 000D4B90 7E 03 83 78 */ mr r3, r16 +lbl_800D7C34: +/* 800D7C34 000D4B94 E3 E1 04 48 */ psq_l f31, 1096(r1), 0, qr0 +/* 800D7C38 000D4B98 CB E1 04 40 */ lfd f31, 0x440(r1) +/* 800D7C3C 000D4B9C E3 C1 04 38 */ psq_l f30, 1080(r1), 0, qr0 +/* 800D7C40 000D4BA0 CB C1 04 30 */ lfd f30, 0x430(r1) +/* 800D7C44 000D4BA4 E3 A1 04 28 */ psq_l f29, 1064(r1), 0, qr0 +/* 800D7C48 000D4BA8 CB A1 04 20 */ lfd f29, 0x420(r1) +/* 800D7C4C 000D4BAC B9 C1 03 D8 */ lmw r14, 0x3d8(r1) +/* 800D7C50 000D4BB0 80 01 04 54 */ lwz r0, 0x454(r1) +/* 800D7C54 000D4BB4 7C 08 03 A6 */ mtlr r0 +/* 800D7C58 000D4BB8 38 21 04 50 */ addi r1, r1, 0x450 +/* 800D7C5C 000D4BBC 4E 80 00 20 */ blr + +.global LoadPointOfInterest__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPointOfInterest__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D7C60 000D4BC0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800D7C64 000D4BC4 7C 08 02 A6 */ mflr r0 +/* 800D7C68 000D4BC8 2C 05 00 06 */ cmpwi r5, 6 +/* 800D7C6C 000D4BCC 90 01 00 74 */ stw r0, 0x74(r1) +/* 800D7C70 000D4BD0 DB E1 00 68 */ stfd f31, 0x68(r1) +/* 800D7C74 000D4BD4 93 E1 00 64 */ stw r31, 0x64(r1) +/* 800D7C78 000D4BD8 93 C1 00 60 */ stw r30, 0x60(r1) +/* 800D7C7C 000D4BDC 7C 9E 23 78 */ mr r30, r4 +/* 800D7C80 000D4BE0 93 A1 00 5C */ stw r29, 0x5c(r1) +/* 800D7C84 000D4BE4 7C DD 33 78 */ mr r29, r6 +/* 800D7C88 000D4BE8 93 81 00 58 */ stw r28, 0x58(r1) +/* 800D7C8C 000D4BEC 7C 7C 1B 78 */ mr r28, r3 +/* 800D7C90 000D4BF0 41 82 00 0C */ beq lbl_800D7C9C +/* 800D7C94 000D4BF4 38 60 00 00 */ li r3, 0 +/* 800D7C98 000D4BF8 48 00 00 A4 */ b lbl_800D7D3C +lbl_800D7C9C: +/* 800D7C9C 000D4BFC 7F 85 E3 78 */ mr r5, r28 +/* 800D7CA0 000D4C00 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D7CA4 000D4C04 48 00 28 21 */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D7CA8 000D4C08 7F C3 F3 78 */ mr r3, r30 +/* 800D7CAC 000D4C0C 48 26 70 31 */ bl ReadBool__12CInputStreamFv +/* 800D7CB0 000D4C10 7C 7F 1B 78 */ mr r31, r3 +/* 800D7CB4 000D4C14 7F C4 F3 78 */ mr r4, r30 +/* 800D7CB8 000D4C18 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D7CBC 000D4C1C 48 00 25 45 */ bl LoadScannableParameters__FR12CInputStream +/* 800D7CC0 000D4C20 80 01 00 10 */ lwz r0, 0x10(r1) +/* 800D7CC4 000D4C24 7F C3 F3 78 */ mr r3, r30 +/* 800D7CC8 000D4C28 90 01 00 14 */ stw r0, 0x14(r1) +/* 800D7CCC 000D4C2C 48 26 6F 5D */ bl ReadFloat__12CInputStreamFv +/* 800D7CD0 000D4C30 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D7CD4 000D4C34 FF E0 08 90 */ fmr f31, f1 +/* 800D7CD8 000D4C38 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D7CDC 000D4C3C 38 A0 00 00 */ li r5, 0 +/* 800D7CE0 000D4C40 38 60 00 F0 */ li r3, 0xf0 +/* 800D7CE4 000D4C44 38 84 00 0D */ addi r4, r4, 0xd +/* 800D7CE8 000D4C48 48 23 DB 85 */ bl __nw__FUlPCcPCc +/* 800D7CEC 000D4C4C 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800D7CF0 000D4C50 41 82 00 40 */ beq lbl_800D7D30 +/* 800D7CF4 000D4C54 7F 84 E3 78 */ mr r4, r28 +/* 800D7CF8 000D4C58 38 61 00 08 */ addi r3, r1, 8 +/* 800D7CFC 000D4C5C 4B F7 53 E1 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D7D00 000D4C60 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D7D04 000D4C64 FC 20 F8 90 */ fmr f1, f31 +/* 800D7D08 000D4C68 7F C3 F3 78 */ mr r3, r30 +/* 800D7D0C 000D4C6C 7F A6 EB 78 */ mr r6, r29 +/* 800D7D10 000D4C70 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D7D14 000D4C74 7F E8 FB 78 */ mr r8, r31 +/* 800D7D18 000D4C78 38 81 00 0C */ addi r4, r1, 0xc +/* 800D7D1C 000D4C7C 38 A1 00 18 */ addi r5, r1, 0x18 +/* 800D7D20 000D4C80 38 E1 00 28 */ addi r7, r1, 0x28 +/* 800D7D24 000D4C84 39 21 00 14 */ addi r9, r1, 0x14 +/* 800D7D28 000D4C88 48 08 70 0D */ bl "__ct__22CScriptPointOfInterestF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbRC20CScannableParameters" +/* 800D7D2C 000D4C8C 7C 7E 1B 78 */ mr r30, r3 +lbl_800D7D30: +/* 800D7D30 000D4C90 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D7D34 000D4C94 48 26 5D AD */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D7D38 000D4C98 7F C3 F3 78 */ mr r3, r30 +lbl_800D7D3C: +/* 800D7D3C 000D4C9C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800D7D40 000D4CA0 CB E1 00 68 */ lfd f31, 0x68(r1) +/* 800D7D44 000D4CA4 83 E1 00 64 */ lwz r31, 0x64(r1) +/* 800D7D48 000D4CA8 83 C1 00 60 */ lwz r30, 0x60(r1) +/* 800D7D4C 000D4CAC 83 A1 00 5C */ lwz r29, 0x5c(r1) +/* 800D7D50 000D4CB0 83 81 00 58 */ lwz r28, 0x58(r1) +/* 800D7D54 000D4CB4 7C 08 03 A6 */ mtlr r0 +/* 800D7D58 000D4CB8 38 21 00 70 */ addi r1, r1, 0x70 +/* 800D7D5C 000D4CBC 4E 80 00 20 */ blr + +.global LoadPlayerHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadPlayerHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D7D60 000D4CC0 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800D7D64 000D4CC4 7C 08 02 A6 */ mflr r0 +/* 800D7D68 000D4CC8 2C 05 00 06 */ cmpwi r5, 6 +/* 800D7D6C 000D4CCC 90 01 00 74 */ stw r0, 0x74(r1) +/* 800D7D70 000D4CD0 BF 41 00 58 */ stmw r26, 0x58(r1) +/* 800D7D74 000D4CD4 7C 7A 1B 78 */ mr r26, r3 +/* 800D7D78 000D4CD8 7C 9C 23 78 */ mr r28, r4 +/* 800D7D7C 000D4CDC 7C DB 33 78 */ mr r27, r6 +/* 800D7D80 000D4CE0 40 80 00 0C */ bge lbl_800D7D8C +/* 800D7D84 000D4CE4 38 60 00 00 */ li r3, 0 +/* 800D7D88 000D4CE8 48 00 00 A0 */ b lbl_800D7E28 +lbl_800D7D8C: +/* 800D7D8C 000D4CEC 7F 45 D3 78 */ mr r5, r26 +/* 800D7D90 000D4CF0 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D7D94 000D4CF4 48 00 27 31 */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D7D98 000D4CF8 7F 83 E3 78 */ mr r3, r28 +/* 800D7D9C 000D4CFC 48 26 6F 41 */ bl ReadBool__12CInputStreamFv +/* 800D7DA0 000D4D00 7C 7F 1B 78 */ mr r31, r3 +/* 800D7DA4 000D4D04 7F 83 E3 78 */ mr r3, r28 +/* 800D7DA8 000D4D08 48 00 1E 55 */ bl LoadParameterFlags__FR12CInputStream +/* 800D7DAC 000D4D0C 7C 60 1B 78 */ mr r0, r3 +/* 800D7DB0 000D4D10 7F 83 E3 78 */ mr r3, r28 +/* 800D7DB4 000D4D14 7C 1C 03 78 */ mr r28, r0 +/* 800D7DB8 000D4D18 48 26 6E CD */ bl ReadLong__12CInputStreamFv +/* 800D7DBC 000D4D1C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D7DC0 000D4D20 7C 7E 1B 78 */ mr r30, r3 +/* 800D7DC4 000D4D24 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D7DC8 000D4D28 38 60 01 10 */ li r3, 0x110 +/* 800D7DCC 000D4D2C 38 A0 00 00 */ li r5, 0 +/* 800D7DD0 000D4D30 38 84 00 0D */ addi r4, r4, 0xd +/* 800D7DD4 000D4D34 48 23 DA 99 */ bl __nw__FUlPCcPCc +/* 800D7DD8 000D4D38 7C 7D 1B 79 */ or. r29, r3, r3 +/* 800D7DDC 000D4D3C 41 82 00 40 */ beq lbl_800D7E1C +/* 800D7DE0 000D4D40 7F 44 D3 78 */ mr r4, r26 +/* 800D7DE4 000D4D44 38 61 00 08 */ addi r3, r1, 8 +/* 800D7DE8 000D4D48 4B F7 52 F5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D7DEC 000D4D4C A0 01 00 08 */ lhz r0, 8(r1) +/* 800D7DF0 000D4D50 7F A3 EB 78 */ mr r3, r29 +/* 800D7DF4 000D4D54 7F 66 DB 78 */ mr r6, r27 +/* 800D7DF8 000D4D58 7F E8 FB 78 */ mr r8, r31 +/* 800D7DFC 000D4D5C B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D7E00 000D4D60 7F C9 F3 78 */ mr r9, r30 +/* 800D7E04 000D4D64 7F 8A E3 78 */ mr r10, r28 +/* 800D7E08 000D4D68 38 81 00 0C */ addi r4, r1, 0xc +/* 800D7E0C 000D4D6C 38 A1 00 10 */ addi r5, r1, 0x10 +/* 800D7E10 000D4D70 38 E1 00 20 */ addi r7, r1, 0x20 +/* 800D7E14 000D4D74 48 08 3E A9 */ bl "__ct__17CScriptPlayerHintF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbii" +/* 800D7E18 000D4D78 7C 7D 1B 78 */ mr r29, r3 +lbl_800D7E1C: +/* 800D7E1C 000D4D7C 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D7E20 000D4D80 48 26 5C C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D7E24 000D4D84 7F A3 EB 78 */ mr r3, r29 +lbl_800D7E28: +/* 800D7E28 000D4D88 BB 41 00 58 */ lmw r26, 0x58(r1) +/* 800D7E2C 000D4D8C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800D7E30 000D4D90 7C 08 03 A6 */ mtlr r0 +/* 800D7E34 000D4D94 38 21 00 70 */ addi r1, r1, 0x70 +/* 800D7E38 000D4D98 4E 80 00 20 */ blr + +.global LoadCameraHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadCameraHint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D7E3C 000D4D9C 94 21 FE 60 */ stwu r1, -0x1a0(r1) +/* 800D7E40 000D4DA0 7C 08 02 A6 */ mflr r0 +/* 800D7E44 000D4DA4 90 01 01 A4 */ stw r0, 0x1a4(r1) +/* 800D7E48 000D4DA8 DB E1 01 90 */ stfd f31, 0x190(r1) +/* 800D7E4C 000D4DAC F3 E1 01 98 */ psq_st f31, 408(r1), 0, qr0 +/* 800D7E50 000D4DB0 DB C1 01 80 */ stfd f30, 0x180(r1) +/* 800D7E54 000D4DB4 F3 C1 01 88 */ psq_st f30, 392(r1), 0, qr0 +/* 800D7E58 000D4DB8 DB A1 01 70 */ stfd f29, 0x170(r1) +/* 800D7E5C 000D4DBC F3 A1 01 78 */ psq_st f29, 376(r1), 0, qr0 +/* 800D7E60 000D4DC0 DB 81 01 60 */ stfd f28, 0x160(r1) +/* 800D7E64 000D4DC4 F3 81 01 68 */ psq_st f28, 360(r1), 0, qr0 +/* 800D7E68 000D4DC8 DB 61 01 50 */ stfd f27, 0x150(r1) +/* 800D7E6C 000D4DCC F3 61 01 58 */ psq_st f27, 344(r1), 0, qr0 +/* 800D7E70 000D4DD0 DB 41 01 40 */ stfd f26, 0x140(r1) +/* 800D7E74 000D4DD4 F3 41 01 48 */ psq_st f26, 328(r1), 0, qr0 +/* 800D7E78 000D4DD8 DB 21 01 30 */ stfd f25, 0x130(r1) +/* 800D7E7C 000D4DDC F3 21 01 38 */ psq_st f25, 312(r1), 0, qr0 +/* 800D7E80 000D4DE0 DB 01 01 20 */ stfd f24, 0x120(r1) +/* 800D7E84 000D4DE4 F3 01 01 28 */ psq_st f24, 296(r1), 0, qr0 +/* 800D7E88 000D4DE8 DA E1 01 10 */ stfd f23, 0x110(r1) +/* 800D7E8C 000D4DEC F2 E1 01 18 */ psq_st f23, 280(r1), 0, qr0 +/* 800D7E90 000D4DF0 DA C1 01 00 */ stfd f22, 0x100(r1) +/* 800D7E94 000D4DF4 F2 C1 01 08 */ psq_st f22, 264(r1), 0, qr0 +/* 800D7E98 000D4DF8 DA A1 00 F0 */ stfd f21, 0xf0(r1) +/* 800D7E9C 000D4DFC F2 A1 00 F8 */ psq_st f21, 248(r1), 0, qr0 +/* 800D7EA0 000D4E00 DA 81 00 E0 */ stfd f20, 0xe0(r1) +/* 800D7EA4 000D4E04 F2 81 00 E8 */ psq_st f20, 232(r1), 0, qr0 +/* 800D7EA8 000D4E08 DA 61 00 D0 */ stfd f19, 0xd0(r1) +/* 800D7EAC 000D4E0C F2 61 00 D8 */ psq_st f19, 216(r1), 0, qr0 +/* 800D7EB0 000D4E10 BF 21 00 B4 */ stmw r25, 0xb4(r1) +/* 800D7EB4 000D4E14 2C 05 00 19 */ cmpwi r5, 0x19 +/* 800D7EB8 000D4E18 7C 79 1B 78 */ mr r25, r3 +/* 800D7EBC 000D4E1C 7C 9A 23 78 */ mr r26, r4 +/* 800D7EC0 000D4E20 7C DB 33 78 */ mr r27, r6 +/* 800D7EC4 000D4E24 40 81 00 0C */ ble lbl_800D7ED0 +/* 800D7EC8 000D4E28 38 60 00 00 */ li r3, 0 +/* 800D7ECC 000D4E2C 48 00 02 D0 */ b lbl_800D819C +lbl_800D7ED0: +/* 800D7ED0 000D4E30 7F 25 CB 78 */ mr r5, r25 +/* 800D7ED4 000D4E34 38 61 00 68 */ addi r3, r1, 0x68 +/* 800D7ED8 000D4E38 48 00 25 ED */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D7EDC 000D4E3C 7F 43 D3 78 */ mr r3, r26 +/* 800D7EE0 000D4E40 48 26 6D FD */ bl ReadBool__12CInputStreamFv +/* 800D7EE4 000D4E44 7C 7F 1B 78 */ mr r31, r3 +/* 800D7EE8 000D4E48 7F 43 D3 78 */ mr r3, r26 +/* 800D7EEC 000D4E4C 48 26 6D 99 */ bl ReadLong__12CInputStreamFv +/* 800D7EF0 000D4E50 7C 7E 1B 78 */ mr r30, r3 +/* 800D7EF4 000D4E54 7F 43 D3 78 */ mr r3, r26 +/* 800D7EF8 000D4E58 48 26 6D 8D */ bl ReadLong__12CInputStreamFv +/* 800D7EFC 000D4E5C 7C 60 1B 78 */ mr r0, r3 +/* 800D7F00 000D4E60 7F 43 D3 78 */ mr r3, r26 +/* 800D7F04 000D4E64 7C 1D 03 78 */ mr r29, r0 +/* 800D7F08 000D4E68 48 00 1C F5 */ bl LoadParameterFlags__FR12CInputStream +/* 800D7F0C 000D4E6C 7C 60 1B 78 */ mr r0, r3 +/* 800D7F10 000D4E70 7F 43 D3 78 */ mr r3, r26 +/* 800D7F14 000D4E74 7C 1C 03 78 */ mr r28, r0 +/* 800D7F18 000D4E78 48 26 6D C5 */ bl ReadBool__12CInputStreamFv +/* 800D7F1C 000D4E7C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D7F20 000D4E80 41 82 00 08 */ beq lbl_800D7F28 +/* 800D7F24 000D4E84 67 9C 00 40 */ oris r28, r28, 0x40 +lbl_800D7F28: +/* 800D7F28 000D4E88 7F 43 D3 78 */ mr r3, r26 +/* 800D7F2C 000D4E8C 48 26 6C FD */ bl ReadFloat__12CInputStreamFv +/* 800D7F30 000D4E90 FF E0 08 90 */ fmr f31, f1 +/* 800D7F34 000D4E94 7F 43 D3 78 */ mr r3, r26 +/* 800D7F38 000D4E98 48 26 6D A5 */ bl ReadBool__12CInputStreamFv +/* 800D7F3C 000D4E9C 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D7F40 000D4EA0 41 82 00 08 */ beq lbl_800D7F48 +/* 800D7F44 000D4EA4 67 9C 00 80 */ oris r28, r28, 0x80 +lbl_800D7F48: +/* 800D7F48 000D4EA8 7F 43 D3 78 */ mr r3, r26 +/* 800D7F4C 000D4EAC 48 26 6C DD */ bl ReadFloat__12CInputStreamFv +/* 800D7F50 000D4EB0 FF C0 08 90 */ fmr f30, f1 +/* 800D7F54 000D4EB4 7F 43 D3 78 */ mr r3, r26 +/* 800D7F58 000D4EB8 48 26 6D 85 */ bl ReadBool__12CInputStreamFv +/* 800D7F5C 000D4EBC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D7F60 000D4EC0 41 82 00 08 */ beq lbl_800D7F68 +/* 800D7F64 000D4EC4 67 9C 01 00 */ oris r28, r28, 0x100 +lbl_800D7F68: +/* 800D7F68 000D4EC8 7F 43 D3 78 */ mr r3, r26 +/* 800D7F6C 000D4ECC 48 26 6C BD */ bl ReadFloat__12CInputStreamFv +/* 800D7F70 000D4ED0 FF A0 08 90 */ fmr f29, f1 +/* 800D7F74 000D4ED4 7F 43 D3 78 */ mr r3, r26 +/* 800D7F78 000D4ED8 48 26 6D 65 */ bl ReadBool__12CInputStreamFv +/* 800D7F7C 000D4EDC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D7F80 000D4EE0 41 82 00 08 */ beq lbl_800D7F88 +/* 800D7F84 000D4EE4 67 9C 02 00 */ oris r28, r28, 0x200 +lbl_800D7F88: +/* 800D7F88 000D4EE8 7F 44 D3 78 */ mr r4, r26 +/* 800D7F8C 000D4EEC 38 61 00 5C */ addi r3, r1, 0x5c +/* 800D7F90 000D4EF0 48 23 CB FD */ bl __ct__9CVector3fFR12CInputStream +/* 800D7F94 000D4EF4 7F 43 D3 78 */ mr r3, r26 +/* 800D7F98 000D4EF8 48 26 6D 45 */ bl ReadBool__12CInputStreamFv +/* 800D7F9C 000D4EFC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D7FA0 000D4F00 41 82 00 08 */ beq lbl_800D7FA8 +/* 800D7FA4 000D4F04 67 9C 04 00 */ oris r28, r28, 0x400 +lbl_800D7FA8: +/* 800D7FA8 000D4F08 7F 44 D3 78 */ mr r4, r26 +/* 800D7FAC 000D4F0C 38 61 00 50 */ addi r3, r1, 0x50 +/* 800D7FB0 000D4F10 48 23 CB DD */ bl __ct__9CVector3fFR12CInputStream +/* 800D7FB4 000D4F14 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800D7FB8 000D4F18 7F 44 D3 78 */ mr r4, r26 +/* 800D7FBC 000D4F1C 38 A3 66 A0 */ addi r5, r3, skZero3f@l +/* 800D7FC0 000D4F20 38 61 00 38 */ addi r3, r1, 0x38 +/* 800D7FC4 000D4F24 C0 45 00 00 */ lfs f2, 0(r5) +/* 800D7FC8 000D4F28 C0 25 00 04 */ lfs f1, 4(r5) +/* 800D7FCC 000D4F2C C0 05 00 08 */ lfs f0, 8(r5) +/* 800D7FD0 000D4F30 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800D7FD4 000D4F34 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800D7FD8 000D4F38 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800D7FDC 000D4F3C 48 23 CB B1 */ bl __ct__9CVector3fFR12CInputStream +/* 800D7FE0 000D4F40 C0 41 00 38 */ lfs f2, 0x38(r1) +/* 800D7FE4 000D4F44 7F 43 D3 78 */ mr r3, r26 +/* 800D7FE8 000D4F48 C0 21 00 3C */ lfs f1, 0x3c(r1) +/* 800D7FEC 000D4F4C C0 01 00 40 */ lfs f0, 0x40(r1) +/* 800D7FF0 000D4F50 D0 41 00 44 */ stfs f2, 0x44(r1) +/* 800D7FF4 000D4F54 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800D7FF8 000D4F58 D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800D7FFC 000D4F5C 48 26 6C E1 */ bl ReadBool__12CInputStreamFv +/* 800D8000 000D4F60 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D8004 000D4F64 41 82 00 08 */ beq lbl_800D800C +/* 800D8008 000D4F68 67 9C 08 00 */ oris r28, r28, 0x800 +lbl_800D800C: +/* 800D800C 000D4F6C 7F 43 D3 78 */ mr r3, r26 +/* 800D8010 000D4F70 48 26 6C 19 */ bl ReadFloat__12CInputStreamFv +/* 800D8014 000D4F74 FF 00 08 90 */ fmr f24, f1 +/* 800D8018 000D4F78 7F 43 D3 78 */ mr r3, r26 +/* 800D801C 000D4F7C 48 26 6C C1 */ bl ReadBool__12CInputStreamFv +/* 800D8020 000D4F80 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D8024 000D4F84 41 82 00 08 */ beq lbl_800D802C +/* 800D8028 000D4F88 67 9C 10 00 */ oris r28, r28, 0x1000 +lbl_800D802C: +/* 800D802C 000D4F8C 7F 43 D3 78 */ mr r3, r26 +/* 800D8030 000D4F90 48 26 6B F9 */ bl ReadFloat__12CInputStreamFv +/* 800D8034 000D4F94 C0 02 8E 50 */ lfs f0, lbl_805AAB70@sda21(r2) +/* 800D8038 000D4F98 7F 43 D3 78 */ mr r3, r26 +/* 800D803C 000D4F9C EE C0 00 72 */ fmuls f22, f0, f1 +/* 800D8040 000D4FA0 48 26 6C 9D */ bl ReadBool__12CInputStreamFv +/* 800D8044 000D4FA4 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D8048 000D4FA8 41 82 00 08 */ beq lbl_800D8050 +/* 800D804C 000D4FAC 67 9C 20 00 */ oris r28, r28, 0x2000 +lbl_800D8050: +/* 800D8050 000D4FB0 7F 43 D3 78 */ mr r3, r26 +/* 800D8054 000D4FB4 48 26 6B D5 */ bl ReadFloat__12CInputStreamFv +/* 800D8058 000D4FB8 C0 02 8E 50 */ lfs f0, lbl_805AAB70@sda21(r2) +/* 800D805C 000D4FBC 7F 43 D3 78 */ mr r3, r26 +/* 800D8060 000D4FC0 EE A0 00 72 */ fmuls f21, f0, f1 +/* 800D8064 000D4FC4 48 26 6C 79 */ bl ReadBool__12CInputStreamFv +/* 800D8068 000D4FC8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D806C 000D4FCC 41 82 00 08 */ beq lbl_800D8074 +/* 800D8070 000D4FD0 67 9C 40 00 */ oris r28, r28, 0x4000 +lbl_800D8074: +/* 800D8074 000D4FD4 7F 43 D3 78 */ mr r3, r26 +/* 800D8078 000D4FD8 48 26 6B B1 */ bl ReadFloat__12CInputStreamFv +/* 800D807C 000D4FDC C0 02 8E 50 */ lfs f0, lbl_805AAB70@sda21(r2) +/* 800D8080 000D4FE0 7F 43 D3 78 */ mr r3, r26 +/* 800D8084 000D4FE4 EE 80 00 72 */ fmuls f20, f0, f1 +/* 800D8088 000D4FE8 48 26 6B A1 */ bl ReadFloat__12CInputStreamFv +/* 800D808C 000D4FEC FE E0 08 90 */ fmr f23, f1 +/* 800D8090 000D4FF0 7F 43 D3 78 */ mr r3, r26 +/* 800D8094 000D4FF4 48 26 6B 95 */ bl ReadFloat__12CInputStreamFv +/* 800D8098 000D4FF8 C0 02 8E 50 */ lfs f0, lbl_805AAB70@sda21(r2) +/* 800D809C 000D4FFC 7F 43 D3 78 */ mr r3, r26 +/* 800D80A0 000D5000 EE 60 00 72 */ fmuls f19, f0, f1 +/* 800D80A4 000D5004 48 26 6C 39 */ bl ReadBool__12CInputStreamFv +/* 800D80A8 000D5008 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D80AC 000D500C 41 82 00 08 */ beq lbl_800D80B4 +/* 800D80B0 000D5010 67 9C 80 00 */ oris r28, r28, 0x8000 +lbl_800D80B4: +/* 800D80B4 000D5014 7F 43 D3 78 */ mr r3, r26 +/* 800D80B8 000D5018 48 26 6B 71 */ bl ReadFloat__12CInputStreamFv +/* 800D80BC 000D501C FF 20 08 90 */ fmr f25, f1 +/* 800D80C0 000D5020 7F 43 D3 78 */ mr r3, r26 +/* 800D80C4 000D5024 48 26 6B 65 */ bl ReadFloat__12CInputStreamFv +/* 800D80C8 000D5028 FF 40 08 90 */ fmr f26, f1 +/* 800D80CC 000D502C 7F 43 D3 78 */ mr r3, r26 +/* 800D80D0 000D5030 48 26 6B 59 */ bl ReadFloat__12CInputStreamFv +/* 800D80D4 000D5034 FF 60 08 90 */ fmr f27, f1 +/* 800D80D8 000D5038 7F 43 D3 78 */ mr r3, r26 +/* 800D80DC 000D503C 48 26 6B 4D */ bl ReadFloat__12CInputStreamFv +/* 800D80E0 000D5040 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D80E4 000D5044 FF 80 08 90 */ fmr f28, f1 +/* 800D80E8 000D5048 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D80EC 000D504C 38 60 01 98 */ li r3, 0x198 +/* 800D80F0 000D5050 38 84 00 0D */ addi r4, r4, 0xd +/* 800D80F4 000D5054 38 A0 00 00 */ li r5, 0 +/* 800D80F8 000D5058 48 23 D7 75 */ bl __nw__FUlPCcPCc +/* 800D80FC 000D505C 7C 7A 1B 79 */ or. r26, r3, r3 +/* 800D8100 000D5060 41 82 00 90 */ beq lbl_800D8190 +/* 800D8104 000D5064 7F 24 CB 78 */ mr r4, r25 +/* 800D8108 000D5068 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D810C 000D506C 4B F7 4F D1 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D8110 000D5070 A0 61 00 30 */ lhz r3, 0x30(r1) +/* 800D8114 000D5074 38 A1 00 5C */ addi r5, r1, 0x5c +/* 800D8118 000D5078 38 81 00 50 */ addi r4, r1, 0x50 +/* 800D811C 000D507C 38 01 00 44 */ addi r0, r1, 0x44 +/* 800D8120 000D5080 B0 61 00 34 */ sth r3, 0x34(r1) +/* 800D8124 000D5084 FC 20 F8 90 */ fmr f1, f31 +/* 800D8128 000D5088 FC 40 F0 90 */ fmr f2, f30 +/* 800D812C 000D508C 7F 43 D3 78 */ mr r3, r26 +/* 800D8130 000D5090 93 81 00 08 */ stw r28, 8(r1) +/* 800D8134 000D5094 FC 60 E8 90 */ fmr f3, f29 +/* 800D8138 000D5098 FC 80 C0 90 */ fmr f4, f24 +/* 800D813C 000D509C 90 A1 00 0C */ stw r5, 0xc(r1) +/* 800D8140 000D50A0 FC A0 B0 90 */ fmr f5, f22 +/* 800D8144 000D50A4 7F 66 DB 78 */ mr r6, r27 +/* 800D8148 000D50A8 90 81 00 10 */ stw r4, 0x10(r1) +/* 800D814C 000D50AC FC C0 A8 90 */ fmr f6, f21 +/* 800D8150 000D50B0 FC E0 A0 90 */ fmr f7, f20 +/* 800D8154 000D50B4 7F E8 FB 78 */ mr r8, r31 +/* 800D8158 000D50B8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800D815C 000D50BC FD 00 B8 90 */ fmr f8, f23 +/* 800D8160 000D50C0 7F C9 F3 78 */ mr r9, r30 +/* 800D8164 000D50C4 7F AA EB 78 */ mr r10, r29 +/* 800D8168 000D50C8 D2 61 00 18 */ stfs f19, 0x18(r1) +/* 800D816C 000D50CC 38 81 00 34 */ addi r4, r1, 0x34 +/* 800D8170 000D50D0 38 A1 00 68 */ addi r5, r1, 0x68 +/* 800D8174 000D50D4 D3 21 00 1C */ stfs f25, 0x1c(r1) +/* 800D8178 000D50D8 38 E1 00 78 */ addi r7, r1, 0x78 +/* 800D817C 000D50DC D3 61 00 20 */ stfs f27, 0x20(r1) +/* 800D8180 000D50E0 D3 41 00 24 */ stfs f26, 0x24(r1) +/* 800D8184 000D50E4 D3 81 00 28 */ stfs f28, 0x28(r1) +/* 800D8188 000D50E8 4B FE CD 89 */ bl "__ct__17CScriptCameraHintF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fbiQ211CBallCamera20EBallCameraBehaviourifffRC13CCameraSpringRC13CCameraSpringfRC9CVector3fRC9CVector3ff" +/* 800D818C 000D50EC 7C 7A 1B 78 */ mr r26, r3 +lbl_800D8190: +/* 800D8190 000D50F0 38 61 00 68 */ addi r3, r1, 0x68 +/* 800D8194 000D50F4 48 26 59 4D */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D8198 000D50F8 7F 43 D3 78 */ mr r3, r26 +lbl_800D819C: +/* 800D819C 000D50FC E3 E1 01 98 */ psq_l f31, 408(r1), 0, qr0 +/* 800D81A0 000D5100 CB E1 01 90 */ lfd f31, 0x190(r1) +/* 800D81A4 000D5104 E3 C1 01 88 */ psq_l f30, 392(r1), 0, qr0 +/* 800D81A8 000D5108 CB C1 01 80 */ lfd f30, 0x180(r1) +/* 800D81AC 000D510C E3 A1 01 78 */ psq_l f29, 376(r1), 0, qr0 +/* 800D81B0 000D5110 CB A1 01 70 */ lfd f29, 0x170(r1) +/* 800D81B4 000D5114 E3 81 01 68 */ psq_l f28, 360(r1), 0, qr0 +/* 800D81B8 000D5118 CB 81 01 60 */ lfd f28, 0x160(r1) +/* 800D81BC 000D511C E3 61 01 58 */ psq_l f27, 344(r1), 0, qr0 +/* 800D81C0 000D5120 CB 61 01 50 */ lfd f27, 0x150(r1) +/* 800D81C4 000D5124 E3 41 01 48 */ psq_l f26, 328(r1), 0, qr0 +/* 800D81C8 000D5128 CB 41 01 40 */ lfd f26, 0x140(r1) +/* 800D81CC 000D512C E3 21 01 38 */ psq_l f25, 312(r1), 0, qr0 +/* 800D81D0 000D5130 CB 21 01 30 */ lfd f25, 0x130(r1) +/* 800D81D4 000D5134 E3 01 01 28 */ psq_l f24, 296(r1), 0, qr0 +/* 800D81D8 000D5138 CB 01 01 20 */ lfd f24, 0x120(r1) +/* 800D81DC 000D513C E2 E1 01 18 */ psq_l f23, 280(r1), 0, qr0 +/* 800D81E0 000D5140 CA E1 01 10 */ lfd f23, 0x110(r1) +/* 800D81E4 000D5144 E2 C1 01 08 */ psq_l f22, 264(r1), 0, qr0 +/* 800D81E8 000D5148 CA C1 01 00 */ lfd f22, 0x100(r1) +/* 800D81EC 000D514C E2 A1 00 F8 */ psq_l f21, 248(r1), 0, qr0 +/* 800D81F0 000D5150 CA A1 00 F0 */ lfd f21, 0xf0(r1) +/* 800D81F4 000D5154 E2 81 00 E8 */ psq_l f20, 232(r1), 0, qr0 +/* 800D81F8 000D5158 CA 81 00 E0 */ lfd f20, 0xe0(r1) +/* 800D81FC 000D515C E2 61 00 D8 */ psq_l f19, 216(r1), 0, qr0 +/* 800D8200 000D5160 CA 61 00 D0 */ lfd f19, 0xd0(r1) +/* 800D8204 000D5164 BB 21 00 B4 */ lmw r25, 0xb4(r1) +/* 800D8208 000D5168 80 01 01 A4 */ lwz r0, 0x1a4(r1) +/* 800D820C 000D516C 7C 08 03 A6 */ mtlr r0 +/* 800D8210 000D5170 38 21 01 A0 */ addi r1, r1, 0x1a0 +/* 800D8214 000D5174 4E 80 00 20 */ blr + +.global LoadDock__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadDock__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D8218 000D5178 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800D821C 000D517C 7C 08 02 A6 */ mflr r0 +/* 800D8220 000D5180 2C 05 00 07 */ cmpwi r5, 7 +/* 800D8224 000D5184 90 01 00 74 */ stw r0, 0x74(r1) +/* 800D8228 000D5188 BF 21 00 54 */ stmw r25, 0x54(r1) +/* 800D822C 000D518C 7C 79 1B 78 */ mr r25, r3 +/* 800D8230 000D5190 7C 9B 23 78 */ mr r27, r4 +/* 800D8234 000D5194 7C DA 33 78 */ mr r26, r6 +/* 800D8238 000D5198 41 82 00 0C */ beq lbl_800D8244 +/* 800D823C 000D519C 38 60 00 00 */ li r3, 0 +/* 800D8240 000D51A0 48 00 00 E0 */ b lbl_800D8320 +lbl_800D8244: +/* 800D8244 000D51A4 4B F6 CF A1 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D8248 000D51A8 7C 64 1B 78 */ mr r4, r3 +/* 800D824C 000D51AC 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D8250 000D51B0 48 26 5F 11 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D8254 000D51B4 7F 63 DB 78 */ mr r3, r27 +/* 800D8258 000D51B8 48 26 6A 85 */ bl ReadBool__12CInputStreamFv +/* 800D825C 000D51BC 7C 7D 1B 78 */ mr r29, r3 +/* 800D8260 000D51C0 7F 64 DB 78 */ mr r4, r27 +/* 800D8264 000D51C4 38 61 00 34 */ addi r3, r1, 0x34 +/* 800D8268 000D51C8 48 23 C9 25 */ bl __ct__9CVector3fFR12CInputStream +/* 800D826C 000D51CC 7F 64 DB 78 */ mr r4, r27 +/* 800D8270 000D51D0 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D8274 000D51D4 48 23 C9 19 */ bl __ct__9CVector3fFR12CInputStream +/* 800D8278 000D51D8 7F 63 DB 78 */ mr r3, r27 +/* 800D827C 000D51DC 48 26 6A 09 */ bl ReadLong__12CInputStreamFv +/* 800D8280 000D51E0 7C 7C 1B 78 */ mr r28, r3 +/* 800D8284 000D51E4 7F 63 DB 78 */ mr r3, r27 +/* 800D8288 000D51E8 48 26 69 FD */ bl ReadLong__12CInputStreamFv +/* 800D828C 000D51EC 7C 7E 1B 78 */ mr r30, r3 +/* 800D8290 000D51F0 7F 63 DB 78 */ mr r3, r27 +/* 800D8294 000D51F4 48 26 6A 49 */ bl ReadBool__12CInputStreamFv +/* 800D8298 000D51F8 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D829C 000D51FC 7C 7F 1B 78 */ mr r31, r3 +/* 800D82A0 000D5200 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D82A4 000D5204 38 60 02 70 */ li r3, 0x270 +/* 800D82A8 000D5208 38 84 00 0D */ addi r4, r4, 0xd +/* 800D82AC 000D520C 38 A0 00 00 */ li r5, 0 +/* 800D82B0 000D5210 48 23 D5 BD */ bl __nw__FUlPCcPCc +/* 800D82B4 000D5214 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800D82B8 000D5218 41 82 00 5C */ beq lbl_800D8314 +/* 800D82BC 000D521C 93 C1 00 20 */ stw r30, 0x20(r1) +/* 800D82C0 000D5220 7F 24 CB 78 */ mr r4, r25 +/* 800D82C4 000D5224 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D82C8 000D5228 93 C1 00 24 */ stw r30, 0x24(r1) +/* 800D82CC 000D522C 4B F7 4E 11 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D82D0 000D5230 A0 81 00 18 */ lhz r4, 0x18(r1) +/* 800D82D4 000D5234 39 40 00 00 */ li r10, 0 +/* 800D82D8 000D5238 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 800D82DC 000D523C 7F 63 DB 78 */ mr r3, r27 +/* 800D82E0 000D5240 B0 81 00 1C */ sth r4, 0x1c(r1) +/* 800D82E4 000D5244 7F 46 D3 78 */ mr r6, r26 +/* 800D82E8 000D5248 7F 89 E3 78 */ mr r9, r28 +/* 800D82EC 000D524C 38 81 00 1C */ addi r4, r1, 0x1c +/* 800D82F0 000D5250 93 A1 00 08 */ stw r29, 8(r1) +/* 800D82F4 000D5254 38 A1 00 40 */ addi r5, r1, 0x40 +/* 800D82F8 000D5258 38 E1 00 34 */ addi r7, r1, 0x34 +/* 800D82FC 000D525C 39 01 00 28 */ addi r8, r1, 0x28 +/* 800D8300 000D5260 91 41 00 0C */ stw r10, 0xc(r1) +/* 800D8304 000D5264 39 41 00 24 */ addi r10, r1, 0x24 +/* 800D8308 000D5268 90 01 00 10 */ stw r0, 0x10(r1) +/* 800D830C 000D526C 4B FE C1 21 */ bl "__ct__11CScriptDockF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fi7TAreaIdbib" +/* 800D8310 000D5270 7C 7B 1B 78 */ mr r27, r3 +lbl_800D8314: +/* 800D8314 000D5274 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D8318 000D5278 48 26 57 C9 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D831C 000D527C 7F 63 DB 78 */ mr r3, r27 +lbl_800D8320: +/* 800D8320 000D5280 BB 21 00 54 */ lmw r25, 0x54(r1) +/* 800D8324 000D5284 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800D8328 000D5288 7C 08 03 A6 */ mtlr r0 +/* 800D832C 000D528C 38 21 00 70 */ addi r1, r1, 0x70 +/* 800D8330 000D5290 4E 80 00 20 */ blr + +.global LoadJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadJumpPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D8334 000D5294 38 60 00 00 */ li r3, 0 +/* 800D8338 000D5298 4E 80 00 20 */ blr + +.global LoadSpawnPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSpawnPoint__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D833C 000D529C 94 21 FE 20 */ stwu r1, -0x1e0(r1) +/* 800D8340 000D52A0 7C 08 02 A6 */ mflr r0 +/* 800D8344 000D52A4 90 01 01 E4 */ stw r0, 0x1e4(r1) +/* 800D8348 000D52A8 BF 01 01 C0 */ stmw r24, 0x1c0(r1) +/* 800D834C 000D52AC 7C BB 2B 78 */ mr r27, r5 +/* 800D8350 000D52B0 2C 1B 00 23 */ cmpwi r27, 0x23 +/* 800D8354 000D52B4 7C 79 1B 78 */ mr r25, r3 +/* 800D8358 000D52B8 7C 9F 23 78 */ mr r31, r4 +/* 800D835C 000D52BC 7C DA 33 78 */ mr r26, r6 +/* 800D8360 000D52C0 40 80 00 0C */ bge lbl_800D836C +/* 800D8364 000D52C4 38 60 00 00 */ li r3, 0 +/* 800D8368 000D52C8 48 00 02 58 */ b lbl_800D85C0 +lbl_800D836C: +/* 800D836C 000D52CC 4B F6 CE 79 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D8370 000D52D0 7C 64 1B 78 */ mr r4, r3 +/* 800D8374 000D52D4 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D8378 000D52D8 48 26 5D E9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D837C 000D52DC 7F E4 FB 78 */ mr r4, r31 +/* 800D8380 000D52E0 38 61 00 24 */ addi r3, r1, 0x24 +/* 800D8384 000D52E4 48 23 C8 09 */ bl __ct__9CVector3fFR12CInputStream +/* 800D8388 000D52E8 7F E4 FB 78 */ mr r4, r31 +/* 800D838C 000D52EC 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D8390 000D52F0 48 23 C7 FD */ bl __ct__9CVector3fFR12CInputStream +/* 800D8394 000D52F4 38 00 00 00 */ li r0, 0 +/* 800D8398 000D52F8 3B 81 01 1C */ addi r28, r1, 0x11c +/* 800D839C 000D52FC 90 01 01 18 */ stw r0, 0x118(r1) +/* 800D83A0 000D5300 3B BB FF FA */ addi r29, r27, -6 +/* 800D83A4 000D5304 3B C0 00 00 */ li r30, 0 +/* 800D83A8 000D5308 48 00 00 30 */ b lbl_800D83D8 +lbl_800D83AC: +/* 800D83AC 000D530C 7F E3 FB 78 */ mr r3, r31 +/* 800D83B0 000D5310 48 26 68 D5 */ bl ReadLong__12CInputStreamFv +/* 800D83B4 000D5314 80 01 01 18 */ lwz r0, 0x118(r1) +/* 800D83B8 000D5318 54 00 10 3A */ slwi r0, r0, 2 +/* 800D83BC 000D531C 7C 9C 02 15 */ add. r4, r28, r0 +/* 800D83C0 000D5320 41 82 00 08 */ beq lbl_800D83C8 +/* 800D83C4 000D5324 90 64 00 00 */ stw r3, 0(r4) +lbl_800D83C8: +/* 800D83C8 000D5328 80 61 01 18 */ lwz r3, 0x118(r1) +/* 800D83CC 000D532C 3B DE 00 01 */ addi r30, r30, 1 +/* 800D83D0 000D5330 38 03 00 01 */ addi r0, r3, 1 +/* 800D83D4 000D5334 90 01 01 18 */ stw r0, 0x118(r1) +lbl_800D83D8: +/* 800D83D8 000D5338 7C 1E E8 00 */ cmpw r30, r29 +/* 800D83DC 000D533C 41 80 FF D0 */ blt lbl_800D83AC +/* 800D83E0 000D5340 80 61 01 18 */ lwz r3, 0x118(r1) +/* 800D83E4 000D5344 80 8D 86 F0 */ lwz r4, lbl_805A72B0@sda21(r13) +/* 800D83E8 000D5348 20 03 00 29 */ subfic r0, r3, 0x29 +/* 800D83EC 000D534C 7C 09 03 A6 */ mtctr r0 +/* 800D83F0 000D5350 2C 03 00 29 */ cmpwi r3, 0x29 +/* 800D83F4 000D5354 40 80 00 28 */ bge lbl_800D841C +lbl_800D83F8: +/* 800D83F8 000D5358 80 01 01 18 */ lwz r0, 0x118(r1) +/* 800D83FC 000D535C 54 00 10 3A */ slwi r0, r0, 2 +/* 800D8400 000D5360 7C 7C 02 15 */ add. r3, r28, r0 +/* 800D8404 000D5364 41 82 00 08 */ beq lbl_800D840C +/* 800D8408 000D5368 90 83 00 00 */ stw r4, 0(r3) +lbl_800D840C: +/* 800D840C 000D536C 80 61 01 18 */ lwz r3, 0x118(r1) +/* 800D8410 000D5370 38 03 00 01 */ addi r0, r3, 1 +/* 800D8414 000D5374 90 01 01 18 */ stw r0, 0x118(r1) +/* 800D8418 000D5378 42 00 FF E0 */ bdnz lbl_800D83F8 +lbl_800D841C: +/* 800D841C 000D537C 7F E3 FB 78 */ mr r3, r31 +/* 800D8420 000D5380 48 26 68 BD */ bl ReadBool__12CInputStreamFv +/* 800D8424 000D5384 7C 7E 1B 78 */ mr r30, r3 +/* 800D8428 000D5388 7F E3 FB 78 */ mr r3, r31 +/* 800D842C 000D538C 48 26 68 B1 */ bl ReadBool__12CInputStreamFv +/* 800D8430 000D5390 2C 1B 00 23 */ cmpwi r27, 0x23 +/* 800D8434 000D5394 7C 7D 1B 78 */ mr r29, r3 +/* 800D8438 000D5398 3B 60 00 00 */ li r27, 0 +/* 800D843C 000D539C 41 80 00 10 */ blt lbl_800D844C +/* 800D8440 000D53A0 7F E3 FB 78 */ mr r3, r31 +/* 800D8444 000D53A4 48 26 68 99 */ bl ReadBool__12CInputStreamFv +/* 800D8448 000D53A8 7C 7B 1B 78 */ mr r27, r3 +lbl_800D844C: +/* 800D844C 000D53AC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D8450 000D53B0 3B 00 00 00 */ li r24, 0 +/* 800D8454 000D53B4 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D8458 000D53B8 38 60 01 10 */ li r3, 0x110 +/* 800D845C 000D53BC 38 84 00 0D */ addi r4, r4, 0xd +/* 800D8460 000D53C0 38 A0 00 00 */ li r5, 0 +/* 800D8464 000D53C4 48 23 D4 09 */ bl __nw__FUlPCcPCc +/* 800D8468 000D53C8 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800D846C 000D53CC 41 82 00 98 */ beq lbl_800D8504 +/* 800D8470 000D53D0 7F 24 CB 78 */ mr r4, r25 +/* 800D8474 000D53D4 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D8478 000D53D8 4B F7 4C 65 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D847C 000D53DC A0 61 00 10 */ lhz r3, 0x10(r1) +/* 800D8480 000D53E0 38 81 00 74 */ addi r4, r1, 0x74 +/* 800D8484 000D53E4 80 01 01 18 */ lwz r0, 0x118(r1) +/* 800D8488 000D53E8 B0 61 00 14 */ sth r3, 0x14(r1) +/* 800D848C 000D53EC 38 60 00 00 */ li r3, 0 +/* 800D8490 000D53F0 90 01 00 70 */ stw r0, 0x70(r1) +/* 800D8494 000D53F4 48 00 00 20 */ b lbl_800D84B4 +lbl_800D8498: +/* 800D8498 000D53F8 28 04 00 00 */ cmplwi r4, 0 +/* 800D849C 000D53FC 41 82 00 0C */ beq lbl_800D84A8 +/* 800D84A0 000D5400 80 1C 00 00 */ lwz r0, 0(r28) +/* 800D84A4 000D5404 90 04 00 00 */ stw r0, 0(r4) +lbl_800D84A8: +/* 800D84A8 000D5408 38 84 00 04 */ addi r4, r4, 4 +/* 800D84AC 000D540C 38 63 00 01 */ addi r3, r3, 1 +/* 800D84B0 000D5410 3B 9C 00 04 */ addi r28, r28, 4 +lbl_800D84B4: +/* 800D84B4 000D5414 80 01 00 70 */ lwz r0, 0x70(r1) +/* 800D84B8 000D5418 7C 03 00 00 */ cmpw r3, r0 +/* 800D84BC 000D541C 41 80 FF DC */ blt lbl_800D8498 +/* 800D84C0 000D5420 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D84C4 000D5424 38 81 00 18 */ addi r4, r1, 0x18 +/* 800D84C8 000D5428 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800D84CC 000D542C 3B 00 00 01 */ li r24, 1 +/* 800D84D0 000D5430 48 00 21 15 */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f +/* 800D84D4 000D5434 57 60 06 3E */ clrlwi r0, r27, 0x18 +/* 800D84D8 000D5438 7F E3 FB 78 */ mr r3, r31 +/* 800D84DC 000D543C 90 01 00 08 */ stw r0, 8(r1) +/* 800D84E0 000D5440 7F 46 D3 78 */ mr r6, r26 +/* 800D84E4 000D5444 7F C9 F3 78 */ mr r9, r30 +/* 800D84E8 000D5448 7F AA EB 78 */ mr r10, r29 +/* 800D84EC 000D544C 38 81 00 14 */ addi r4, r1, 0x14 +/* 800D84F0 000D5450 38 A1 00 30 */ addi r5, r1, 0x30 +/* 800D84F4 000D5454 38 E1 00 40 */ addi r7, r1, 0x40 +/* 800D84F8 000D5458 39 01 00 70 */ addi r8, r1, 0x70 +/* 800D84FC 000D545C 48 00 A1 C1 */ bl "__ct__17CScriptSpawnPointF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC12CTransform4fQ24rstl21reserved_vectorbbb" +/* 800D8500 000D5460 7C 7F 1B 78 */ mr r31, r3 +lbl_800D8504: +/* 800D8504 000D5464 7F 00 07 75 */ extsb. r0, r24 +/* 800D8508 000D5468 41 82 00 58 */ beq lbl_800D8560 +/* 800D850C 000D546C 80 A1 00 70 */ lwz r5, 0x70(r1) +/* 800D8510 000D5470 38 60 00 00 */ li r3, 0 +/* 800D8514 000D5474 2C 05 00 00 */ cmpwi r5, 0 +/* 800D8518 000D5478 40 81 00 40 */ ble lbl_800D8558 +/* 800D851C 000D547C 2C 05 00 08 */ cmpwi r5, 8 +/* 800D8520 000D5480 38 85 FF F8 */ addi r4, r5, -8 +/* 800D8524 000D5484 40 81 00 20 */ ble lbl_800D8544 +/* 800D8528 000D5488 38 04 00 07 */ addi r0, r4, 7 +/* 800D852C 000D548C 54 00 E8 FE */ srwi r0, r0, 3 +/* 800D8530 000D5490 7C 09 03 A6 */ mtctr r0 +/* 800D8534 000D5494 2C 04 00 00 */ cmpwi r4, 0 +/* 800D8538 000D5498 40 81 00 0C */ ble lbl_800D8544 +lbl_800D853C: +/* 800D853C 000D549C 38 63 00 08 */ addi r3, r3, 8 +/* 800D8540 000D54A0 42 00 FF FC */ bdnz lbl_800D853C +lbl_800D8544: +/* 800D8544 000D54A4 7C 03 28 50 */ subf r0, r3, r5 +/* 800D8548 000D54A8 7C 09 03 A6 */ mtctr r0 +/* 800D854C 000D54AC 7C 03 28 00 */ cmpw r3, r5 +/* 800D8550 000D54B0 40 80 00 08 */ bge lbl_800D8558 +lbl_800D8554: +/* 800D8554 000D54B4 42 00 00 00 */ bdnz lbl_800D8554 +lbl_800D8558: +/* 800D8558 000D54B8 38 00 00 00 */ li r0, 0 +/* 800D855C 000D54BC 90 01 00 70 */ stw r0, 0x70(r1) +lbl_800D8560: +/* 800D8560 000D54C0 80 A1 01 18 */ lwz r5, 0x118(r1) +/* 800D8564 000D54C4 38 60 00 00 */ li r3, 0 +/* 800D8568 000D54C8 2C 05 00 00 */ cmpwi r5, 0 +/* 800D856C 000D54CC 40 81 00 40 */ ble lbl_800D85AC +/* 800D8570 000D54D0 2C 05 00 08 */ cmpwi r5, 8 +/* 800D8574 000D54D4 38 85 FF F8 */ addi r4, r5, -8 +/* 800D8578 000D54D8 40 81 00 20 */ ble lbl_800D8598 +/* 800D857C 000D54DC 38 04 00 07 */ addi r0, r4, 7 +/* 800D8580 000D54E0 54 00 E8 FE */ srwi r0, r0, 3 +/* 800D8584 000D54E4 7C 09 03 A6 */ mtctr r0 +/* 800D8588 000D54E8 2C 04 00 00 */ cmpwi r4, 0 +/* 800D858C 000D54EC 40 81 00 0C */ ble lbl_800D8598 +lbl_800D8590: +/* 800D8590 000D54F0 38 63 00 08 */ addi r3, r3, 8 +/* 800D8594 000D54F4 42 00 FF FC */ bdnz lbl_800D8590 +lbl_800D8598: +/* 800D8598 000D54F8 7C 03 28 50 */ subf r0, r3, r5 +/* 800D859C 000D54FC 7C 09 03 A6 */ mtctr r0 +/* 800D85A0 000D5500 7C 03 28 00 */ cmpw r3, r5 +/* 800D85A4 000D5504 40 80 00 08 */ bge lbl_800D85AC +lbl_800D85A8: +/* 800D85A8 000D5508 42 00 00 00 */ bdnz lbl_800D85A8 +lbl_800D85AC: +/* 800D85AC 000D550C 38 00 00 00 */ li r0, 0 +/* 800D85B0 000D5510 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D85B4 000D5514 90 01 01 18 */ stw r0, 0x118(r1) +/* 800D85B8 000D5518 48 26 55 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D85BC 000D551C 7F E3 FB 78 */ mr r3, r31 +lbl_800D85C0: +/* 800D85C0 000D5520 BB 01 01 C0 */ lmw r24, 0x1c0(r1) +/* 800D85C4 000D5524 80 01 01 E4 */ lwz r0, 0x1e4(r1) +/* 800D85C8 000D5528 7C 08 03 A6 */ mtlr r0 +/* 800D85CC 000D552C 38 21 01 E0 */ addi r1, r1, 0x1e0 +/* 800D85D0 000D5530 4E 80 00 20 */ blr + +.global LoadRipple__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadRipple__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D85D4 000D5534 94 21 FF B0 */ stwu r1, -0x50(r1) +/* 800D85D8 000D5538 7C 08 02 A6 */ mflr r0 +/* 800D85DC 000D553C 2C 05 00 04 */ cmpwi r5, 4 +/* 800D85E0 000D5540 90 01 00 54 */ stw r0, 0x54(r1) +/* 800D85E4 000D5544 DB E1 00 48 */ stfd f31, 0x48(r1) +/* 800D85E8 000D5548 93 E1 00 44 */ stw r31, 0x44(r1) +/* 800D85EC 000D554C 93 C1 00 40 */ stw r30, 0x40(r1) +/* 800D85F0 000D5550 7C 9E 23 78 */ mr r30, r4 +/* 800D85F4 000D5554 93 A1 00 3C */ stw r29, 0x3c(r1) +/* 800D85F8 000D5558 7C DD 33 78 */ mr r29, r6 +/* 800D85FC 000D555C 93 81 00 38 */ stw r28, 0x38(r1) +/* 800D8600 000D5560 7C 7C 1B 78 */ mr r28, r3 +/* 800D8604 000D5564 41 82 00 0C */ beq lbl_800D8610 +/* 800D8608 000D5568 38 60 00 00 */ li r3, 0 +/* 800D860C 000D556C 48 00 00 9C */ b lbl_800D86A8 +lbl_800D8610: +/* 800D8610 000D5570 4B F6 CB D5 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D8614 000D5574 7C 64 1B 78 */ mr r4, r3 +/* 800D8618 000D5578 38 61 00 1C */ addi r3, r1, 0x1c +/* 800D861C 000D557C 48 26 5B 45 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D8620 000D5580 7F C4 F3 78 */ mr r4, r30 +/* 800D8624 000D5584 38 61 00 10 */ addi r3, r1, 0x10 +/* 800D8628 000D5588 48 23 C5 65 */ bl __ct__9CVector3fFR12CInputStream +/* 800D862C 000D558C 7F C3 F3 78 */ mr r3, r30 +/* 800D8630 000D5590 48 26 66 AD */ bl ReadBool__12CInputStreamFv +/* 800D8634 000D5594 7C 7F 1B 78 */ mr r31, r3 +/* 800D8638 000D5598 7F C3 F3 78 */ mr r3, r30 +/* 800D863C 000D559C 48 26 65 ED */ bl ReadFloat__12CInputStreamFv +/* 800D8640 000D55A0 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D8644 000D55A4 FF E0 08 90 */ fmr f31, f1 +/* 800D8648 000D55A8 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D864C 000D55AC 38 A0 00 00 */ li r5, 0 +/* 800D8650 000D55B0 38 60 00 44 */ li r3, 0x44 +/* 800D8654 000D55B4 38 84 00 0D */ addi r4, r4, 0xd +/* 800D8658 000D55B8 48 23 D2 15 */ bl __nw__FUlPCcPCc +/* 800D865C 000D55BC 7C 7E 1B 79 */ or. r30, r3, r3 +/* 800D8660 000D55C0 41 82 00 3C */ beq lbl_800D869C +/* 800D8664 000D55C4 7F 84 E3 78 */ mr r4, r28 +/* 800D8668 000D55C8 38 61 00 08 */ addi r3, r1, 8 +/* 800D866C 000D55CC 4B F7 4A 71 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D8670 000D55D0 A0 01 00 08 */ lhz r0, 8(r1) +/* 800D8674 000D55D4 FC 20 F8 90 */ fmr f1, f31 +/* 800D8678 000D55D8 7F C3 F3 78 */ mr r3, r30 +/* 800D867C 000D55DC 7F A6 EB 78 */ mr r6, r29 +/* 800D8680 000D55E0 B0 01 00 0C */ sth r0, 0xc(r1) +/* 800D8684 000D55E4 7F E8 FB 78 */ mr r8, r31 +/* 800D8688 000D55E8 38 81 00 0C */ addi r4, r1, 0xc +/* 800D868C 000D55EC 38 A1 00 1C */ addi r5, r1, 0x1c +/* 800D8690 000D55F0 38 E1 00 10 */ addi r7, r1, 0x10 +/* 800D8694 000D55F4 48 09 CA 65 */ bl "__ct__13CScriptRippleF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fbffff" +/* 800D8698 000D55F8 7C 7E 1B 78 */ mr r30, r3 +lbl_800D869C: +/* 800D869C 000D55FC 38 61 00 1C */ addi r3, r1, 0x1c +/* 800D86A0 000D5600 48 26 54 41 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D86A4 000D5604 7F C3 F3 78 */ mr r3, r30 +lbl_800D86A8: +/* 800D86A8 000D5608 80 01 00 54 */ lwz r0, 0x54(r1) +/* 800D86AC 000D560C CB E1 00 48 */ lfd f31, 0x48(r1) +/* 800D86B0 000D5610 83 E1 00 44 */ lwz r31, 0x44(r1) +/* 800D86B4 000D5614 83 C1 00 40 */ lwz r30, 0x40(r1) +/* 800D86B8 000D5618 83 A1 00 3C */ lwz r29, 0x3c(r1) +/* 800D86BC 000D561C 83 81 00 38 */ lwz r28, 0x38(r1) +/* 800D86C0 000D5620 7C 08 03 A6 */ mtlr r0 +/* 800D86C4 000D5624 38 21 00 50 */ addi r1, r1, 0x50 +/* 800D86C8 000D5628 4E 80 00 20 */ blr + +.global LoadSteam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadSteam__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D86CC 000D562C 94 21 FE E0 */ stwu r1, -0x120(r1) +/* 800D86D0 000D5630 7C 08 02 A6 */ mflr r0 +/* 800D86D4 000D5634 90 01 01 24 */ stw r0, 0x124(r1) +/* 800D86D8 000D5638 DB E1 01 10 */ stfd f31, 0x110(r1) +/* 800D86DC 000D563C F3 E1 01 18 */ psq_st f31, 280(r1), 0, qr0 +/* 800D86E0 000D5640 DB C1 01 00 */ stfd f30, 0x100(r1) +/* 800D86E4 000D5644 F3 C1 01 08 */ psq_st f30, 264(r1), 0, qr0 +/* 800D86E8 000D5648 DB A1 00 F0 */ stfd f29, 0xf0(r1) +/* 800D86EC 000D564C F3 A1 00 F8 */ psq_st f29, 248(r1), 0, qr0 +/* 800D86F0 000D5650 DB 81 00 E0 */ stfd f28, 0xe0(r1) +/* 800D86F4 000D5654 F3 81 00 E8 */ psq_st f28, 232(r1), 0, qr0 +/* 800D86F8 000D5658 BF 21 00 C4 */ stmw r25, 0xc4(r1) +/* 800D86FC 000D565C 2C 05 00 0B */ cmpwi r5, 0xb +/* 800D8700 000D5660 7C 79 1B 78 */ mr r25, r3 +/* 800D8704 000D5664 7C 9B 23 78 */ mr r27, r4 +/* 800D8708 000D5668 7C DA 33 78 */ mr r26, r6 +/* 800D870C 000D566C 41 82 00 0C */ beq lbl_800D8718 +/* 800D8710 000D5670 38 60 00 00 */ li r3, 0 +/* 800D8714 000D5674 48 00 01 AC */ b lbl_800D88C0 +lbl_800D8718: +/* 800D8718 000D5678 4B F6 CA CD */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D871C 000D567C 7C 64 1B 78 */ mr r4, r3 +/* 800D8720 000D5680 38 61 00 5C */ addi r3, r1, 0x5c +/* 800D8724 000D5684 48 26 5A 3D */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D8728 000D5688 7F 64 DB 78 */ mr r4, r27 +/* 800D872C 000D568C 38 61 00 50 */ addi r3, r1, 0x50 +/* 800D8730 000D5690 48 23 C4 5D */ bl __ct__9CVector3fFR12CInputStream +/* 800D8734 000D5694 7F 64 DB 78 */ mr r4, r27 +/* 800D8738 000D5698 38 61 00 44 */ addi r3, r1, 0x44 +/* 800D873C 000D569C 48 23 C4 51 */ bl __ct__9CVector3fFR12CInputStream +/* 800D8740 000D56A0 7F 64 DB 78 */ mr r4, r27 +/* 800D8744 000D56A4 38 61 00 9C */ addi r3, r1, 0x9c +/* 800D8748 000D56A8 4B FE AE 19 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D874C 000D56AC 7F 64 DB 78 */ mr r4, r27 +/* 800D8750 000D56B0 38 61 00 38 */ addi r3, r1, 0x38 +/* 800D8754 000D56B4 48 23 C4 39 */ bl __ct__9CVector3fFR12CInputStream +/* 800D8758 000D56B8 7F 63 DB 78 */ mr r3, r27 +/* 800D875C 000D56BC 48 26 65 29 */ bl ReadLong__12CInputStreamFv +/* 800D8760 000D56C0 7C 7C 1B 78 */ mr r28, r3 +/* 800D8764 000D56C4 7F 63 DB 78 */ mr r3, r27 +/* 800D8768 000D56C8 48 26 65 75 */ bl ReadBool__12CInputStreamFv +/* 800D876C 000D56CC 7C 7D 1B 78 */ mr r29, r3 +/* 800D8770 000D56D0 7F 63 DB 78 */ mr r3, r27 +/* 800D8774 000D56D4 48 26 65 11 */ bl ReadLong__12CInputStreamFv +/* 800D8778 000D56D8 7C 7E 1B 78 */ mr r30, r3 +/* 800D877C 000D56DC 7F 63 DB 78 */ mr r3, r27 +/* 800D8780 000D56E0 48 26 64 A9 */ bl ReadFloat__12CInputStreamFv +/* 800D8784 000D56E4 FF E0 08 90 */ fmr f31, f1 +/* 800D8788 000D56E8 7F 63 DB 78 */ mr r3, r27 +/* 800D878C 000D56EC 48 26 64 9D */ bl ReadFloat__12CInputStreamFv +/* 800D8790 000D56F0 FF C0 08 90 */ fmr f30, f1 +/* 800D8794 000D56F4 7F 63 DB 78 */ mr r3, r27 +/* 800D8798 000D56F8 48 26 64 91 */ bl ReadFloat__12CInputStreamFv +/* 800D879C 000D56FC FF A0 08 90 */ fmr f29, f1 +/* 800D87A0 000D5700 7F 63 DB 78 */ mr r3, r27 +/* 800D87A4 000D5704 48 26 64 85 */ bl ReadFloat__12CInputStreamFv +/* 800D87A8 000D5708 FF 80 08 90 */ fmr f28, f1 +/* 800D87AC 000D570C 7F 63 DB 78 */ mr r3, r27 +/* 800D87B0 000D5710 48 26 65 2D */ bl ReadBool__12CInputStreamFv +/* 800D87B4 000D5714 C0 42 8E 60 */ lfs f2, lbl_805AAB80@sda21(r2) +/* 800D87B8 000D5718 7C 7F 1B 78 */ mr r31, r3 +/* 800D87BC 000D571C C0 01 00 44 */ lfs f0, 0x44(r1) +/* 800D87C0 000D5720 38 61 00 6C */ addi r3, r1, 0x6c +/* 800D87C4 000D5724 C0 21 00 48 */ lfs f1, 0x48(r1) +/* 800D87C8 000D5728 38 81 00 2C */ addi r4, r1, 0x2c +/* 800D87CC 000D572C EC 62 00 32 */ fmuls f3, f2, f0 +/* 800D87D0 000D5730 C0 01 00 4C */ lfs f0, 0x4c(r1) +/* 800D87D4 000D5734 EC 82 00 72 */ fmuls f4, f2, f1 +/* 800D87D8 000D5738 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800D87DC 000D573C EC A2 00 32 */ fmuls f5, f2, f0 +/* 800D87E0 000D5740 FC 40 18 50 */ fneg f2, f3 +/* 800D87E4 000D5744 FC 20 20 50 */ fneg f1, f4 +/* 800D87E8 000D5748 D0 61 00 20 */ stfs f3, 0x20(r1) +/* 800D87EC 000D574C FC 00 28 50 */ fneg f0, f5 +/* 800D87F0 000D5750 D0 81 00 24 */ stfs f4, 0x24(r1) +/* 800D87F4 000D5754 D0 A1 00 28 */ stfs f5, 0x28(r1) +/* 800D87F8 000D5758 D0 41 00 2C */ stfs f2, 0x2c(r1) +/* 800D87FC 000D575C D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800D8800 000D5760 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800D8804 000D5764 48 25 FD 05 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800D8808 000D5768 C0 A1 00 6C */ lfs f5, 0x6c(r1) +/* 800D880C 000D576C 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D8810 000D5770 C0 81 00 70 */ lfs f4, 0x70(r1) +/* 800D8814 000D5774 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800D8818 000D5778 C0 61 00 74 */ lfs f3, 0x74(r1) +/* 800D881C 000D577C 38 83 00 0D */ addi r4, r3, 0xd +/* 800D8820 000D5780 C0 41 00 78 */ lfs f2, 0x78(r1) +/* 800D8824 000D5784 38 60 01 70 */ li r3, 0x170 +/* 800D8828 000D5788 C0 21 00 7C */ lfs f1, 0x7c(r1) +/* 800D882C 000D578C 38 A0 00 00 */ li r5, 0 +/* 800D8830 000D5790 C0 01 00 80 */ lfs f0, 0x80(r1) +/* 800D8834 000D5794 D0 A1 00 84 */ stfs f5, 0x84(r1) +/* 800D8838 000D5798 D0 81 00 88 */ stfs f4, 0x88(r1) +/* 800D883C 000D579C D0 61 00 8C */ stfs f3, 0x8c(r1) +/* 800D8840 000D57A0 D0 41 00 90 */ stfs f2, 0x90(r1) +/* 800D8844 000D57A4 D0 21 00 94 */ stfs f1, 0x94(r1) +/* 800D8848 000D57A8 D0 01 00 98 */ stfs f0, 0x98(r1) +/* 800D884C 000D57AC 48 23 D0 21 */ bl __nw__FUlPCcPCc +/* 800D8850 000D57B0 7C 7B 1B 79 */ or. r27, r3, r3 +/* 800D8854 000D57B4 41 82 00 60 */ beq lbl_800D88B4 +/* 800D8858 000D57B8 7F 24 CB 78 */ mr r4, r25 +/* 800D885C 000D57BC 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D8860 000D57C0 4B F7 48 7D */ bl AllocateUniqueId__13CStateManagerFv +/* 800D8864 000D57C4 A0 01 00 18 */ lhz r0, 0x18(r1) +/* 800D8868 000D57C8 FC 20 F8 90 */ fmr f1, f31 +/* 800D886C 000D57CC FC 40 F0 90 */ fmr f2, f30 +/* 800D8870 000D57D0 7F 63 DB 78 */ mr r3, r27 +/* 800D8874 000D57D4 B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800D8878 000D57D8 FC 60 E8 90 */ fmr f3, f29 +/* 800D887C 000D57DC FC 80 E0 90 */ fmr f4, f28 +/* 800D8880 000D57E0 93 81 00 08 */ stw r28, 8(r1) +/* 800D8884 000D57E4 7F 46 D3 78 */ mr r6, r26 +/* 800D8888 000D57E8 38 81 00 1C */ addi r4, r1, 0x1c +/* 800D888C 000D57EC 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800D8890 000D57F0 38 A1 00 5C */ addi r5, r1, 0x5c +/* 800D8894 000D57F4 38 E1 00 50 */ addi r7, r1, 0x50 +/* 800D8898 000D57F8 39 01 00 84 */ addi r8, r1, 0x84 +/* 800D889C 000D57FC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800D88A0 000D5800 39 21 00 9C */ addi r9, r1, 0x9c +/* 800D88A4 000D5804 39 41 00 38 */ addi r10, r1, 0x38 +/* 800D88A8 000D5808 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800D88AC 000D580C 48 09 C4 E5 */ bl "__ct__12CScriptSteamF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibUiffff" +/* 800D88B0 000D5810 7C 7B 1B 78 */ mr r27, r3 +lbl_800D88B4: +/* 800D88B4 000D5814 38 61 00 5C */ addi r3, r1, 0x5c +/* 800D88B8 000D5818 48 26 52 29 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D88BC 000D581C 7F 63 DB 78 */ mr r3, r27 +lbl_800D88C0: +/* 800D88C0 000D5820 E3 E1 01 18 */ psq_l f31, 280(r1), 0, qr0 +/* 800D88C4 000D5824 CB E1 01 10 */ lfd f31, 0x110(r1) +/* 800D88C8 000D5828 E3 C1 01 08 */ psq_l f30, 264(r1), 0, qr0 +/* 800D88CC 000D582C CB C1 01 00 */ lfd f30, 0x100(r1) +/* 800D88D0 000D5830 E3 A1 00 F8 */ psq_l f29, 248(r1), 0, qr0 +/* 800D88D4 000D5834 CB A1 00 F0 */ lfd f29, 0xf0(r1) +/* 800D88D8 000D5838 E3 81 00 E8 */ psq_l f28, 232(r1), 0, qr0 +/* 800D88DC 000D583C CB 81 00 E0 */ lfd f28, 0xe0(r1) +/* 800D88E0 000D5840 BB 21 00 C4 */ lmw r25, 0xc4(r1) +/* 800D88E4 000D5844 80 01 01 24 */ lwz r0, 0x124(r1) +/* 800D88E8 000D5848 7C 08 03 A6 */ mtlr r0 +/* 800D88EC 000D584C 38 21 01 20 */ addi r1, r1, 0x120 +/* 800D88F0 000D5850 4E 80 00 20 */ blr + +.global LoadWater__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadWater__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D88F4 000D5854 94 21 FB E0 */ stwu r1, -0x420(r1) +/* 800D88F8 000D5858 7C 08 02 A6 */ mflr r0 +/* 800D88FC 000D585C 90 01 04 24 */ stw r0, 0x424(r1) +/* 800D8900 000D5860 DB E1 04 10 */ stfd f31, 0x410(r1) +/* 800D8904 000D5864 F3 E1 04 18 */ psq_st f31, 1048(r1), 0, qr0 +/* 800D8908 000D5868 DB C1 04 00 */ stfd f30, 0x400(r1) +/* 800D890C 000D586C F3 C1 04 08 */ psq_st f30, 1032(r1), 0, qr0 +/* 800D8910 000D5870 DB A1 03 F0 */ stfd f29, 0x3f0(r1) +/* 800D8914 000D5874 F3 A1 03 F8 */ psq_st f29, 1016(r1), 0, qr0 +/* 800D8918 000D5878 DB 81 03 E0 */ stfd f28, 0x3e0(r1) +/* 800D891C 000D587C F3 81 03 E8 */ psq_st f28, 1000(r1), 0, qr0 +/* 800D8920 000D5880 DB 61 03 D0 */ stfd f27, 0x3d0(r1) +/* 800D8924 000D5884 F3 61 03 D8 */ psq_st f27, 984(r1), 0, qr0 +/* 800D8928 000D5888 DB 41 03 C0 */ stfd f26, 0x3c0(r1) +/* 800D892C 000D588C F3 41 03 C8 */ psq_st f26, 968(r1), 0, qr0 +/* 800D8930 000D5890 DB 21 03 B0 */ stfd f25, 0x3b0(r1) +/* 800D8934 000D5894 F3 21 03 B8 */ psq_st f25, 952(r1), 0, qr0 +/* 800D8938 000D5898 DB 01 03 A0 */ stfd f24, 0x3a0(r1) +/* 800D893C 000D589C F3 01 03 A8 */ psq_st f24, 936(r1), 0, qr0 +/* 800D8940 000D58A0 DA E1 03 90 */ stfd f23, 0x390(r1) +/* 800D8944 000D58A4 F2 E1 03 98 */ psq_st f23, 920(r1), 0, qr0 +/* 800D8948 000D58A8 DA C1 03 80 */ stfd f22, 0x380(r1) +/* 800D894C 000D58AC F2 C1 03 88 */ psq_st f22, 904(r1), 0, qr0 +/* 800D8950 000D58B0 DA A1 03 70 */ stfd f21, 0x370(r1) +/* 800D8954 000D58B4 F2 A1 03 78 */ psq_st f21, 888(r1), 0, qr0 +/* 800D8958 000D58B8 DA 81 03 60 */ stfd f20, 0x360(r1) +/* 800D895C 000D58BC F2 81 03 68 */ psq_st f20, 872(r1), 0, qr0 +/* 800D8960 000D58C0 DA 61 03 50 */ stfd f19, 0x350(r1) +/* 800D8964 000D58C4 F2 61 03 58 */ psq_st f19, 856(r1), 0, qr0 +/* 800D8968 000D58C8 DA 41 03 40 */ stfd f18, 0x340(r1) +/* 800D896C 000D58CC F2 41 03 48 */ psq_st f18, 840(r1), 0, qr0 +/* 800D8970 000D58D0 DA 21 03 30 */ stfd f17, 0x330(r1) +/* 800D8974 000D58D4 F2 21 03 38 */ psq_st f17, 824(r1), 0, qr0 +/* 800D8978 000D58D8 DA 01 03 20 */ stfd f16, 0x320(r1) +/* 800D897C 000D58DC F2 01 03 28 */ psq_st f16, 808(r1), 0, qr0 +/* 800D8980 000D58E0 D9 E1 03 10 */ stfd f15, 0x310(r1) +/* 800D8984 000D58E4 F1 E1 03 18 */ psq_st f15, 792(r1), 0, qr0 +/* 800D8988 000D58E8 D9 C1 03 00 */ stfd f14, 0x300(r1) +/* 800D898C 000D58EC F1 C1 03 08 */ psq_st f14, 776(r1), 0, qr0 +/* 800D8990 000D58F0 BD C1 02 B8 */ stmw r14, 0x2b8(r1) +/* 800D8994 000D58F4 2C 05 00 3F */ cmpwi r5, 0x3f +/* 800D8998 000D58F8 90 C1 00 E0 */ stw r6, 0xe0(r1) +/* 800D899C 000D58FC 7C 7B 1B 78 */ mr r27, r3 +/* 800D89A0 000D5900 7C 9F 23 78 */ mr r31, r4 +/* 800D89A4 000D5904 41 82 00 0C */ beq lbl_800D89B0 +/* 800D89A8 000D5908 38 60 00 00 */ li r3, 0 +/* 800D89AC 000D590C 48 00 07 38 */ b lbl_800D90E4 +lbl_800D89B0: +/* 800D89B0 000D5910 4B F6 C8 35 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D89B4 000D5914 7C 64 1B 78 */ mr r4, r3 +/* 800D89B8 000D5918 38 61 01 54 */ addi r3, r1, 0x154 +/* 800D89BC 000D591C 48 26 57 A5 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D89C0 000D5920 7F E4 FB 78 */ mr r4, r31 +/* 800D89C4 000D5924 38 61 01 48 */ addi r3, r1, 0x148 +/* 800D89C8 000D5928 48 23 C1 C5 */ bl __ct__9CVector3fFR12CInputStream +/* 800D89CC 000D592C 7F E4 FB 78 */ mr r4, r31 +/* 800D89D0 000D5930 38 61 01 3C */ addi r3, r1, 0x13c +/* 800D89D4 000D5934 48 23 C1 B9 */ bl __ct__9CVector3fFR12CInputStream +/* 800D89D8 000D5938 7F E4 FB 78 */ mr r4, r31 +/* 800D89DC 000D593C 38 61 01 94 */ addi r3, r1, 0x194 +/* 800D89E0 000D5940 4B FE AB 81 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D89E4 000D5944 7F E4 FB 78 */ mr r4, r31 +/* 800D89E8 000D5948 38 61 01 30 */ addi r3, r1, 0x130 +/* 800D89EC 000D594C 48 23 C1 A1 */ bl __ct__9CVector3fFR12CInputStream +/* 800D89F0 000D5950 7F E3 FB 78 */ mr r3, r31 +/* 800D89F4 000D5954 48 26 62 91 */ bl ReadLong__12CInputStreamFv +/* 800D89F8 000D5958 60 60 07 FC */ ori r0, r3, 0x7fc +/* 800D89FC 000D595C 7F E3 FB 78 */ mr r3, r31 +/* 800D8A00 000D5960 90 01 02 70 */ stw r0, 0x270(r1) +/* 800D8A04 000D5964 48 26 62 D9 */ bl ReadBool__12CInputStreamFv +/* 800D8A08 000D5968 90 61 02 78 */ stw r3, 0x278(r1) +/* 800D8A0C 000D596C 7F E3 FB 78 */ mr r3, r31 +/* 800D8A10 000D5970 48 26 62 CD */ bl ReadBool__12CInputStreamFv +/* 800D8A14 000D5974 90 61 02 7C */ stw r3, 0x27c(r1) +/* 800D8A18 000D5978 7F E3 FB 78 */ mr r3, r31 +/* 800D8A1C 000D597C 48 26 62 69 */ bl ReadLong__12CInputStreamFv +/* 800D8A20 000D5980 90 61 02 80 */ stw r3, 0x280(r1) +/* 800D8A24 000D5984 7F E3 FB 78 */ mr r3, r31 +/* 800D8A28 000D5988 48 26 62 5D */ bl ReadLong__12CInputStreamFv +/* 800D8A2C 000D598C 90 61 02 84 */ stw r3, 0x284(r1) +/* 800D8A30 000D5990 7F E3 FB 78 */ mr r3, r31 +/* 800D8A34 000D5994 48 26 62 51 */ bl ReadLong__12CInputStreamFv +/* 800D8A38 000D5998 90 61 02 88 */ stw r3, 0x288(r1) +/* 800D8A3C 000D599C 7F E3 FB 78 */ mr r3, r31 +/* 800D8A40 000D59A0 48 26 62 45 */ bl ReadLong__12CInputStreamFv +/* 800D8A44 000D59A4 7C 6F 1B 78 */ mr r15, r3 +/* 800D8A48 000D59A8 7F E3 FB 78 */ mr r3, r31 +/* 800D8A4C 000D59AC 48 26 62 39 */ bl ReadLong__12CInputStreamFv +/* 800D8A50 000D59B0 90 61 02 74 */ stw r3, 0x274(r1) +/* 800D8A54 000D59B4 7F E3 FB 78 */ mr r3, r31 +/* 800D8A58 000D59B8 48 26 62 2D */ bl ReadLong__12CInputStreamFv +/* 800D8A5C 000D59BC 7C 7A 1B 78 */ mr r26, r3 +/* 800D8A60 000D59C0 7F E4 FB 78 */ mr r4, r31 +/* 800D8A64 000D59C4 38 61 01 18 */ addi r3, r1, 0x118 +/* 800D8A68 000D59C8 48 23 C1 25 */ bl __ct__9CVector3fFR12CInputStream +/* 800D8A6C 000D59CC C0 41 01 18 */ lfs f2, 0x118(r1) +/* 800D8A70 000D59D0 38 61 01 24 */ addi r3, r1, 0x124 +/* 800D8A74 000D59D4 C0 21 01 1C */ lfs f1, 0x11c(r1) +/* 800D8A78 000D59D8 C0 01 01 20 */ lfs f0, 0x120(r1) +/* 800D8A7C 000D59DC D0 41 01 24 */ stfs f2, 0x124(r1) +/* 800D8A80 000D59E0 D0 21 01 28 */ stfs f1, 0x128(r1) +/* 800D8A84 000D59E4 D0 01 01 2C */ stfs f0, 0x12c(r1) +/* 800D8A88 000D59E8 48 23 BC 71 */ bl CanBeNormalized__9CVector3fCFv +/* 800D8A8C 000D59EC 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D8A90 000D59F0 40 82 00 18 */ bne lbl_800D8AA8 +/* 800D8A94 000D59F4 C0 22 8E 28 */ lfs f1, lbl_805AAB48@sda21(r2) +/* 800D8A98 000D59F8 C0 02 8E 6C */ lfs f0, lbl_805AAB8C@sda21(r2) +/* 800D8A9C 000D59FC D0 21 01 24 */ stfs f1, 0x124(r1) +/* 800D8AA0 000D5A00 D0 21 01 28 */ stfs f1, 0x128(r1) +/* 800D8AA4 000D5A04 D0 01 01 2C */ stfs f0, 0x12c(r1) +lbl_800D8AA8: +/* 800D8AA8 000D5A08 7F E3 FB 78 */ mr r3, r31 +/* 800D8AAC 000D5A0C 48 26 61 7D */ bl ReadFloat__12CInputStreamFv +/* 800D8AB0 000D5A10 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800D8AB4 000D5A14 7F E3 FB 78 */ mr r3, r31 +/* 800D8AB8 000D5A18 EC 00 08 24 */ fdivs f0, f0, f1 +/* 800D8ABC 000D5A1C D0 01 02 58 */ stfs f0, 0x258(r1) +/* 800D8AC0 000D5A20 48 26 61 69 */ bl ReadFloat__12CInputStreamFv +/* 800D8AC4 000D5A24 D0 21 02 6C */ stfs f1, 0x26c(r1) +/* 800D8AC8 000D5A28 7F E3 FB 78 */ mr r3, r31 +/* 800D8ACC 000D5A2C 48 26 61 5D */ bl ReadFloat__12CInputStreamFv +/* 800D8AD0 000D5A30 D0 21 02 68 */ stfs f1, 0x268(r1) +/* 800D8AD4 000D5A34 7F E3 FB 78 */ mr r3, r31 +/* 800D8AD8 000D5A38 48 26 62 05 */ bl ReadBool__12CInputStreamFv +/* 800D8ADC 000D5A3C 7C 70 1B 78 */ mr r16, r3 +/* 800D8AE0 000D5A40 7F E3 FB 78 */ mr r3, r31 +/* 800D8AE4 000D5A44 48 26 61 A1 */ bl ReadLong__12CInputStreamFv +/* 800D8AE8 000D5A48 7C 71 1B 78 */ mr r17, r3 +/* 800D8AEC 000D5A4C 7F E3 FB 78 */ mr r3, r31 +/* 800D8AF0 000D5A50 48 26 61 ED */ bl ReadBool__12CInputStreamFv +/* 800D8AF4 000D5A54 7C 72 1B 78 */ mr r18, r3 +/* 800D8AF8 000D5A58 7F E3 FB 78 */ mr r3, r31 +/* 800D8AFC 000D5A5C 48 26 61 2D */ bl ReadFloat__12CInputStreamFv +/* 800D8B00 000D5A60 D0 21 02 64 */ stfs f1, 0x264(r1) +/* 800D8B04 000D5A64 7F E4 FB 78 */ mr r4, r31 +/* 800D8B08 000D5A68 38 61 01 B0 */ addi r3, r1, 0x1b0 +/* 800D8B0C 000D5A6C 48 00 06 7D */ bl LoadFluidUVMotion__FR12CInputStream +/* 800D8B10 000D5A70 80 01 01 B0 */ lwz r0, 0x1b0(r1) +/* 800D8B14 000D5A74 38 81 01 B4 */ addi r4, r1, 0x1b4 +/* 800D8B18 000D5A78 38 61 02 08 */ addi r3, r1, 0x208 +/* 800D8B1C 000D5A7C 90 01 02 04 */ stw r0, 0x204(r1) +/* 800D8B20 000D5A80 7C 09 03 A6 */ mtctr r0 +/* 800D8B24 000D5A84 2C 00 00 00 */ cmpwi r0, 0 +/* 800D8B28 000D5A88 40 81 00 48 */ ble lbl_800D8B70 +lbl_800D8B2C: +/* 800D8B2C 000D5A8C 28 03 00 00 */ cmplwi r3, 0 +/* 800D8B30 000D5A90 41 82 00 34 */ beq lbl_800D8B64 +/* 800D8B34 000D5A94 80 04 00 00 */ lwz r0, 0(r4) +/* 800D8B38 000D5A98 C0 04 00 04 */ lfs f0, 4(r4) +/* 800D8B3C 000D5A9C 90 03 00 00 */ stw r0, 0(r3) +/* 800D8B40 000D5AA0 C0 24 00 08 */ lfs f1, 8(r4) +/* 800D8B44 000D5AA4 D0 03 00 04 */ stfs f0, 4(r3) +/* 800D8B48 000D5AA8 C0 04 00 0C */ lfs f0, 0xc(r4) +/* 800D8B4C 000D5AAC D0 23 00 08 */ stfs f1, 8(r3) +/* 800D8B50 000D5AB0 C0 24 00 10 */ lfs f1, 0x10(r4) +/* 800D8B54 000D5AB4 D0 03 00 0C */ stfs f0, 0xc(r3) +/* 800D8B58 000D5AB8 C0 04 00 14 */ lfs f0, 0x14(r4) +/* 800D8B5C 000D5ABC D0 23 00 10 */ stfs f1, 0x10(r3) +/* 800D8B60 000D5AC0 D0 03 00 14 */ stfs f0, 0x14(r3) +lbl_800D8B64: +/* 800D8B64 000D5AC4 38 63 00 18 */ addi r3, r3, 0x18 +/* 800D8B68 000D5AC8 38 84 00 18 */ addi r4, r4, 0x18 +/* 800D8B6C 000D5ACC 42 00 FF C0 */ bdnz lbl_800D8B2C +lbl_800D8B70: +/* 800D8B70 000D5AD0 80 A1 01 B0 */ lwz r5, 0x1b0(r1) +/* 800D8B74 000D5AD4 38 60 00 00 */ li r3, 0 +/* 800D8B78 000D5AD8 C0 21 01 FC */ lfs f1, 0x1fc(r1) +/* 800D8B7C 000D5ADC C0 01 02 00 */ lfs f0, 0x200(r1) +/* 800D8B80 000D5AE0 2C 05 00 00 */ cmpwi r5, 0 +/* 800D8B84 000D5AE4 D0 21 02 50 */ stfs f1, 0x250(r1) +/* 800D8B88 000D5AE8 D0 01 02 54 */ stfs f0, 0x254(r1) +/* 800D8B8C 000D5AEC 40 81 00 40 */ ble lbl_800D8BCC +/* 800D8B90 000D5AF0 2C 05 00 08 */ cmpwi r5, 8 +/* 800D8B94 000D5AF4 38 85 FF F8 */ addi r4, r5, -8 +/* 800D8B98 000D5AF8 40 81 00 20 */ ble lbl_800D8BB8 +/* 800D8B9C 000D5AFC 38 04 00 07 */ addi r0, r4, 7 +/* 800D8BA0 000D5B00 54 00 E8 FE */ srwi r0, r0, 3 +/* 800D8BA4 000D5B04 7C 09 03 A6 */ mtctr r0 +/* 800D8BA8 000D5B08 2C 04 00 00 */ cmpwi r4, 0 +/* 800D8BAC 000D5B0C 40 81 00 0C */ ble lbl_800D8BB8 +lbl_800D8BB0: +/* 800D8BB0 000D5B10 38 63 00 08 */ addi r3, r3, 8 +/* 800D8BB4 000D5B14 42 00 FF FC */ bdnz lbl_800D8BB0 +lbl_800D8BB8: +/* 800D8BB8 000D5B18 7C 03 28 50 */ subf r0, r3, r5 +/* 800D8BBC 000D5B1C 7C 09 03 A6 */ mtctr r0 +/* 800D8BC0 000D5B20 7C 03 28 00 */ cmpw r3, r5 +/* 800D8BC4 000D5B24 40 80 00 08 */ bge lbl_800D8BCC +lbl_800D8BC8: +/* 800D8BC8 000D5B28 42 00 00 00 */ bdnz lbl_800D8BC8 +lbl_800D8BCC: +/* 800D8BCC 000D5B2C 38 00 00 00 */ li r0, 0 +/* 800D8BD0 000D5B30 7F E3 FB 78 */ mr r3, r31 +/* 800D8BD4 000D5B34 90 01 01 B0 */ stw r0, 0x1b0(r1) +/* 800D8BD8 000D5B38 48 26 60 51 */ bl ReadFloat__12CInputStreamFv +/* 800D8BDC 000D5B3C D0 21 02 60 */ stfs f1, 0x260(r1) +/* 800D8BE0 000D5B40 7F E3 FB 78 */ mr r3, r31 +/* 800D8BE4 000D5B44 48 26 60 45 */ bl ReadFloat__12CInputStreamFv +/* 800D8BE8 000D5B48 D0 21 02 5C */ stfs f1, 0x25c(r1) +/* 800D8BEC 000D5B4C 7F E3 FB 78 */ mr r3, r31 +/* 800D8BF0 000D5B50 48 26 60 39 */ bl ReadFloat__12CInputStreamFv +/* 800D8BF4 000D5B54 FE 20 08 90 */ fmr f17, f1 +/* 800D8BF8 000D5B58 7F E3 FB 78 */ mr r3, r31 +/* 800D8BFC 000D5B5C 48 26 60 2D */ bl ReadFloat__12CInputStreamFv +/* 800D8C00 000D5B60 FE 00 08 90 */ fmr f16, f1 +/* 800D8C04 000D5B64 7F E3 FB 78 */ mr r3, r31 +/* 800D8C08 000D5B68 48 26 60 21 */ bl ReadFloat__12CInputStreamFv +/* 800D8C0C 000D5B6C C0 42 8E 70 */ lfs f2, lbl_805AAB90@sda21(r2) +/* 800D8C10 000D5B70 7F E3 FB 78 */ mr r3, r31 +/* 800D8C14 000D5B74 C0 02 8E 74 */ lfs f0, lbl_805AAB94@sda21(r2) +/* 800D8C18 000D5B78 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800D8C1C 000D5B7C ED E1 00 24 */ fdivs f15, f1, f0 +/* 800D8C20 000D5B80 48 26 60 09 */ bl ReadFloat__12CInputStreamFv +/* 800D8C24 000D5B84 C0 42 8E 70 */ lfs f2, lbl_805AAB90@sda21(r2) +/* 800D8C28 000D5B88 7F E3 FB 78 */ mr r3, r31 +/* 800D8C2C 000D5B8C C0 02 8E 74 */ lfs f0, lbl_805AAB94@sda21(r2) +/* 800D8C30 000D5B90 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800D8C34 000D5B94 ED C1 00 24 */ fdivs f14, f1, f0 +/* 800D8C38 000D5B98 48 26 5F F1 */ bl ReadFloat__12CInputStreamFv +/* 800D8C3C 000D5B9C FE 40 08 90 */ fmr f18, f1 +/* 800D8C40 000D5BA0 7F E3 FB 78 */ mr r3, r31 +/* 800D8C44 000D5BA4 48 26 5F E5 */ bl ReadFloat__12CInputStreamFv +/* 800D8C48 000D5BA8 FE 60 08 90 */ fmr f19, f1 +/* 800D8C4C 000D5BAC 7F E4 FB 78 */ mr r4, r31 +/* 800D8C50 000D5BB0 38 61 00 FC */ addi r3, r1, 0xfc +/* 800D8C54 000D5BB4 48 28 A7 F9 */ bl __ct__6CColorFR12CInputStream +/* 800D8C58 000D5BB8 7F E4 FB 78 */ mr r4, r31 +/* 800D8C5C 000D5BBC 38 61 00 F0 */ addi r3, r1, 0xf0 +/* 800D8C60 000D5BC0 48 28 A7 ED */ bl __ct__6CColorFR12CInputStream +/* 800D8C64 000D5BC4 80 01 00 F0 */ lwz r0, 0xf0(r1) +/* 800D8C68 000D5BC8 7F E3 FB 78 */ mr r3, r31 +/* 800D8C6C 000D5BCC 90 01 00 F8 */ stw r0, 0xf8(r1) +/* 800D8C70 000D5BD0 48 26 60 15 */ bl ReadLong__12CInputStreamFv +/* 800D8C74 000D5BD4 7C 73 1B 78 */ mr r19, r3 +/* 800D8C78 000D5BD8 7F E3 FB 78 */ mr r3, r31 +/* 800D8C7C 000D5BDC 48 26 60 09 */ bl ReadLong__12CInputStreamFv +/* 800D8C80 000D5BE0 7C 74 1B 78 */ mr r20, r3 +/* 800D8C84 000D5BE4 7F E3 FB 78 */ mr r3, r31 +/* 800D8C88 000D5BE8 48 26 5F FD */ bl ReadLong__12CInputStreamFv +/* 800D8C8C 000D5BEC 7C 75 1B 78 */ mr r21, r3 +/* 800D8C90 000D5BF0 7F E3 FB 78 */ mr r3, r31 +/* 800D8C94 000D5BF4 48 26 5F F1 */ bl ReadLong__12CInputStreamFv +/* 800D8C98 000D5BF8 7C 76 1B 78 */ mr r22, r3 +/* 800D8C9C 000D5BFC 7F E3 FB 78 */ mr r3, r31 +/* 800D8CA0 000D5C00 48 26 5F E5 */ bl ReadLong__12CInputStreamFv +/* 800D8CA4 000D5C04 7C 77 1B 78 */ mr r23, r3 +/* 800D8CA8 000D5C08 7F E3 FB 78 */ mr r3, r31 +/* 800D8CAC 000D5C0C 48 26 5F D9 */ bl ReadLong__12CInputStreamFv +/* 800D8CB0 000D5C10 7C 6E 1B 78 */ mr r14, r3 +/* 800D8CB4 000D5C14 7F E3 FB 78 */ mr r3, r31 +/* 800D8CB8 000D5C18 48 26 5F CD */ bl ReadLong__12CInputStreamFv +/* 800D8CBC 000D5C1C 90 61 02 8C */ stw r3, 0x28c(r1) +/* 800D8CC0 000D5C20 7F E3 FB 78 */ mr r3, r31 +/* 800D8CC4 000D5C24 48 26 5F C1 */ bl ReadLong__12CInputStreamFv +/* 800D8CC8 000D5C28 90 61 02 90 */ stw r3, 0x290(r1) +/* 800D8CCC 000D5C2C 7F E3 FB 78 */ mr r3, r31 +/* 800D8CD0 000D5C30 48 26 5F B5 */ bl ReadLong__12CInputStreamFv +/* 800D8CD4 000D5C34 90 61 02 94 */ stw r3, 0x294(r1) +/* 800D8CD8 000D5C38 7F E3 FB 78 */ mr r3, r31 +/* 800D8CDC 000D5C3C 48 26 5F A9 */ bl ReadLong__12CInputStreamFv +/* 800D8CE0 000D5C40 90 61 02 98 */ stw r3, 0x298(r1) +/* 800D8CE4 000D5C44 7F E3 FB 78 */ mr r3, r31 +/* 800D8CE8 000D5C48 48 26 5F 41 */ bl ReadFloat__12CInputStreamFv +/* 800D8CEC 000D5C4C FE 80 08 90 */ fmr f20, f1 +/* 800D8CF0 000D5C50 7F E3 FB 78 */ mr r3, r31 +/* 800D8CF4 000D5C54 48 26 5F 91 */ bl ReadLong__12CInputStreamFv +/* 800D8CF8 000D5C58 90 61 02 9C */ stw r3, 0x29c(r1) +/* 800D8CFC 000D5C5C 7F E3 FB 78 */ mr r3, r31 +/* 800D8D00 000D5C60 48 26 5F 29 */ bl ReadFloat__12CInputStreamFv +/* 800D8D04 000D5C64 FE A0 08 90 */ fmr f21, f1 +/* 800D8D08 000D5C68 7F E3 FB 78 */ mr r3, r31 +/* 800D8D0C 000D5C6C 48 26 5F 1D */ bl ReadFloat__12CInputStreamFv +/* 800D8D10 000D5C70 FE C0 08 90 */ fmr f22, f1 +/* 800D8D14 000D5C74 7F E3 FB 78 */ mr r3, r31 +/* 800D8D18 000D5C78 48 26 5F 11 */ bl ReadFloat__12CInputStreamFv +/* 800D8D1C 000D5C7C FE E0 08 90 */ fmr f23, f1 +/* 800D8D20 000D5C80 7F E3 FB 78 */ mr r3, r31 +/* 800D8D24 000D5C84 48 26 5F 05 */ bl ReadFloat__12CInputStreamFv +/* 800D8D28 000D5C88 FF 00 08 90 */ fmr f24, f1 +/* 800D8D2C 000D5C8C 7F E3 FB 78 */ mr r3, r31 +/* 800D8D30 000D5C90 48 26 5E F9 */ bl ReadFloat__12CInputStreamFv +/* 800D8D34 000D5C94 FF 20 08 90 */ fmr f25, f1 +/* 800D8D38 000D5C98 7F E3 FB 78 */ mr r3, r31 +/* 800D8D3C 000D5C9C 48 26 5E ED */ bl ReadFloat__12CInputStreamFv +/* 800D8D40 000D5CA0 FF 40 08 90 */ fmr f26, f1 +/* 800D8D44 000D5CA4 7F E3 FB 78 */ mr r3, r31 +/* 800D8D48 000D5CA8 48 26 5E E1 */ bl ReadFloat__12CInputStreamFv +/* 800D8D4C 000D5CAC FF 60 08 90 */ fmr f27, f1 +/* 800D8D50 000D5CB0 7F E3 FB 78 */ mr r3, r31 +/* 800D8D54 000D5CB4 48 26 5E D5 */ bl ReadFloat__12CInputStreamFv +/* 800D8D58 000D5CB8 FF 80 08 90 */ fmr f28, f1 +/* 800D8D5C 000D5CBC 7F E4 FB 78 */ mr r4, r31 +/* 800D8D60 000D5CC0 38 61 00 EC */ addi r3, r1, 0xec +/* 800D8D64 000D5CC4 48 28 A6 E9 */ bl __ct__6CColorFR12CInputStream +/* 800D8D68 000D5CC8 80 01 00 EC */ lwz r0, 0xec(r1) +/* 800D8D6C 000D5CCC 7F E3 FB 78 */ mr r3, r31 +/* 800D8D70 000D5CD0 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800D8D74 000D5CD4 48 26 5F 11 */ bl ReadLong__12CInputStreamFv +/* 800D8D78 000D5CD8 90 61 02 A0 */ stw r3, 0x2a0(r1) +/* 800D8D7C 000D5CDC 7F E3 FB 78 */ mr r3, r31 +/* 800D8D80 000D5CE0 48 26 5E A9 */ bl ReadFloat__12CInputStreamFv +/* 800D8D84 000D5CE4 FF A0 08 90 */ fmr f29, f1 +/* 800D8D88 000D5CE8 7F E3 FB 78 */ mr r3, r31 +/* 800D8D8C 000D5CEC 48 26 5E 9D */ bl ReadFloat__12CInputStreamFv +/* 800D8D90 000D5CF0 FF C0 08 90 */ fmr f30, f1 +/* 800D8D94 000D5CF4 7F E3 FB 78 */ mr r3, r31 +/* 800D8D98 000D5CF8 48 26 5E 91 */ bl ReadFloat__12CInputStreamFv +/* 800D8D9C 000D5CFC FF E0 08 90 */ fmr f31, f1 +/* 800D8DA0 000D5D00 7F E3 FB 78 */ mr r3, r31 +/* 800D8DA4 000D5D04 48 26 5E E1 */ bl ReadLong__12CInputStreamFv +/* 800D8DA8 000D5D08 90 61 02 A4 */ stw r3, 0x2a4(r1) +/* 800D8DAC 000D5D0C 7F E3 FB 78 */ mr r3, r31 +/* 800D8DB0 000D5D10 48 26 5E D5 */ bl ReadLong__12CInputStreamFv +/* 800D8DB4 000D5D14 90 61 02 A8 */ stw r3, 0x2a8(r1) +/* 800D8DB8 000D5D18 7F E3 FB 78 */ mr r3, r31 +/* 800D8DBC 000D5D1C 48 26 5F 21 */ bl ReadBool__12CInputStreamFv +/* 800D8DC0 000D5D20 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D8DC4 000D5D24 7C 78 1B 78 */ mr r24, r3 +/* 800D8DC8 000D5D28 3B C0 00 00 */ li r30, 0 +/* 800D8DCC 000D5D2C 3B A0 00 00 */ li r29, 0 +/* 800D8DD0 000D5D30 3B 80 00 00 */ li r28, 0 +/* 800D8DD4 000D5D34 41 82 00 64 */ beq lbl_800D8E38 +/* 800D8DD8 000D5D38 7F E3 FB 78 */ mr r3, r31 +/* 800D8DDC 000D5D3C 48 26 5E D5 */ bl ReadShort__12CInputStreamFv +/* 800D8DE0 000D5D40 7C 60 07 34 */ extsh r0, r3 +/* 800D8DE4 000D5D44 7F E3 FB 78 */ mr r3, r31 +/* 800D8DE8 000D5D48 7C 1E 03 78 */ mr r30, r0 +/* 800D8DEC 000D5D4C 48 26 5E C5 */ bl ReadShort__12CInputStreamFv +/* 800D8DF0 000D5D50 7C 60 07 34 */ extsh r0, r3 +/* 800D8DF4 000D5D54 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D8DF8 000D5D58 7C DE 01 D6 */ mullw r6, r30, r0 +/* 800D8DFC 000D5D5C 38 A0 00 00 */ li r5, 0 +/* 800D8E00 000D5D60 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800D8E04 000D5D64 7C 1D 03 78 */ mr r29, r0 +/* 800D8E08 000D5D68 38 83 00 0D */ addi r4, r3, 0xd +/* 800D8E0C 000D5D6C 38 06 00 1F */ addi r0, r6, 0x1f +/* 800D8E10 000D5D70 7C 00 2E 70 */ srawi r0, r0, 5 +/* 800D8E14 000D5D74 7F 20 01 94 */ addze r25, r0 +/* 800D8E18 000D5D78 57 23 10 3A */ slwi r3, r25, 2 +/* 800D8E1C 000D5D7C 48 23 C9 FD */ bl __nwa__FUlPCcPCc +/* 800D8E20 000D5D80 7C 60 1B 78 */ mr r0, r3 +/* 800D8E24 000D5D84 7F E3 FB 78 */ mr r3, r31 +/* 800D8E28 000D5D88 7C 1C 03 78 */ mr r28, r0 +/* 800D8E2C 000D5D8C 57 25 10 3A */ slwi r5, r25, 2 +/* 800D8E30 000D5D90 7F 84 E3 78 */ mr r4, r28 +/* 800D8E34 000D5D94 48 26 60 4D */ bl ReadBytes__12CInputStreamFPvUl +lbl_800D8E38: +/* 800D8E38 000D5D98 C0 42 8E 60 */ lfs f2, lbl_805AAB80@sda21(r2) +/* 800D8E3C 000D5D9C 38 61 01 64 */ addi r3, r1, 0x164 +/* 800D8E40 000D5DA0 C0 01 01 3C */ lfs f0, 0x13c(r1) +/* 800D8E44 000D5DA4 38 81 01 0C */ addi r4, r1, 0x10c +/* 800D8E48 000D5DA8 C0 21 01 40 */ lfs f1, 0x140(r1) +/* 800D8E4C 000D5DAC 38 A1 01 00 */ addi r5, r1, 0x100 +/* 800D8E50 000D5DB0 EC 62 00 32 */ fmuls f3, f2, f0 +/* 800D8E54 000D5DB4 C0 01 01 44 */ lfs f0, 0x144(r1) +/* 800D8E58 000D5DB8 EC 82 00 72 */ fmuls f4, f2, f1 +/* 800D8E5C 000D5DBC EC A2 00 32 */ fmuls f5, f2, f0 +/* 800D8E60 000D5DC0 FC 40 18 50 */ fneg f2, f3 +/* 800D8E64 000D5DC4 D0 61 01 00 */ stfs f3, 0x100(r1) +/* 800D8E68 000D5DC8 FC 20 20 50 */ fneg f1, f4 +/* 800D8E6C 000D5DCC FC 00 28 50 */ fneg f0, f5 +/* 800D8E70 000D5DD0 D0 81 01 04 */ stfs f4, 0x104(r1) +/* 800D8E74 000D5DD4 D0 A1 01 08 */ stfs f5, 0x108(r1) +/* 800D8E78 000D5DD8 D0 41 01 0C */ stfs f2, 0x10c(r1) +/* 800D8E7C 000D5DDC D0 21 01 10 */ stfs f1, 0x110(r1) +/* 800D8E80 000D5DE0 D0 01 01 14 */ stfs f0, 0x114(r1) +/* 800D8E84 000D5DE4 48 25 F6 85 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800D8E88 000D5DE8 C0 A1 01 64 */ lfs f5, 0x164(r1) +/* 800D8E8C 000D5DEC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D8E90 000D5DF0 C0 81 01 68 */ lfs f4, 0x168(r1) +/* 800D8E94 000D5DF4 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800D8E98 000D5DF8 C0 61 01 6C */ lfs f3, 0x16c(r1) +/* 800D8E9C 000D5DFC 38 83 00 0D */ addi r4, r3, 0xd +/* 800D8EA0 000D5E00 C0 41 01 70 */ lfs f2, 0x170(r1) +/* 800D8EA4 000D5E04 38 60 02 F0 */ li r3, 0x2f0 +/* 800D8EA8 000D5E08 C0 21 01 74 */ lfs f1, 0x174(r1) +/* 800D8EAC 000D5E0C 38 A0 00 00 */ li r5, 0 +/* 800D8EB0 000D5E10 C0 01 01 78 */ lfs f0, 0x178(r1) +/* 800D8EB4 000D5E14 D0 A1 01 7C */ stfs f5, 0x17c(r1) +/* 800D8EB8 000D5E18 D0 81 01 80 */ stfs f4, 0x180(r1) +/* 800D8EBC 000D5E1C D0 61 01 84 */ stfs f3, 0x184(r1) +/* 800D8EC0 000D5E20 D0 41 01 88 */ stfs f2, 0x188(r1) +/* 800D8EC4 000D5E24 D0 21 01 8C */ stfs f1, 0x18c(r1) +/* 800D8EC8 000D5E28 D0 01 01 90 */ stfs f0, 0x190(r1) +/* 800D8ECC 000D5E2C 48 23 C9 A1 */ bl __nw__FUlPCcPCc +/* 800D8ED0 000D5E30 7C 7F 1B 79 */ or. r31, r3, r3 +/* 800D8ED4 000D5E34 41 82 01 B0 */ beq lbl_800D9084 +/* 800D8ED8 000D5E38 3C 0F 00 01 */ addis r0, r15, 1 +/* 800D8EDC 000D5E3C 3B 20 FF FF */ li r25, -1 +/* 800D8EE0 000D5E40 28 00 FF FF */ cmplwi r0, 0xffff +/* 800D8EE4 000D5E44 40 82 00 08 */ bne lbl_800D8EEC +/* 800D8EE8 000D5E48 7F 59 D3 78 */ mr r25, r26 +lbl_800D8EEC: +/* 800D8EEC 000D5E4C 3C 0F 00 01 */ addis r0, r15, 1 +/* 800D8EF0 000D5E50 3B 40 FF FF */ li r26, -1 +/* 800D8EF4 000D5E54 28 00 FF FF */ cmplwi r0, 0xffff +/* 800D8EF8 000D5E58 40 82 00 08 */ bne lbl_800D8F00 +/* 800D8EFC 000D5E5C 83 41 02 74 */ lwz r26, 0x274(r1) +lbl_800D8F00: +/* 800D8F00 000D5E60 7F 64 DB 78 */ mr r4, r27 +/* 800D8F04 000D5E64 38 61 00 E4 */ addi r3, r1, 0xe4 +/* 800D8F08 000D5E68 4B F7 41 D5 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D8F0C 000D5E6C A0 81 00 E4 */ lhz r4, 0xe4(r1) +/* 800D8F10 000D5E70 38 61 01 30 */ addi r3, r1, 0x130 +/* 800D8F14 000D5E74 80 A1 02 78 */ lwz r5, 0x278(r1) +/* 800D8F18 000D5E78 39 60 FF FF */ li r11, -1 +/* 800D8F1C 000D5E7C B0 81 00 E8 */ sth r4, 0xe8(r1) +/* 800D8F20 000D5E80 38 01 01 24 */ addi r0, r1, 0x124 +/* 800D8F24 000D5E84 80 81 02 70 */ lwz r4, 0x270(r1) +/* 800D8F28 000D5E88 39 81 02 04 */ addi r12, r1, 0x204 +/* 800D8F2C 000D5E8C 90 61 00 08 */ stw r3, 8(r1) +/* 800D8F30 000D5E90 FC E0 88 90 */ fmr f7, f17 +/* 800D8F34 000D5E94 80 C1 02 84 */ lwz r6, 0x284(r1) +/* 800D8F38 000D5E98 FD 00 80 90 */ fmr f8, f16 +/* 800D8F3C 000D5E9C 90 81 00 0C */ stw r4, 0xc(r1) +/* 800D8F40 000D5EA0 7F E3 FB 78 */ mr r3, r31 +/* 800D8F44 000D5EA4 81 41 02 88 */ lwz r10, 0x288(r1) +/* 800D8F48 000D5EA8 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800D8F4C 000D5EAC 7F 64 DB 78 */ mr r4, r27 +/* 800D8F50 000D5EB0 80 A1 02 7C */ lwz r5, 0x27c(r1) +/* 800D8F54 000D5EB4 39 01 01 48 */ addi r8, r1, 0x148 +/* 800D8F58 000D5EB8 C0 21 02 58 */ lfs f1, 0x258(r1) +/* 800D8F5C 000D5EBC 39 21 01 7C */ addi r9, r1, 0x17c +/* 800D8F60 000D5EC0 90 A1 00 14 */ stw r5, 0x14(r1) +/* 800D8F64 000D5EC4 80 A1 02 80 */ lwz r5, 0x280(r1) +/* 800D8F68 000D5EC8 C0 41 02 6C */ lfs f2, 0x26c(r1) +/* 800D8F6C 000D5ECC 90 A1 00 18 */ stw r5, 0x18(r1) +/* 800D8F70 000D5ED0 38 A1 00 E8 */ addi r5, r1, 0xe8 +/* 800D8F74 000D5ED4 C0 61 02 68 */ lfs f3, 0x268(r1) +/* 800D8F78 000D5ED8 90 C1 00 1C */ stw r6, 0x1c(r1) +/* 800D8F7C 000D5EDC 38 C1 01 54 */ addi r6, r1, 0x154 +/* 800D8F80 000D5EE0 C0 81 02 64 */ lfs f4, 0x264(r1) +/* 800D8F84 000D5EE4 91 41 00 20 */ stw r10, 0x20(r1) +/* 800D8F88 000D5EE8 39 41 01 94 */ addi r10, r1, 0x194 +/* 800D8F8C 000D5EEC C0 A1 02 60 */ lfs f5, 0x260(r1) +/* 800D8F90 000D5EF0 91 E1 00 24 */ stw r15, 0x24(r1) +/* 800D8F94 000D5EF4 80 E1 00 E0 */ lwz r7, 0xe0(r1) +/* 800D8F98 000D5EF8 93 41 00 28 */ stw r26, 0x28(r1) +/* 800D8F9C 000D5EFC C0 C1 02 5C */ lfs f6, 0x25c(r1) +/* 800D8FA0 000D5F00 93 21 00 2C */ stw r25, 0x2c(r1) +/* 800D8FA4 000D5F04 91 61 00 30 */ stw r11, 0x30(r1) +/* 800D8FA8 000D5F08 90 01 00 34 */ stw r0, 0x34(r1) +/* 800D8FAC 000D5F0C 38 01 00 FC */ addi r0, r1, 0xfc +/* 800D8FB0 000D5F10 92 01 00 38 */ stw r16, 0x38(r1) +/* 800D8FB4 000D5F14 92 21 00 3C */ stw r17, 0x3c(r1) +/* 800D8FB8 000D5F18 92 41 00 40 */ stw r18, 0x40(r1) +/* 800D8FBC 000D5F1C 91 81 00 44 */ stw r12, 0x44(r1) +/* 800D8FC0 000D5F20 D1 E1 00 48 */ stfs f15, 0x48(r1) +/* 800D8FC4 000D5F24 D1 C1 00 4C */ stfs f14, 0x4c(r1) +/* 800D8FC8 000D5F28 D2 41 00 50 */ stfs f18, 0x50(r1) +/* 800D8FCC 000D5F2C D2 61 00 54 */ stfs f19, 0x54(r1) +/* 800D8FD0 000D5F30 90 01 00 58 */ stw r0, 0x58(r1) +/* 800D8FD4 000D5F34 38 01 00 F8 */ addi r0, r1, 0xf8 +/* 800D8FD8 000D5F38 90 01 00 5C */ stw r0, 0x5c(r1) +/* 800D8FDC 000D5F3C 80 01 02 8C */ lwz r0, 0x28c(r1) +/* 800D8FE0 000D5F40 92 61 00 60 */ stw r19, 0x60(r1) +/* 800D8FE4 000D5F44 92 81 00 64 */ stw r20, 0x64(r1) +/* 800D8FE8 000D5F48 92 A1 00 68 */ stw r21, 0x68(r1) +/* 800D8FEC 000D5F4C 92 C1 00 6C */ stw r22, 0x6c(r1) +/* 800D8FF0 000D5F50 92 E1 00 70 */ stw r23, 0x70(r1) +/* 800D8FF4 000D5F54 91 C1 00 74 */ stw r14, 0x74(r1) +/* 800D8FF8 000D5F58 90 01 00 78 */ stw r0, 0x78(r1) +/* 800D8FFC 000D5F5C 80 01 02 90 */ lwz r0, 0x290(r1) +/* 800D9000 000D5F60 90 01 00 7C */ stw r0, 0x7c(r1) +/* 800D9004 000D5F64 80 01 02 94 */ lwz r0, 0x294(r1) +/* 800D9008 000D5F68 90 01 00 80 */ stw r0, 0x80(r1) +/* 800D900C 000D5F6C 80 01 02 98 */ lwz r0, 0x298(r1) +/* 800D9010 000D5F70 90 01 00 84 */ stw r0, 0x84(r1) +/* 800D9014 000D5F74 80 01 02 9C */ lwz r0, 0x29c(r1) +/* 800D9018 000D5F78 D2 81 00 88 */ stfs f20, 0x88(r1) +/* 800D901C 000D5F7C 90 01 00 8C */ stw r0, 0x8c(r1) +/* 800D9020 000D5F80 38 01 00 F4 */ addi r0, r1, 0xf4 +/* 800D9024 000D5F84 D2 A1 00 90 */ stfs f21, 0x90(r1) +/* 800D9028 000D5F88 D2 C1 00 94 */ stfs f22, 0x94(r1) +/* 800D902C 000D5F8C D2 E1 00 98 */ stfs f23, 0x98(r1) +/* 800D9030 000D5F90 D3 01 00 9C */ stfs f24, 0x9c(r1) +/* 800D9034 000D5F94 D3 21 00 A0 */ stfs f25, 0xa0(r1) +/* 800D9038 000D5F98 D3 41 00 A4 */ stfs f26, 0xa4(r1) +/* 800D903C 000D5F9C D3 61 00 A8 */ stfs f27, 0xa8(r1) +/* 800D9040 000D5FA0 D3 81 00 AC */ stfs f28, 0xac(r1) +/* 800D9044 000D5FA4 90 01 00 B0 */ stw r0, 0xb0(r1) +/* 800D9048 000D5FA8 80 01 02 A0 */ lwz r0, 0x2a0(r1) +/* 800D904C 000D5FAC 90 01 00 B4 */ stw r0, 0xb4(r1) +/* 800D9050 000D5FB0 80 01 02 A4 */ lwz r0, 0x2a4(r1) +/* 800D9054 000D5FB4 D3 A1 00 B8 */ stfs f29, 0xb8(r1) +/* 800D9058 000D5FB8 D3 C1 00 BC */ stfs f30, 0xbc(r1) +/* 800D905C 000D5FBC D3 E1 00 C0 */ stfs f31, 0xc0(r1) +/* 800D9060 000D5FC0 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800D9064 000D5FC4 80 01 02 A8 */ lwz r0, 0x2a8(r1) +/* 800D9068 000D5FC8 90 01 00 C8 */ stw r0, 0xc8(r1) +/* 800D906C 000D5FCC 93 01 00 CC */ stw r24, 0xcc(r1) +/* 800D9070 000D5FD0 93 C1 00 D0 */ stw r30, 0xd0(r1) +/* 800D9074 000D5FD4 93 A1 00 D4 */ stw r29, 0xd4(r1) +/* 800D9078 000D5FD8 93 81 00 D8 */ stw r28, 0xd8(r1) +/* 800D907C 000D5FDC 48 02 80 71 */ bl "__ct__12CScriptWaterFR13CStateManager9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbUiUiUiUiUiUiUiRC9CVector3fffbQ211CFluidPlane10EFluidTypebfRC14CFluidUVMotionffffffffRC6CColorRC6CColorUiUiUiUiUiiiiifUiffffffffRC6CColorUifffUiUibiiPCUi" +/* 800D9080 000D5FE0 7C 7F 1B 78 */ mr r31, r3 +lbl_800D9084: +/* 800D9084 000D5FE4 80 A1 02 04 */ lwz r5, 0x204(r1) +/* 800D9088 000D5FE8 38 60 00 00 */ li r3, 0 +/* 800D908C 000D5FEC 2C 05 00 00 */ cmpwi r5, 0 +/* 800D9090 000D5FF0 40 81 00 40 */ ble lbl_800D90D0 +/* 800D9094 000D5FF4 2C 05 00 08 */ cmpwi r5, 8 +/* 800D9098 000D5FF8 38 85 FF F8 */ addi r4, r5, -8 +/* 800D909C 000D5FFC 40 81 00 20 */ ble lbl_800D90BC +/* 800D90A0 000D6000 38 04 00 07 */ addi r0, r4, 7 +/* 800D90A4 000D6004 54 00 E8 FE */ srwi r0, r0, 3 +/* 800D90A8 000D6008 7C 09 03 A6 */ mtctr r0 +/* 800D90AC 000D600C 2C 04 00 00 */ cmpwi r4, 0 +/* 800D90B0 000D6010 40 81 00 0C */ ble lbl_800D90BC +lbl_800D90B4: +/* 800D90B4 000D6014 38 63 00 08 */ addi r3, r3, 8 +/* 800D90B8 000D6018 42 00 FF FC */ bdnz lbl_800D90B4 +lbl_800D90BC: +/* 800D90BC 000D601C 7C 03 28 50 */ subf r0, r3, r5 +/* 800D90C0 000D6020 7C 09 03 A6 */ mtctr r0 +/* 800D90C4 000D6024 7C 03 28 00 */ cmpw r3, r5 +/* 800D90C8 000D6028 40 80 00 08 */ bge lbl_800D90D0 +lbl_800D90CC: +/* 800D90CC 000D602C 42 00 00 00 */ bdnz lbl_800D90CC +lbl_800D90D0: +/* 800D90D0 000D6030 38 00 00 00 */ li r0, 0 +/* 800D90D4 000D6034 38 61 01 54 */ addi r3, r1, 0x154 +/* 800D90D8 000D6038 90 01 02 04 */ stw r0, 0x204(r1) +/* 800D90DC 000D603C 48 26 4A 05 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D90E0 000D6040 7F E3 FB 78 */ mr r3, r31 +lbl_800D90E4: +/* 800D90E4 000D6044 E3 E1 04 18 */ psq_l f31, 1048(r1), 0, qr0 +/* 800D90E8 000D6048 CB E1 04 10 */ lfd f31, 0x410(r1) +/* 800D90EC 000D604C E3 C1 04 08 */ psq_l f30, 1032(r1), 0, qr0 +/* 800D90F0 000D6050 CB C1 04 00 */ lfd f30, 0x400(r1) +/* 800D90F4 000D6054 E3 A1 03 F8 */ psq_l f29, 1016(r1), 0, qr0 +/* 800D90F8 000D6058 CB A1 03 F0 */ lfd f29, 0x3f0(r1) +/* 800D90FC 000D605C E3 81 03 E8 */ psq_l f28, 1000(r1), 0, qr0 +/* 800D9100 000D6060 CB 81 03 E0 */ lfd f28, 0x3e0(r1) +/* 800D9104 000D6064 E3 61 03 D8 */ psq_l f27, 984(r1), 0, qr0 +/* 800D9108 000D6068 CB 61 03 D0 */ lfd f27, 0x3d0(r1) +/* 800D910C 000D606C E3 41 03 C8 */ psq_l f26, 968(r1), 0, qr0 +/* 800D9110 000D6070 CB 41 03 C0 */ lfd f26, 0x3c0(r1) +/* 800D9114 000D6074 E3 21 03 B8 */ psq_l f25, 952(r1), 0, qr0 +/* 800D9118 000D6078 CB 21 03 B0 */ lfd f25, 0x3b0(r1) +/* 800D911C 000D607C E3 01 03 A8 */ psq_l f24, 936(r1), 0, qr0 +/* 800D9120 000D6080 CB 01 03 A0 */ lfd f24, 0x3a0(r1) +/* 800D9124 000D6084 E2 E1 03 98 */ psq_l f23, 920(r1), 0, qr0 +/* 800D9128 000D6088 CA E1 03 90 */ lfd f23, 0x390(r1) +/* 800D912C 000D608C E2 C1 03 88 */ psq_l f22, 904(r1), 0, qr0 +/* 800D9130 000D6090 CA C1 03 80 */ lfd f22, 0x380(r1) +/* 800D9134 000D6094 E2 A1 03 78 */ psq_l f21, 888(r1), 0, qr0 +/* 800D9138 000D6098 CA A1 03 70 */ lfd f21, 0x370(r1) +/* 800D913C 000D609C E2 81 03 68 */ psq_l f20, 872(r1), 0, qr0 +/* 800D9140 000D60A0 CA 81 03 60 */ lfd f20, 0x360(r1) +/* 800D9144 000D60A4 E2 61 03 58 */ psq_l f19, 856(r1), 0, qr0 +/* 800D9148 000D60A8 CA 61 03 50 */ lfd f19, 0x350(r1) +/* 800D914C 000D60AC E2 41 03 48 */ psq_l f18, 840(r1), 0, qr0 +/* 800D9150 000D60B0 CA 41 03 40 */ lfd f18, 0x340(r1) +/* 800D9154 000D60B4 E2 21 03 38 */ psq_l f17, 824(r1), 0, qr0 +/* 800D9158 000D60B8 CA 21 03 30 */ lfd f17, 0x330(r1) +/* 800D915C 000D60BC E2 01 03 28 */ psq_l f16, 808(r1), 0, qr0 +/* 800D9160 000D60C0 CA 01 03 20 */ lfd f16, 0x320(r1) +/* 800D9164 000D60C4 E1 E1 03 18 */ psq_l f15, 792(r1), 0, qr0 +/* 800D9168 000D60C8 C9 E1 03 10 */ lfd f15, 0x310(r1) +/* 800D916C 000D60CC E1 C1 03 08 */ psq_l f14, 776(r1), 0, qr0 +/* 800D9170 000D60D0 C9 C1 03 00 */ lfd f14, 0x300(r1) +/* 800D9174 000D60D4 B9 C1 02 B8 */ lmw r14, 0x2b8(r1) +/* 800D9178 000D60D8 80 01 04 24 */ lwz r0, 0x424(r1) +/* 800D917C 000D60DC 7C 08 03 A6 */ mtlr r0 +/* 800D9180 000D60E0 38 21 04 20 */ addi r1, r1, 0x420 +/* 800D9184 000D60E4 4E 80 00 20 */ blr + +.global LoadFluidUVMotion__FR12CInputStream +LoadFluidUVMotion__FR12CInputStream: +/* 800D9188 000D60E8 94 21 FF 70 */ stwu r1, -0x90(r1) +/* 800D918C 000D60EC 7C 08 02 A6 */ mflr r0 +/* 800D9190 000D60F0 90 01 00 94 */ stw r0, 0x94(r1) +/* 800D9194 000D60F4 DB E1 00 80 */ stfd f31, 0x80(r1) +/* 800D9198 000D60F8 F3 E1 00 88 */ psq_st f31, 136(r1), 0, qr0 +/* 800D919C 000D60FC DB C1 00 70 */ stfd f30, 0x70(r1) +/* 800D91A0 000D6100 F3 C1 00 78 */ psq_st f30, 120(r1), 0, qr0 +/* 800D91A4 000D6104 DB A1 00 60 */ stfd f29, 0x60(r1) +/* 800D91A8 000D6108 F3 A1 00 68 */ psq_st f29, 104(r1), 0, qr0 +/* 800D91AC 000D610C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800D91B0 000D6110 93 C1 00 58 */ stw r30, 0x58(r1) +/* 800D91B4 000D6114 93 A1 00 54 */ stw r29, 0x54(r1) +/* 800D91B8 000D6118 7C 9E 23 78 */ mr r30, r4 +/* 800D91BC 000D611C 7C 7D 1B 78 */ mr r29, r3 +/* 800D91C0 000D6120 7F C3 F3 78 */ mr r3, r30 +/* 800D91C4 000D6124 48 26 5A C1 */ bl ReadLong__12CInputStreamFv +/* 800D91C8 000D6128 7C 7F 1B 78 */ mr r31, r3 +/* 800D91CC 000D612C 7F C3 F3 78 */ mr r3, r30 +/* 800D91D0 000D6130 48 26 5A 59 */ bl ReadFloat__12CInputStreamFv +/* 800D91D4 000D6134 FF C0 08 90 */ fmr f30, f1 +/* 800D91D8 000D6138 7F C3 F3 78 */ mr r3, r30 +/* 800D91DC 000D613C 48 26 5A 4D */ bl ReadFloat__12CInputStreamFv +/* 800D91E0 000D6140 C0 42 8E 78 */ lfs f2, lbl_805AAB98@sda21(r2) +/* 800D91E4 000D6144 7F C3 F3 78 */ mr r3, r30 +/* 800D91E8 000D6148 C0 02 8E 7C */ lfs f0, lbl_805AAB9C@sda21(r2) +/* 800D91EC 000D614C EC 22 00 72 */ fmuls f1, f2, f1 +/* 800D91F0 000D6150 EC 01 00 24 */ fdivs f0, f1, f0 +/* 800D91F4 000D6154 EF E0 10 28 */ fsubs f31, f0, f2 +/* 800D91F8 000D6158 48 26 5A 31 */ bl ReadFloat__12CInputStreamFv +/* 800D91FC 000D615C FF A0 08 90 */ fmr f29, f1 +/* 800D9200 000D6160 7F C3 F3 78 */ mr r3, r30 +/* 800D9204 000D6164 48 26 5A 25 */ bl ReadFloat__12CInputStreamFv +/* 800D9208 000D6168 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800D920C 000D616C 7F C3 F3 78 */ mr r3, r30 +/* 800D9210 000D6170 93 E1 00 38 */ stw r31, 0x38(r1) +/* 800D9214 000D6174 EC 40 F0 24 */ fdivs f2, f0, f30 +/* 800D9218 000D6178 D3 E1 00 40 */ stfs f31, 0x40(r1) +/* 800D921C 000D617C D3 A1 00 44 */ stfs f29, 0x44(r1) +/* 800D9220 000D6180 D0 21 00 48 */ stfs f1, 0x48(r1) +/* 800D9224 000D6184 EC 00 08 24 */ fdivs f0, f0, f1 +/* 800D9228 000D6188 D0 41 00 3C */ stfs f2, 0x3c(r1) +/* 800D922C 000D618C D0 01 00 4C */ stfs f0, 0x4c(r1) +/* 800D9230 000D6190 48 26 5A 55 */ bl ReadLong__12CInputStreamFv +/* 800D9234 000D6194 7C 7F 1B 78 */ mr r31, r3 +/* 800D9238 000D6198 7F C3 F3 78 */ mr r3, r30 +/* 800D923C 000D619C 48 26 59 ED */ bl ReadFloat__12CInputStreamFv +/* 800D9240 000D61A0 FF C0 08 90 */ fmr f30, f1 +/* 800D9244 000D61A4 7F C3 F3 78 */ mr r3, r30 +/* 800D9248 000D61A8 48 26 59 E1 */ bl ReadFloat__12CInputStreamFv +/* 800D924C 000D61AC C0 42 8E 78 */ lfs f2, lbl_805AAB98@sda21(r2) +/* 800D9250 000D61B0 7F C3 F3 78 */ mr r3, r30 +/* 800D9254 000D61B4 C0 02 8E 7C */ lfs f0, lbl_805AAB9C@sda21(r2) +/* 800D9258 000D61B8 EC 22 00 72 */ fmuls f1, f2, f1 +/* 800D925C 000D61BC EC 01 00 24 */ fdivs f0, f1, f0 +/* 800D9260 000D61C0 EF E0 10 28 */ fsubs f31, f0, f2 +/* 800D9264 000D61C4 48 26 59 C5 */ bl ReadFloat__12CInputStreamFv +/* 800D9268 000D61C8 FF A0 08 90 */ fmr f29, f1 +/* 800D926C 000D61CC 7F C3 F3 78 */ mr r3, r30 +/* 800D9270 000D61D0 48 26 59 B9 */ bl ReadFloat__12CInputStreamFv +/* 800D9274 000D61D4 C0 02 8E 38 */ lfs f0, lbl_805AAB58@sda21(r2) +/* 800D9278 000D61D8 7F C3 F3 78 */ mr r3, r30 +/* 800D927C 000D61DC 93 E1 00 20 */ stw r31, 0x20(r1) +/* 800D9280 000D61E0 EC 40 F0 24 */ fdivs f2, f0, f30 +/* 800D9284 000D61E4 D3 E1 00 28 */ stfs f31, 0x28(r1) +/* 800D9288 000D61E8 D3 A1 00 2C */ stfs f29, 0x2c(r1) +/* 800D928C 000D61EC D0 21 00 30 */ stfs f1, 0x30(r1) +/* 800D9290 000D61F0 EC 00 08 24 */ fdivs f0, f0, f1 +/* 800D9294 000D61F4 D0 41 00 24 */ stfs f2, 0x24(r1) +/* 800D9298 000D61F8 D0 01 00 34 */ stfs f0, 0x34(r1) +/* 800D929C 000D61FC 48 26 59 E9 */ bl ReadLong__12CInputStreamFv +/* 800D92A0 000D6200 7C 7F 1B 78 */ mr r31, r3 +/* 800D92A4 000D6204 7F C3 F3 78 */ mr r3, r30 +/* 800D92A8 000D6208 48 26 59 81 */ bl ReadFloat__12CInputStreamFv +/* 800D92AC 000D620C FF A0 08 90 */ fmr f29, f1 +/* 800D92B0 000D6210 7F C3 F3 78 */ mr r3, r30 +/* 800D92B4 000D6214 48 26 59 75 */ bl ReadFloat__12CInputStreamFv +/* 800D92B8 000D6218 FF C0 08 90 */ fmr f30, f1 +/* 800D92BC 000D621C 7F C3 F3 78 */ mr r3, r30 +/* 800D92C0 000D6220 48 26 59 69 */ bl ReadFloat__12CInputStreamFv +/* 800D92C4 000D6224 FF E0 08 90 */ fmr f31, f1 +/* 800D92C8 000D6228 7F C3 F3 78 */ mr r3, r30 +/* 800D92CC 000D622C 48 26 59 5D */ bl ReadFloat__12CInputStreamFv +/* 800D92D0 000D6230 C0 62 8E 78 */ lfs f3, lbl_805AAB98@sda21(r2) +/* 800D92D4 000D6234 7F C3 F3 78 */ mr r3, r30 +/* 800D92D8 000D6238 C0 A2 8E 38 */ lfs f5, lbl_805AAB58@sda21(r2) +/* 800D92DC 000D623C EC 43 07 B2 */ fmuls f2, f3, f30 +/* 800D92E0 000D6240 C0 02 8E 7C */ lfs f0, lbl_805AAB9C@sda21(r2) +/* 800D92E4 000D6244 EC 85 E8 24 */ fdivs f4, f5, f29 +/* 800D92E8 000D6248 93 E1 00 08 */ stw r31, 8(r1) +/* 800D92EC 000D624C D3 E1 00 14 */ stfs f31, 0x14(r1) +/* 800D92F0 000D6250 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800D92F4 000D6254 EC 42 00 24 */ fdivs f2, f2, f0 +/* 800D92F8 000D6258 D0 81 00 0C */ stfs f4, 0xc(r1) +/* 800D92FC 000D625C EC 05 08 24 */ fdivs f0, f5, f1 +/* 800D9300 000D6260 EC 22 18 28 */ fsubs f1, f2, f3 +/* 800D9304 000D6264 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800D9308 000D6268 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800D930C 000D626C 48 26 59 1D */ bl ReadFloat__12CInputStreamFv +/* 800D9310 000D6270 FF A0 08 90 */ fmr f29, f1 +/* 800D9314 000D6274 7F C3 F3 78 */ mr r3, r30 +/* 800D9318 000D6278 48 26 59 11 */ bl ReadFloat__12CInputStreamFv +/* 800D931C 000D627C FC 40 08 90 */ fmr f2, f1 +/* 800D9320 000D6280 C0 62 8E 78 */ lfs f3, lbl_805AAB98@sda21(r2) +/* 800D9324 000D6284 C0 02 8E 7C */ lfs f0, lbl_805AAB9C@sda21(r2) +/* 800D9328 000D6288 FC 20 E8 90 */ fmr f1, f29 +/* 800D932C 000D628C 7F A3 EB 78 */ mr r3, r29 +/* 800D9330 000D6290 38 81 00 08 */ addi r4, r1, 8 +/* 800D9334 000D6294 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800D9338 000D6298 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800D933C 000D629C 38 C1 00 20 */ addi r6, r1, 0x20 +/* 800D9340 000D62A0 EC 02 00 24 */ fdivs f0, f2, f0 +/* 800D9344 000D62A4 EC 40 18 28 */ fsubs f2, f0, f3 +/* 800D9348 000D62A8 48 04 39 7D */ bl __ct__14CFluidUVMotionFffRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotionRCQ214CFluidUVMotion17SFluidLayerMotion +/* 800D934C 000D62AC E3 E1 00 88 */ psq_l f31, 136(r1), 0, qr0 +/* 800D9350 000D62B0 CB E1 00 80 */ lfd f31, 0x80(r1) +/* 800D9354 000D62B4 E3 C1 00 78 */ psq_l f30, 120(r1), 0, qr0 +/* 800D9358 000D62B8 CB C1 00 70 */ lfd f30, 0x70(r1) +/* 800D935C 000D62BC E3 A1 00 68 */ psq_l f29, 104(r1), 0, qr0 +/* 800D9360 000D62C0 CB A1 00 60 */ lfd f29, 0x60(r1) +/* 800D9364 000D62C4 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800D9368 000D62C8 83 C1 00 58 */ lwz r30, 0x58(r1) +/* 800D936C 000D62CC 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800D9370 000D62D0 83 A1 00 54 */ lwz r29, 0x54(r1) +/* 800D9374 000D62D4 7C 08 03 A6 */ mtlr r0 +/* 800D9378 000D62D8 38 21 00 90 */ addi r1, r1, 0x90 +/* 800D937C 000D62DC 4E 80 00 20 */ blr + +.global LoadDamageableTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadDamageableTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D9380 000D62E0 94 21 FF 00 */ stwu r1, -0x100(r1) +/* 800D9384 000D62E4 7C 08 02 A6 */ mflr r0 +/* 800D9388 000D62E8 2C 05 00 0C */ cmpwi r5, 0xc +/* 800D938C 000D62EC 90 01 01 04 */ stw r0, 0x104(r1) +/* 800D9390 000D62F0 BE E1 00 DC */ stmw r23, 0xdc(r1) +/* 800D9394 000D62F4 7C 7E 1B 78 */ mr r30, r3 +/* 800D9398 000D62F8 7C 97 23 78 */ mr r23, r4 +/* 800D939C 000D62FC 7C DF 33 78 */ mr r31, r6 +/* 800D93A0 000D6300 41 82 00 0C */ beq lbl_800D93AC +/* 800D93A4 000D6304 38 60 00 00 */ li r3, 0 +/* 800D93A8 000D6308 48 00 01 50 */ b lbl_800D94F8 +lbl_800D93AC: +/* 800D93AC 000D630C 4B F6 BE 39 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D93B0 000D6310 7C 64 1B 78 */ mr r4, r3 +/* 800D93B4 000D6314 38 61 00 60 */ addi r3, r1, 0x60 +/* 800D93B8 000D6318 48 26 4D A9 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D93BC 000D631C 7E E4 BB 78 */ mr r4, r23 +/* 800D93C0 000D6320 38 61 00 54 */ addi r3, r1, 0x54 +/* 800D93C4 000D6324 48 23 B7 C9 */ bl __ct__9CVector3fFR12CInputStream +/* 800D93C8 000D6328 7E E4 BB 78 */ mr r4, r23 +/* 800D93CC 000D632C 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D93D0 000D6330 48 23 B7 BD */ bl __ct__9CVector3fFR12CInputStream +/* 800D93D4 000D6334 7E E4 BB 78 */ mr r4, r23 +/* 800D93D8 000D6338 38 61 00 40 */ addi r3, r1, 0x40 +/* 800D93DC 000D633C 48 0F A4 69 */ bl __ct__11CHealthInfoFR12CInputStream +/* 800D93E0 000D6340 7E E4 BB 78 */ mr r4, r23 +/* 800D93E4 000D6344 38 61 00 70 */ addi r3, r1, 0x70 +/* 800D93E8 000D6348 48 02 97 71 */ bl __ct__20CDamageVulnerabilityFR12CInputStream +/* 800D93EC 000D634C 7E E3 BB 78 */ mr r3, r23 +/* 800D93F0 000D6350 48 26 58 95 */ bl ReadLong__12CInputStreamFv +/* 800D93F4 000D6354 80 1F 00 00 */ lwz r0, 0(r31) +/* 800D93F8 000D6358 7C 65 1B 78 */ mr r5, r3 +/* 800D93FC 000D635C 7F C3 F3 78 */ mr r3, r30 +/* 800D9400 000D6360 38 81 00 38 */ addi r4, r1, 0x38 +/* 800D9404 000D6364 90 01 00 34 */ stw r0, 0x34(r1) +/* 800D9408 000D6368 90 01 00 38 */ stw r0, 0x38(r1) +/* 800D940C 000D636C 48 00 01 01 */ bl TransformDamageableTriggerFlags__FR13CStateManager7TAreaIdUi +/* 800D9410 000D6370 7C 79 1B 78 */ mr r25, r3 +/* 800D9414 000D6374 7E E3 BB 78 */ mr r3, r23 +/* 800D9418 000D6378 48 26 58 6D */ bl ReadLong__12CInputStreamFv +/* 800D941C 000D637C 7C 7A 1B 78 */ mr r26, r3 +/* 800D9420 000D6380 7E E3 BB 78 */ mr r3, r23 +/* 800D9424 000D6384 48 26 58 61 */ bl ReadLong__12CInputStreamFv +/* 800D9428 000D6388 7C 7B 1B 78 */ mr r27, r3 +/* 800D942C 000D638C 7E E3 BB 78 */ mr r3, r23 +/* 800D9430 000D6390 48 26 58 55 */ bl ReadLong__12CInputStreamFv +/* 800D9434 000D6394 7C 7C 1B 78 */ mr r28, r3 +/* 800D9438 000D6398 7E E3 BB 78 */ mr r3, r23 +/* 800D943C 000D639C 48 26 58 A1 */ bl ReadBool__12CInputStreamFv +/* 800D9440 000D63A0 54 64 06 3E */ clrlwi r4, r3, 0x18 +/* 800D9444 000D63A4 7E E3 BB 78 */ mr r3, r23 +/* 800D9448 000D63A8 7C 04 00 D0 */ neg r0, r4 +/* 800D944C 000D63AC 7C 00 23 78 */ or r0, r0, r4 +/* 800D9450 000D63B0 54 18 0F FE */ srwi r24, r0, 0x1f +/* 800D9454 000D63B4 48 26 58 89 */ bl ReadBool__12CInputStreamFv +/* 800D9458 000D63B8 7C 7D 1B 78 */ mr r29, r3 +/* 800D945C 000D63BC 7E E4 BB 78 */ mr r4, r23 +/* 800D9460 000D63C0 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D9464 000D63C4 48 00 0C B5 */ bl LoadVisorParameters__FR12CInputStream +/* 800D9468 000D63C8 80 01 00 30 */ lwz r0, 0x30(r1) +/* 800D946C 000D63CC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D9470 000D63D0 38 83 E0 7C */ addi r4, r3, lbl_803CE07C@l +/* 800D9474 000D63D4 38 60 03 08 */ li r3, 0x308 +/* 800D9478 000D63D8 90 01 00 3C */ stw r0, 0x3c(r1) +/* 800D947C 000D63DC 38 84 00 0D */ addi r4, r4, 0xd +/* 800D9480 000D63E0 38 A0 00 00 */ li r5, 0 +/* 800D9484 000D63E4 48 23 C3 E9 */ bl __nw__FUlPCcPCc +/* 800D9488 000D63E8 7C 77 1B 79 */ or. r23, r3, r3 +/* 800D948C 000D63EC 41 82 00 60 */ beq lbl_800D94EC +/* 800D9490 000D63F0 7F C4 F3 78 */ mr r4, r30 +/* 800D9494 000D63F4 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D9498 000D63F8 4B F7 3C 45 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D949C 000D63FC A0 81 00 28 */ lhz r4, 0x28(r1) +/* 800D94A0 000D6400 38 01 00 3C */ addi r0, r1, 0x3c +/* 800D94A4 000D6404 7E E3 BB 78 */ mr r3, r23 +/* 800D94A8 000D6408 7F E6 FB 78 */ mr r6, r31 +/* 800D94AC 000D640C B0 81 00 2C */ sth r4, 0x2c(r1) +/* 800D94B0 000D6410 38 81 00 2C */ addi r4, r1, 0x2c +/* 800D94B4 000D6414 38 A1 00 60 */ addi r5, r1, 0x60 +/* 800D94B8 000D6418 38 E1 00 54 */ addi r7, r1, 0x54 +/* 800D94BC 000D641C 93 21 00 08 */ stw r25, 8(r1) +/* 800D94C0 000D6420 39 01 00 48 */ addi r8, r1, 0x48 +/* 800D94C4 000D6424 39 21 00 40 */ addi r9, r1, 0x40 +/* 800D94C8 000D6428 39 41 00 70 */ addi r10, r1, 0x70 +/* 800D94CC 000D642C 93 41 00 0C */ stw r26, 0xc(r1) +/* 800D94D0 000D6430 93 61 00 10 */ stw r27, 0x10(r1) +/* 800D94D4 000D6434 93 81 00 14 */ stw r28, 0x14(r1) +/* 800D94D8 000D6438 93 01 00 18 */ stw r24, 0x18(r1) +/* 800D94DC 000D643C 93 A1 00 1C */ stw r29, 0x1c(r1) +/* 800D94E0 000D6440 90 01 00 20 */ stw r0, 0x20(r1) +/* 800D94E4 000D6444 48 02 1D 79 */ bl "__ct__24CScriptDamageableTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC9CVector3fRC11CHealthInfoRC20CDamageVulnerabilityUiUiUiUiQ224CScriptDamageableTrigger9ECanOrbitbRC16CVisorParameters" +/* 800D94E8 000D6448 7C 77 1B 78 */ mr r23, r3 +lbl_800D94EC: +/* 800D94EC 000D644C 38 61 00 60 */ addi r3, r1, 0x60 +/* 800D94F0 000D6450 48 26 45 F1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D94F4 000D6454 7E E3 BB 78 */ mr r3, r23 +lbl_800D94F8: +/* 800D94F8 000D6458 BA E1 00 DC */ lmw r23, 0xdc(r1) +/* 800D94FC 000D645C 80 01 01 04 */ lwz r0, 0x104(r1) +/* 800D9500 000D6460 7C 08 03 A6 */ mtlr r0 +/* 800D9504 000D6464 38 21 01 00 */ addi r1, r1, 0x100 +/* 800D9508 000D6468 4E 80 00 20 */ blr + +.global TransformDamageableTriggerFlags__FR13CStateManager7TAreaIdUi +TransformDamageableTriggerFlags__FR13CStateManager7TAreaIdUi: +/* 800D950C 000D646C 94 21 FF 40 */ stwu r1, -0xc0(r1) +/* 800D9510 000D6470 7C 08 02 A6 */ mflr r0 +/* 800D9514 000D6474 90 01 00 C4 */ stw r0, 0xc4(r1) +/* 800D9518 000D6478 93 E1 00 BC */ stw r31, 0xbc(r1) +/* 800D951C 000D647C 93 C1 00 B8 */ stw r30, 0xb8(r1) +/* 800D9520 000D6480 7C BE 2B 78 */ mr r30, r5 +/* 800D9524 000D6484 80 04 00 00 */ lwz r0, 0(r4) +/* 800D9528 000D6488 80 83 08 50 */ lwz r4, 0x850(r3) +/* 800D952C 000D648C 54 03 18 38 */ slwi r3, r0, 3 +/* 800D9530 000D6490 90 01 00 08 */ stw r0, 8(r1) +/* 800D9534 000D6494 38 03 00 04 */ addi r0, r3, 4 +/* 800D9538 000D6498 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800D953C 000D649C 38 61 00 54 */ addi r3, r1, 0x54 +/* 800D9540 000D64A0 7C 84 00 2E */ lwzx r4, r4, r0 +/* 800D9544 000D64A4 38 84 00 0C */ addi r4, r4, 0xc +/* 800D9548 000D64A8 48 23 96 F9 */ bl GetRotation__12CTransform4fCFv +/* 800D954C 000D64AC 38 61 00 84 */ addi r3, r1, 0x84 +/* 800D9550 000D64B0 38 81 00 54 */ addi r4, r1, 0x54 +/* 800D9554 000D64B4 48 23 96 21 */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800D9558 000D64B8 57 C0 07 FF */ clrlwi. r0, r30, 0x1f +/* 800D955C 000D64BC 3B E0 00 00 */ li r31, 0 +/* 800D9560 000D64C0 41 82 00 24 */ beq lbl_800D9584 +/* 800D9564 000D64C4 3C 80 80 5A */ lis r4, lbl_805A6724@ha +/* 800D9568 000D64C8 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D956C 000D64CC 38 A4 67 24 */ addi r5, r4, lbl_805A6724@l +/* 800D9570 000D64D0 38 81 00 84 */ addi r4, r1, 0x84 +/* 800D9574 000D64D4 48 23 95 75 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800D9578 000D64D8 38 61 00 48 */ addi r3, r1, 0x48 +/* 800D957C 000D64DC 48 00 00 ED */ bl ClassifyVector__FRC9CVector3f +/* 800D9580 000D64E0 7C 7F 1B 78 */ mr r31, r3 +lbl_800D9584: +/* 800D9584 000D64E4 57 C0 07 BD */ rlwinm. r0, r30, 0, 0x1e, 0x1e +/* 800D9588 000D64E8 41 82 00 24 */ beq lbl_800D95AC +/* 800D958C 000D64EC 3C 80 80 5A */ lis r4, lbl_805A6730@ha +/* 800D9590 000D64F0 38 61 00 3C */ addi r3, r1, 0x3c +/* 800D9594 000D64F4 38 A4 67 30 */ addi r5, r4, lbl_805A6730@l +/* 800D9598 000D64F8 38 81 00 84 */ addi r4, r1, 0x84 +/* 800D959C 000D64FC 48 23 95 4D */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800D95A0 000D6500 38 61 00 3C */ addi r3, r1, 0x3c +/* 800D95A4 000D6504 48 00 00 C5 */ bl ClassifyVector__FRC9CVector3f +/* 800D95A8 000D6508 7F FF 1B 78 */ or r31, r31, r3 +lbl_800D95AC: +/* 800D95AC 000D650C 57 C0 07 7B */ rlwinm. r0, r30, 0, 0x1d, 0x1d +/* 800D95B0 000D6510 41 82 00 24 */ beq lbl_800D95D4 +/* 800D95B4 000D6514 3C 80 80 5A */ lis r4, lbl_805A670C@ha +/* 800D95B8 000D6518 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D95BC 000D651C 38 A4 67 0C */ addi r5, r4, lbl_805A670C@l +/* 800D95C0 000D6520 38 81 00 84 */ addi r4, r1, 0x84 +/* 800D95C4 000D6524 48 23 95 25 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800D95C8 000D6528 38 61 00 30 */ addi r3, r1, 0x30 +/* 800D95CC 000D652C 48 00 00 9D */ bl ClassifyVector__FRC9CVector3f +/* 800D95D0 000D6530 7F FF 1B 78 */ or r31, r31, r3 +lbl_800D95D4: +/* 800D95D4 000D6534 57 C0 07 39 */ rlwinm. r0, r30, 0, 0x1c, 0x1c +/* 800D95D8 000D6538 41 82 00 24 */ beq lbl_800D95FC +/* 800D95DC 000D653C 3C 80 80 5A */ lis r4, lbl_805A6718@ha +/* 800D95E0 000D6540 38 61 00 24 */ addi r3, r1, 0x24 +/* 800D95E4 000D6544 38 A4 67 18 */ addi r5, r4, lbl_805A6718@l +/* 800D95E8 000D6548 38 81 00 84 */ addi r4, r1, 0x84 +/* 800D95EC 000D654C 48 23 94 FD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800D95F0 000D6550 38 61 00 24 */ addi r3, r1, 0x24 +/* 800D95F4 000D6554 48 00 00 75 */ bl ClassifyVector__FRC9CVector3f +/* 800D95F8 000D6558 7F FF 1B 78 */ or r31, r31, r3 +lbl_800D95FC: +/* 800D95FC 000D655C 57 C0 06 F7 */ rlwinm. r0, r30, 0, 0x1b, 0x1b +/* 800D9600 000D6560 41 82 00 24 */ beq lbl_800D9624 +/* 800D9604 000D6564 3C 80 80 5A */ lis r4, lbl_805A66F4@ha +/* 800D9608 000D6568 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D960C 000D656C 38 A4 66 F4 */ addi r5, r4, lbl_805A66F4@l +/* 800D9610 000D6570 38 81 00 84 */ addi r4, r1, 0x84 +/* 800D9614 000D6574 48 23 94 D5 */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800D9618 000D6578 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D961C 000D657C 48 00 00 4D */ bl ClassifyVector__FRC9CVector3f +/* 800D9620 000D6580 7F FF 1B 78 */ or r31, r31, r3 +lbl_800D9624: +/* 800D9624 000D6584 57 C0 06 B5 */ rlwinm. r0, r30, 0, 0x1a, 0x1a +/* 800D9628 000D6588 41 82 00 24 */ beq lbl_800D964C +/* 800D962C 000D658C 3C 80 80 5A */ lis r4, lbl_805A6700@ha +/* 800D9630 000D6590 38 61 00 0C */ addi r3, r1, 0xc +/* 800D9634 000D6594 38 A4 67 00 */ addi r5, r4, lbl_805A6700@l +/* 800D9638 000D6598 38 81 00 84 */ addi r4, r1, 0x84 +/* 800D963C 000D659C 48 23 94 AD */ bl __ml__12CTransform4fCFRC9CVector3f +/* 800D9640 000D65A0 38 61 00 0C */ addi r3, r1, 0xc +/* 800D9644 000D65A4 48 00 00 25 */ bl ClassifyVector__FRC9CVector3f +/* 800D9648 000D65A8 7F FF 1B 78 */ or r31, r31, r3 +lbl_800D964C: +/* 800D964C 000D65AC 80 01 00 C4 */ lwz r0, 0xc4(r1) +/* 800D9650 000D65B0 7F E3 FB 78 */ mr r3, r31 +/* 800D9654 000D65B4 83 E1 00 BC */ lwz r31, 0xbc(r1) +/* 800D9658 000D65B8 83 C1 00 B8 */ lwz r30, 0xb8(r1) +/* 800D965C 000D65BC 7C 08 03 A6 */ mtlr r0 +/* 800D9660 000D65C0 38 21 00 C0 */ addi r1, r1, 0xc0 +/* 800D9664 000D65C4 4E 80 00 20 */ blr + +.global ClassifyVector__FRC9CVector3f +ClassifyVector__FRC9CVector3f: +/* 800D9668 000D65C8 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800D966C 000D65CC 3C 80 80 3D */ lis r4, lbl_803D0004@ha +/* 800D9670 000D65D0 C0 43 00 08 */ lfs f2, 8(r3) +/* 800D9674 000D65D4 39 01 00 14 */ addi r8, r1, 0x14 +/* 800D9678 000D65D8 C0 23 00 04 */ lfs f1, 4(r3) +/* 800D967C 000D65DC C0 03 00 00 */ lfs f0, 0(r3) +/* 800D9680 000D65E0 FC 40 12 10 */ fabs f2, f2 +/* 800D9684 000D65E4 FC 20 0A 10 */ fabs f1, f1 +/* 800D9688 000D65E8 84 E4 E0 70 */ lwzu r7, -0x1f90(r4) +/* 800D968C 000D65EC FC 60 02 10 */ fabs f3, f0 +/* 800D9690 000D65F0 FC 00 10 18 */ frsp f0, f2 +/* 800D9694 000D65F4 80 C4 00 04 */ lwz r6, lbl_803D0004@l(r4) +/* 800D9698 000D65F8 FC 20 08 18 */ frsp f1, f1 +/* 800D969C 000D65FC FC 40 18 18 */ frsp f2, f3 +/* 800D96A0 000D6600 80 A4 00 08 */ lwz r5, 8(r4) +/* 800D96A4 000D6604 D0 01 00 1C */ stfs f0, 0x1c(r1) +/* 800D96A8 000D6608 54 C4 10 3A */ slwi r4, r6, 2 +/* 800D96AC 000D660C 54 E0 10 3A */ slwi r0, r7, 2 +/* 800D96B0 000D6610 D0 41 00 14 */ stfs f2, 0x14(r1) +/* 800D96B4 000D6614 D0 21 00 18 */ stfs f1, 0x18(r1) +/* 800D96B8 000D6618 7C 28 04 2E */ lfsx f1, r8, r0 +/* 800D96BC 000D661C 7C 08 24 2E */ lfsx f0, r8, r4 +/* 800D96C0 000D6620 90 E1 00 08 */ stw r7, 8(r1) +/* 800D96C4 000D6624 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800D96C8 000D6628 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800D96CC 000D662C 90 A1 00 10 */ stw r5, 0x10(r1) +/* 800D96D0 000D6630 40 80 00 0C */ bge lbl_800D96DC +/* 800D96D4 000D6634 90 C1 00 08 */ stw r6, 8(r1) +/* 800D96D8 000D6638 90 E1 00 0C */ stw r7, 0xc(r1) +lbl_800D96DC: +/* 800D96DC 000D663C 80 E1 00 10 */ lwz r7, 0x10(r1) +/* 800D96E0 000D6640 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800D96E4 000D6644 80 C1 00 0C */ lwz r6, 0xc(r1) +/* 800D96E8 000D6648 54 E4 10 3A */ slwi r4, r7, 2 +/* 800D96EC 000D664C 54 C0 10 3A */ slwi r0, r6, 2 +/* 800D96F0 000D6650 7C 05 24 2E */ lfsx f0, r5, r4 +/* 800D96F4 000D6654 7C 25 04 2E */ lfsx f1, r5, r0 +/* 800D96F8 000D6658 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800D96FC 000D665C 40 80 00 0C */ bge lbl_800D9708 +/* 800D9700 000D6660 90 E1 00 0C */ stw r7, 0xc(r1) +/* 800D9704 000D6664 90 C1 00 10 */ stw r6, 0x10(r1) +lbl_800D9708: +/* 800D9708 000D6668 80 C1 00 0C */ lwz r6, 0xc(r1) +/* 800D970C 000D666C 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800D9710 000D6670 80 E1 00 08 */ lwz r7, 8(r1) +/* 800D9714 000D6674 54 C4 10 3A */ slwi r4, r6, 2 +/* 800D9718 000D6678 54 E0 10 3A */ slwi r0, r7, 2 +/* 800D971C 000D667C 7C 05 24 2E */ lfsx f0, r5, r4 +/* 800D9720 000D6680 7C 25 04 2E */ lfsx f1, r5, r0 +/* 800D9724 000D6684 FC 01 00 40 */ fcmpo cr0, f1, f0 +/* 800D9728 000D6688 40 80 00 0C */ bge lbl_800D9734 +/* 800D972C 000D668C 90 C1 00 08 */ stw r6, 8(r1) +/* 800D9730 000D6690 90 E1 00 0C */ stw r7, 0xc(r1) +lbl_800D9734: +/* 800D9734 000D6694 80 A1 00 08 */ lwz r5, 8(r1) +/* 800D9738 000D6698 38 81 00 14 */ addi r4, r1, 0x14 +/* 800D973C 000D669C 54 A0 10 3A */ slwi r0, r5, 2 +/* 800D9740 000D66A0 7C 24 04 2E */ lfsx f1, r4, r0 +/* 800D9744 000D66A4 7C 03 04 2E */ lfsx f0, r3, r0 +/* 800D9748 000D66A8 FC 01 00 00 */ fcmpu cr0, f1, f0 +/* 800D974C 000D66AC 7C 00 00 26 */ mfcr r0 +/* 800D9750 000D66B0 2C 05 00 01 */ cmpwi r5, 1 +/* 800D9754 000D66B4 54 00 1F FE */ rlwinm r0, r0, 3, 0x1f, 0x1f +/* 800D9758 000D66B8 68 00 00 01 */ xori r0, r0, 1 +/* 800D975C 000D66BC 41 82 00 34 */ beq lbl_800D9790 +/* 800D9760 000D66C0 40 80 00 10 */ bge lbl_800D9770 +/* 800D9764 000D66C4 2C 05 00 00 */ cmpwi r5, 0 +/* 800D9768 000D66C8 40 80 00 14 */ bge lbl_800D977C +/* 800D976C 000D66CC 48 00 00 50 */ b lbl_800D97BC +lbl_800D9770: +/* 800D9770 000D66D0 2C 05 00 03 */ cmpwi r5, 3 +/* 800D9774 000D66D4 40 80 00 48 */ bge lbl_800D97BC +/* 800D9778 000D66D8 48 00 00 30 */ b lbl_800D97A8 +lbl_800D977C: +/* 800D977C 000D66DC 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800D9780 000D66E0 38 60 00 08 */ li r3, 8 +/* 800D9784 000D66E4 41 82 00 3C */ beq lbl_800D97C0 +/* 800D9788 000D66E8 38 60 00 04 */ li r3, 4 +/* 800D978C 000D66EC 48 00 00 34 */ b lbl_800D97C0 +lbl_800D9790: +/* 800D9790 000D66F0 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 800D9794 000D66F4 7C 03 00 D0 */ neg r0, r3 +/* 800D9798 000D66F8 7C 00 1B 78 */ or r0, r0, r3 +/* 800D979C 000D66FC 54 03 0F FE */ srwi r3, r0, 0x1f +/* 800D97A0 000D6700 38 63 00 01 */ addi r3, r3, 1 +/* 800D97A4 000D6704 48 00 00 1C */ b lbl_800D97C0 +lbl_800D97A8: +/* 800D97A8 000D6708 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800D97AC 000D670C 38 60 00 10 */ li r3, 0x10 +/* 800D97B0 000D6710 41 82 00 10 */ beq lbl_800D97C0 +/* 800D97B4 000D6714 38 60 00 20 */ li r3, 0x20 +/* 800D97B8 000D6718 48 00 00 08 */ b lbl_800D97C0 +lbl_800D97BC: +/* 800D97BC 000D671C 38 60 00 00 */ li r3, 0 +lbl_800D97C0: +/* 800D97C0 000D6720 38 21 00 20 */ addi r1, r1, 0x20 +/* 800D97C4 000D6724 4E 80 00 20 */ blr + +.global LoadCameraHintTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadCameraHintTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D97C8 000D6728 94 21 FE D0 */ stwu r1, -0x130(r1) +/* 800D97CC 000D672C 7C 08 02 A6 */ mflr r0 +/* 800D97D0 000D6730 2C 05 00 07 */ cmpwi r5, 7 +/* 800D97D4 000D6734 90 01 01 34 */ stw r0, 0x134(r1) +/* 800D97D8 000D6738 BF 21 01 14 */ stmw r25, 0x114(r1) +/* 800D97DC 000D673C 7C 7B 1B 78 */ mr r27, r3 +/* 800D97E0 000D6740 7C 99 23 78 */ mr r25, r4 +/* 800D97E4 000D6744 7C DC 33 78 */ mr r28, r6 +/* 800D97E8 000D6748 41 82 00 0C */ beq lbl_800D97F4 +/* 800D97EC 000D674C 38 60 00 00 */ li r3, 0 +/* 800D97F0 000D6750 48 00 02 38 */ b lbl_800D9A28 +lbl_800D97F4: +/* 800D97F4 000D6754 7F 65 DB 78 */ mr r5, r27 +/* 800D97F8 000D6758 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800D97FC 000D675C 48 00 0C C9 */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800D9800 000D6760 7F 24 CB 78 */ mr r4, r25 +/* 800D9804 000D6764 38 61 00 54 */ addi r3, r1, 0x54 +/* 800D9808 000D6768 48 23 B3 85 */ bl __ct__9CVector3fFR12CInputStream +/* 800D980C 000D676C C0 62 8E 60 */ lfs f3, lbl_805AAB80@sda21(r2) +/* 800D9810 000D6770 7F 23 CB 78 */ mr r3, r25 +/* 800D9814 000D6774 C0 41 00 5C */ lfs f2, 0x5c(r1) +/* 800D9818 000D6778 C0 21 00 54 */ lfs f1, 0x54(r1) +/* 800D981C 000D677C C0 01 00 58 */ lfs f0, 0x58(r1) +/* 800D9820 000D6780 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800D9824 000D6784 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800D9828 000D6788 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800D982C 000D678C D0 41 00 68 */ stfs f2, 0x68(r1) +/* 800D9830 000D6790 D0 21 00 60 */ stfs f1, 0x60(r1) +/* 800D9834 000D6794 D0 01 00 64 */ stfs f0, 0x64(r1) +/* 800D9838 000D6798 48 26 54 A5 */ bl ReadBool__12CInputStreamFv +/* 800D983C 000D679C 7C 7E 1B 78 */ mr r30, r3 +/* 800D9840 000D67A0 7F 23 CB 78 */ mr r3, r25 +/* 800D9844 000D67A4 48 26 54 99 */ bl ReadBool__12CInputStreamFv +/* 800D9848 000D67A8 7C 7D 1B 78 */ mr r29, r3 +/* 800D984C 000D67AC 7F 23 CB 78 */ mr r3, r25 +/* 800D9850 000D67B0 48 26 54 8D */ bl ReadBool__12CInputStreamFv +/* 800D9854 000D67B4 3B 21 00 E0 */ addi r25, r1, 0xe0 +/* 800D9858 000D67B8 7C 7F 1B 78 */ mr r31, r3 +/* 800D985C 000D67BC 7F 24 CB 78 */ mr r4, r25 +/* 800D9860 000D67C0 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800D9864 000D67C4 48 23 93 DD */ bl GetRotation__12CTransform4fCFv +/* 800D9868 000D67C8 3C 80 80 5A */ lis r4, skIdentity4f@ha +/* 800D986C 000D67CC 38 61 00 A0 */ addi r3, r1, 0xa0 +/* 800D9870 000D67D0 38 84 66 70 */ addi r4, r4, skIdentity4f@l +/* 800D9874 000D67D4 48 23 94 B5 */ bl sub_80312d28 +/* 800D9878 000D67D8 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D987C 000D67DC 41 82 01 3C */ beq lbl_800D99B8 +/* 800D9880 000D67E0 C0 81 00 68 */ lfs f4, 0x68(r1) +/* 800D9884 000D67E4 38 61 00 88 */ addi r3, r1, 0x88 +/* 800D9888 000D67E8 C0 41 00 64 */ lfs f2, 0x64(r1) +/* 800D988C 000D67EC 38 81 00 48 */ addi r4, r1, 0x48 +/* 800D9890 000D67F0 C0 61 00 60 */ lfs f3, 0x60(r1) +/* 800D9894 000D67F4 FC 00 20 50 */ fneg f0, f4 +/* 800D9898 000D67F8 FC 20 10 50 */ fneg f1, f2 +/* 800D989C 000D67FC D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800D98A0 000D6800 FC 40 18 50 */ fneg f2, f3 +/* 800D98A4 000D6804 38 A1 00 3C */ addi r5, r1, 0x3c +/* 800D98A8 000D6808 D0 61 00 3C */ stfs f3, 0x3c(r1) +/* 800D98AC 000D680C D0 81 00 44 */ stfs f4, 0x44(r1) +/* 800D98B0 000D6810 D0 41 00 48 */ stfs f2, 0x48(r1) +/* 800D98B4 000D6814 D0 21 00 4C */ stfs f1, 0x4c(r1) +/* 800D98B8 000D6818 D0 01 00 50 */ stfs f0, 0x50(r1) +/* 800D98BC 000D681C 48 25 EC 4D */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800D98C0 000D6820 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D98C4 000D6824 38 60 01 50 */ li r3, 0x150 +/* 800D98C8 000D6828 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D98CC 000D682C 38 A0 00 00 */ li r5, 0 +/* 800D98D0 000D6830 38 84 00 0D */ addi r4, r4, 0xd +/* 800D98D4 000D6834 48 23 BF 99 */ bl __nw__FUlPCcPCc +/* 800D98D8 000D6838 7C 7A 1B 79 */ or. r26, r3, r3 +/* 800D98DC 000D683C 41 82 00 CC */ beq lbl_800D99A8 +/* 800D98E0 000D6840 88 01 00 2C */ lbz r0, 0x2c(r1) +/* 800D98E4 000D6844 38 80 00 00 */ li r4, 0 +/* 800D98E8 000D6848 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800D98EC 000D684C C0 62 8E 28 */ lfs f3, lbl_805AAB48@sda21(r2) +/* 800D98F0 000D6850 98 01 00 2C */ stb r0, 0x2c(r1) +/* 800D98F4 000D6854 54 03 06 3E */ clrlwi r3, r0, 0x18 +/* 800D98F8 000D6858 50 83 36 72 */ rlwimi r3, r4, 6, 0x19, 0x19 +/* 800D98FC 000D685C 38 C0 FF FF */ li r6, -1 +/* 800D9900 000D6860 88 01 00 84 */ lbz r0, 0x84(r1) +/* 800D9904 000D6864 54 65 06 3E */ clrlwi r5, r3, 0x18 +/* 800D9908 000D6868 C0 41 00 EC */ lfs f2, 0xec(r1) +/* 800D990C 000D686C 50 85 2E B4 */ rlwimi r5, r4, 5, 0x1a, 0x1a +/* 800D9910 000D6870 98 61 00 2C */ stb r3, 0x2c(r1) +/* 800D9914 000D6874 50 80 3E 30 */ rlwimi r0, r4, 7, 0x18, 0x18 +/* 800D9918 000D6878 C0 21 00 FC */ lfs f1, 0xfc(r1) +/* 800D991C 000D687C 7F 64 DB 78 */ mr r4, r27 +/* 800D9920 000D6880 C0 01 01 0C */ lfs f0, 0x10c(r1) +/* 800D9924 000D6884 38 61 00 20 */ addi r3, r1, 0x20 +/* 800D9928 000D6888 90 C1 00 28 */ stw r6, 0x28(r1) +/* 800D992C 000D688C 98 A1 00 2C */ stb r5, 0x2c(r1) +/* 800D9930 000D6890 90 C1 00 6C */ stw r6, 0x6c(r1) +/* 800D9934 000D6894 98 A1 00 70 */ stb r5, 0x70(r1) +/* 800D9938 000D6898 D0 61 00 74 */ stfs f3, 0x74(r1) +/* 800D993C 000D689C D0 61 00 78 */ stfs f3, 0x78(r1) +/* 800D9940 000D68A0 D0 61 00 7C */ stfs f3, 0x7c(r1) +/* 800D9944 000D68A4 D0 61 00 80 */ stfs f3, 0x80(r1) +/* 800D9948 000D68A8 98 01 00 84 */ stb r0, 0x84(r1) +/* 800D994C 000D68AC D0 41 00 30 */ stfs f2, 0x30(r1) +/* 800D9950 000D68B0 D0 21 00 34 */ stfs f1, 0x34(r1) +/* 800D9954 000D68B4 D0 01 00 38 */ stfs f0, 0x38(r1) +/* 800D9958 000D68B8 4B F7 37 85 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D995C 000D68BC A0 01 00 20 */ lhz r0, 0x20(r1) +/* 800D9960 000D68C0 3C 60 80 5A */ lis r3, skZero3f@ha +/* 800D9964 000D68C4 39 43 66 A0 */ addi r10, r3, skZero3f@l +/* 800D9968 000D68C8 38 80 00 01 */ li r4, 1 +/* 800D996C 000D68CC B0 01 00 24 */ sth r0, 0x24(r1) +/* 800D9970 000D68D0 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 800D9974 000D68D4 7F 43 D3 78 */ mr r3, r26 +/* 800D9978 000D68D8 7F 86 E3 78 */ mr r6, r28 +/* 800D997C 000D68DC 90 81 00 08 */ stw r4, 8(r1) +/* 800D9980 000D68E0 38 81 00 24 */ addi r4, r1, 0x24 +/* 800D9984 000D68E4 38 A1 00 D0 */ addi r5, r1, 0xd0 +/* 800D9988 000D68E8 38 E1 00 30 */ addi r7, r1, 0x30 +/* 800D998C 000D68EC 93 C1 00 0C */ stw r30, 0xc(r1) +/* 800D9990 000D68F0 39 01 00 88 */ addi r8, r1, 0x88 +/* 800D9994 000D68F4 39 21 00 6C */ addi r9, r1, 0x6c +/* 800D9998 000D68F8 93 A1 00 10 */ stw r29, 0x10(r1) +/* 800D999C 000D68FC 90 01 00 14 */ stw r0, 0x14(r1) +/* 800D99A0 000D6900 4B F9 D3 B9 */ bl "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb" +/* 800D99A4 000D6904 7C 7A 1B 78 */ mr r26, r3 +lbl_800D99A8: +/* 800D99A8 000D6908 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800D99AC 000D690C 48 26 41 35 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D99B0 000D6910 7F 43 D3 78 */ mr r3, r26 +/* 800D99B4 000D6914 48 00 00 74 */ b lbl_800D9A28 +lbl_800D99B8: +/* 800D99B8 000D6918 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800D99BC 000D691C 38 60 01 38 */ li r3, 0x138 +/* 800D99C0 000D6920 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800D99C4 000D6924 38 A0 00 00 */ li r5, 0 +/* 800D99C8 000D6928 38 84 00 0D */ addi r4, r4, 0xd +/* 800D99CC 000D692C 48 23 BE A1 */ bl __nw__FUlPCcPCc +/* 800D99D0 000D6930 7C 7A 1B 79 */ or. r26, r3, r3 +/* 800D99D4 000D6934 41 82 00 48 */ beq lbl_800D9A1C +/* 800D99D8 000D6938 7F 64 DB 78 */ mr r4, r27 +/* 800D99DC 000D693C 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D99E0 000D6940 4B F7 36 FD */ bl AllocateUniqueId__13CStateManagerFv +/* 800D99E4 000D6944 A0 81 00 18 */ lhz r4, 0x18(r1) +/* 800D99E8 000D6948 57 E0 06 3E */ clrlwi r0, r31, 0x18 +/* 800D99EC 000D694C 7F 43 D3 78 */ mr r3, r26 +/* 800D99F0 000D6950 7F C5 F3 78 */ mr r5, r30 +/* 800D99F4 000D6954 B0 81 00 1C */ sth r4, 0x1c(r1) +/* 800D99F8 000D6958 7F 87 E3 78 */ mr r7, r28 +/* 800D99FC 000D695C 7F 29 CB 78 */ mr r9, r25 +/* 800D9A00 000D6960 7F AA EB 78 */ mr r10, r29 +/* 800D9A04 000D6964 90 01 00 08 */ stw r0, 8(r1) +/* 800D9A08 000D6968 38 81 00 1C */ addi r4, r1, 0x1c +/* 800D9A0C 000D696C 38 C1 00 D0 */ addi r6, r1, 0xd0 +/* 800D9A10 000D6970 39 01 00 60 */ addi r8, r1, 0x60 +/* 800D9A14 000D6974 48 17 1C D5 */ bl "__ct__24CScriptCameraHintTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC12CTransform4fbb" +/* 800D9A18 000D6978 7C 7A 1B 78 */ mr r26, r3 +lbl_800D9A1C: +/* 800D9A1C 000D697C 38 61 00 D0 */ addi r3, r1, 0xd0 +/* 800D9A20 000D6980 48 26 40 C1 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D9A24 000D6984 7F 43 D3 78 */ mr r3, r26 +lbl_800D9A28: +/* 800D9A28 000D6988 BB 21 01 14 */ lmw r25, 0x114(r1) +/* 800D9A2C 000D698C 80 01 01 34 */ lwz r0, 0x134(r1) +/* 800D9A30 000D6990 7C 08 03 A6 */ mtlr r0 +/* 800D9A34 000D6994 38 21 01 30 */ addi r1, r1, 0x130 +/* 800D9A38 000D6998 4E 80 00 20 */ blr + +.global LoadTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo +LoadTrigger__12ScriptLoaderFR13CStateManagerR12CInputStreamiRC11CEntityInfo: +/* 800D9A3C 000D699C 94 21 FF 20 */ stwu r1, -0xe0(r1) +/* 800D9A40 000D69A0 7C 08 02 A6 */ mflr r0 +/* 800D9A44 000D69A4 2C 05 00 09 */ cmpwi r5, 9 +/* 800D9A48 000D69A8 90 01 00 E4 */ stw r0, 0xe4(r1) +/* 800D9A4C 000D69AC BF 21 00 C4 */ stmw r25, 0xc4(r1) +/* 800D9A50 000D69B0 7C 7E 1B 78 */ mr r30, r3 +/* 800D9A54 000D69B4 7C 99 23 78 */ mr r25, r4 +/* 800D9A58 000D69B8 7C DF 33 78 */ mr r31, r6 +/* 800D9A5C 000D69BC 41 82 00 0C */ beq lbl_800D9A68 +/* 800D9A60 000D69C0 38 60 00 00 */ li r3, 0 +/* 800D9A64 000D69C4 48 00 01 84 */ b lbl_800D9BE8 +lbl_800D9A68: +/* 800D9A68 000D69C8 4B F6 B7 7D */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800D9A6C 000D69CC 7C 64 1B 78 */ mr r4, r3 +/* 800D9A70 000D69D0 38 61 00 7C */ addi r3, r1, 0x7c +/* 800D9A74 000D69D4 48 26 46 ED */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800D9A78 000D69D8 7F 24 CB 78 */ mr r4, r25 +/* 800D9A7C 000D69DC 38 61 00 70 */ addi r3, r1, 0x70 +/* 800D9A80 000D69E0 48 23 B1 0D */ bl __ct__9CVector3fFR12CInputStream +/* 800D9A84 000D69E4 7F 24 CB 78 */ mr r4, r25 +/* 800D9A88 000D69E8 38 61 00 64 */ addi r3, r1, 0x64 +/* 800D9A8C 000D69EC 48 23 B1 01 */ bl __ct__9CVector3fFR12CInputStream +/* 800D9A90 000D69F0 7F 24 CB 78 */ mr r4, r25 +/* 800D9A94 000D69F4 38 61 00 A4 */ addi r3, r1, 0xa4 +/* 800D9A98 000D69F8 4B FE 9A C9 */ bl __ct__11CDamageInfoFR12CInputStream +/* 800D9A9C 000D69FC 7F 24 CB 78 */ mr r4, r25 +/* 800D9AA0 000D6A00 38 61 00 58 */ addi r3, r1, 0x58 +/* 800D9AA4 000D6A04 48 23 B0 E9 */ bl __ct__9CVector3fFR12CInputStream +/* 800D9AA8 000D6A08 7F 23 CB 78 */ mr r3, r25 +/* 800D9AAC 000D6A0C 48 26 51 D9 */ bl ReadLong__12CInputStreamFv +/* 800D9AB0 000D6A10 7C 7A 1B 78 */ mr r26, r3 +/* 800D9AB4 000D6A14 7F 23 CB 78 */ mr r3, r25 +/* 800D9AB8 000D6A18 48 26 52 25 */ bl ReadBool__12CInputStreamFv +/* 800D9ABC 000D6A1C 7C 7B 1B 78 */ mr r27, r3 +/* 800D9AC0 000D6A20 7F 23 CB 78 */ mr r3, r25 +/* 800D9AC4 000D6A24 48 26 52 19 */ bl ReadBool__12CInputStreamFv +/* 800D9AC8 000D6A28 7C 7C 1B 78 */ mr r28, r3 +/* 800D9ACC 000D6A2C 7F 23 CB 78 */ mr r3, r25 +/* 800D9AD0 000D6A30 48 26 52 0D */ bl ReadBool__12CInputStreamFv +/* 800D9AD4 000D6A34 C0 42 8E 60 */ lfs f2, lbl_805AAB80@sda21(r2) +/* 800D9AD8 000D6A38 7C 7D 1B 78 */ mr r29, r3 +/* 800D9ADC 000D6A3C C0 01 00 64 */ lfs f0, 0x64(r1) +/* 800D9AE0 000D6A40 38 61 00 8C */ addi r3, r1, 0x8c +/* 800D9AE4 000D6A44 C0 21 00 68 */ lfs f1, 0x68(r1) +/* 800D9AE8 000D6A48 38 81 00 40 */ addi r4, r1, 0x40 +/* 800D9AEC 000D6A4C EC 62 00 32 */ fmuls f3, f2, f0 +/* 800D9AF0 000D6A50 C0 01 00 6C */ lfs f0, 0x6c(r1) +/* 800D9AF4 000D6A54 EC 82 00 72 */ fmuls f4, f2, f1 +/* 800D9AF8 000D6A58 38 A1 00 34 */ addi r5, r1, 0x34 +/* 800D9AFC 000D6A5C EC A2 00 32 */ fmuls f5, f2, f0 +/* 800D9B00 000D6A60 FC 40 18 50 */ fneg f2, f3 +/* 800D9B04 000D6A64 FC 20 20 50 */ fneg f1, f4 +/* 800D9B08 000D6A68 D0 61 00 34 */ stfs f3, 0x34(r1) +/* 800D9B0C 000D6A6C FC 00 28 50 */ fneg f0, f5 +/* 800D9B10 000D6A70 D0 81 00 38 */ stfs f4, 0x38(r1) +/* 800D9B14 000D6A74 D0 A1 00 3C */ stfs f5, 0x3c(r1) +/* 800D9B18 000D6A78 D0 41 00 40 */ stfs f2, 0x40(r1) +/* 800D9B1C 000D6A7C D0 21 00 44 */ stfs f1, 0x44(r1) +/* 800D9B20 000D6A80 D0 01 00 48 */ stfs f0, 0x48(r1) +/* 800D9B24 000D6A84 48 25 E9 E5 */ bl __ct__6CAABoxFRC9CVector3fRC9CVector3f +/* 800D9B28 000D6A88 80 FF 00 00 */ lwz r7, 0(r31) +/* 800D9B2C 000D6A8C 38 61 00 28 */ addi r3, r1, 0x28 +/* 800D9B30 000D6A90 80 DE 08 50 */ lwz r6, 0x850(r30) +/* 800D9B34 000D6A94 38 A1 00 58 */ addi r5, r1, 0x58 +/* 800D9B38 000D6A98 54 E4 18 38 */ slwi r4, r7, 3 +/* 800D9B3C 000D6A9C 90 E1 00 20 */ stw r7, 0x20(r1) +/* 800D9B40 000D6AA0 80 C6 00 20 */ lwz r6, 0x20(r6) +/* 800D9B44 000D6AA4 38 04 00 04 */ addi r0, r4, 4 +/* 800D9B48 000D6AA8 90 E1 00 24 */ stw r7, 0x24(r1) +/* 800D9B4C 000D6AAC 7C 86 00 2E */ lwzx r4, r6, r0 +/* 800D9B50 000D6AB0 38 84 00 0C */ addi r4, r4, 0xc +/* 800D9B54 000D6AB4 48 23 8F 2D */ bl Rotate__12CTransform4fCFRC9CVector3f +/* 800D9B58 000D6AB8 C0 41 00 28 */ lfs f2, 0x28(r1) +/* 800D9B5C 000D6ABC 3C 60 80 3D */ lis r3, lbl_803CE07C@ha +/* 800D9B60 000D6AC0 C0 21 00 2C */ lfs f1, 0x2c(r1) +/* 800D9B64 000D6AC4 38 63 E0 7C */ addi r3, r3, lbl_803CE07C@l +/* 800D9B68 000D6AC8 C0 01 00 30 */ lfs f0, 0x30(r1) +/* 800D9B6C 000D6ACC 38 83 00 0D */ addi r4, r3, 0xd +/* 800D9B70 000D6AD0 D0 41 00 4C */ stfs f2, 0x4c(r1) +/* 800D9B74 000D6AD4 38 60 01 50 */ li r3, 0x150 +/* 800D9B78 000D6AD8 38 A0 00 00 */ li r5, 0 +/* 800D9B7C 000D6ADC D0 21 00 50 */ stfs f1, 0x50(r1) +/* 800D9B80 000D6AE0 D0 01 00 54 */ stfs f0, 0x54(r1) +/* 800D9B84 000D6AE4 48 23 BC E9 */ bl __nw__FUlPCcPCc +/* 800D9B88 000D6AE8 7C 79 1B 79 */ or. r25, r3, r3 +/* 800D9B8C 000D6AEC 41 82 00 50 */ beq lbl_800D9BDC +/* 800D9B90 000D6AF0 7F C4 F3 78 */ mr r4, r30 +/* 800D9B94 000D6AF4 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D9B98 000D6AF8 4B F7 35 45 */ bl AllocateUniqueId__13CStateManagerFv +/* 800D9B9C 000D6AFC A0 01 00 18 */ lhz r0, 0x18(r1) +/* 800D9BA0 000D6B00 7F 23 CB 78 */ mr r3, r25 +/* 800D9BA4 000D6B04 7F E6 FB 78 */ mr r6, r31 +/* 800D9BA8 000D6B08 38 81 00 1C */ addi r4, r1, 0x1c +/* 800D9BAC 000D6B0C B0 01 00 1C */ sth r0, 0x1c(r1) +/* 800D9BB0 000D6B10 38 A1 00 7C */ addi r5, r1, 0x7c +/* 800D9BB4 000D6B14 38 E1 00 70 */ addi r7, r1, 0x70 +/* 800D9BB8 000D6B18 39 01 00 8C */ addi r8, r1, 0x8c +/* 800D9BBC 000D6B1C 93 41 00 08 */ stw r26, 8(r1) +/* 800D9BC0 000D6B20 39 21 00 A4 */ addi r9, r1, 0xa4 +/* 800D9BC4 000D6B24 39 41 00 4C */ addi r10, r1, 0x4c +/* 800D9BC8 000D6B28 93 61 00 0C */ stw r27, 0xc(r1) +/* 800D9BCC 000D6B2C 93 81 00 10 */ stw r28, 0x10(r1) +/* 800D9BD0 000D6B30 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800D9BD4 000D6B34 4B F9 D1 85 */ bl "__ct__14CScriptTriggerF9TUniqueIdRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>RC11CEntityInfoRC9CVector3fRC6CAABoxRC11CDamageInfoRC9CVector3fUibbb" +/* 800D9BD8 000D6B38 7C 79 1B 78 */ mr r25, r3 +lbl_800D9BDC: +/* 800D9BDC 000D6B3C 38 61 00 7C */ addi r3, r1, 0x7c +/* 800D9BE0 000D6B40 48 26 3F 01 */ bl "internal_dereference__Q24rstl66basic_string,Q24rstl17rmemory_allocator>Fv" +/* 800D9BE4 000D6B44 7F 23 CB 78 */ mr r3, r25 +lbl_800D9BE8: +/* 800D9BE8 000D6B48 BB 21 00 C4 */ lmw r25, 0xc4(r1) +/* 800D9BEC 000D6B4C 80 01 00 E4 */ lwz r0, 0xe4(r1) +/* 800D9BF0 000D6B50 7C 08 03 A6 */ mtlr r0 +/* 800D9BF4 000D6B54 38 21 00 E0 */ addi r1, r1, 0xe0 + +.global sub_800d9bf8 +sub_800d9bf8: +/* 800D9BF8 000D6B58 4E 80 00 20 */ blr + +.global LoadParameterFlags__FR12CInputStream +LoadParameterFlags__FR12CInputStream: +/* 800D9BFC 000D6B5C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800D9C00 000D6B60 7C 08 02 A6 */ mflr r0 +/* 800D9C04 000D6B64 90 01 00 24 */ stw r0, 0x24(r1) +/* 800D9C08 000D6B68 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 800D9C0C 000D6B6C 7C 7B 1B 78 */ mr r27, r3 +/* 800D9C10 000D6B70 48 26 50 75 */ bl ReadLong__12CInputStreamFv +/* 800D9C14 000D6B74 7C 7E 1B 78 */ mr r30, r3 +/* 800D9C18 000D6B78 3B A0 00 00 */ li r29, 0 +/* 800D9C1C 000D6B7C 3B 80 00 00 */ li r28, 0 +/* 800D9C20 000D6B80 3B E0 00 01 */ li r31, 1 +/* 800D9C24 000D6B84 48 00 00 20 */ b lbl_800D9C44 +lbl_800D9C28: +/* 800D9C28 000D6B88 7F 63 DB 78 */ mr r3, r27 +/* 800D9C2C 000D6B8C 48 26 50 B1 */ bl ReadBool__12CInputStreamFv +/* 800D9C30 000D6B90 54 60 06 3F */ clrlwi. r0, r3, 0x18 +/* 800D9C34 000D6B94 41 82 00 0C */ beq lbl_800D9C40 +/* 800D9C38 000D6B98 7F E0 E0 30 */ slw r0, r31, r28 +/* 800D9C3C 000D6B9C 7F BD 03 78 */ or r29, r29, r0 +lbl_800D9C40: +/* 800D9C40 000D6BA0 3B 9C 00 01 */ addi r28, r28, 1 +lbl_800D9C44: +/* 800D9C44 000D6BA4 7C 1C F0 00 */ cmpw r28, r30 +/* 800D9C48 000D6BA8 41 80 FF E0 */ blt lbl_800D9C28 +/* 800D9C4C 000D6BAC 7F A3 EB 78 */ mr r3, r29 +/* 800D9C50 000D6BB0 BB 61 00 0C */ lmw r27, 0xc(r1) +/* 800D9C54 000D6BB4 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800D9C58 000D6BB8 7C 08 03 A6 */ mtlr r0 +/* 800D9C5C 000D6BBC 38 21 00 20 */ addi r1, r1, 0x20 +/* 800D9C60 000D6BC0 4E 80 00 20 */ blr + +.global LoadGrappleParameters__FR12CInputStream +LoadGrappleParameters__FR12CInputStream: +/* 800D9C64 000D6BC4 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800D9C68 000D6BC8 7C 08 02 A6 */ mflr r0 +/* 800D9C6C 000D6BCC 90 01 00 74 */ stw r0, 0x74(r1) +/* 800D9C70 000D6BD0 39 61 00 70 */ addi r11, r1, 0x70 +/* 800D9C74 000D6BD4 48 2A FD 59 */ bl sub_803899cc +/* 800D9C78 000D6BD8 93 E1 00 14 */ stw r31, 0x14(r1) +/* 800D9C7C 000D6BDC 93 C1 00 10 */ stw r30, 0x10(r1) +/* 800D9C80 000D6BE0 7C 9F 23 78 */ mr r31, r4 +/* 800D9C84 000D6BE4 7C 7E 1B 78 */ mr r30, r3 +/* 800D9C88 000D6BE8 7F E3 FB 78 */ mr r3, r31 +/* 800D9C8C 000D6BEC 48 26 4F F9 */ bl ReadLong__12CInputStreamFv +/* 800D9C90 000D6BF0 7F E3 FB 78 */ mr r3, r31 +/* 800D9C94 000D6BF4 48 26 4F 95 */ bl ReadFloat__12CInputStreamFv +/* 800D9C98 000D6BF8 FE A0 08 90 */ fmr f21, f1 +/* 800D9C9C 000D6BFC 7F E3 FB 78 */ mr r3, r31 +/* 800D9CA0 000D6C00 48 26 4F 89 */ bl ReadFloat__12CInputStreamFv +/* 800D9CA4 000D6C04 FE C0 08 90 */ fmr f22, f1 +/* 800D9CA8 000D6C08 7F E3 FB 78 */ mr r3, r31 +/* 800D9CAC 000D6C0C 48 26 4F 7D */ bl ReadFloat__12CInputStreamFv +/* 800D9CB0 000D6C10 FE E0 08 90 */ fmr f23, f1 +/* 800D9CB4 000D6C14 7F E3 FB 78 */ mr r3, r31 +/* 800D9CB8 000D6C18 48 26 4F 71 */ bl ReadFloat__12CInputStreamFv +/* 800D9CBC 000D6C1C FF 00 08 90 */ fmr f24, f1 +/* 800D9CC0 000D6C20 7F E3 FB 78 */ mr r3, r31 +/* 800D9CC4 000D6C24 48 26 4F 65 */ bl ReadFloat__12CInputStreamFv +/* 800D9CC8 000D6C28 FF 20 08 90 */ fmr f25, f1 +/* 800D9CCC 000D6C2C 7F E3 FB 78 */ mr r3, r31 +/* 800D9CD0 000D6C30 48 26 4F 59 */ bl ReadFloat__12CInputStreamFv +/* 800D9CD4 000D6C34 FF 40 08 90 */ fmr f26, f1 +/* 800D9CD8 000D6C38 7F E3 FB 78 */ mr r3, r31 +/* 800D9CDC 000D6C3C 48 26 4F 4D */ bl ReadFloat__12CInputStreamFv +/* 800D9CE0 000D6C40 FF 60 08 90 */ fmr f27, f1 +/* 800D9CE4 000D6C44 7F E3 FB 78 */ mr r3, r31 +/* 800D9CE8 000D6C48 48 26 4F 41 */ bl ReadFloat__12CInputStreamFv +/* 800D9CEC 000D6C4C FF 80 08 90 */ fmr f28, f1 +/* 800D9CF0 000D6C50 7F E3 FB 78 */ mr r3, r31 +/* 800D9CF4 000D6C54 48 26 4F 35 */ bl ReadFloat__12CInputStreamFv +/* 800D9CF8 000D6C58 FF A0 08 90 */ fmr f29, f1 +/* 800D9CFC 000D6C5C 7F E3 FB 78 */ mr r3, r31 +/* 800D9D00 000D6C60 48 26 4F 29 */ bl ReadFloat__12CInputStreamFv +/* 800D9D04 000D6C64 FF C0 08 90 */ fmr f30, f1 +/* 800D9D08 000D6C68 7F E3 FB 78 */ mr r3, r31 +/* 800D9D0C 000D6C6C 48 26 4F 1D */ bl ReadFloat__12CInputStreamFv +/* 800D9D10 000D6C70 FF E0 08 90 */ fmr f31, f1 +/* 800D9D14 000D6C74 7F E3 FB 78 */ mr r3, r31 +/* 800D9D18 000D6C78 48 26 4F C5 */ bl ReadBool__12CInputStreamFv +/* 800D9D1C 000D6C7C D2 BE 00 00 */ stfs f21, 0(r30) +/* 800D9D20 000D6C80 39 61 00 70 */ addi r11, r1, 0x70 +/* 800D9D24 000D6C84 D2 DE 00 04 */ stfs f22, 4(r30) +/* 800D9D28 000D6C88 D2 FE 00 08 */ stfs f23, 8(r30) +/* 800D9D2C 000D6C8C D3 1E 00 0C */ stfs f24, 0xc(r30) +/* 800D9D30 000D6C90 D3 3E 00 10 */ stfs f25, 0x10(r30) +/* 800D9D34 000D6C94 D3 5E 00 14 */ stfs f26, 0x14(r30) +/* 800D9D38 000D6C98 D3 7E 00 18 */ stfs f27, 0x18(r30) +/* 800D9D3C 000D6C9C D3 9E 00 1C */ stfs f28, 0x1c(r30) +/* 800D9D40 000D6CA0 D3 BE 00 20 */ stfs f29, 0x20(r30) +/* 800D9D44 000D6CA4 D3 DE 00 24 */ stfs f30, 0x24(r30) +/* 800D9D48 000D6CA8 D3 FE 00 28 */ stfs f31, 0x28(r30) +/* 800D9D4C 000D6CAC 88 1E 00 2C */ lbz r0, 0x2c(r30) +/* 800D9D50 000D6CB0 50 60 3E 30 */ rlwimi r0, r3, 7, 0x18, 0x18 +/* 800D9D54 000D6CB4 98 1E 00 2C */ stb r0, 0x2c(r30) +/* 800D9D58 000D6CB8 48 2A FC C1 */ bl sub_80389a18 +/* 800D9D5C 000D6CBC 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800D9D60 000D6CC0 83 E1 00 14 */ lwz r31, 0x14(r1) +/* 800D9D64 000D6CC4 83 C1 00 10 */ lwz r30, 0x10(r1) +/* 800D9D68 000D6CC8 7C 08 03 A6 */ mtlr r0 +/* 800D9D6C 000D6CCC 38 21 00 70 */ addi r1, r1, 0x70 +/* 800D9D70 000D6CD0 4E 80 00 20 */ blr + +.global LoadActorParameters__FR12CInputStream +LoadActorParameters__FR12CInputStream: +/* 800D9D74 000D6CD4 94 21 FE C0 */ stwu r1, -0x140(r1) +/* 800D9D78 000D6CD8 7C 08 02 A6 */ mflr r0 +/* 800D9D7C 000D6CDC 90 01 01 44 */ stw r0, 0x144(r1) +/* 800D9D80 000D6CE0 DB E1 01 30 */ stfd f31, 0x130(r1) +/* 800D9D84 000D6CE4 F3 E1 01 38 */ psq_st f31, 312(r1), 0, qr0 +/* 800D9D88 000D6CE8 DB C1 01 20 */ stfd f30, 0x120(r1) +/* 800D9D8C 000D6CEC F3 C1 01 28 */ psq_st f30, 296(r1), 0, qr0 +/* 800D9D90 000D6CF0 DB A1 01 10 */ stfd f29, 0x110(r1) +/* 800D9D94 000D6CF4 F3 A1 01 18 */ psq_st f29, 280(r1), 0, qr0 +/* 800D9D98 000D6CF8 BE A1 00 E4 */ stmw r21, 0xe4(r1) +/* 800D9D9C 000D6CFC 7C 9F 23 78 */ mr r31, r4 +/* 800D9DA0 000D6D00 7C 7E 1B 78 */ mr r30, r3 +/* 800D9DA4 000D6D04 7F E3 FB 78 */ mr r3, r31 +/* 800D9DA8 000D6D08 48 26 4E DD */ bl ReadLong__12CInputStreamFv +/* 800D9DAC 000D6D0C 7C 7B 1B 78 */ mr r27, r3 +/* 800D9DB0 000D6D10 38 00 00 00 */ li r0, 0 +/* 800D9DB4 000D6D14 2C 1B 00 05 */ cmpwi r27, 5 +/* 800D9DB8 000D6D18 41 80 00 10 */ blt lbl_800D9DC8 +/* 800D9DBC 000D6D1C 2C 1B 00 0E */ cmpwi r27, 0xe +/* 800D9DC0 000D6D20 41 81 00 08 */ bgt lbl_800D9DC8 +/* 800D9DC4 000D6D24 38 00 00 01 */ li r0, 1 +lbl_800D9DC8: +/* 800D9DC8 000D6D28 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800D9DCC 000D6D2C 40 82 00 10 */ bne lbl_800D9DDC +/* 800D9DD0 000D6D30 7F C3 F3 78 */ mr r3, r30 +/* 800D9DD4 000D6D34 4B F4 10 65 */ bl None__16CActorParametersFv +/* 800D9DD8 000D6D38 48 00 03 14 */ b lbl_800DA0EC +lbl_800D9DDC: +/* 800D9DDC 000D6D3C 7F E4 FB 78 */ mr r4, r31 +/* 800D9DE0 000D6D40 38 61 00 58 */ addi r3, r1, 0x58 +/* 800D9DE4 000D6D44 48 00 04 79 */ bl LoadLightParameters__FR12CInputStream +/* 800D9DE8 000D6D48 8A A1 00 5C */ lbz r21, 0x5c(r1) +/* 800D9DEC 000D6D4C 3C 60 80 3E */ lis r3, lbl_803DFF80@ha +/* 800D9DF0 000D6D50 C0 A1 00 60 */ lfs f5, 0x60(r1) +/* 800D9DF4 000D6D54 3A C3 FF 80 */ addi r22, r3, lbl_803DFF80@l +/* 800D9DF8 000D6D58 81 81 00 64 */ lwz r12, 0x64(r1) +/* 800D9DFC 000D6D5C 38 61 00 58 */ addi r3, r1, 0x58 +/* 800D9E00 000D6D60 C0 81 00 68 */ lfs f4, 0x68(r1) +/* 800D9E04 000D6D64 38 80 FF FF */ li r4, -1 +/* 800D9E08 000D6D68 C0 61 00 6C */ lfs f3, 0x6c(r1) +/* 800D9E0C 000D6D6C 81 61 00 70 */ lwz r11, 0x70(r1) +/* 800D9E10 000D6D70 89 41 00 74 */ lbz r10, 0x74(r1) +/* 800D9E14 000D6D74 89 21 00 75 */ lbz r9, 0x75(r1) +/* 800D9E18 000D6D78 81 01 00 78 */ lwz r8, 0x78(r1) +/* 800D9E1C 000D6D7C 80 E1 00 7C */ lwz r7, 0x7c(r1) +/* 800D9E20 000D6D80 80 C1 00 80 */ lwz r6, 0x80(r1) +/* 800D9E24 000D6D84 C0 41 00 84 */ lfs f2, 0x84(r1) +/* 800D9E28 000D6D88 C0 21 00 88 */ lfs f1, 0x88(r1) +/* 800D9E2C 000D6D8C C0 01 00 8C */ lfs f0, 0x8c(r1) +/* 800D9E30 000D6D90 80 A1 00 90 */ lwz r5, 0x90(r1) +/* 800D9E34 000D6D94 80 01 00 94 */ lwz r0, 0x94(r1) +/* 800D9E38 000D6D98 92 C1 00 98 */ stw r22, 0x98(r1) +/* 800D9E3C 000D6D9C 9A A1 00 9C */ stb r21, 0x9c(r1) +/* 800D9E40 000D6DA0 D0 A1 00 A0 */ stfs f5, 0xa0(r1) +/* 800D9E44 000D6DA4 91 81 00 A4 */ stw r12, 0xa4(r1) +/* 800D9E48 000D6DA8 D0 81 00 A8 */ stfs f4, 0xa8(r1) +/* 800D9E4C 000D6DAC D0 61 00 AC */ stfs f3, 0xac(r1) +/* 800D9E50 000D6DB0 91 61 00 B0 */ stw r11, 0xb0(r1) +/* 800D9E54 000D6DB4 99 41 00 B4 */ stb r10, 0xb4(r1) +/* 800D9E58 000D6DB8 99 21 00 B5 */ stb r9, 0xb5(r1) +/* 800D9E5C 000D6DBC 91 01 00 B8 */ stw r8, 0xb8(r1) +/* 800D9E60 000D6DC0 90 E1 00 BC */ stw r7, 0xbc(r1) +/* 800D9E64 000D6DC4 90 C1 00 C0 */ stw r6, 0xc0(r1) +/* 800D9E68 000D6DC8 D0 41 00 C4 */ stfs f2, 0xc4(r1) +/* 800D9E6C 000D6DCC D0 21 00 C8 */ stfs f1, 0xc8(r1) +/* 800D9E70 000D6DD0 D0 01 00 CC */ stfs f0, 0xcc(r1) +/* 800D9E74 000D6DD4 90 A1 00 D0 */ stw r5, 0xd0(r1) +/* 800D9E78 000D6DD8 90 01 00 D4 */ stw r0, 0xd4(r1) +/* 800D9E7C 000D6DDC 48 02 C7 8D */ bl __dt__16CActorParametersFv +/* 800D9E80 000D6DE0 2C 1B 00 05 */ cmpwi r27, 5 +/* 800D9E84 000D6DE4 40 81 00 18 */ ble lbl_800D9E9C +/* 800D9E88 000D6DE8 7F E4 FB 78 */ mr r4, r31 +/* 800D9E8C 000D6DEC 38 61 00 1C */ addi r3, r1, 0x1c +/* 800D9E90 000D6DF0 48 00 03 71 */ bl LoadScannableParameters__FR12CInputStream +/* 800D9E94 000D6DF4 38 61 00 1C */ addi r3, r1, 0x1c +/* 800D9E98 000D6DF8 48 00 00 10 */ b lbl_800D9EA8 +lbl_800D9E9C: +/* 800D9E9C 000D6DFC 38 00 FF FF */ li r0, -1 +/* 800D9EA0 000D6E00 38 61 00 18 */ addi r3, r1, 0x18 +/* 800D9EA4 000D6E04 90 01 00 18 */ stw r0, 0x18(r1) +lbl_800D9EA8: +/* 800D9EA8 000D6E08 80 03 00 00 */ lwz r0, 0(r3) +/* 800D9EAC 000D6E0C 7F E3 FB 78 */ mr r3, r31 +/* 800D9EB0 000D6E10 90 01 00 24 */ stw r0, 0x24(r1) +/* 800D9EB4 000D6E14 48 26 4D D1 */ bl ReadLong__12CInputStreamFv +/* 800D9EB8 000D6E18 7C 7A 1B 78 */ mr r26, r3 +/* 800D9EBC 000D6E1C 7F E3 FB 78 */ mr r3, r31 +/* 800D9EC0 000D6E20 48 26 4D C5 */ bl ReadLong__12CInputStreamFv +/* 800D9EC4 000D6E24 7C 7C 1B 78 */ mr r28, r3 +/* 800D9EC8 000D6E28 7F E3 FB 78 */ mr r3, r31 +/* 800D9ECC 000D6E2C 48 26 4D B9 */ bl ReadLong__12CInputStreamFv +/* 800D9ED0 000D6E30 7C 79 1B 78 */ mr r25, r3 +/* 800D9ED4 000D6E34 7F E3 FB 78 */ mr r3, r31 +/* 800D9ED8 000D6E38 48 26 4D AD */ bl ReadLong__12CInputStreamFv +/* 800D9EDC 000D6E3C 2C 1B 00 07 */ cmpwi r27, 7 +/* 800D9EE0 000D6E40 7C 7D 1B 78 */ mr r29, r3 +/* 800D9EE4 000D6E44 40 81 00 14 */ ble lbl_800D9EF8 +/* 800D9EE8 000D6E48 7F E3 FB 78 */ mr r3, r31 +/* 800D9EEC 000D6E4C 48 26 4D F1 */ bl ReadBool__12CInputStreamFv +/* 800D9EF0 000D6E50 7C 78 1B 78 */ mr r24, r3 +/* 800D9EF4 000D6E54 48 00 00 08 */ b lbl_800D9EFC +lbl_800D9EF8: +/* 800D9EF8 000D6E58 3B 00 00 01 */ li r24, 1 +lbl_800D9EFC: +/* 800D9EFC 000D6E5C 2C 1B 00 08 */ cmpwi r27, 8 +/* 800D9F00 000D6E60 40 81 00 14 */ ble lbl_800D9F14 +/* 800D9F04 000D6E64 7F E3 FB 78 */ mr r3, r31 +/* 800D9F08 000D6E68 48 26 4D 21 */ bl ReadFloat__12CInputStreamFv +/* 800D9F0C 000D6E6C FF E0 08 90 */ fmr f31, f1 +/* 800D9F10 000D6E70 48 00 00 08 */ b lbl_800D9F18 +lbl_800D9F14: +/* 800D9F14 000D6E74 C3 E2 8E 38 */ lfs f31, lbl_805AAB58@sda21(r2) +lbl_800D9F18: +/* 800D9F18 000D6E78 2C 1B 00 09 */ cmpwi r27, 9 +/* 800D9F1C 000D6E7C 40 81 00 14 */ ble lbl_800D9F30 +/* 800D9F20 000D6E80 7F E3 FB 78 */ mr r3, r31 +/* 800D9F24 000D6E84 48 26 4D 05 */ bl ReadFloat__12CInputStreamFv +/* 800D9F28 000D6E88 FF C0 08 90 */ fmr f30, f1 +/* 800D9F2C 000D6E8C 48 00 00 08 */ b lbl_800D9F34 +lbl_800D9F30: +/* 800D9F30 000D6E90 C3 C2 8E 38 */ lfs f30, lbl_805AAB58@sda21(r2) +lbl_800D9F34: +/* 800D9F34 000D6E94 2C 1B 00 06 */ cmpwi r27, 6 +/* 800D9F38 000D6E98 40 81 00 18 */ ble lbl_800D9F50 +/* 800D9F3C 000D6E9C 7F E4 FB 78 */ mr r4, r31 +/* 800D9F40 000D6EA0 38 61 00 14 */ addi r3, r1, 0x14 +/* 800D9F44 000D6EA4 48 00 01 D5 */ bl LoadVisorParameters__FR12CInputStream +/* 800D9F48 000D6EA8 38 81 00 14 */ addi r4, r1, 0x14 +/* 800D9F4C 000D6EAC 48 00 00 2C */ b lbl_800D9F78 +lbl_800D9F50: +/* 800D9F50 000D6EB0 80 61 00 10 */ lwz r3, 0x10(r1) +/* 800D9F54 000D6EB4 38 00 00 0F */ li r0, 0xf +/* 800D9F58 000D6EB8 50 03 E0 06 */ rlwimi r3, r0, 0x1c, 0, 3 +/* 800D9F5C 000D6EBC 38 81 00 10 */ addi r4, r1, 0x10 +/* 800D9F60 000D6EC0 38 00 00 00 */ li r0, 0 +/* 800D9F64 000D6EC4 90 61 00 10 */ stw r3, 0x10(r1) +/* 800D9F68 000D6EC8 50 03 D9 08 */ rlwimi r3, r0, 0x1b, 4, 4 +/* 800D9F6C 000D6ECC 90 61 00 10 */ stw r3, 0x10(r1) +/* 800D9F70 000D6ED0 50 03 D1 4A */ rlwimi r3, r0, 0x1a, 5, 5 +/* 800D9F74 000D6ED4 90 61 00 10 */ stw r3, 0x10(r1) +lbl_800D9F78: +/* 800D9F78 000D6ED8 80 04 00 00 */ lwz r0, 0(r4) +/* 800D9F7C 000D6EDC 2C 1B 00 0A */ cmpwi r27, 0xa +/* 800D9F80 000D6EE0 90 01 00 20 */ stw r0, 0x20(r1) +/* 800D9F84 000D6EE4 40 81 00 14 */ ble lbl_800D9F98 +/* 800D9F88 000D6EE8 7F E3 FB 78 */ mr r3, r31 +/* 800D9F8C 000D6EEC 48 26 4D 51 */ bl ReadBool__12CInputStreamFv +/* 800D9F90 000D6EF0 7C 77 1B 78 */ mr r23, r3 +/* 800D9F94 000D6EF4 48 00 00 08 */ b lbl_800D9F9C +lbl_800D9F98: +/* 800D9F98 000D6EF8 3A E0 00 00 */ li r23, 0 +lbl_800D9F9C: +/* 800D9F9C 000D6EFC 2C 1B 00 0B */ cmpwi r27, 0xb +/* 800D9FA0 000D6F00 40 81 00 14 */ ble lbl_800D9FB4 +/* 800D9FA4 000D6F04 7F E3 FB 78 */ mr r3, r31 +/* 800D9FA8 000D6F08 48 26 4D 35 */ bl ReadBool__12CInputStreamFv +/* 800D9FAC 000D6F0C 7C 76 1B 78 */ mr r22, r3 +/* 800D9FB0 000D6F10 48 00 00 08 */ b lbl_800D9FB8 +lbl_800D9FB4: +/* 800D9FB4 000D6F14 3A C0 00 00 */ li r22, 0 +lbl_800D9FB8: +/* 800D9FB8 000D6F18 2C 1B 00 0C */ cmpwi r27, 0xc +/* 800D9FBC 000D6F1C 40 81 00 14 */ ble lbl_800D9FD0 +/* 800D9FC0 000D6F20 7F E3 FB 78 */ mr r3, r31 +/* 800D9FC4 000D6F24 48 26 4D 19 */ bl ReadBool__12CInputStreamFv +/* 800D9FC8 000D6F28 7C 75 1B 78 */ mr r21, r3 +/* 800D9FCC 000D6F2C 48 00 00 08 */ b lbl_800D9FD4 +lbl_800D9FD0: +/* 800D9FD0 000D6F30 3A A0 00 00 */ li r21, 0 +lbl_800D9FD4: +/* 800D9FD4 000D6F34 2C 1B 00 0D */ cmpwi r27, 0xd +/* 800D9FD8 000D6F38 40 81 00 14 */ ble lbl_800D9FEC +/* 800D9FDC 000D6F3C 7F E3 FB 78 */ mr r3, r31 +/* 800D9FE0 000D6F40 48 26 4C 49 */ bl ReadFloat__12CInputStreamFv +/* 800D9FE4 000D6F44 FF A0 08 90 */ fmr f29, f1 +/* 800D9FE8 000D6F48 48 00 00 08 */ b lbl_800D9FF0 +lbl_800D9FEC: +/* 800D9FEC 000D6F4C C3 A2 8E 38 */ lfs f29, lbl_805AAB58@sda21(r2) +lbl_800D9FF0: +/* 800D9FF0 000D6F50 80 6D A0 60 */ lwz r3, gpResourceFactory@sda21(r13) +/* 800D9FF4 000D6F54 7F 44 D3 78 */ mr r4, r26 +/* 800D9FF8 000D6F58 38 63 00 04 */ addi r3, r3, 4 +/* 800D9FFC 000D6F5C 48 26 1C D1 */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800DA000 000D6F60 80 AD A0 60 */ lwz r5, gpResourceFactory@sda21(r13) +/* 800DA004 000D6F64 7C 7B 1B 78 */ mr r27, r3 +/* 800DA008 000D6F68 7F 24 CB 78 */ mr r4, r25 +/* 800DA00C 000D6F6C 38 65 00 04 */ addi r3, r5, 4 +/* 800DA010 000D6F70 48 26 1C BD */ bl GetResourceTypeById__10CResLoaderCFUi +/* 800DA014 000D6F74 28 1B 00 00 */ cmplwi r27, 0 +/* 800DA018 000D6F78 38 A0 00 00 */ li r5, 0 +/* 800DA01C 000D6F7C 41 82 00 08 */ beq lbl_800DA024 +/* 800DA020 000D6F80 60 A5 00 01 */ ori r5, r5, 1 +lbl_800DA024: +/* 800DA024 000D6F84 28 03 00 00 */ cmplwi r3, 0 +/* 800DA028 000D6F88 41 82 00 08 */ beq lbl_800DA030 +/* 800DA02C 000D6F8C 60 A5 00 02 */ ori r5, r5, 2 +lbl_800DA030: +/* 800DA030 000D6F90 54 A0 07 FF */ clrlwi. r0, r5, 0x1f +/* 800DA034 000D6F94 41 82 00 14 */ beq lbl_800DA048 +/* 800DA038 000D6F98 93 41 00 40 */ stw r26, 0x40(r1) +/* 800DA03C 000D6F9C 38 81 00 40 */ addi r4, r1, 0x40 +/* 800DA040 000D6FA0 93 81 00 44 */ stw r28, 0x44(r1) +/* 800DA044 000D6FA4 48 00 00 18 */ b lbl_800DA05C +lbl_800DA048: +/* 800DA048 000D6FA8 80 6D 86 E0 */ lwz r3, lbl_805A72A0@sda21(r13) +/* 800DA04C 000D6FAC 38 81 00 38 */ addi r4, r1, 0x38 +/* 800DA050 000D6FB0 80 0D 86 E4 */ lwz r0, lbl_805A72A4@sda21(r13) +/* 800DA054 000D6FB4 90 61 00 38 */ stw r3, 0x38(r1) +/* 800DA058 000D6FB8 90 01 00 3C */ stw r0, 0x3c(r1) +lbl_800DA05C: +/* 800DA05C 000D6FBC 80 64 00 00 */ lwz r3, 0(r4) +/* 800DA060 000D6FC0 54 A0 07 BD */ rlwinm. r0, r5, 0, 0x1e, 0x1e +/* 800DA064 000D6FC4 90 61 00 50 */ stw r3, 0x50(r1) +/* 800DA068 000D6FC8 80 04 00 04 */ lwz r0, 4(r4) +/* 800DA06C 000D6FCC 90 01 00 54 */ stw r0, 0x54(r1) +/* 800DA070 000D6FD0 41 82 00 14 */ beq lbl_800DA084 +/* 800DA074 000D6FD4 93 21 00 30 */ stw r25, 0x30(r1) +/* 800DA078 000D6FD8 38 81 00 30 */ addi r4, r1, 0x30 +/* 800DA07C 000D6FDC 93 A1 00 34 */ stw r29, 0x34(r1) +/* 800DA080 000D6FE0 48 00 00 18 */ b lbl_800DA098 +lbl_800DA084: +/* 800DA084 000D6FE4 80 6D 86 E8 */ lwz r3, lbl_805A72A8@sda21(r13) +/* 800DA088 000D6FE8 38 81 00 28 */ addi r4, r1, 0x28 +/* 800DA08C 000D6FEC 80 0D 86 EC */ lwz r0, lbl_805A72AC@sda21(r13) +/* 800DA090 000D6FF0 90 61 00 28 */ stw r3, 0x28(r1) +/* 800DA094 000D6FF4 90 01 00 2C */ stw r0, 0x2c(r1) +lbl_800DA098: +/* 800DA098 000D6FF8 80 04 00 00 */ lwz r0, 0(r4) +/* 800DA09C 000D6FFC FC 20 F8 90 */ fmr f1, f31 +/* 800DA0A0 000D7000 FC 40 F0 90 */ fmr f2, f30 +/* 800DA0A4 000D7004 7F C3 F3 78 */ mr r3, r30 +/* 800DA0A8 000D7008 90 01 00 48 */ stw r0, 0x48(r1) +/* 800DA0AC 000D700C FC 60 E8 90 */ fmr f3, f29 +/* 800DA0B0 000D7010 7F 09 C3 78 */ mr r9, r24 +/* 800DA0B4 000D7014 80 04 00 04 */ lwz r0, 4(r4) +/* 800DA0B8 000D7018 7E EA BB 78 */ mr r10, r23 +/* 800DA0BC 000D701C 38 81 00 98 */ addi r4, r1, 0x98 +/* 800DA0C0 000D7020 90 01 00 4C */ stw r0, 0x4c(r1) +/* 800DA0C4 000D7024 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800DA0C8 000D7028 38 C1 00 50 */ addi r6, r1, 0x50 +/* 800DA0CC 000D702C 38 E1 00 48 */ addi r7, r1, 0x48 +/* 800DA0D0 000D7030 92 C1 00 08 */ stw r22, 8(r1) +/* 800DA0D4 000D7034 39 01 00 20 */ addi r8, r1, 0x20 +/* 800DA0D8 000D7038 92 A1 00 0C */ stw r21, 0xc(r1) +/* 800DA0DC 000D703C 48 02 C7 ED */ bl sub_801068c8 +/* 800DA0E0 000D7040 38 61 00 98 */ addi r3, r1, 0x98 +/* 800DA0E4 000D7044 38 80 FF FF */ li r4, -1 +/* 800DA0E8 000D7048 48 02 C5 21 */ bl __dt__16CActorParametersFv +lbl_800DA0EC: +/* 800DA0EC 000D704C E3 E1 01 38 */ psq_l f31, 312(r1), 0, qr0 +/* 800DA0F0 000D7050 CB E1 01 30 */ lfd f31, 0x130(r1) +/* 800DA0F4 000D7054 E3 C1 01 28 */ psq_l f30, 296(r1), 0, qr0 +/* 800DA0F8 000D7058 CB C1 01 20 */ lfd f30, 0x120(r1) +/* 800DA0FC 000D705C E3 A1 01 18 */ psq_l f29, 280(r1), 0, qr0 +/* 800DA100 000D7060 CB A1 01 10 */ lfd f29, 0x110(r1) +/* 800DA104 000D7064 BA A1 00 E4 */ lmw r21, 0xe4(r1) +/* 800DA108 000D7068 80 01 01 44 */ lwz r0, 0x144(r1) +/* 800DA10C 000D706C 7C 08 03 A6 */ mtlr r0 +/* 800DA110 000D7070 38 21 01 40 */ addi r1, r1, 0x140 +/* 800DA114 000D7074 4E 80 00 20 */ blr + +.global LoadVisorParameters__FR12CInputStream +LoadVisorParameters__FR12CInputStream: +/* 800DA118 000D7078 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DA11C 000D707C 7C 08 02 A6 */ mflr r0 +/* 800DA120 000D7080 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DA124 000D7084 BF 61 00 0C */ stmw r27, 0xc(r1) +/* 800DA128 000D7088 7C 9B 23 78 */ mr r27, r4 +/* 800DA12C 000D708C 7C 7F 1B 78 */ mr r31, r3 +/* 800DA130 000D7090 7F 63 DB 78 */ mr r3, r27 +/* 800DA134 000D7094 48 26 4B 51 */ bl ReadLong__12CInputStreamFv +/* 800DA138 000D7098 7C 7D 1B 78 */ mr r29, r3 +/* 800DA13C 000D709C 38 00 00 00 */ li r0, 0 +/* 800DA140 000D70A0 2C 1D 00 01 */ cmpwi r29, 1 +/* 800DA144 000D70A4 41 80 00 10 */ blt lbl_800DA154 +/* 800DA148 000D70A8 2C 1D 00 03 */ cmpwi r29, 3 +/* 800DA14C 000D70AC 41 81 00 08 */ bgt lbl_800DA154 +/* 800DA150 000D70B0 38 00 00 01 */ li r0, 1 +lbl_800DA154: +/* 800DA154 000D70B4 54 00 06 3F */ clrlwi. r0, r0, 0x18 +/* 800DA158 000D70B8 40 82 00 34 */ bne lbl_800DA18C +/* 800DA15C 000D70BC 80 1F 00 00 */ lwz r0, 0(r31) +/* 800DA160 000D70C0 38 60 00 0F */ li r3, 0xf +/* 800DA164 000D70C4 50 60 E0 06 */ rlwimi r0, r3, 0x1c, 0, 3 +/* 800DA168 000D70C8 90 1F 00 00 */ stw r0, 0(r31) +/* 800DA16C 000D70CC 38 60 00 00 */ li r3, 0 +/* 800DA170 000D70D0 80 1F 00 00 */ lwz r0, 0(r31) +/* 800DA174 000D70D4 50 60 D9 08 */ rlwimi r0, r3, 0x1b, 4, 4 +/* 800DA178 000D70D8 90 1F 00 00 */ stw r0, 0(r31) +/* 800DA17C 000D70DC 80 1F 00 00 */ lwz r0, 0(r31) +/* 800DA180 000D70E0 50 60 D1 4A */ rlwimi r0, r3, 0x1a, 5, 5 +/* 800DA184 000D70E4 90 1F 00 00 */ stw r0, 0(r31) +/* 800DA188 000D70E8 48 00 00 64 */ b lbl_800DA1EC +lbl_800DA18C: +/* 800DA18C 000D70EC 7F 63 DB 78 */ mr r3, r27 +/* 800DA190 000D70F0 48 26 4B 4D */ bl ReadBool__12CInputStreamFv +/* 800DA194 000D70F4 2C 1D 00 02 */ cmpwi r29, 2 +/* 800DA198 000D70F8 7C 7E 1B 78 */ mr r30, r3 +/* 800DA19C 000D70FC 3B 80 00 00 */ li r28, 0 +/* 800DA1A0 000D7100 40 81 00 10 */ ble lbl_800DA1B0 +/* 800DA1A4 000D7104 7F 63 DB 78 */ mr r3, r27 +/* 800DA1A8 000D7108 48 26 4B 35 */ bl ReadBool__12CInputStreamFv +/* 800DA1AC 000D710C 7C 7C 1B 78 */ mr r28, r3 +lbl_800DA1B0: +/* 800DA1B0 000D7110 2C 1D 00 02 */ cmpwi r29, 2 +/* 800DA1B4 000D7114 41 80 00 10 */ blt lbl_800DA1C4 +/* 800DA1B8 000D7118 7F 63 DB 78 */ mr r3, r27 +/* 800DA1BC 000D711C 48 26 4A C9 */ bl ReadLong__12CInputStreamFv +/* 800DA1C0 000D7120 48 00 00 08 */ b lbl_800DA1C8 +lbl_800DA1C4: +/* 800DA1C4 000D7124 38 60 00 0F */ li r3, 0xf +lbl_800DA1C8: +/* 800DA1C8 000D7128 80 1F 00 00 */ lwz r0, 0(r31) +/* 800DA1CC 000D712C 50 60 E0 06 */ rlwimi r0, r3, 0x1c, 0, 3 +/* 800DA1D0 000D7130 90 1F 00 00 */ stw r0, 0(r31) +/* 800DA1D4 000D7134 80 1F 00 00 */ lwz r0, 0(r31) +/* 800DA1D8 000D7138 53 C0 D9 08 */ rlwimi r0, r30, 0x1b, 4, 4 +/* 800DA1DC 000D713C 90 1F 00 00 */ stw r0, 0(r31) +/* 800DA1E0 000D7140 80 1F 00 00 */ lwz r0, 0(r31) +/* 800DA1E4 000D7144 53 80 D1 4A */ rlwimi r0, r28, 0x1a, 5, 5 +/* 800DA1E8 000D7148 90 1F 00 00 */ stw r0, 0(r31) +lbl_800DA1EC: +/* 800DA1EC 000D714C BB 61 00 0C */ lmw r27, 0xc(r1) +/* 800DA1F0 000D7150 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DA1F4 000D7154 7C 08 03 A6 */ mtlr r0 +/* 800DA1F8 000D7158 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DA1FC 000D715C 4E 80 00 20 */ blr + +.global LoadScannableParameters__FR12CInputStream +LoadScannableParameters__FR12CInputStream: +/* 800DA200 000D7160 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DA204 000D7164 7C 08 02 A6 */ mflr r0 +/* 800DA208 000D7168 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DA20C 000D716C 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DA210 000D7170 7C 9F 23 78 */ mr r31, r4 +/* 800DA214 000D7174 93 C1 00 08 */ stw r30, 8(r1) +/* 800DA218 000D7178 7C 7E 1B 78 */ mr r30, r3 +/* 800DA21C 000D717C 7F E3 FB 78 */ mr r3, r31 +/* 800DA220 000D7180 48 26 4A 65 */ bl ReadLong__12CInputStreamFv +/* 800DA224 000D7184 2C 03 00 01 */ cmpwi r3, 1 +/* 800DA228 000D7188 41 82 00 10 */ beq lbl_800DA238 +/* 800DA22C 000D718C 38 00 FF FF */ li r0, -1 +/* 800DA230 000D7190 90 1E 00 00 */ stw r0, 0(r30) +/* 800DA234 000D7194 48 00 00 10 */ b lbl_800DA244 +lbl_800DA238: +/* 800DA238 000D7198 7F E3 FB 78 */ mr r3, r31 +/* 800DA23C 000D719C 48 26 4A 49 */ bl ReadLong__12CInputStreamFv +/* 800DA240 000D71A0 90 7E 00 00 */ stw r3, 0(r30) +lbl_800DA244: +/* 800DA244 000D71A4 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DA248 000D71A8 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DA24C 000D71AC 83 C1 00 08 */ lwz r30, 8(r1) +/* 800DA250 000D71B0 7C 08 03 A6 */ mtlr r0 +/* 800DA254 000D71B4 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DA258 000D71B8 4E 80 00 20 */ blr + +.global LoadLightParameters__FR12CInputStream +LoadLightParameters__FR12CInputStream: +/* 800DA25C 000D71BC 94 21 FF 90 */ stwu r1, -0x70(r1) +/* 800DA260 000D71C0 7C 08 02 A6 */ mflr r0 +/* 800DA264 000D71C4 90 01 00 74 */ stw r0, 0x74(r1) +/* 800DA268 000D71C8 DB E1 00 68 */ stfd f31, 0x68(r1) +/* 800DA26C 000D71CC DB C1 00 60 */ stfd f30, 0x60(r1) +/* 800DA270 000D71D0 DB A1 00 58 */ stfd f29, 0x58(r1) +/* 800DA274 000D71D4 BE A1 00 2C */ stmw r21, 0x2c(r1) +/* 800DA278 000D71D8 7C 9F 23 78 */ mr r31, r4 +/* 800DA27C 000D71DC 7C 7E 1B 78 */ mr r30, r3 +/* 800DA280 000D71E0 7F E3 FB 78 */ mr r3, r31 +/* 800DA284 000D71E4 48 26 4A 01 */ bl ReadLong__12CInputStreamFv +/* 800DA288 000D71E8 7C 7A 1B 78 */ mr r26, r3 +/* 800DA28C 000D71EC 2C 1A 00 0E */ cmpwi r26, 0xe +/* 800DA290 000D71F0 41 82 00 10 */ beq lbl_800DA2A0 +/* 800DA294 000D71F4 7F C3 F3 78 */ mr r3, r30 +/* 800DA298 000D71F8 48 00 01 55 */ bl None__16CLightParametersFv +/* 800DA29C 000D71FC 48 00 01 30 */ b lbl_800DA3CC +lbl_800DA2A0: +/* 800DA2A0 000D7200 7F E3 FB 78 */ mr r3, r31 +/* 800DA2A4 000D7204 48 26 4A 39 */ bl ReadBool__12CInputStreamFv +/* 800DA2A8 000D7208 7C 7B 1B 78 */ mr r27, r3 +/* 800DA2AC 000D720C 7F E3 FB 78 */ mr r3, r31 +/* 800DA2B0 000D7210 48 26 49 79 */ bl ReadFloat__12CInputStreamFv +/* 800DA2B4 000D7214 FF E0 08 90 */ fmr f31, f1 +/* 800DA2B8 000D7218 7F E3 FB 78 */ mr r3, r31 +/* 800DA2BC 000D721C 48 26 49 C9 */ bl ReadLong__12CInputStreamFv +/* 800DA2C0 000D7220 7C 79 1B 78 */ mr r25, r3 +/* 800DA2C4 000D7224 7F E3 FB 78 */ mr r3, r31 +/* 800DA2C8 000D7228 48 26 49 61 */ bl ReadFloat__12CInputStreamFv +/* 800DA2CC 000D722C FF C0 08 90 */ fmr f30, f1 +/* 800DA2D0 000D7230 7F E3 FB 78 */ mr r3, r31 +/* 800DA2D4 000D7234 48 26 49 55 */ bl ReadFloat__12CInputStreamFv +/* 800DA2D8 000D7238 FF A0 08 90 */ fmr f29, f1 +/* 800DA2DC 000D723C 7F E4 FB 78 */ mr r4, r31 +/* 800DA2E0 000D7240 38 61 00 18 */ addi r3, r1, 0x18 +/* 800DA2E4 000D7244 48 28 91 69 */ bl __ct__6CColorFR12CInputStream +/* 800DA2E8 000D7248 7F E3 FB 78 */ mr r3, r31 +/* 800DA2EC 000D724C 48 26 49 F1 */ bl ReadBool__12CInputStreamFv +/* 800DA2F0 000D7250 7C 7C 1B 78 */ mr r28, r3 +/* 800DA2F4 000D7254 7F E3 FB 78 */ mr r3, r31 +/* 800DA2F8 000D7258 48 26 49 8D */ bl ReadLong__12CInputStreamFv +/* 800DA2FC 000D725C 7C 78 1B 78 */ mr r24, r3 +/* 800DA300 000D7260 7F E3 FB 78 */ mr r3, r31 +/* 800DA304 000D7264 48 26 49 81 */ bl ReadLong__12CInputStreamFv +/* 800DA308 000D7268 7C 77 1B 78 */ mr r23, r3 +/* 800DA30C 000D726C 7F E4 FB 78 */ mr r4, r31 +/* 800DA310 000D7270 38 61 00 1C */ addi r3, r1, 0x1c +/* 800DA314 000D7274 48 23 A8 79 */ bl __ct__9CVector3fFR12CInputStream +/* 800DA318 000D7278 2C 1A 00 0C */ cmpwi r26, 0xc +/* 800DA31C 000D727C 41 80 00 14 */ blt lbl_800DA330 +/* 800DA320 000D7280 7F E3 FB 78 */ mr r3, r31 +/* 800DA324 000D7284 48 26 49 61 */ bl ReadLong__12CInputStreamFv +/* 800DA328 000D7288 7C 76 1B 78 */ mr r22, r3 +/* 800DA32C 000D728C 48 00 00 08 */ b lbl_800DA334 +lbl_800DA330: +/* 800DA330 000D7290 3A C0 FF FF */ li r22, -1 +lbl_800DA334: +/* 800DA334 000D7294 2C 1A 00 0C */ cmpwi r26, 0xc +/* 800DA338 000D7298 41 80 00 14 */ blt lbl_800DA34C +/* 800DA33C 000D729C 7F E3 FB 78 */ mr r3, r31 +/* 800DA340 000D72A0 48 26 49 45 */ bl ReadLong__12CInputStreamFv +/* 800DA344 000D72A4 7C 75 1B 78 */ mr r21, r3 +/* 800DA348 000D72A8 48 00 00 08 */ b lbl_800DA350 +lbl_800DA34C: +/* 800DA34C 000D72AC 3A A0 FF FF */ li r21, -1 +lbl_800DA350: +/* 800DA350 000D72B0 2C 1A 00 0D */ cmpwi r26, 0xd +/* 800DA354 000D72B4 41 80 00 14 */ blt lbl_800DA368 +/* 800DA358 000D72B8 7F E3 FB 78 */ mr r3, r31 +/* 800DA35C 000D72BC 48 26 49 81 */ bl ReadBool__12CInputStreamFv +/* 800DA360 000D72C0 7C 7D 1B 78 */ mr r29, r3 +/* 800DA364 000D72C4 48 00 00 08 */ b lbl_800DA36C +lbl_800DA368: +/* 800DA368 000D72C8 3B A0 00 00 */ li r29, 0 +lbl_800DA36C: +/* 800DA36C 000D72CC 2C 1A 00 0E */ cmpwi r26, 0xe +/* 800DA370 000D72D0 41 80 00 14 */ blt lbl_800DA384 +/* 800DA374 000D72D4 7F E3 FB 78 */ mr r3, r31 +/* 800DA378 000D72D8 48 26 49 0D */ bl ReadLong__12CInputStreamFv +/* 800DA37C 000D72DC 7C 66 1B 78 */ mr r6, r3 +/* 800DA380 000D72E0 48 00 00 08 */ b lbl_800DA388 +lbl_800DA384: +/* 800DA384 000D72E4 38 C0 00 00 */ li r6, 0 +lbl_800DA388: +/* 800DA388 000D72E8 92 C1 00 08 */ stw r22, 8(r1) +/* 800DA38C 000D72EC 57 A0 06 3E */ clrlwi r0, r29, 0x18 +/* 800DA390 000D72F0 FC 20 F8 90 */ fmr f1, f31 +/* 800DA394 000D72F4 7F C3 F3 78 */ mr r3, r30 +/* 800DA398 000D72F8 92 A1 00 0C */ stw r21, 0xc(r1) +/* 800DA39C 000D72FC FC 40 F0 90 */ fmr f2, f30 +/* 800DA3A0 000D7300 FC 60 E8 90 */ fmr f3, f29 +/* 800DA3A4 000D7304 7F 25 CB 78 */ mr r5, r25 +/* 800DA3A8 000D7308 90 01 00 10 */ stw r0, 0x10(r1) +/* 800DA3AC 000D730C 7F 08 C3 78 */ mr r8, r24 +/* 800DA3B0 000D7310 7E E9 BB 78 */ mr r9, r23 +/* 800DA3B4 000D7314 57 64 06 3E */ clrlwi r4, r27, 0x18 +/* 800DA3B8 000D7318 90 C1 00 14 */ stw r6, 0x14(r1) +/* 800DA3BC 000D731C 38 C1 00 18 */ addi r6, r1, 0x18 +/* 800DA3C0 000D7320 57 87 06 3E */ clrlwi r7, r28, 0x18 +/* 800DA3C4 000D7324 39 41 00 1C */ addi r10, r1, 0x1c +/* 800DA3C8 000D7328 48 02 C3 31 */ bl __ct__16CLightParametersFbfQ216CLightParameters19EShadowTessellationffRC6CColorbQ216CLightParameters21EWorldLightingOptionsQ216CLightParameters26ELightRecalculationOptionsRC9CVector3fii +lbl_800DA3CC: +/* 800DA3CC 000D732C CB E1 00 68 */ lfd f31, 0x68(r1) +/* 800DA3D0 000D7330 CB C1 00 60 */ lfd f30, 0x60(r1) +/* 800DA3D4 000D7334 CB A1 00 58 */ lfd f29, 0x58(r1) +/* 800DA3D8 000D7338 BA A1 00 2C */ lmw r21, 0x2c(r1) +/* 800DA3DC 000D733C 80 01 00 74 */ lwz r0, 0x74(r1) +/* 800DA3E0 000D7340 7C 08 03 A6 */ mtlr r0 +/* 800DA3E4 000D7344 38 21 00 70 */ addi r1, r1, 0x70 +/* 800DA3E8 000D7348 4E 80 00 20 */ blr + +.global None__16CLightParametersFv +None__16CLightParametersFv: +/* 800DA3EC 000D734C 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DA3F0 000D7350 7C 08 02 A6 */ mflr r0 +/* 800DA3F4 000D7354 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DA3F8 000D7358 48 02 C2 59 */ bl __ct__16CLightParametersFv +/* 800DA3FC 000D735C 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DA400 000D7360 7C 08 03 A6 */ mtlr r0 +/* 800DA404 000D7364 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DA408 000D7368 4E 80 00 20 */ blr + +.global LoadAnimationParameters__FR12CInputStream +LoadAnimationParameters__FR12CInputStream: +/* 800DA40C 000D736C 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DA410 000D7370 7C 08 02 A6 */ mflr r0 +/* 800DA414 000D7374 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DA418 000D7378 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DA41C 000D737C 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DA420 000D7380 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800DA424 000D7384 7C 9D 23 78 */ mr r29, r4 +/* 800DA428 000D7388 93 81 00 10 */ stw r28, 0x10(r1) +/* 800DA42C 000D738C 7C 7C 1B 78 */ mr r28, r3 +/* 800DA430 000D7390 7F A3 EB 78 */ mr r3, r29 +/* 800DA434 000D7394 48 26 48 51 */ bl ReadLong__12CInputStreamFv +/* 800DA438 000D7398 7C 7E 1B 78 */ mr r30, r3 +/* 800DA43C 000D739C 7F A3 EB 78 */ mr r3, r29 +/* 800DA440 000D73A0 48 26 48 45 */ bl ReadLong__12CInputStreamFv +/* 800DA444 000D73A4 7C 7F 1B 78 */ mr r31, r3 +/* 800DA448 000D73A8 7F A3 EB 78 */ mr r3, r29 +/* 800DA44C 000D73AC 48 26 48 39 */ bl ReadLong__12CInputStreamFv +/* 800DA450 000D73B0 93 DC 00 00 */ stw r30, 0(r28) +/* 800DA454 000D73B4 93 FC 00 04 */ stw r31, 4(r28) +/* 800DA458 000D73B8 90 7C 00 08 */ stw r3, 8(r28) +/* 800DA45C 000D73BC 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DA460 000D73C0 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DA464 000D73C4 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DA468 000D73C8 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800DA46C 000D73CC 83 81 00 10 */ lwz r28, 0x10(r1) +/* 800DA470 000D73D0 7C 08 03 A6 */ mtlr r0 +/* 800DA474 000D73D4 38 21 00 20 */ addi r1, r1, 0x20 + +.global sub_800da478 +sub_800da478: +/* 800DA478 000D73D8 4E 80 00 20 */ blr + +.global LoadScaledActorHead__FR12CInputStreamR13CStateManager +LoadScaledActorHead__FR12CInputStreamR13CStateManager: +/* 800DA47C 000D73DC 94 21 FF F0 */ stwu r1, -0x10(r1) +/* 800DA480 000D73E0 7C 08 02 A6 */ mflr r0 +/* 800DA484 000D73E4 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DA488 000D73E8 93 E1 00 0C */ stw r31, 0xc(r1) +/* 800DA48C 000D73EC 7C 9F 23 78 */ mr r31, r4 +/* 800DA490 000D73F0 93 C1 00 08 */ stw r30, 8(r1) +/* 800DA494 000D73F4 7C 7E 1B 78 */ mr r30, r3 +/* 800DA498 000D73F8 48 00 00 2D */ bl LoadActorHead__FR12CInputStreamR13CStateManager +/* 800DA49C 000D73FC 7F E4 FB 78 */ mr r4, r31 +/* 800DA4A0 000D7400 38 7E 00 40 */ addi r3, r30, 0x40 +/* 800DA4A4 000D7404 48 23 A6 E9 */ bl __ct__9CVector3fFR12CInputStream +/* 800DA4A8 000D7408 80 01 00 14 */ lwz r0, 0x14(r1) +/* 800DA4AC 000D740C 7F C3 F3 78 */ mr r3, r30 +/* 800DA4B0 000D7410 83 E1 00 0C */ lwz r31, 0xc(r1) +/* 800DA4B4 000D7414 83 C1 00 08 */ lwz r30, 8(r1) +/* 800DA4B8 000D7418 7C 08 03 A6 */ mtlr r0 +/* 800DA4BC 000D741C 38 21 00 10 */ addi r1, r1, 0x10 +/* 800DA4C0 000D7420 4E 80 00 20 */ blr + +.global LoadActorHead__FR12CInputStreamR13CStateManager +LoadActorHead__FR12CInputStreamR13CStateManager: +/* 800DA4C4 000D7424 94 21 FF C0 */ stwu r1, -0x40(r1) +/* 800DA4C8 000D7428 7C 08 02 A6 */ mflr r0 +/* 800DA4CC 000D742C 90 01 00 44 */ stw r0, 0x44(r1) +/* 800DA4D0 000D7430 93 E1 00 3C */ stw r31, 0x3c(r1) +/* 800DA4D4 000D7434 7C 9F 23 78 */ mr r31, r4 +/* 800DA4D8 000D7438 93 C1 00 38 */ stw r30, 0x38(r1) +/* 800DA4DC 000D743C 7C 7E 1B 78 */ mr r30, r3 +/* 800DA4E0 000D7440 7C A3 2B 78 */ mr r3, r5 +/* 800DA4E4 000D7444 4B F6 AD 01 */ bl HashInstanceName__13CStateManagerFR12CInputStream +/* 800DA4E8 000D7448 7C 64 1B 78 */ mr r4, r3 +/* 800DA4EC 000D744C 7F C3 F3 78 */ mr r3, r30 +/* 800DA4F0 000D7450 48 26 3C 71 */ bl "__ct__Q24rstl66basic_string,Q24rstl17rmemory_allocator>FRCQ24rstl66basic_string,Q24rstl17rmemory_allocator>" +/* 800DA4F4 000D7454 7F E4 FB 78 */ mr r4, r31 +/* 800DA4F8 000D7458 38 61 00 08 */ addi r3, r1, 8 +/* 800DA4FC 000D745C 48 00 00 91 */ bl LoadEditorTransform__FR12CInputStream +/* 800DA500 000D7460 38 7E 00 10 */ addi r3, r30, 0x10 +/* 800DA504 000D7464 38 81 00 08 */ addi r4, r1, 8 +/* 800DA508 000D7468 48 23 86 6D */ bl __ct__12CTransform4fFRC12CTransform4f +/* 800DA50C 000D746C 80 01 00 44 */ lwz r0, 0x44(r1) +/* 800DA510 000D7470 7F C3 F3 78 */ mr r3, r30 +/* 800DA514 000D7474 83 E1 00 3C */ lwz r31, 0x3c(r1) +/* 800DA518 000D7478 83 C1 00 38 */ lwz r30, 0x38(r1) +/* 800DA51C 000D747C 7C 08 03 A6 */ mtlr r0 +/* 800DA520 000D7480 38 21 00 40 */ addi r1, r1, 0x40 +/* 800DA524 000D7484 4E 80 00 20 */ blr + +.global LoadEditorTransformPivotOnly__FR12CInputStream +LoadEditorTransformPivotOnly__FR12CInputStream: +/* 800DA528 000D7488 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800DA52C 000D748C 7C 08 02 A6 */ mflr r0 +/* 800DA530 000D7490 90 01 00 34 */ stw r0, 0x34(r1) +/* 800DA534 000D7494 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800DA538 000D7498 7C 9F 23 78 */ mr r31, r4 +/* 800DA53C 000D749C 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800DA540 000D74A0 7C 7E 1B 78 */ mr r30, r3 +/* 800DA544 000D74A4 38 61 00 14 */ addi r3, r1, 0x14 +/* 800DA548 000D74A8 48 23 A6 45 */ bl __ct__9CVector3fFR12CInputStream +/* 800DA54C 000D74AC 7F E4 FB 78 */ mr r4, r31 +/* 800DA550 000D74B0 38 61 00 08 */ addi r3, r1, 8 +/* 800DA554 000D74B4 48 23 A6 39 */ bl __ct__9CVector3fFR12CInputStream +/* 800DA558 000D74B8 C0 02 8E 28 */ lfs f0, lbl_805AAB48@sda21(r2) +/* 800DA55C 000D74BC 7F C3 F3 78 */ mr r3, r30 +/* 800DA560 000D74C0 38 81 00 08 */ addi r4, r1, 8 +/* 800DA564 000D74C4 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800DA568 000D74C8 D0 01 00 0C */ stfs f0, 0xc(r1) +/* 800DA56C 000D74CC D0 01 00 08 */ stfs f0, 8(r1) +/* 800DA570 000D74D0 48 00 00 75 */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f +/* 800DA574 000D74D4 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800DA578 000D74D8 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800DA57C 000D74DC 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800DA580 000D74E0 7C 08 03 A6 */ mtlr r0 +/* 800DA584 000D74E4 38 21 00 30 */ addi r1, r1, 0x30 +/* 800DA588 000D74E8 4E 80 00 20 */ blr + +.global LoadEditorTransform__FR12CInputStream +LoadEditorTransform__FR12CInputStream: +/* 800DA58C 000D74EC 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800DA590 000D74F0 7C 08 02 A6 */ mflr r0 +/* 800DA594 000D74F4 90 01 00 34 */ stw r0, 0x34(r1) +/* 800DA598 000D74F8 93 E1 00 2C */ stw r31, 0x2c(r1) +/* 800DA59C 000D74FC 7C 9F 23 78 */ mr r31, r4 +/* 800DA5A0 000D7500 93 C1 00 28 */ stw r30, 0x28(r1) +/* 800DA5A4 000D7504 7C 7E 1B 78 */ mr r30, r3 +/* 800DA5A8 000D7508 38 61 00 14 */ addi r3, r1, 0x14 +/* 800DA5AC 000D750C 48 23 A5 E1 */ bl __ct__9CVector3fFR12CInputStream +/* 800DA5B0 000D7510 7F E4 FB 78 */ mr r4, r31 +/* 800DA5B4 000D7514 38 61 00 08 */ addi r3, r1, 8 +/* 800DA5B8 000D7518 48 23 A5 D5 */ bl __ct__9CVector3fFR12CInputStream +/* 800DA5BC 000D751C 7F C3 F3 78 */ mr r3, r30 +/* 800DA5C0 000D7520 38 81 00 08 */ addi r4, r1, 8 +/* 800DA5C4 000D7524 38 A1 00 14 */ addi r5, r1, 0x14 +/* 800DA5C8 000D7528 48 00 00 1D */ bl ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f +/* 800DA5CC 000D752C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800DA5D0 000D7530 83 E1 00 2C */ lwz r31, 0x2c(r1) +/* 800DA5D4 000D7534 83 C1 00 28 */ lwz r30, 0x28(r1) +/* 800DA5D8 000D7538 7C 08 03 A6 */ mtlr r0 +/* 800DA5DC 000D753C 38 21 00 30 */ addi r1, r1, 0x30 +/* 800DA5E0 000D7540 4E 80 00 20 */ blr + +.global ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f +ConvertEditorEulerToTransform4f__FRC9CVector3fRC9CVector3f: +/* 800DA5E4 000D7544 94 21 FF 10 */ stwu r1, -0xf0(r1) +/* 800DA5E8 000D7548 7C 08 02 A6 */ mflr r0 +/* 800DA5EC 000D754C C0 62 8E 50 */ lfs f3, lbl_805AAB70@sda21(r2) +/* 800DA5F0 000D7550 90 01 00 F4 */ stw r0, 0xf4(r1) +/* 800DA5F4 000D7554 93 E1 00 EC */ stw r31, 0xec(r1) +/* 800DA5F8 000D7558 7C BF 2B 78 */ mr r31, r5 +/* 800DA5FC 000D755C 93 C1 00 E8 */ stw r30, 0xe8(r1) +/* 800DA600 000D7560 7C 7E 1B 78 */ mr r30, r3 +/* 800DA604 000D7564 38 61 00 38 */ addi r3, r1, 0x38 +/* 800DA608 000D7568 C0 44 00 00 */ lfs f2, 0(r4) +/* 800DA60C 000D756C C0 24 00 04 */ lfs f1, 4(r4) +/* 800DA610 000D7570 C0 04 00 08 */ lfs f0, 8(r4) +/* 800DA614 000D7574 EC 43 00 B2 */ fmuls f2, f3, f2 +/* 800DA618 000D7578 EC 23 00 72 */ fmuls f1, f3, f1 +/* 800DA61C 000D757C 38 81 00 08 */ addi r4, r1, 8 +/* 800DA620 000D7580 EC 03 00 32 */ fmuls f0, f3, f0 +/* 800DA624 000D7584 D0 41 00 08 */ stfs f2, 8(r1) +/* 800DA628 000D7588 D0 21 00 0C */ stfs f1, 0xc(r1) +/* 800DA62C 000D758C D0 01 00 10 */ stfs f0, 0x10(r1) +/* 800DA630 000D7590 48 23 6B 39 */ bl XRotation__11CQuaternionFRC9CRelAngle +/* 800DA634 000D7594 38 61 00 48 */ addi r3, r1, 0x48 +/* 800DA638 000D7598 38 81 00 0C */ addi r4, r1, 0xc +/* 800DA63C 000D759C 48 23 6A F5 */ bl YRotation__11CQuaternionFRC9CRelAngle +/* 800DA640 000D75A0 38 61 00 58 */ addi r3, r1, 0x58 +/* 800DA644 000D75A4 38 81 00 10 */ addi r4, r1, 0x10 +/* 800DA648 000D75A8 48 23 6A B1 */ bl ZRotation__11CQuaternionFRC9CRelAngle +/* 800DA64C 000D75AC 38 61 00 68 */ addi r3, r1, 0x68 +/* 800DA650 000D75B0 38 81 00 58 */ addi r4, r1, 0x58 +/* 800DA654 000D75B4 38 A1 00 48 */ addi r5, r1, 0x48 +/* 800DA658 000D75B8 48 23 6B 49 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 800DA65C 000D75BC 38 61 00 78 */ addi r3, r1, 0x78 +/* 800DA660 000D75C0 38 81 00 68 */ addi r4, r1, 0x68 +/* 800DA664 000D75C4 38 A1 00 38 */ addi r5, r1, 0x38 +/* 800DA668 000D75C8 48 23 6B 39 */ bl __ml__11CQuaternionCFRC11CQuaternion +/* 800DA66C 000D75CC C0 61 00 78 */ lfs f3, 0x78(r1) +/* 800DA670 000D75D0 38 61 00 98 */ addi r3, r1, 0x98 +/* 800DA674 000D75D4 C0 41 00 7C */ lfs f2, 0x7c(r1) +/* 800DA678 000D75D8 38 81 00 88 */ addi r4, r1, 0x88 +/* 800DA67C 000D75DC C0 21 00 80 */ lfs f1, 0x80(r1) +/* 800DA680 000D75E0 C0 01 00 84 */ lfs f0, 0x84(r1) +/* 800DA684 000D75E4 D0 61 00 88 */ stfs f3, 0x88(r1) +/* 800DA688 000D75E8 D0 41 00 8C */ stfs f2, 0x8c(r1) +/* 800DA68C 000D75EC D0 21 00 90 */ stfs f1, 0x90(r1) +/* 800DA690 000D75F0 D0 01 00 94 */ stfs f0, 0x94(r1) +/* 800DA694 000D75F4 48 23 79 F9 */ bl BuildTransform__11CQuaternionCFv +/* 800DA698 000D75F8 38 61 00 BC */ addi r3, r1, 0xbc +/* 800DA69C 000D75FC 38 81 00 98 */ addi r4, r1, 0x98 +/* 800DA6A0 000D7600 48 23 59 85 */ bl __ct__9CMatrix3fFRC9CMatrix3f +/* 800DA6A4 000D7604 C1 01 00 DC */ lfs f8, 0xdc(r1) +/* 800DA6A8 000D7608 7F C3 F3 78 */ mr r3, r30 +/* 800DA6AC 000D760C C0 E1 00 D0 */ lfs f7, 0xd0(r1) +/* 800DA6B0 000D7610 7F E7 FB 78 */ mr r7, r31 +/* 800DA6B4 000D7614 C0 41 00 C4 */ lfs f2, 0xc4(r1) +/* 800DA6B8 000D7618 38 81 00 2C */ addi r4, r1, 0x2c +/* 800DA6BC 000D761C C0 C1 00 D8 */ lfs f6, 0xd8(r1) +/* 800DA6C0 000D7620 38 A1 00 20 */ addi r5, r1, 0x20 +/* 800DA6C4 000D7624 C0 A1 00 CC */ lfs f5, 0xcc(r1) +/* 800DA6C8 000D7628 38 C1 00 14 */ addi r6, r1, 0x14 +/* 800DA6CC 000D762C C0 21 00 C0 */ lfs f1, 0xc0(r1) +/* 800DA6D0 000D7630 C0 81 00 D4 */ lfs f4, 0xd4(r1) +/* 800DA6D4 000D7634 C0 61 00 C8 */ lfs f3, 0xc8(r1) +/* 800DA6D8 000D7638 C0 01 00 BC */ lfs f0, 0xbc(r1) +/* 800DA6DC 000D763C D0 41 00 14 */ stfs f2, 0x14(r1) +/* 800DA6E0 000D7640 D0 E1 00 18 */ stfs f7, 0x18(r1) +/* 800DA6E4 000D7644 D1 01 00 1C */ stfs f8, 0x1c(r1) +/* 800DA6E8 000D7648 D0 21 00 20 */ stfs f1, 0x20(r1) +/* 800DA6EC 000D764C D0 A1 00 24 */ stfs f5, 0x24(r1) +/* 800DA6F0 000D7650 D0 C1 00 28 */ stfs f6, 0x28(r1) +/* 800DA6F4 000D7654 D0 01 00 2C */ stfs f0, 0x2c(r1) +/* 800DA6F8 000D7658 D0 61 00 30 */ stfs f3, 0x30(r1) +/* 800DA6FC 000D765C D0 81 00 34 */ stfs f4, 0x34(r1) +/* 800DA700 000D7660 48 23 87 5D */ bl __ct__12CTransform4fFRC9CVector3fRC9CVector3fRC9CVector3fRC9CVector3f_0 +/* 800DA704 000D7664 80 01 00 F4 */ lwz r0, 0xf4(r1) +/* 800DA708 000D7668 83 E1 00 EC */ lwz r31, 0xec(r1) +/* 800DA70C 000D766C 83 C1 00 E8 */ lwz r30, 0xe8(r1) +/* 800DA710 000D7670 7C 08 03 A6 */ mtlr r0 +/* 800DA714 000D7674 38 21 00 F0 */ addi r1, r1, 0xf0 +/* 800DA718 000D7678 4E 80 00 20 */ blr + +.global GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f +GetCollisionBox__FR13CStateManager7TAreaIdRC9CVector3fRC9CVector3f: +/* 800DA71C 000D767C 94 21 FF A0 */ stwu r1, -0x60(r1) +/* 800DA720 000D7680 7C 08 02 A6 */ mflr r0 +/* 800DA724 000D7684 C0 62 8E 60 */ lfs f3, lbl_805AAB80@sda21(r2) +/* 800DA728 000D7688 90 01 00 64 */ stw r0, 0x64(r1) +/* 800DA72C 000D768C 93 E1 00 5C */ stw r31, 0x5c(r1) +/* 800DA730 000D7690 7C 7F 1B 78 */ mr r31, r3 +/* 800DA734 000D7694 38 61 00 24 */ addi r3, r1, 0x24 +/* 800DA738 000D7698 C0 86 00 08 */ lfs f4, 8(r6) +/* 800DA73C 000D769C C0 A6 00 04 */ lfs f5, 4(r6) +/* 800DA740 000D76A0 C1 26 00 00 */ lfs f9, 0(r6) +/* 800DA744 000D76A4 FC 00 20 50 */ fneg f0, f4 +/* 800DA748 000D76A8 C0 E7 00 08 */ lfs f7, 8(r7) +/* 800DA74C 000D76AC FC 20 28 50 */ fneg f1, f5 +/* 800DA750 000D76B0 C1 07 00 04 */ lfs f8, 4(r7) +/* 800DA754 000D76B4 FC 40 48 50 */ fneg f2, f9 +/* 800DA758 000D76B8 C1 47 00 00 */ lfs f10, 0(r7) +/* 800DA75C 000D76BC EC C4 38 FA */ fmadds f6, f4, f3, f7 +/* 800DA760 000D76C0 80 C5 00 00 */ lwz r6, 0(r5) +/* 800DA764 000D76C4 EC A5 40 FA */ fmadds f5, f5, f3, f8 +/* 800DA768 000D76C8 EC 89 50 FA */ fmadds f4, f9, f3, f10 +/* 800DA76C 000D76CC 54 C5 18 38 */ slwi r5, r6, 3 +/* 800DA770 000D76D0 EC 42 50 FA */ fmadds f2, f2, f3, f10 +/* 800DA774 000D76D4 EC 21 40 FA */ fmadds f1, f1, f3, f8 +/* 800DA778 000D76D8 D0 A1 00 1C */ stfs f5, 0x1c(r1) +/* 800DA77C 000D76DC EC 00 38 FA */ fmadds f0, f0, f3, f7 +/* 800DA780 000D76E0 D0 41 00 0C */ stfs f2, 0xc(r1) +/* 800DA784 000D76E4 38 05 00 04 */ addi r0, r5, 4 +/* 800DA788 000D76E8 D0 21 00 10 */ stfs f1, 0x10(r1) +/* 800DA78C 000D76EC D0 01 00 14 */ stfs f0, 0x14(r1) +/* 800DA790 000D76F0 D0 81 00 18 */ stfs f4, 0x18(r1) +/* 800DA794 000D76F4 D0 C1 00 20 */ stfs f6, 0x20(r1) +/* 800DA798 000D76F8 80 84 08 50 */ lwz r4, 0x850(r4) +/* 800DA79C 000D76FC 90 C1 00 08 */ stw r6, 8(r1) +/* 800DA7A0 000D7700 80 84 00 20 */ lwz r4, 0x20(r4) +/* 800DA7A4 000D7704 7C 84 00 2E */ lwzx r4, r4, r0 +/* 800DA7A8 000D7708 38 84 00 0C */ addi r4, r4, 0xc +/* 800DA7AC 000D770C 48 23 84 95 */ bl GetRotation__12CTransform4fCFv +/* 800DA7B0 000D7710 7F E3 FB 78 */ mr r3, r31 +/* 800DA7B4 000D7714 38 81 00 0C */ addi r4, r1, 0xc +/* 800DA7B8 000D7718 38 A1 00 24 */ addi r5, r1, 0x24 +/* 800DA7BC 000D771C 48 25 D1 41 */ bl GetTransformedAABox__6CAABoxCFRC12CTransform4f +/* 800DA7C0 000D7720 80 01 00 64 */ lwz r0, 0x64(r1) +/* 800DA7C4 000D7724 83 E1 00 5C */ lwz r31, 0x5c(r1) +/* 800DA7C8 000D7728 7C 08 03 A6 */ mtlr r0 +/* 800DA7CC 000D772C 38 21 00 60 */ addi r1, r1, 0x60 +/* 800DA7D0 000D7730 4E 80 00 20 */ blr + +.global sub_800da7d4 +sub_800da7d4: +/* 800DA7D4 000D7734 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800DA7D8 000D7738 7C 08 02 A6 */ mflr r0 +/* 800DA7DC 000D773C 90 01 00 34 */ stw r0, 0x34(r1) +/* 800DA7E0 000D7740 BF 41 00 18 */ stmw r26, 0x18(r1) +/* 800DA7E4 000D7744 7C 9F 23 78 */ mr r31, r4 +/* 800DA7E8 000D7748 7C 7E 1B 78 */ mr r30, r3 +/* 800DA7EC 000D774C 80 03 00 08 */ lwz r0, 8(r3) +/* 800DA7F0 000D7750 7C 1F 00 00 */ cmpw r31, r0 +/* 800DA7F4 000D7754 40 81 00 E4 */ ble lbl_800DA8D8 +/* 800DA7F8 000D7758 1C 7F 00 14 */ mulli r3, r31, 0x14 +/* 800DA7FC 000D775C 2C 03 00 00 */ cmpwi r3, 0 +/* 800DA800 000D7760 40 82 00 0C */ bne lbl_800DA80C +/* 800DA804 000D7764 3B 80 00 00 */ li r28, 0 +/* 800DA808 000D7768 48 00 00 1C */ b lbl_800DA824 +lbl_800DA80C: +/* 800DA80C 000D776C 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800DA810 000D7770 38 A0 00 00 */ li r5, 0 +/* 800DA814 000D7774 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800DA818 000D7778 38 84 00 0D */ addi r4, r4, 0xd +/* 800DA81C 000D777C 48 23 AF FD */ bl __nwa__FUlPCcPCc +/* 800DA820 000D7780 7C 7C 1B 78 */ mr r28, r3 +lbl_800DA824: +/* 800DA824 000D7784 80 1E 00 04 */ lwz r0, 4(r30) +/* 800DA828 000D7788 7F 9B E3 78 */ mr r27, r28 +/* 800DA82C 000D778C 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 800DA830 000D7790 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800DA834 000D7794 93 41 00 10 */ stw r26, 0x10(r1) +/* 800DA838 000D7798 7F BA 02 14 */ add r29, r26, r0 +/* 800DA83C 000D779C 93 41 00 14 */ stw r26, 0x14(r1) +/* 800DA840 000D77A0 93 A1 00 08 */ stw r29, 8(r1) +/* 800DA844 000D77A4 93 A1 00 0C */ stw r29, 0xc(r1) +/* 800DA848 000D77A8 48 00 00 38 */ b lbl_800DA880 +lbl_800DA84C: +/* 800DA84C 000D77AC 28 1B 00 00 */ cmplwi r27, 0 +/* 800DA850 000D77B0 41 82 00 28 */ beq lbl_800DA878 +/* 800DA854 000D77B4 7F 63 DB 78 */ mr r3, r27 +/* 800DA858 000D77B8 7F 44 D3 78 */ mr r4, r26 +/* 800DA85C 000D77BC 48 26 66 4D */ bl __ct__6CTokenFRC6CToken +/* 800DA860 000D77C0 C0 1A 00 08 */ lfs f0, 8(r26) +/* 800DA864 000D77C4 D0 1B 00 08 */ stfs f0, 8(r27) +/* 800DA868 000D77C8 C0 1A 00 0C */ lfs f0, 0xc(r26) +/* 800DA86C 000D77CC D0 1B 00 0C */ stfs f0, 0xc(r27) +/* 800DA870 000D77D0 80 1A 00 10 */ lwz r0, 0x10(r26) +/* 800DA874 000D77D4 90 1B 00 10 */ stw r0, 0x10(r27) +lbl_800DA878: +/* 800DA878 000D77D8 3B 7B 00 14 */ addi r27, r27, 0x14 +/* 800DA87C 000D77DC 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_800DA880: +/* 800DA880 000D77E0 7C 1A E8 40 */ cmplw r26, r29 +/* 800DA884 000D77E4 40 82 FF C8 */ bne lbl_800DA84C +/* 800DA888 000D77E8 80 1E 00 04 */ lwz r0, 4(r30) +/* 800DA88C 000D77EC 83 5E 00 0C */ lwz r26, 0xc(r30) +/* 800DA890 000D77F0 1C 00 00 14 */ mulli r0, r0, 0x14 +/* 800DA894 000D77F4 7F 7A 02 14 */ add r27, r26, r0 +/* 800DA898 000D77F8 48 00 00 20 */ b lbl_800DA8B8 +lbl_800DA89C: +/* 800DA89C 000D77FC 28 1A 00 00 */ cmplwi r26, 0 +/* 800DA8A0 000D7800 41 82 00 14 */ beq lbl_800DA8B4 +/* 800DA8A4 000D7804 41 82 00 10 */ beq lbl_800DA8B4 +/* 800DA8A8 000D7808 7F 43 D3 78 */ mr r3, r26 +/* 800DA8AC 000D780C 38 80 00 00 */ li r4, 0 +/* 800DA8B0 000D7810 48 26 65 91 */ bl __dt__6CTokenFv +lbl_800DA8B4: +/* 800DA8B4 000D7814 3B 5A 00 14 */ addi r26, r26, 0x14 +lbl_800DA8B8: +/* 800DA8B8 000D7818 7C 1A D8 40 */ cmplw r26, r27 +/* 800DA8BC 000D781C 40 82 FF E0 */ bne lbl_800DA89C +/* 800DA8C0 000D7820 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800DA8C4 000D7824 28 03 00 00 */ cmplwi r3, 0 +/* 800DA8C8 000D7828 41 82 00 08 */ beq lbl_800DA8D0 +/* 800DA8CC 000D782C 48 23 B0 65 */ bl Free__7CMemoryFPCv +lbl_800DA8D0: +/* 800DA8D0 000D7830 93 9E 00 0C */ stw r28, 0xc(r30) +/* 800DA8D4 000D7834 93 FE 00 08 */ stw r31, 8(r30) +lbl_800DA8D8: +/* 800DA8D8 000D7838 BB 41 00 18 */ lmw r26, 0x18(r1) +/* 800DA8DC 000D783C 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800DA8E0 000D7840 7C 08 03 A6 */ mtlr r0 +/* 800DA8E4 000D7844 38 21 00 30 */ addi r1, r1, 0x30 +/* 800DA8E8 000D7848 4E 80 00 20 */ blr + +.global sub_800da8ec +sub_800da8ec: +/* 800DA8EC 000D784C 94 21 FF D0 */ stwu r1, -0x30(r1) +/* 800DA8F0 000D7850 7C 08 02 A6 */ mflr r0 +/* 800DA8F4 000D7854 90 01 00 34 */ stw r0, 0x34(r1) +/* 800DA8F8 000D7858 BF 61 00 1C */ stmw r27, 0x1c(r1) +/* 800DA8FC 000D785C 7C 9F 23 78 */ mr r31, r4 +/* 800DA900 000D7860 7C 7E 1B 78 */ mr r30, r3 +/* 800DA904 000D7864 80 03 00 08 */ lwz r0, 8(r3) +/* 800DA908 000D7868 7C 1F 00 00 */ cmpw r31, r0 +/* 800DA90C 000D786C 40 81 00 A8 */ ble lbl_800DA9B4 +/* 800DA910 000D7870 1C 7F 00 4C */ mulli r3, r31, 0x4c +/* 800DA914 000D7874 2C 03 00 00 */ cmpwi r3, 0 +/* 800DA918 000D7878 40 82 00 0C */ bne lbl_800DA924 +/* 800DA91C 000D787C 3B A0 00 00 */ li r29, 0 +/* 800DA920 000D7880 48 00 00 1C */ b lbl_800DA93C +lbl_800DA924: +/* 800DA924 000D7884 3C 80 80 3D */ lis r4, lbl_803CE07C@ha +/* 800DA928 000D7888 38 A0 00 00 */ li r5, 0 +/* 800DA92C 000D788C 38 84 E0 7C */ addi r4, r4, lbl_803CE07C@l +/* 800DA930 000D7890 38 84 00 0D */ addi r4, r4, 0xd +/* 800DA934 000D7894 48 23 AE E5 */ bl __nwa__FUlPCcPCc +/* 800DA938 000D7898 7C 7D 1B 78 */ mr r29, r3 +lbl_800DA93C: +/* 800DA93C 000D789C 80 1E 00 04 */ lwz r0, 4(r30) +/* 800DA940 000D78A0 7F A5 EB 78 */ mr r5, r29 +/* 800DA944 000D78A4 80 DE 00 0C */ lwz r6, 0xc(r30) +/* 800DA948 000D78A8 38 61 00 14 */ addi r3, r1, 0x14 +/* 800DA94C 000D78AC 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800DA950 000D78B0 38 81 00 0C */ addi r4, r1, 0xc +/* 800DA954 000D78B4 7C C6 02 14 */ add r6, r6, r0 +/* 800DA958 000D78B8 90 C1 00 0C */ stw r6, 0xc(r1) +/* 800DA95C 000D78BC 80 1E 00 0C */ lwz r0, 0xc(r30) +/* 800DA960 000D78C0 90 C1 00 08 */ stw r6, 8(r1) +/* 800DA964 000D78C4 90 01 00 10 */ stw r0, 0x10(r1) +/* 800DA968 000D78C8 90 01 00 14 */ stw r0, 0x14(r1) +/* 800DA96C 000D78CC 48 00 00 5D */ bl sub_800da9c8 +/* 800DA970 000D78D0 80 1E 00 04 */ lwz r0, 4(r30) +/* 800DA974 000D78D4 83 7E 00 0C */ lwz r27, 0xc(r30) +/* 800DA978 000D78D8 1C 00 00 4C */ mulli r0, r0, 0x4c +/* 800DA97C 000D78DC 7F 9B 02 14 */ add r28, r27, r0 +/* 800DA980 000D78E0 48 00 00 14 */ b lbl_800DA994 +lbl_800DA984: +/* 800DA984 000D78E4 7F 63 DB 78 */ mr r3, r27 +/* 800DA988 000D78E8 38 80 FF FF */ li r4, -1 +/* 800DA98C 000D78EC 48 03 C0 C1 */ bl __dt__10CModelDataFv +/* 800DA990 000D78F0 3B 7B 00 4C */ addi r27, r27, 0x4c +lbl_800DA994: +/* 800DA994 000D78F4 7C 1B E0 40 */ cmplw r27, r28 +/* 800DA998 000D78F8 40 82 FF EC */ bne lbl_800DA984 +/* 800DA99C 000D78FC 80 7E 00 0C */ lwz r3, 0xc(r30) +/* 800DA9A0 000D7900 28 03 00 00 */ cmplwi r3, 0 +/* 800DA9A4 000D7904 41 82 00 08 */ beq lbl_800DA9AC +/* 800DA9A8 000D7908 48 23 AF 89 */ bl Free__7CMemoryFPCv +lbl_800DA9AC: +/* 800DA9AC 000D790C 93 BE 00 0C */ stw r29, 0xc(r30) +/* 800DA9B0 000D7910 93 FE 00 08 */ stw r31, 8(r30) +lbl_800DA9B4: +/* 800DA9B4 000D7914 BB 61 00 1C */ lmw r27, 0x1c(r1) +/* 800DA9B8 000D7918 80 01 00 34 */ lwz r0, 0x34(r1) +/* 800DA9BC 000D791C 7C 08 03 A6 */ mtlr r0 +/* 800DA9C0 000D7920 38 21 00 30 */ addi r1, r1, 0x30 +/* 800DA9C4 000D7924 4E 80 00 20 */ blr + +.global sub_800da9c8 +sub_800da9c8: +/* 800DA9C8 000D7928 94 21 FF E0 */ stwu r1, -0x20(r1) +/* 800DA9CC 000D792C 7C 08 02 A6 */ mflr r0 +/* 800DA9D0 000D7930 90 01 00 24 */ stw r0, 0x24(r1) +/* 800DA9D4 000D7934 93 E1 00 1C */ stw r31, 0x1c(r1) +/* 800DA9D8 000D7938 93 C1 00 18 */ stw r30, 0x18(r1) +/* 800DA9DC 000D793C 7C BE 2B 78 */ mr r30, r5 +/* 800DA9E0 000D7940 93 A1 00 14 */ stw r29, 0x14(r1) +/* 800DA9E4 000D7944 7C 9D 23 78 */ mr r29, r4 +/* 800DA9E8 000D7948 83 E3 00 00 */ lwz r31, 0(r3) +/* 800DA9EC 000D794C 48 00 00 18 */ b lbl_800DAA04 +lbl_800DA9F0: +/* 800DA9F0 000D7950 7F C3 F3 78 */ mr r3, r30 +/* 800DA9F4 000D7954 7F E4 FB 78 */ mr r4, r31 +/* 800DA9F8 000D7958 4B FF 0B B9 */ bl sub_800cb5b0 +/* 800DA9FC 000D795C 3B DE 00 4C */ addi r30, r30, 0x4c +/* 800DAA00 000D7960 3B FF 00 4C */ addi r31, r31, 0x4c +lbl_800DAA04: +/* 800DAA04 000D7964 80 1D 00 00 */ lwz r0, 0(r29) +/* 800DAA08 000D7968 7C 1F 00 40 */ cmplw r31, r0 +/* 800DAA0C 000D796C 40 82 FF E4 */ bne lbl_800DA9F0 +/* 800DAA10 000D7970 80 01 00 24 */ lwz r0, 0x24(r1) +/* 800DAA14 000D7974 7F C3 F3 78 */ mr r3, r30 +/* 800DAA18 000D7978 83 E1 00 1C */ lwz r31, 0x1c(r1) +/* 800DAA1C 000D797C 83 C1 00 18 */ lwz r30, 0x18(r1) +/* 800DAA20 000D7980 83 A1 00 14 */ lwz r29, 0x14(r1) +/* 800DAA24 000D7984 7C 08 03 A6 */ mtlr r0 +/* 800DAA28 000D7988 38 21 00 20 */ addi r1, r1, 0x20 +/* 800DAA2C 000D798C 4E 80 00 20 */ blr diff --git a/asm/Kyoto_CWD/main.s b/asm/Kyoto_CWD/main.s index 588faa1d..bf2341cc 100644 --- a/asm/Kyoto_CWD/main.s +++ b/asm/Kyoto_CWD/main.s @@ -6731,7 +6731,7 @@ __dt__11CWorldStateFv: /* 80008668 000055C8 80 7F 00 00 */ lwz r3, 0(r31) /* 8000866C 000055CC 38 80 00 01 */ li r4, 1 /* 80008670 000055D0 80 63 00 00 */ lwz r3, 0(r3) -/* 80008674 000055D4 48 0D 97 95 */ bl __dt__13CRelayTrackerFv +/* 80008674 000055D4 48 0D 97 95 */ bl __dt__14CScriptMailboxFv /* 80008678 000055D8 80 7F 00 00 */ lwz r3, 0(r31) /* 8000867C 000055DC 28 03 00 00 */ cmplwi r3, 0 /* 80008680 000055E0 41 82 00 08 */ beq lbl_80008688 diff --git a/asm/text.s.REMOVED.git-id b/asm/text.s.REMOVED.git-id index 732ace4b..b765608a 100644 --- a/asm/text.s.REMOVED.git-id +++ b/asm/text.s.REMOVED.git-id @@ -1 +1 @@ -d4793f22039d07c7bb237d7dd9d107ccb18af00c \ No newline at end of file +4bbbf68fad8f02c77244e73365a548a5587f779f \ No newline at end of file diff --git a/obj_files.mk b/obj_files.mk index 237e2f10..43ce155e 100644 --- a/obj_files.mk +++ b/obj_files.mk @@ -94,6 +94,20 @@ KYOTO_CWD :=\ $(BUILD_DIR)/asm/Kyoto_CWD/CTargetReticles.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CWeaponMgr.o\ $(BUILD_DIR)/asm/Kyoto_CWD/CScriptPickup.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CDamageInfo.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CMemoryDrawEnum.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CScriptDock.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CScriptCameraHint.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CCameraHint.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/ScriptLoader.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CSamusDoll.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CStateMachineFactory.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CPlasmaBeam.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CPowerBeam.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CWaveBeam.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CIceBeam.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CScriptMailbox.o\ + $(BUILD_DIR)/asm/Kyoto_CWD/CScriptRelay.o\ AI_FILES :=\ $(BUILD_DIR)/asm/Dolphin/ai.o